mirror of
https://github.com/MariaDB/server.git
synced 2025-04-20 22:25:30 +02:00

consistently issue a Note 1618 DATA DIRECTORY option ignored Note 1618 INDEX DIRECTORY option ignored in archive/csv/innodb/rocksdb whenever an option is ignored. Note that csv doesn't say "INDEX DIRECTORY option ignored" because it does not create index files at all anywhere. Other engines don't say "INDEX DIRECTORY option ignored" if the table has no indexes. additionally InnoDB doesn't say that if INDEX DIRECTORY is the same as DATA DIRECTORY, because in that case indexes are technically stored in INDEX DIRECTORY. collateral fix: use strmake to zero-terminate the string
8 lines
240 B
Text
8 lines
240 B
Text
--source include/have_csv.inc
|
|
|
|
# not supported
|
|
evalp create table t1c (a int not null) engine=csv data directory='$MYSQL_TMP_DIR' index directory='$MYSQL_TMP_DIR';
|
|
insert t1c values (1),(2);
|
|
list_files $MYSQL_TMP_DIR t1c*;
|
|
drop table t1c;
|
|
|