~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/mysql_protocol.result

  • Committer: Brian Aker
  • Date: 2009-10-15 00:22:33 UTC
  • mto: (1183.1.11 merge)
  • mto: This revision was merged to the branch mainline in revision 1198.
  • Revision ID: brian@gaz-20091015002233-fa4ao2mbc67wls91
First pass of information engine. OMG, ponies... is it so much easier to
deal with creating and engine.

The list table iterator though... its ass, needs to go. We should also
abstract out share. Very few engines need a custom one. Just say'in

Show diffs side-by-side

added added

removed removed

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