1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

bug #26074 Mysql crash creating partition

As we have unified paths inside partition engine, we should look for '/'
as a path separator


mysql-test/r/windows.result:
  result fixed
mysql-test/t/windows.test:
  testcase
sql/ha_partition.cc:
  check for '/' instead of FN_LIBCHAR
This commit is contained in:
unknown
2007-04-05 20:26:18 +05:00
parent 8653417e4e
commit ea3afa8d1e
3 changed files with 38 additions and 1 deletions

View File

@ -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;