~ubuntu-branches/ubuntu/utopic/mariadb-5.5/utopic-security

« back to all changes in this revision

Viewing changes to mysql-test/suite/archive/partition_archive.result

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2014-08-27 21:12:36 UTC
  • mfrom: (2.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20140827211236-se41hwfe4xy0hpef
* d/control: Removed Provides: libmysqlclient-dev (Closes: #759309)
* d/control: Removed Provides: libmysqld-dev with same motivation
* Re-introduced tha HPPA build patch as the upstream fix wasn't complete
* Fixed all kFreeBSD build and test suite issues
* Added Italian translation (Closes: #759813)

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
count(*)
127
127
100
128
128
drop table t1;
 
129
#
 
130
#BUG 18618561: FAILED ALTER TABLE ENGINE CHANGE WITH PARTITIONS
 
131
#              CORRUPTS FRM
 
132
CREATE TABLE t1 (fld1 INT PRIMARY KEY) ENGINE= MYISAM PARTITION BY HASH(fld1)
 
133
PARTITIONS 5;
 
134
SHOW CREATE TABLE t1;
 
135
Table   Create Table
 
136
t1      CREATE TABLE `t1` (
 
137
  `fld1` int(11) NOT NULL,
 
138
  PRIMARY KEY (`fld1`)
 
139
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
140
/*!50100 PARTITION BY HASH (fld1)
 
141
PARTITIONS 5 */
 
142
ALTER TABLE t1 ENGINE= ARCHIVE;
 
143
ERROR HY000: Can't create table 'test.#sql-temporary' (errno: 1)
 
144
#After the patch, the ENGINE is correctly displayed as MyISAM
 
145
SHOW CREATE TABLE t1;
 
146
Table   Create Table
 
147
t1      CREATE TABLE `t1` (
 
148
  `fld1` int(11) NOT NULL,
 
149
  PRIMARY KEY (`fld1`)
 
150
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
151
/*!50100 PARTITION BY HASH (fld1)
 
152
PARTITIONS 5 */
 
153
#Cleanup.
 
154
DROP TABLE t1;