Only pass ROW_FORMAT clause into CREATE TABLE query if explicitly set.

This commit is contained in:
Ansgar Becker
2011-02-03 22:29:02 +00:00
parent 1f0ff39229
commit b0362f3ec0

View File

@@ -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;