From 9d2d80aaceccfb4602c935d6521d59232ca3491c Mon Sep 17 00:00:00 2001 From: Chris Calender Date: Thu, 7 Feb 2019 03:29:12 -0500 Subject: Update sql_parse.cc Corrected one more "refering" typo. --- sql/sql_parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 0dffae47ac8..c496cfc69e2 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -5415,7 +5415,7 @@ static bool execute_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; -- cgit v1.2.1 From 137812c88a418479c7d637f4075712d9f6c6c82f Mon Sep 17 00:00:00 2001 From: FaramosCZ Date: Wed, 28 Nov 2018 15:25:53 +0100 Subject: Fix USE_AFTER_FREE (CWE-416) swap two lines --- tests/mysql_client_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 4978faafb67..4c8ee07cdd0 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -19390,8 +19390,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); } -- cgit v1.2.1