feat: support BOOLEAN column type in MySQL

Closes #1541
This commit is contained in:
Ansgar Becker
2026-02-19 18:45:48 +01:00
parent e93924f604
commit e796ad1d55

View File

@@ -332,7 +332,7 @@ var
// MySQL Data Type List and Properties
MySQLDatatypes: array [0..41] of TDBDatatype =
MySQLDatatypes: array [0..42] of TDBDatatype =
(
(
Index: dbdtUnknown;
@@ -361,6 +361,19 @@ var
LoadPart: False;
Category: dtcInteger;
),
(
Index: dbdtBool;
NativeType: 1;
Name: 'BOOLEAN';
Description: 'Synonym of TINYINT(1)';
HasLength: False;
RequiresLength: False;
MaxSize: 127;
HasBinary: False;
HasDefault: True;
LoadPart: False;
Category: dtcInteger;
),
(
Index: dbdtSmallint;
NativeType: 2;