Issue #516: Silence error when retrieving unavailable (and non-vital) "Row_format" column from SHOW TABLE STATUS on MemSQL server

This commit is contained in:
Ansgar Becker
2019-02-16 10:02:31 +01:00
parent 0f6b3ff695
commit 8cf93ab910

View File

@ -4645,7 +4645,7 @@ begin
Obj.Comment := rx.Replace(Obj.Comment, '', False);
Obj.Version := StrToInt64Def(Results.Col('Version', True), Obj.Version);
Obj.AutoInc := StrToInt64Def(Results.Col('Auto_increment'), Obj.AutoInc);
Obj.RowFormat := Results.Col('Row_format');
Obj.RowFormat := Results.Col('Row_format', True);
Obj.AvgRowLen := StrToInt64Def(Results.Col('Avg_row_length'), Obj.AvgRowLen);
Obj.MaxDataLen := StrToInt64Def(Results.Col('Max_data_length'), Obj.MaxDataLen);
Obj.IndexLen := StrToInt64Def(Results.Col('Index_length'), Obj.IndexLen);