1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #24633 SQL MODE "NO_DIR_IN_CREATE" does not work with

partitioned tables"
We have to ignore 'data directory' and 'index directory' parameters
if NO_DIR_IN_CREATE set.
This commit is contained in:
holyfoot/hf@mysql.com/hfmain.(none)
2007-03-11 01:17:41 +04:00
parent bcc5499bab
commit ce89422b97
3 changed files with 32 additions and 0 deletions

View File

@ -1463,4 +1463,21 @@ SELECT t2.id FROM t2 WHERE t2.id IN (SELECT id FROM t1 WHERE status = 'Verified'
drop table t1, t2;
#
# Bug #24633 SQL MODE "NO_DIR_IN_CREATE" does not work with partitioned tables
#
set @org_mode=@@sql_mode;
set @@sql_mode='NO_DIR_IN_CREATE';
select @@sql_mode;
create table t1 (i int )
partition by range (i)
(
partition p01 values less than (1000)
data directory='/not/existing'
index directory='/not/existing'
);
DROP TABLE t1;
--echo End of 5.1 tests