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

MDEV-36268 mariadb-dump used wrong quoting character

use ' not " and use quote_for_equal()
This commit is contained in:
Sergei Golubchik
2025-03-11 11:22:00 +01:00
parent 992d85025c
commit 6aa860be27
4 changed files with 55 additions and 8 deletions

View File

@@ -3023,4 +3023,13 @@ EOF
--remove_file $MYSQLTEST_VARDIR/tmp/mdev33727.sql
drop table t1;
--echo #
--echo # MDEV-36268 mariadb-dump used wrong quoting character
--echo #
create table t1 (a int);
create view `v'1"2` as select * from t1 with check option; # "'
--exec $MYSQL_DUMP --compact test
drop view `v'1"2`; # "'
drop table t1;
--echo # End of 10.5 tests