Skip to content
Permalink
Browse files

Issue #516: Silence error when retrieving unavailable (and non-vital)…

… "Row_format" column from SHOW TABLE STATUS on MemSQL server
  • Loading branch information...
ansgarbecker committed Feb 16, 2019
1 parent 0f6b3ff commit 8cf93ab910d561f06b9c128e4e69bf8fb7ee42b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/dbconnection.pas
@@ -4645,7 +4645,7 @@ procedure TMySQLConnection.FetchDbObjects(db: String; var Cache: TDBObjectList);
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);

0 comments on commit 8cf93ab

Please sign in to comment.
You can’t perform that action at this time.