fixed deadlock upon failed queries

This commit is contained in:
2022-11-04 14:49:11 +08:00
parent c628d5a569
commit cda7a61fff
+3 -3
View File
@@ -308,7 +308,7 @@ int dll_main(int argc, char** argv, Context* cxt){
}
else{
server->last_error = nullptr;
goto finalize;
//goto finalize;
}
}
@@ -322,8 +322,8 @@ int dll_main(int argc, char** argv, Context* cxt){
cfg->new_query = 0;
}
//puts(cfg->running? "true": "false");
//__asm("");
finalize: PROMPT_RELEASE();
//finalize:
PROMPT_RELEASE();
}
return 0;