MySQL Forums
Forum List  »  MySQL Workbench

Re: Comments are too long
Posted by: Mike Lischke
Date: September 03, 2009 02:05AM

Hey Peter,

this is suprisingly trickier than one might think, not from a technical point of view but rather semantic/organizational point.

What we have is this comment field for tables, which is first and foremost a comment field for your model (and the particular table). For that task the comment is not limited.

However, this comment is also synchronized to the schema and there it has a limit.

The validation feature in the SE version of MySQL Workbench can catch this case and warn if the comment is too long. OSS users have to take care themself. In order to help managing that we will change the handling for this comment. Only the first line (up to the first line break) will be used as table comment (it can even be empty) and the rest is for the model only. But that'll take a bit time until it is available.

Mike

Mike Lischke, MySQL Developer Tools
Oracle Corporation

MySQL Workbench on Github: https://github.com/mysql/mysql-workbench
On Twitter: https://twitter.com/MySQLWorkbench
On Slack: mysqlcommunity.slack.com (#workbench)
Report bugs to http://bugs.mysql.com
MySQL documentation can be found here: http://dev.mysql.com/doc/refman/8.0/en/

Options: ReplyQuote


Subject
Views
Written By
Posted
2090
September 02, 2009 06:02AM
Re: Comments are too long
2256
September 03, 2009 02:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.