summaryrefslogtreecommitdiff
path: root/mysql-test/t/connect.test
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2011-04-01 15:07:10 +0200
committerunknown <knielsen@knielsen-hq.org>2011-04-01 15:07:10 +0200
commitc677fea7d01ef1fab3357496b309a3e3b3c00dfe (patch)
treeb6000be3447e5a41440cffee8b8d927d37a1dcde /mysql-test/t/connect.test
parent09bd2894973fbdbacec9bfc31a3635165b120200 (diff)
parent9aa44bb4b3e0fc69306626b961c7d9309e6ab114 (diff)
downloadmariadb-git-c677fea7d01ef1fab3357496b309a3e3b3c00dfe.tar.gz
Merge MariaDB 5.2.5 release into MariaDB-5.2-rpl.
Diffstat (limited to 'mysql-test/t/connect.test')
-rw-r--r--mysql-test/t/connect.test25
1 files changed, 25 insertions, 0 deletions
diff --git a/mysql-test/t/connect.test b/mysql-test/t/connect.test
index 8fbdd709364..e5c6e8371bf 100644
--- a/mysql-test/t/connect.test
+++ b/mysql-test/t/connect.test
@@ -320,6 +320,31 @@ if ($error)
--echo # -- Success: more than --extra-max-connections + 1 normal connections not possible
}
+###########################################################################
+
+--echo #
+--echo # -- Bug#49752: 2469.126.2 unintentionally breaks authentication
+--echo # against MySQL 5.1 server
+--echo #
+
+GRANT ALL ON test.* TO 'Azundris12345678'@'localhost' IDENTIFIED BY 'test123';
+
+FLUSH PRIVILEGES;
+
+--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
+connect (con1,localhost,Azundris123456789,test123,test);
+disconnect con1;
+
+connection default;
+
+DROP USER 'Azundris12345678'@'localhost';
+
+FLUSH PRIVILEGES;
+
+--echo #
+--echo # -- End of Bug#49752
+--echo #
+
--echo # ------------------------------------------------------------------
--echo # -- End of 5.1 tests
--echo # ------------------------------------------------------------------