diff options
author | unknown <davi@moksha.com.br> | 2007-10-17 16:43:30 -0300 |
---|---|---|
committer | unknown <davi@moksha.com.br> | 2007-10-17 16:43:30 -0300 |
commit | d85701d85c2bbdaeb48bfa9afeaad461eedff4a4 (patch) | |
tree | ebf72c913456132b6fdcdf0f1ee8cb00382a629e /mysql-test/t/change_user.test | |
parent | 8fc1ed69d58ca4ef8f0a6bd85c74a8d8ac496ae3 (diff) | |
download | mariadb-git-d85701d85c2bbdaeb48bfa9afeaad461eedff4a4.tar.gz |
Bug#31608 missing mysqltest change_user command
Post merge fixes: close any open statement before
the change user command and fix test case output.
client/mysqltest.c:
Close an open statement since it won't work after a change_user command.
mysql-test/r/change_user.result:
Fixed test case output.
mysql-test/t/change_user.test:
Fix test case output to return 1 or 0.
Diffstat (limited to 'mysql-test/t/change_user.test')
-rw-r--r-- | mysql-test/t/change_user.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/change_user.test b/mysql-test/t/change_user.test index 2900cd434a4..d0cdfc8a741 100644 --- a/mysql-test/t/change_user.test +++ b/mysql-test/t/change_user.test @@ -28,7 +28,7 @@ SELECT @@session.sql_big_selects; SELECT IS_FREE_LOCK('bug31418'); SELECT IS_USED_LOCK('bug31418'); SELECT GET_LOCK('bug31418', 1); -SELECT IS_USED_LOCK('bug31418'); +SELECT IS_USED_LOCK('bug31418') = CONNECTION_ID(); --echo change_user --change_user SELECT IS_FREE_LOCK('bug31418'); |