Browse Source

修改事务写入

master v0.10.2
guzeng 1 year ago
parent
commit
0fe53a0d4f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      transaction.go

+ 1
- 1
transaction.go View File

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


Loading…
Cancel
Save