diff --git a/source/dbconnection.pas b/source/dbconnection.pas index 78b0daa3..84d316e3 100644 --- a/source/dbconnection.pas +++ b/source/dbconnection.pas @@ -3049,7 +3049,7 @@ begin end; ngSQLite: begin FSQLSpecifities[spDatabaseDrop] := 'DROP DATABASE %s'; - FSQLSpecifities[spEmptyTable] := 'TRUNCATE '; + FSQLSpecifities[spEmptyTable] := 'DELETE FROM '; FSQLSpecifities[spRenameTable] := 'ALTER TABLE %s RENAME TO %s'; FSQLSpecifities[spRenameView] := FSQLSpecifities[spRenameTable]; FSQLSpecifities[spCurrentUserHost] := 'SELECT CURRENT_USER()';