1
0
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:
Michael Widenius
2010-11-02 11:03:33 +02:00
parent d48a8b6034
commit c4a5cf111b
6 changed files with 43 additions and 6 deletions

View File

@@ -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();