mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL 1682: Use bitvector instead of query_id to tell handler which fields
to read and write Changed Server code, added new interface to handler and changed the NDB handler, InnoDB handler and Federated handler that previously used query_id Bug#10202 fix (one-liner fix for memory leak)
This commit is contained in:
@ -760,8 +760,15 @@ public:
|
||||
/*
|
||||
- if set_query_id=1, we set field->query_id for all fields. In that case
|
||||
field list can not contain duplicates.
|
||||
0: Means query_id is not set and no indicator to handler of fields used
|
||||
is set
|
||||
1: Means query_id is set for fields in list and bit in read set is set
|
||||
to inform handler of that field is to be read
|
||||
2: Means query is set for fields in list and bit is set in update set
|
||||
to inform handler that it needs to update this field in write_row
|
||||
and update_row
|
||||
*/
|
||||
bool set_query_id;
|
||||
ulong set_query_id;
|
||||
/*
|
||||
This variable is used in post-parse stage to declare that sum-functions,
|
||||
or functions which have sense only if GROUP BY is present, are allowed.
|
||||
|
Reference in New Issue
Block a user