mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge mysql.com:/home/hf/work/26074/my51-26074
into mysql.com:/d2/hf/mrg/mysql-5.1-opt
This commit is contained in:
@ -26,3 +26,18 @@ ERROR HY000: No paths allowed for shared library
|
||||
execute abc;
|
||||
ERROR HY000: No paths allowed for shared library
|
||||
deallocate prepare abc;
|
||||
CREATE TABLE t1 (
|
||||
`pkid` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`SALES_DATE` date NOT NULL DEFAULT '0000-00-00',
|
||||
KEY `pkid` (`pkid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
PARTITION BY RANGE (MONTH(SALES_DATE))
|
||||
(
|
||||
PARTITION p0 VALUES LESS THAN (2) ENGINE=INNODB
|
||||
data DIRECTORY='c:/tmp/'
|
||||
index DIRECTORY = 'c:/tmp/',
|
||||
PARTITION p1 VALUES LESS THAN (3) ENGINE=INNODB
|
||||
data DIRECTORY='c:/tmp/'
|
||||
index DIRECTORY = 'c:/tmp/'
|
||||
);
|
||||
drop table t1;
|
||||
|
@ -1,5 +1,6 @@
|
||||
# Windows-specific tests
|
||||
--source include/windows.inc
|
||||
-- source include/have_innodb.inc
|
||||
|
||||
#
|
||||
# Bug 9148: Denial of service
|
||||
@ -49,3 +50,23 @@ execute abc;
|
||||
execute abc;
|
||||
deallocate prepare abc;
|
||||
|
||||
#
|
||||
# Bug #26074 Mysql crash when creating partitions
|
||||
#
|
||||
|
||||
CREATE TABLE t1 (
|
||||
`pkid` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`SALES_DATE` date NOT NULL DEFAULT '0000-00-00',
|
||||
KEY `pkid` (`pkid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
PARTITION BY RANGE (MONTH(SALES_DATE))
|
||||
(
|
||||
PARTITION p0 VALUES LESS THAN (2) ENGINE=INNODB
|
||||
data DIRECTORY='c:/tmp/'
|
||||
index DIRECTORY = 'c:/tmp/',
|
||||
PARTITION p1 VALUES LESS THAN (3) ENGINE=INNODB
|
||||
data DIRECTORY='c:/tmp/'
|
||||
index DIRECTORY = 'c:/tmp/'
|
||||
);
|
||||
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user