diff --git a/mysql-test/r/flush_block_commit.result b/mysql-test/r/flush_block_commit.result index 39f4a3719ef..2f6aca7e24a 100644 --- a/mysql-test/r/flush_block_commit.result +++ b/mysql-test/r/flush_block_commit.result @@ -48,7 +48,7 @@ master-bin.000001 98 commit; show master status; File Position Binlog_Do_DB Binlog_Ignore_DB -master-bin.000001 276 +master-bin.000001 98 unlock tables; drop table t1; set autocommit=1; diff --git a/sql/sql_class.cc b/sql/sql_class.cc index c68dc826147..a6a1f4d60ef 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -202,10 +202,11 @@ THD::THD() #ifndef DBUG_OFF dbug_sentry=THD_SENTRY_MAGIC; #endif -#ifndef EMBEDDED_LIBRARY +#ifndef EMBEDDED_LIBRARY net.vio=0; #endif - net.last_error[0]=0; // If error on boot + net.last_error[0]=0; // If error on boot + net.query_cache_query=0; // If error on boot ull=0; system_thread= cleanup_done= abort_on_warning= no_warnings_for_error= 0; peer_port= 0; // For SHOW PROCESSLIST @@ -214,7 +215,7 @@ THD::THD() #endif #ifdef SIGNAL_WITH_VIO_CLOSE active_vio = 0; -#endif +#endif pthread_mutex_init(&LOCK_delete, MY_MUTEX_INIT_FAST); /* Variables with default values */ diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 2c493e27581..9a7e75b770c 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -7368,6 +7368,7 @@ keyword: | TIMESTAMP_DIFF {} | TIME_SYM {} | TYPES_SYM {} + | TYPE_SYM {} | UDF_RETURNS_SYM {} | FUNCTION_SYM {} | UNCOMMITTED_SYM {}