|
@ -71,7 +71,7 @@ func TxPreInsert(tx *sql.Tx, dbname, table string, data map[string]interface{}) |
|
|
if strings.Contains(table, "select ") { |
|
|
if strings.Contains(table, "select ") { |
|
|
dbName = table |
|
|
dbName = table |
|
|
} else { |
|
|
} else { |
|
|
dbName = getTableName(dbName, table) |
|
|
|
|
|
|
|
|
dbName = getTableName(dbname, table) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if len(data) < 1 { |
|
|
if len(data) < 1 { |
|
|