Commit c8df02cf authored by 潘栩锋's avatar 潘栩锋 🚴

Merge remote-tracking branch 'remotes/origin/dev7.0-battery.laser' into dev6.0

parents 84bfe60a 9a62e0ce
...@@ -204,7 +204,6 @@ namespace SQLite ...@@ -204,7 +204,6 @@ namespace SQLite
{ {
if (!System.IO.File.Exists(DBPath)) if (!System.IO.File.Exists(DBPath))
{ {
Build();
return false; return false;
} }
//TODO, 表不对删除就好。。。没必要重新创建数据库 //TODO, 表不对删除就好。。。没必要重新创建数据库
......
...@@ -618,6 +618,7 @@ namespace SQLite ...@@ -618,6 +618,7 @@ namespace SQLite
if (sqls.Count() == 0) if (sqls.Count() == 0)
{ {
//不存在该表,创建 //不存在该表,创建
ErrorMsg = $"sqlite_master 不能找到 name = '{tablename}' 的 sql";
isVaild = false; isVaild = false;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment