Load alien/job whitelists from database, if enabled (#17952)

* Load alien/job whitelists from database, if enabled

* SQL Template for Table

* Fixes

* Commands

* .

* .

* fix

* cannot be a list

* .

* .

* embed

* .

* .

* query test

* query test

* query test

* .

* fix
This commit is contained in:
Selis
2025-09-28 10:28:55 +02:00
committed by GitHub
parent ca27d60647
commit 315fbb415f
12 changed files with 421 additions and 354 deletions
+2 -3
View File
@@ -526,11 +526,10 @@ Ignore_errors instructes mysql to continue inserting rows if some of them have e
Close()
status = DB_QUERY_STARTED
if(async)
/*if(!MC_RUNNING(SSdbcore.init_stage))
if(!MC_RUNNING(SSdbcore.init_stage))
SSdbcore.run_query_sync(src)
else
SSdbcore.queue_query(src)*/
SSdbcore.run_query_sync(src)
SSdbcore.queue_query(src)
sync()
else
var/job_result_str = rustg_sql_query_blocking(connection, sql, json_encode(arguments))