Browse Source
Fixed warnings and errors found by buildbot
Fixed warnings and errors found by buildbot
field.cc - Fixed warning about overlapping memory copy (backport from 10.0) Item_subselect.cc - Fixed core dump in main.view - Problem was that thd->lex->current_select->master_unit()->item was not set, which caused crash in maxr_as_dependent sql/mysqld.cc - Got error on shutdown as we where freeing mutex before all THD objects was freed (~THD uses some mutex). Fixed by during shutdown freeing THD inside mutex. sql/log.cc - log_space_lock and LOCK_log where locked in inconsistenly. Fixed by not having a log_space_lock around purge_logs. sql/slave.cc - Remove unnecessary log_space_lock - Move cond_broadcast inside lock to ensure we don't miss the signalpull/109/head
5 changed files with 40 additions and 30 deletions
-
3sql/field.cc
-
13sql/item_subselect.cc
-
33sql/log.cc
-
11sql/mysqld.cc
-
10sql/slave.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue