lib/fluent/plugin/in_mysql_appender.rb in fluent-plugin-mysql-appender-0.1.4 vs lib/fluent/plugin/in_mysql_appender.rb in fluent-plugin-mysql-appender-0.1.5
- old
+ new
@@ -7,9 +7,10 @@
define_method("router") { Engine }
end
def initialize
require 'mysql2'
+ require 'time'
super
end
config_param :host, :string, :default => 'localhost'
config_param :port, :integer, :default => 3306