diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-05-28 13:34:30 +0500 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-05-28 13:34:30 +0500 |
commit | 1b91400ac6758e3ce28a4ee18123a5c5117c9f7e (patch) | |
tree | bf972072d598f07cfaa42bcbc3282906d1bb2310 /mysql-test/t/mysql.test | |
parent | f1463061b281916d81e5a2838101df88bf550df2 (diff) | |
download | mariadb-git-1b91400ac6758e3ce28a4ee18123a5c5117c9f7e.tar.gz |
Bug#37268 'binary' character set makes CLI-internal commands case sensitive
The fix is to use case insensitive collation
for mysql client command search.
client/mysql.cc:
The fix is to use case insensitive collation
for mysql client command search.
mysql-test/r/mysql.result:
test result
mysql-test/t/mysql.test:
test case
Diffstat (limited to 'mysql-test/t/mysql.test')
-rw-r--r-- | mysql-test/t/mysql.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/mysql.test b/mysql-test/t/mysql.test index 0425b4b9022..45077b5ef80 100644 --- a/mysql-test/t/mysql.test +++ b/mysql-test/t/mysql.test @@ -348,4 +348,11 @@ remove_file $MYSQLTEST_VARDIR/tmp/bug31060.sql; --exec $MYSQL --ignore-spaces -e "SELECT COUNT (*)" --exec $MYSQL -b -i -e "SELECT COUNT (*)" +# +# Bug#37268 'binary' character set makes CLI-internal commands case sensitive +# +--error 1 +--exec $MYSQL --default-character-set=binary test -e "CONNECT test invalid_hostname" 2>&1 +--exec $MYSQL --default-character-set=binary test -e "DELIMITER //" 2>&1 + --echo End of 5.0 tests |