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 | dd12e412c32f496bc3c69bfc790246889fc145f1 (patch) | |
tree | fcdb5b34d287fe29add73dbd71da48fb01747cf7 /mysql-test/r/connect.result | |
parent | 48260049578ddc329b61015d76bc0c768a772a4a (diff) | |
download | mariadb-git-dd12e412c32f496bc3c69bfc790246889fc145f1.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 |