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:
parent
3d203a2dc4
commit
93ebddb4c5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user