valgrind: initialise variable in QUICK_SELECT_I
sql/opt_range.cc: Initialise number of records in QUICK_SELECT_I
This commit is contained in:
parent
fab23b39de
commit
95aaf57ce4
@ -713,7 +713,8 @@ SQL_SELECT::~SQL_SELECT()
|
||||
|
||||
QUICK_SELECT_I::QUICK_SELECT_I()
|
||||
:max_used_key_length(0),
|
||||
used_key_parts(0)
|
||||
used_key_parts(0),
|
||||
records(0)
|
||||
{}
|
||||
|
||||
QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD *thd, TABLE *table, uint key_nr,
|
||||
|
Loading…
x
Reference in New Issue
Block a user