summaryrefslogtreecommitdiff
path: root/mysql-test/r/connect.result
diff options
context:
space:
mode:
authorunknown <peter@mysql.com>2002-12-05 14:01:15 +0300
committerunknown <peter@mysql.com>2002-12-05 14:01:15 +0300
commit47fb31aa4659fb24d88fbc3fa869d3b50f37b258 (patch)
treefcdb5b34d287fe29add73dbd71da48fb01747cf7 /mysql-test/r/connect.result
parent339cf7ce7bc856996812786f95dfa9f8717d3b99 (diff)
downloadmariadb-git-47fb31aa4659fb24d88fbc3fa869d3b50f37b258.tar.gz
Fix minor bug and add test of connection with new/old/without passwords
libmysql/libmysql.c: Small fix (resulted in connection without database even if one is specified) sql/mini_client.cc: The same fix for replication copy
Diffstat (limited to 'mysql-test/r/connect.result')
-rw-r--r--mysql-test/r/connect.result34
1 files changed, 34 insertions, 0 deletions
diff --git a/mysql-test/r/connect.result b/mysql-test/r/connect.result
new file mode 100644
index 00000000000..3e9091462d8
--- /dev/null
+++ b/mysql-test/r/connect.result
@@ -0,0 +1,34 @@
+show tables;
+Tables_in_mysql
+columns_priv
+db
+func
+host
+tables_priv
+user
+show tables;
+Tables_in_test
+grant ALL on *.* to test@localhost identified by "gambling";
+grant ALL on *.* to test@127.0.0.1 identified by "gambling";
+show tables;
+Tables_in_mysql
+columns_priv
+db
+func
+host
+tables_priv
+user
+show tables;
+Tables_in_test
+update mysql.user set password=old_password("gambling2") where user="test";
+flush privileges;
+show tables;
+Tables_in_mysql
+columns_priv
+db
+func
+host
+tables_priv
+user
+show tables;
+Tables_in_test