~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.cc

  • Committer: Brian Aker
  • Date: 2009-01-18 01:49:40 UTC
  • Revision ID: brian@gir-3.local-20090118014940-co9651fk7hla6gqg
Removed unused session param from list_open_tables()

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "config.h"
 
16
#include <drizzled/server_includes.h>
17
17
#include <drizzled/error.h>
18
18
#include <drizzled/session.h>
19
19
 
20
20
#include <drizzled/item/row.h>
21
21
 
22
 
namespace drizzled
23
 
{
24
 
 
25
22
/**
26
23
  Row items used for comparing rows and IN operations on rows:
27
24
 
42
39
 
43
40
  //TODO: think placing 2-3 component items in item (as it done for function)
44
41
  if ((arg_count= arg.elements))
45
 
    items= (Item**) memory::sql_alloc(sizeof(Item*)*arg_count);
 
42
    items= (Item**) sql_alloc(sizeof(Item*)*arg_count);
46
43
  else
47
44
    items= 0;
48
45
  List_iterator<Item> li(arg);
127
124
  }
128
125
}
129
126
 
130
 
void Item_row::fix_after_pullout(Select_Lex *new_parent, Item **)
 
127
void Item_row::fix_after_pullout(st_select_lex *new_parent, Item **)
131
128
{
132
129
  used_tables_cache= 0;
133
130
  const_item_cache= 1;
198
195
  for (uint32_t i= 0; i < arg_count; i++)
199
196
    items[i]->bring_value();
200
197
}
201
 
 
202
 
} /* namespace drizzled */