refactor: 协程启动优化、tagviews调整

This commit is contained in:
meilin.huang
2026-01-20 19:45:46 +08:00
parent 0472c5101f
commit f0de65b7ce
35 changed files with 239 additions and 254 deletions

View File

@@ -37,11 +37,10 @@ func (sd *SqliteDialect) CopyTable(copy *dbi.DbCopyTable) error {
// 使用异步线程插入数据
if copy.CopyData {
go func() {
defer gox.RecoverPanic()
gox.Go(func() {
// 执行插入语句
_, _ = sd.dc.Exec(fmt.Sprintf("INSERT INTO \"%s\" SELECT * FROM \"%s\"", newTableName, tableName))
}()
})
}
return err