aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/lib/SQLite/SQLiteTable3.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/lib/SQLite/SQLiteTable3.pas b/Game/Code/lib/SQLite/SQLiteTable3.pas
index fc958d23..cbf868bd 100644
--- a/Game/Code/lib/SQLite/SQLiteTable3.pas
+++ b/Game/Code/lib/SQLite/SQLiteTable3.pas
@@ -353,8 +353,8 @@ var
ds: TSqliteTable;
begin
//returns true if table exists in the database
- sql := 'select [sql] from sqlite_master where [type] = ''table'' and lower(name) = ''' +
- lowercase(TableName) + ''' ';
+ sql := 'select [sql] from sqlite_master where [type] = "table" and lower(name) = "' +
+ lowercase(TableName) + '"';
ds := self.GetTable(sql);
try
Result := (ds.Count > 0);