|
@ -33,7 +33,7 @@ func (store *MysqlStore2) Initialize(configuration util.Configuration, prefix st |
|
|
return store.initialize( |
|
|
return store.initialize( |
|
|
configuration.GetString(prefix+"createTable"), |
|
|
configuration.GetString(prefix+"createTable"), |
|
|
configuration.GetString(prefix+"upsertQuery"), |
|
|
configuration.GetString(prefix+"upsertQuery"), |
|
|
configuration.GetString(prefix+"enableUpsert"), |
|
|
|
|
|
|
|
|
configuration.GetBool(prefix+"enableUpsert"), |
|
|
configuration.GetString(prefix+"username"), |
|
|
configuration.GetString(prefix+"username"), |
|
|
configuration.GetString(prefix+"password"), |
|
|
configuration.GetString(prefix+"password"), |
|
|
configuration.GetString(prefix+"hostname"), |
|
|
configuration.GetString(prefix+"hostname"), |
|
@ -46,7 +46,7 @@ func (store *MysqlStore2) Initialize(configuration util.Configuration, prefix st |
|
|
) |
|
|
) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (store *MysqlStore2) initialize(createTable, upsertQuery, enableUpsert, user, password, hostname string, port int, database string, maxIdle, maxOpen, |
|
|
|
|
|
|
|
|
func (store *MysqlStore2) initialize(createTable, upsertQuery string, enableUpsert bool, user, password, hostname string, port int, database string, maxIdle, maxOpen, |
|
|
maxLifetimeSeconds int, interpolateParams bool) (err error) { |
|
|
maxLifetimeSeconds int, interpolateParams bool) (err error) { |
|
|
|
|
|
|
|
|
store.SupportBucketTable = true |
|
|
store.SupportBucketTable = true |
|
|