From 8f1f5ff920ddf4f76985a43cddc66df94e1ba89d Mon Sep 17 00:00:00 2001 From: Stephen York Date: Tue, 13 Oct 2020 03:12:22 +1100 Subject: [PATCH] Escaped table name. Without the backticks escaping the name 0 records are being returned. This is possibly a paltform difference between MySql and MariaDb --- server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.lua b/server/main.lua index 97ba7e23..ab9e1b00 100644 --- a/server/main.lua +++ b/server/main.lua @@ -64,7 +64,7 @@ end MySQL.ready(function() Citizen.Wait(1500) - MySQL.Async.fetchAll('SELECT * FROM properties', {}, function(properties) + MySQL.Async.fetchAll('SELECT * FROM `properties`', {}, function(properties) for i=1, #properties, 1 do local entering = nil