From 8cf93ab910d561f06b9c128e4e69bf8fb7ee42b3 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sat, 16 Feb 2019 10:02:31 +0100 Subject: [PATCH] Issue #516: Silence error when retrieving unavailable (and non-vital) "Row_format" column from SHOW TABLE STATUS on MemSQL server --- source/dbconnection.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dbconnection.pas b/source/dbconnection.pas index 7e5bd347..02b83408 100644 --- a/source/dbconnection.pas +++ b/source/dbconnection.pas @@ -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);