~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/ndb/r/ndb_temporary.result

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP TABLE IF EXISTS t1;
 
2
create temporary table t1 (a int key) engine=ndb;
 
3
ERROR HY000: Table storage engine 'ndbcluster' does not support the create option 'TEMPORARY'
 
4
create temporary table t1 (a int key) engine=myisam;
 
5
alter table t1 engine=ndb;
 
6
ERROR HY000: Table storage engine 'ndbcluster' does not support the create option 'TEMPORARY'
 
7
drop table t1;
 
8
CREATE TABLE bar ( id TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY ) ENGINE=NDBCluster ;
 
9
CREATE TEMPORARY TABLE foo LIKE bar ;
 
10
ERROR HY000: Can't create table 'test.foo' (errno: 1478)
 
11
DROP TABLE bar;
 
12
SET SESSION storage_engine=NDBCLUSTER;
 
13
create table t1 (a int key);
 
14
select engine from information_schema.tables where table_name = 't1';
 
15
engine
 
16
ndbcluster
 
17
drop table t1;
 
18
create temporary table t1 (a int key);
 
19
show create table t1;
 
20
Table   Create Table
 
21
t1      CREATE TEMPORARY TABLE `t1` (
 
22
  `a` int(11) NOT NULL,
 
23
  PRIMARY KEY (`a`)
 
24
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
25
drop table t1;