mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-13 07:56:14 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
39c3cea763
commit
ecfb9329f9
1 changed files with 1 additions and 1 deletions
|
|
@ -1490,7 +1490,7 @@ func prepareExecInsertTx(tx *sql.Tx, stmtSQL string, args []interface{}) (err er
|
||||||
tx.Rollback()
|
tx.Rollback()
|
||||||
closeDatabase()
|
closeDatabase()
|
||||||
removeDatabaseFile()
|
removeDatabaseFile()
|
||||||
logging.LogFatalf(logging.ExitCodeUnavailableDatabase, "database disk image [%s] is malformed, please restart SiYuan kernel to rebuild it", util.DBPath)
|
logging.LogFatalf(logging.ExitCodeUnavailableDatabase, "database disk image [%s] is malformed, please restart SiYuan kernel to rebuild it\n\t%s\n\t%v", util.DBPath, stmtSQL, args)
|
||||||
}
|
}
|
||||||
logging.LogErrorf("exec database stmt [%s] failed: %s\n %s", stmtSQL, err, logging.ShortStack())
|
logging.LogErrorf("exec database stmt [%s] failed: %s\n %s", stmtSQL, err, logging.ShortStack())
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue