mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Fixes MassInsert query deleting (#38610)
This commit is contained in:
committed by
Tad Hardesty
parent
faa4c5d01a
commit
84ae366f06
@@ -230,9 +230,9 @@ Delayed insert mode was removed in mysql 7 and only works with MyISAM type table
|
||||
sqlrowlist = " [sqlrowlist.Join(",\n ")]"
|
||||
var/datum/DBQuery/Query = NewQuery("INSERT[delayed][ignore_errors] INTO [table]\n([columns.Join(", ")])\nVALUES\n[sqlrowlist]\n[duplicate_key]")
|
||||
if (warn)
|
||||
return Query.warn_execute()
|
||||
. = Query.warn_execute()
|
||||
else
|
||||
return Query.Execute()
|
||||
. = Query.Execute()
|
||||
qdel(Query)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user