This commit is contained in:
narawat lamaiin
2024-10-15 15:38:16 +07:00
parent 55d8b6859a
commit 83ef51fe32
2 changed files with 11 additions and 8 deletions

View File

@@ -642,7 +642,7 @@ function SQLexecution(executeSQL::Function, sql::T
sql = sql[1:end-1] * " ORDER BY RANDOM() LIMIT 2;"
end
else
error("Error, SQL execution failed because it does not ended with ';'")
sql = sql * ";"
end
println("\n~~~ SQLexecution() SQL: ", @__FILE__, " ", @__LINE__)
println(sql)