Test that new table inherits the old table's charset. Clean up bugs.t.

This commit is contained in:
Daniel Nichter
2013-06-26 10:14:46 -07:00
parent 43ebd47263
commit 57f35b22b3
2 changed files with 57 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
drop database if exists test1171653;
create database test1171653;
use test1171653;
CREATE TABLE `t` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`foo` varchar(30) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `t` VALUES (1,'bar'), (2,'bar2'), (3,'bar3');