add support for rocksdb

This commit is contained in:
lukelewang 2022-11-26 01:43:11 +08:00
parent da3514253f
commit af1e0d647f

View File

@ -291,7 +291,7 @@ func NewMigrationContext() *MigrationContext {
}
func (this *MigrationContext) SetConnectionConfig(storageEngine string) error {
transactionIsolation := "REPEATABLE-READ"
var transactionIsolation string
switch storageEngine {
case "rocksdb":
transactionIsolation = "READ-COMMITTED"