[MIRROR] Load alien/job whitelists from database, if enabled (#11751)

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-05 02:46:01 -07:00
committed by GitHub
parent a8b89de4fd
commit 3139b7684f
10 changed files with 422 additions and 46 deletions

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))