mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Move USE_PRAGMA_IMPLEMENTATION to proper place
Ensure that 'null_value' is not accessed before val() is called in FIELD() functions Fixed initialization of key maps. This fixes some problems with keys when you have more than 64 keys Fixed that ROLLUP don't always create a temporary table. This fix ensures that func_gconcat.test results are now predictable
This commit is contained in:
@ -143,10 +143,14 @@ class SQL_SELECT :public Sql_alloc {
|
||||
~SQL_SELECT();
|
||||
void cleanup();
|
||||
bool check_quick(THD *thd, bool force_quick_range, ha_rows limit)
|
||||
{ return test_quick_select(thd, key_map(~(uint)0), 0, limit, force_quick_range) < 0; }
|
||||
{
|
||||
key_map tmp;
|
||||
tmp.set_all();
|
||||
return test_quick_select(thd, tmp, 0, limit, force_quick_range) < 0;
|
||||
}
|
||||
inline bool skip_record() { return cond ? cond->val_int() == 0 : 0; }
|
||||
int test_quick_select(THD *thd, key_map keys, table_map prev_tables,
|
||||
ha_rows limit, bool force_quick_range=0);
|
||||
ha_rows limit, bool force_quick_range);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user