1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

consistent error messages, no <angle quoting>

only WARN_OPTION_IGNORED was angle-quotting its parameter, no
other error message did it. Remove angle quoting for consistency.
This commit is contained in:
Sergei Golubchik
2025-03-28 21:56:44 +01:00
parent 7db60533c7
commit 606edaa6cd
14 changed files with 72 additions and 72 deletions

View File

@@ -3,12 +3,12 @@ SELECT @@have_symlink;
DISABLED
CREATE TABLE t1(a INT) ENGINE=InnoDB DATA DIRECTORY 'MYSQL_TMP_DIR';
Warnings:
Warning 1618 <DATA DIRECTORY> option ignored
Warning 1618 DATA DIRECTORY option ignored
DROP TABLE t1;
CREATE TABLE t1(a INT) ENGINE=InnoDB;
ALTER TABLE t1 DATA DIRECTORY 'MYSQL_TMP_DIR';
Warnings:
Warning 1618 <DATA DIRECTORY> option ignored
Warning 1618 DATA DIRECTORY option ignored
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
@@ -35,17 +35,17 @@ DROP TABLE t2;
RENAME TABLE t1 TO t2;
ALTER TABLE t2 ADD UNIQUE INDEX(b), RENAME TO t3;
Warnings:
Warning 1618 <DATA DIRECTORY> option ignored
Warning 1618 DATA DIRECTORY option ignored
ALTER TABLE t3 RENAME TO t2;
ALTER TABLE t2 DROP INDEX b, RENAME TO t1;
Warnings:
Warning 1618 <DATA DIRECTORY> option ignored
Warning 1618 DATA DIRECTORY option ignored
ALTER TABLE t1 CHANGE b c INT;
Warnings:
Warning 1618 <DATA DIRECTORY> option ignored
Warning 1618 DATA DIRECTORY option ignored
ALTER TABLE t1 CHANGE c b INT NOT NULL;
Warnings:
Warning 1618 <DATA DIRECTORY> option ignored
Warning 1618 DATA DIRECTORY option ignored
t1.ibd
TRUNCATE TABLE t1;
DROP TABLE t1;