为数据库插入增加保护

This commit is contained in:
zjk
2026-01-19 21:52:26 +08:00
parent 481171d9ea
commit b5ca051831
97 changed files with 363231 additions and 98 deletions
-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash
# 编译测试程序
g++ -std=c++11 -I../../src/pPowerManger -I../../src/pPowerManger/sqlit3 \
testSqlitdb.cpp ../../src/pPowerManger/sqlit3/SQLite.cpp ../../src/pPowerManger/sqlit3/sqlite3.c \
-o testSqlitdb -lsqlite3 -lpthread
if [ $? -eq 0 ]; then
echo "编译成功!"
echo "运行测试:"
./testSqlitdb
else
echo "编译失败!"
exit 1
fi