mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 10:02:10 +08:00
Fix AV for usage on 5.1.22 servers when clicking on "information_schema": SHOW TABLE STATUS returns NULL in "Rows" column (rather than "0").
Fixes (last?) potential cause for bug #1772735 "unable to select a specific database" Thanks to mdaems for the detailed bugreport via pm!
This commit is contained in:
@ -2143,7 +2143,7 @@ begin
|
||||
// Default visible columns
|
||||
|
||||
// Records
|
||||
ListCaptions.Add( FormatNumber( ds.FieldByName('Rows').AsFloat ) );
|
||||
ListCaptions.Add( FormatNumber( ds.FieldByName('Rows').AsString ) );
|
||||
// Size: Data_length + Index_length
|
||||
bytes := ds.FieldByName('Data_length').AsFloat + ds.FieldByName('Index_length').AsFloat;
|
||||
ListCaptions.Add( FormatByteNumber( FloatToStr(bytes) ) );
|
||||
|
Reference in New Issue
Block a user