mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge mysql.com:/home/svoj/devel/mysql/BUG23404/mysql-4.1-engines
into mysql.com:/home/svoj/devel/mysql/BUG23404/mysql-5.0-engines mysql-test/r/alter_table.result: Auto merged mysql-test/t/alter_table.test: Auto merged sql/sql_parse.cc: SCCS merged
This commit is contained in:
@ -677,6 +677,21 @@ ERROR 3D000: No database selected
|
||||
alter table test.t1 rename test.t1;
|
||||
use test;
|
||||
drop table t1;
|
||||
CREATE TABLE t1(a INT) ROW_FORMAT=FIXED;
|
||||
CREATE INDEX i1 ON t1(a);
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` int(11) default NULL,
|
||||
KEY `i1` (`a`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED
|
||||
DROP INDEX i1 ON t1;
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` int(11) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED
|
||||
DROP TABLE t1;
|
||||
DROP TABLE IF EXISTS bug24219;
|
||||
DROP TABLE IF EXISTS bug24219_2;
|
||||
CREATE TABLE bug24219 (a INT, INDEX(a));
|
||||
|
@ -499,6 +499,17 @@ alter table test.t1 rename test.t1;
|
||||
use test;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# BUG#23404 - ROW_FORMAT=FIXED option is lost is an index is added to the
|
||||
# table
|
||||
#
|
||||
CREATE TABLE t1(a INT) ROW_FORMAT=FIXED;
|
||||
CREATE INDEX i1 ON t1(a);
|
||||
SHOW CREATE TABLE t1;
|
||||
DROP INDEX i1 ON t1;
|
||||
SHOW CREATE TABLE t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
#
|
||||
# Bug#24219 - ALTER TABLE ... RENAME TO ... , DISABLE KEYS leads to crash
|
||||
#
|
||||
|
Reference in New Issue
Block a user