From b0362f3ec07d211c2006daea769a68f2c6ca91b2 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Thu, 3 Feb 2011 22:29:02 +0000 Subject: [PATCH] Only pass ROW_FORMAT clause into CREATE TABLE query if explicitly set. --- source/table_editor.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/table_editor.pas b/source/table_editor.pas index 2fed02ae..210d1be4 100644 --- a/source/table_editor.pas +++ b/source/table_editor.pas @@ -638,7 +638,7 @@ begin else Result := Result + 'ENGINE='+comboEngine.Text + CRLF; end; - if comboRowFormat.Text <> '' then + if comboRowFormat.Tag = ModifiedFlag then Result := Result + 'ROW_FORMAT='+comboRowFormat.Text + CRLF; if chkChecksum.Checked then Result := Result + 'CHECKSUM='+IntToStr(Integer(chkChecksum.Checked)) + CRLF;