添加sqlite资源
This commit is contained in:
1 parent
115006b235
commit
0dbfedc715
3 files changed
+4
-4
No files matched your search
@@ -119,7 +119,8 @@ static void handle_db_command(struct db_command *cmd) {
|
||||
char *err_msg = 0;
|
||||
int rc;
|
||||
|
||||
switch (cmd->type) {
|
||||
switch (cmd->type)
|
||||
{
|
||||
case DB_CMD_INSERT:
|
||||
case DB_CMD_DELETE:
|
||||
case DB_CMD_UPDATE:
|
||||
@@ -330,7 +331,6 @@ static void db_sqlite(void *parameter) {
|
||||
}
|
||||
|
||||
rt_mutex_release(state_mutex);
|
||||
|
||||
//执行命令
|
||||
handle_db_command(&cmd);
|
||||
|
||||
|
||||
Reference in new issue
Block a user