summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-03-26 13:51:40 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-03-26 13:51:40 +0200
commit42fd53724420627da65c3862f0fef0acffca3241 (patch)
tree8afeddbd5187f0561ce53037227a42d21ec353d8
parent065ba53ccbf3ab468408dc5a5dbcb3741750a02d (diff)
parent137812c88a418479c7d637f4075712d9f6c6c82f (diff)
downloadmariadb-git-42fd53724420627da65c3862f0fef0acffca3241.tar.gz
Merge 10.0 into 10.1
-rw-r--r--sql/sql_parse.cc2
-rw-r--r--tests/mysql_client_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 0edb8a3f5a3..e3f183e3e42 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -6063,7 +6063,7 @@ static bool check_rename_table(THD *thd, TABLE_LIST *first_table,
0, 0))
return 1;
- /* check if these are refering to temporary tables */
+ /* check if these are referring to temporary tables */
table->table= find_temporary_table_for_rename(thd, first_table, table);
table->next_local->table= table->table;
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 350da29e67f..63d40c5db64 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -19451,8 +19451,8 @@ static void test_big_packet()
opt_password, current_db, opt_port,
opt_unix_socket, 0)))
{
- mysql_close(mysql_local);
fprintf(stderr, "\n connection failed(%s)", mysql_error(mysql_local));
+ mysql_close(mysql_local);
exit(1);
}