Details
Description
in the case where no text columns
> show create table seller_counters; | seller_counters | CREATE TABLE `seller_counters` ( `seller_id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `counter` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`seller_id`,`category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 | > select count(*) from seller_counters; | count(*) | | 1859 | > alter table seller_counters CONVERT TO CHARACTER SET utf8; Query OK, 0 rows affected (0.00 sec) Records: 0 Duplicates: 0 Warnings: 0 > show create table seller_counters; | Table | Create Table | | seller_counters | CREATE TABLE `seller_counters` ( `seller_id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `counter` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`seller_id`,`category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
Gliffy Diagrams
Attachments
Issue Links
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Also reproducible on current MySQL 5.6. It happens when there are no char columns in the table.
Daniel,
Will you report the bug upstream, or should I do it on your behalf?