mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fixed wrong queue_replace(), which caused timeout failure in pbxt.flush_read_lock_kill
Fixed compiler warnings. include/queues.h: Added prototype for queue_replace() mysys/queues.c: Fixed wrong queue_replace() mysys/thr_alarm.c: Added DBUG_PRINT sql/item_subselect.cc: Check return value of ha_rnd_init(). (Fixes compiler warnings) sql/sql_class.cc: Fixed wrong test sql/sql_show.cc: Removed not used variable.
This commit is contained in:
@@ -3017,7 +3017,7 @@ create_result_table(THD *thd_arg, List<Item> *column_types,
|
||||
|
||||
col_stat= (Column_statistics*) table->in_use->alloc(table->s->fields *
|
||||
sizeof(Column_statistics));
|
||||
if (!stat)
|
||||
if (!col_stat)
|
||||
return TRUE;
|
||||
|
||||
reset();
|
||||
|
||||
Reference in New Issue
Block a user