diff options
author | unknown <peter@mysql.com> | 2002-12-05 14:01:15 +0300 |
---|---|---|
committer | unknown <peter@mysql.com> | 2002-12-05 14:01:15 +0300 |
commit | 47fb31aa4659fb24d88fbc3fa869d3b50f37b258 (patch) | |
tree | fcdb5b34d287fe29add73dbd71da48fb01747cf7 /mysql-test/r/connect.result | |
parent | 339cf7ce7bc856996812786f95dfa9f8717d3b99 (diff) | |
download | mariadb-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.result | 34 |
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 |