1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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
This commit is contained in:
unknown
2002-12-05 14:01:15 +03:00
parent 339cf7ce7b
commit 47fb31aa46
4 changed files with 101 additions and 2 deletions

View File

@ -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