summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-04-05 17:44:12 +0300
committerMonty <monty@mariadb.org>2016-04-05 18:00:04 +0300
commitcdd404311792302a27242ba1f210be3addda6405 (patch)
tree72ca7b21a2cc4c8a211c50522885f6a4a2fa513e /tests
parentd0b178fb45898486979a504de30ac186f734bb26 (diff)
downloadmariadb-git-cdd404311792302a27242ba1f210be3addda6405.tar.gz
Cleanups:
- Removed some QQ markers - Removed some rows not compatible with valgrind 3.9.0 - Made mysql_install_db.sh more silent by default. --verbose now gives more information - Added assert that auto-increment doesn't generate 0 (safety) - Removed thd->set_time() in some places as it's set in init_for_queries() - Fixed some --big tests in tokudb - Fixed a bug in mysql_client_test.cc where sql_mode was not properly reset
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 7cc59f6aca5..7af1249f596 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -16227,7 +16227,6 @@ static void test_change_user()
const char *db= "mysqltest_user_test_database";
int rc;
MYSQL* conn;
-
DBUG_ENTER("test_change_user");
myheader("test_change_user");
@@ -16240,6 +16239,9 @@ static void test_change_user()
rc= mysql_query(mysql, buff);
myquery(rc);
+ rc= mysql_query(mysql, "SET SQL_MODE=''");
+ myquery(rc);
+
sprintf(buff,
"grant select on %s.* to %s@'%%' identified by '%s'",
db,
@@ -17481,7 +17483,6 @@ static void test_wl4166_2()
mysql_stmt_close(stmt);
rc= mysql_query(mysql, "drop table t1");
myquery(rc);
-
}