Support long table comments on newer servers. http://www.heidisql.com/forum.php?t=8105

This commit is contained in:
Ansgar Becker
2011-04-02 06:00:58 +00:00
parent 3bfc4d0ffb
commit bef2d5278d

View File

@@ -266,6 +266,10 @@ begin
tabALTERcode.TabVisible := DBObject.Name <> '';
// Clear value editors
memoComment.Text := '';
if Obj.Connection.ServerVersionInt < 50503 then
memoComment.MaxLength := 60
else
memoComment.MaxLength := 2048;
editAutoInc.Text := '';
editAvgRowLen.Text := '';
editMaxRows.Text := '';