mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #496: show UNKNOWN data type in table editor for MSSQL and MySQL, as already for PG. Avoids casting its values to int for the data grid, and at least does not show the data type from the prior column in the table editor.
This commit is contained in:
@ -347,8 +347,20 @@ var
|
||||
);
|
||||
|
||||
// MySQL Data Type List and Properties
|
||||
MySQLDatatypes: array [0..36] of TDBDatatype =
|
||||
MySQLDatatypes: array [0..37] of TDBDatatype =
|
||||
(
|
||||
(
|
||||
Index: dtUnknown;
|
||||
NativeTypes: '99999';
|
||||
Name: 'UNKNOWN';
|
||||
Description: 'Unknown data type';
|
||||
HasLength: False;
|
||||
RequiresLength: False;
|
||||
HasBinary: False;
|
||||
HasDefault: False;
|
||||
LoadPart: False;
|
||||
Category: dtcOther;
|
||||
),
|
||||
(
|
||||
Index: dtTinyint;
|
||||
NativeType: mytTiny;
|
||||
@ -948,8 +960,20 @@ var
|
||||
|
||||
);
|
||||
|
||||
MSSQLDatatypes: array [0..31] of TDBDatatype =
|
||||
MSSQLDatatypes: array [0..32] of TDBDatatype =
|
||||
(
|
||||
(
|
||||
Index: dtUnknown;
|
||||
NativeTypes: '99999';
|
||||
Name: 'UNKNOWN';
|
||||
Description: 'Unknown data type';
|
||||
HasLength: False;
|
||||
RequiresLength: False;
|
||||
HasBinary: False;
|
||||
HasDefault: False;
|
||||
LoadPart: False;
|
||||
Category: dtcOther;
|
||||
),
|
||||
(
|
||||
Index: dtTinyint;
|
||||
Name: 'TINYINT';
|
||||
|
Reference in New Issue
Block a user