~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item_row.h

  • Committer: Patrick Galbraith
  • Date: 2008-07-24 16:57:40 UTC
  • mto: (202.2.4 rename-mysql-to-drizzle)
  • mto: This revision was merged to the branch mainline in revision 212.
  • Revision ID: patg@ishvara-20080724165740-x58yw6zs6d9o17lf
Most everything working with client rename
mysqlslap test still fails... can't connect to the server

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
5
 
 *
6
 
 *  This program is free software; you can redistribute it and/or modify
7
 
 *  it under the terms of the GNU General Public License as published by
8
 
 *  the Free Software Foundation; version 2 of the License.
9
 
 *
10
 
 *  This program is distributed in the hope that it will be useful,
11
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 *  GNU General Public License for more details.
14
 
 *
15
 
 *  You should have received a copy of the GNU General Public License
16
 
 *  along with this program; if not, write to the Free Software
17
 
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
 
 */
 
1
/* Copyright (C) 2000 MySQL AB
 
2
 
 
3
   This program is free software; you can redistribute it and/or modify
 
4
   it under the terms of the GNU General Public License as published by
 
5
   the Free Software Foundation; version 2 of the License.
 
6
 
 
7
   This program is distributed in the hope that it will be useful,
 
8
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
   GNU General Public License for more details.
 
11
 
 
12
   You should have received a copy of the GNU General Public License
 
13
   along with this program; if not, write to the Free Software
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
19
15
 
20
16
class Item_row: public Item
21
17
{
22
18
  Item **items;
23
19
  table_map used_tables_cache;
24
 
  uint32_t arg_count;
 
20
  uint arg_count;
25
21
  bool const_item_cache;
26
22
  bool with_null;
27
23
public:
72
68
  void update_used_tables();
73
69
  virtual void print(String *str, enum_query_type query_type);
74
70
 
75
 
  bool walk(Item_processor processor, bool walk_subquery, unsigned char *arg);
76
 
  Item *transform(Item_transformer transformer, unsigned char *arg);
 
71
  bool walk(Item_processor processor, bool walk_subquery, uchar *arg);
 
72
  Item *transform(Item_transformer transformer, uchar *arg);
77
73
 
78
 
  uint32_t cols() { return arg_count; }
79
 
  Item* element_index(uint32_t i) { return items[i]; }
80
 
  Item** addr(uint32_t i) { return items + i; }
81
 
  bool check_cols(uint32_t c);
 
74
  uint cols() { return arg_count; }
 
75
  Item* element_index(uint i) { return items[i]; }
 
76
  Item** addr(uint i) { return items + i; }
 
77
  bool check_cols(uint c);
82
78
  bool null_inside() { return with_null; };
83
79
  void bring_value();
84
 
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
85
 
  { return false; }
86
80
};