~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/mysql_protocol.result

  • Committer: Olaf van der Spek
  • Date: 2011-02-12 18:24:24 UTC
  • mto: (2167.1.2 build) (2172.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olafvdspek@gmail.com-20110212182424-kgnm9osi7qo97at2
casts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
DROP TABLE IF EXISTS t1;
2
2
CREATE TABLE t1(a int, key (a));
3
3
INSERT INTO t1 VALUES (1), (2);
 
4
 
4
5
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
5
6
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
6
7
DROP TABLE IF EXISTS `t1`;
7
8
CREATE TABLE `t1` (
8
 
  `a` int DEFAULT NULL,
 
9
  `a` INT DEFAULT NULL,
9
10
  KEY `a` (`a`)
10
 
) ENGINE=InnoDB;
 
11
) ENGINE='InnoDB' COLLATE='utf8_general_ci';
11
12
 
12
13
ALTER TABLE `t1` DISABLE KEYS;
13
14
INSERT INTO `t1` VALUES (1),(2);
14
15
ALTER TABLE `t1` ENABLE KEYS;
 
16
 
15
17
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
16
18
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
17
19
DROP TABLE t1;