mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #1482: use 64bit numbers for MYSQL_FIELD.length and .max_length on Linux. Not sure why but otherwise .flags contains wrong data.
This commit is contained in:
@ -162,8 +162,8 @@ type
|
||||
db: PAnsiChar; // table schema (added after 3.23.58)
|
||||
catalog: PAnsiChar; // table catalog (added after 3.23.58)
|
||||
def: PAnsiChar; // Default value (set by mysql_list_fields)
|
||||
length: LongInt; // Width of column
|
||||
max_length: LongInt; // Max width of selected set
|
||||
length: {$IfDef LINUX} NativeUInt {$Else} LongInt {$EndIf}; // Width of column
|
||||
max_length: {$IfDef LINUX} NativeUInt {$Else} LongInt {$EndIf}; // Max width of selected set
|
||||
// added after 3.23.58
|
||||
name_length: Cardinal;
|
||||
org_name_length: Cardinal;
|
||||
|
Reference in New Issue
Block a user