~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/join.h

  • Committer: Olaf van der Spek
  • Date: 2011-04-05 12:26:58 UTC
  • mto: (2278.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2272.
  • Revision ID: olafvdspek@gmail.com-20110405122658-xxrvmobwwwwf3oct
Refactor Open_tables_state

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 * Defines the Join class
25
25
 */
26
26
 
27
 
#ifndef DRIZZLED_JOIN_H
28
 
#define DRIZZLED_JOIN_H
 
27
#pragma once
29
28
 
 
29
#include <drizzled/dynamic_array.h>
30
30
#include <drizzled/optimizer/position.h>
31
31
#include <drizzled/sql_select.h>
32
32
#include <drizzled/tmp_table_param.h>
33
33
#include <bitset>
34
34
 
35
 
namespace drizzled
36
 
{
37
 
 
38
 
class DrizzleLock;
39
 
class Session;
40
 
class SortField;
 
35
namespace drizzled {
41
36
 
42
37
class Join :public memory::SqlAlloc
43
38
{
276
271
  }
277
272
  inline void init_items_ref_array()
278
273
  {
279
 
    items0= ref_pointer_array + all_fields.elements;
 
274
    items0= ref_pointer_array + all_fields.size();
280
275
    memcpy(items0, ref_pointer_array, ref_pointer_array_size);
281
276
    current_ref_pointer_array= items0;
282
277
  }
380
375
 
381
376
} /* namespace drizzled */
382
377
 
383
 
#endif /* DRIZZLED_JOIN_H */