mirror of
https://github.com/MariaDB/server.git
synced 2025-05-07 04:01:59 +03:00
20 lines
622 B
Plaintext
20 lines
622 B
Plaintext
DROP TABLE IF EXISTS t1;
|
|
# Running CREATE TABLE .. DATA DIRECTORY = <>
|
|
SHOW CREATE TABLE t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`a` int(11) DEFAULT NULL,
|
|
`b` char(8) DEFAULT NULL
|
|
) ENGINE=<STORAGE_ENGINE> DEFAULT CHARSET=latin1 DATA DIRECTORY='<DATA_DIR_1>'
|
|
# For ALTER TABLE the option is ignored
|
|
# Running ALTER TABLE .. DATA DIRECTORY = <>
|
|
Warnings:
|
|
Warning 1618 <DATA DIRECTORY> option ignored
|
|
SHOW CREATE TABLE t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`a` int(11) DEFAULT NULL,
|
|
`b` char(8) DEFAULT NULL
|
|
) ENGINE=<STORAGE_ENGINE> DEFAULT CHARSET=latin1 DATA DIRECTORY='<DATA_DIR_1>'
|
|
DROP TABLE t1;
|