~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_range_select.cc

  • Committer: Lee Bieber
  • Date: 2010-01-30 23:42:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1282.
  • Revision ID: lbieber@lee-biebers-macbook-pro.local-20100130234202-sxmqfteqwiq15ptg
add target to japanese tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "drizzled/memory/multi_malloc.h"
28
28
 
29
29
using namespace std;
30
 
 
31
 
namespace drizzled
32
 
{
 
30
using namespace drizzled;
33
31
 
34
32
 
35
33
optimizer::QuickRangeSelect::QuickRangeSelect(Session *session,
39
37
                                              memory::Root *parent_alloc,
40
38
                                              bool *create_error)
41
39
  :
42
 
    mrr_flags(0),
43
 
    alloc(),
44
40
    cursor(NULL),
45
41
    ranges(),
46
42
    in_ror_merged_scan(false),
54
50
    mrr_buf_size(0),
55
51
    mrr_buf_desc(NULL),
56
52
    key_parts(NULL),
57
 
    dont_free(false)
 
53
    dont_free(false),
 
54
    mrr_flags(0),
 
55
    alloc()
58
56
{
59
57
  my_bitmap_map *bitmap= NULL;
60
58
 
485
483
  uint32_t length;
486
484
  KEY *key_info= head->key_info + index;
487
485
  key_names->append(key_info->name);
488
 
  length= internal::int64_t2str(max_used_key_length, buf, 10) - buf;
 
486
  length= int64_t2str(max_used_key_length, buf, 10) - buf;
489
487
  used_lengths->append(buf, length);
490
488
}
491
489
 
624
622
}
625
623
 
626
624
 
627
 
} /* namespace drizzled */