mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge mysql.com:/home/my/mysql-5.0
into mysql.com:/home/my/mysql-5.1 Merge of 'remove compiler warnings when using -Wshadow'
This commit is contained in:
@@ -1811,13 +1811,13 @@ class select_create: public select_insert {
|
||||
HA_CREATE_INFO *create_info;
|
||||
Field **field;
|
||||
public:
|
||||
select_create (TABLE_LIST *table,
|
||||
select_create (TABLE_LIST *table_arg,
|
||||
HA_CREATE_INFO *create_info_par,
|
||||
List<create_field> &fields_par,
|
||||
List<Key> &keys_par,
|
||||
List<Item> &select_fields,enum_duplicates duplic, bool ignore)
|
||||
:select_insert (NULL, NULL, &select_fields, 0, 0, duplic, ignore),
|
||||
create_table(table), extra_fields(&fields_par),keys(&keys_par),
|
||||
create_table(table_arg), extra_fields(&fields_par),keys(&keys_par),
|
||||
create_info(create_info_par)
|
||||
{}
|
||||
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
|
||||
@@ -1929,7 +1929,9 @@ public:
|
||||
class select_singlerow_subselect :public select_subselect
|
||||
{
|
||||
public:
|
||||
select_singlerow_subselect(Item_subselect *item):select_subselect(item){}
|
||||
select_singlerow_subselect(Item_subselect *item_arg)
|
||||
:select_subselect(item_arg)
|
||||
{}
|
||||
bool send_data(List<Item> &items);
|
||||
};
|
||||
|
||||
@@ -1940,8 +1942,8 @@ class select_max_min_finder_subselect :public select_subselect
|
||||
bool (select_max_min_finder_subselect::*op)();
|
||||
bool fmax;
|
||||
public:
|
||||
select_max_min_finder_subselect(Item_subselect *item, bool mx)
|
||||
:select_subselect(item), cache(0), fmax(mx)
|
||||
select_max_min_finder_subselect(Item_subselect *item_arg, bool mx)
|
||||
:select_subselect(item_arg), cache(0), fmax(mx)
|
||||
{}
|
||||
void cleanup();
|
||||
bool send_data(List<Item> &items);
|
||||
@@ -1955,7 +1957,8 @@ public:
|
||||
class select_exists_subselect :public select_subselect
|
||||
{
|
||||
public:
|
||||
select_exists_subselect(Item_subselect *item):select_subselect(item){}
|
||||
select_exists_subselect(Item_subselect *item_arg)
|
||||
:select_subselect(item_arg){}
|
||||
bool send_data(List<Item> &items);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user