1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00
Item_buff -> Cached_item
  Item_arena -> Query_arena
  TEST_ASSERT -> YYERROR_UNLESS
This commit is contained in:
serg@serg.mylan
2005-06-15 19:58:35 +02:00
parent b41f9b36cb
commit 01b3c70926
17 changed files with 124 additions and 124 deletions

View File

@ -178,7 +178,7 @@ class JOIN :public Sql_alloc
table_map const_table_map,found_const_table_map,outer_join;
ha_rows send_records,found_records,examined_rows,row_limit, select_limit;
/*
Used to fetch no more than given amount of rows per one
Used to fetch no more than given amount of rows per one
fetch operation of server side cursor.
The value is checked in end_send and end_send_group in fashion, similar
to offset_limit_cnt:
@ -190,7 +190,7 @@ class JOIN :public Sql_alloc
POSITION positions[MAX_TABLES+1],best_positions[MAX_TABLES+1];
double best_read;
List<Item> *fields;
List<Item_buff> group_fields, group_fields_cache;
List<Cached_item> group_fields, group_fields_cache;
TABLE *tmp_table;
// used to store 2 possible tmp table of SELECT
TABLE *exec_tmp_table1, *exec_tmp_table2;
@ -370,7 +370,7 @@ class JOIN :public Sql_alloc
statement for many cursors.
*/
class Cursor: public Sql_alloc, public Item_arena
class Cursor: public Sql_alloc, public Query_arena
{
JOIN *join;
SELECT_LEX_UNIT *unit;
@ -396,7 +396,7 @@ public:
void close();
void set_unit(SELECT_LEX_UNIT *unit_arg) { unit= unit_arg; }
Cursor() :Item_arena(TRUE), join(0), unit(0) {}
Cursor() :Query_arena(TRUE), join(0), unit(0) {}
~Cursor();
};