add support for rocksdb
This commit is contained in:
parent
da3514253f
commit
af1e0d647f
@ -291,7 +291,7 @@ func NewMigrationContext() *MigrationContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *MigrationContext) SetConnectionConfig(storageEngine string) error {
|
func (this *MigrationContext) SetConnectionConfig(storageEngine string) error {
|
||||||
transactionIsolation := "REPEATABLE-READ"
|
var transactionIsolation string
|
||||||
switch storageEngine {
|
switch storageEngine {
|
||||||
case "rocksdb":
|
case "rocksdb":
|
||||||
transactionIsolation = "READ-COMMITTED"
|
transactionIsolation = "READ-COMMITTED"
|
||||||
|
Loading…
Reference in New Issue
Block a user