Bug #27806 | table comments not passed in to storage engine during "CREATE ... LIKE ..." | ||
---|---|---|---|
Submitted: | 13 Apr 2007 11:17 | Modified: | 9 Aug 2007 13:26 |
Reporter: | Yoshinori Matsunobu | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | 5.1.17 | OS: | Any |
Assigned to: | Konstantin Osipov | CPU Architecture: | Any |
Tags: | HA_CREATE_INFO, Storage Engine API |
[13 Apr 2007 11:17]
Yoshinori Matsunobu
[13 Apr 2007 11:26]
Valeriy Kravchuk
Thank you for a problem report. Sorry, but I can not repeat the behaviour described with latest 5.1.18-BK on Linux: openxs@suse:~/dbs/5.1> bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.1.18-beta Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> drop table t1; Query OK, 0 rows affected (0.01 sec) mysql> drop table t2; Query OK, 0 rows affected (0.01 sec) mysql> create table test.t1 (a int primary key comment "aaa") max_rows=1000 comment "bbb"; Query OK, 0 rows affected (0.01 sec) mysql> create table test.t2 like test.t1; Query OK, 0 rows affected (0.00 sec) mysql> show create table t2\G *************************** 1. row *************************** Table: t2 Create Table: CREATE TABLE `t2` ( `a` int(11) NOT NULL COMMENT 'aaa', PRIMARY KEY (`a`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 MAX_ROWS=1000 COMMENT='bbb' 1 row in set (0.00 sec) Maybe, I missed something. Please, check.
[8 Aug 2007 10:02]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/32237 ChangeSet@1.2561, 2007-08-08 14:02:07+04:00, kostja@bodhi.(none) +1 -0 Apply patch for Bug#27806 table comments not passed in to storage engine during "CREATE ... LIKE ..." Only affects engine writers. No change in server behaviour.
[8 Aug 2007 10:03]
Konstantin Osipov
Queued in 5.1-runtime
[8 Aug 2007 11:51]
Konstantin Osipov
Queued in 5.1-runtime
[9 Aug 2007 13:18]
Bugs System
Pushed into 5.1.22-beta
[9 Aug 2007 13:26]
Konstantin Osipov
Internal change only.