TvPlanIt: Fix usage of MariaDB in ZEOS datastore.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9445 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2024-09-17 15:48:19 +00:00
parent 3d203a2dc4
commit 93ebddb4c5

View File

@ -147,7 +147,13 @@ begin
FBoolFieldTypeNameInSQL := 'BIT';
end else
if protocol = 'mysql' then
FBoolFieldTypeNameInSQL := 'BIT';
FBoolFieldTypeNameInSQL := 'BIT'
else
if pos('mariadb', protocol) > 0 then
begin
FIDFieldTypeNameInSQL := 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY';
FBoolFieldTypeNameInSQL := 'BOOLEAN';
end;
end;
end;