~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

  • Committer: Lee Bieber
  • Date: 2010-10-29 13:35:47 UTC
  • mfrom: (1890.1.3 build)
  • Revision ID: kalebral@gmail.com-20101029133547-ehu44so1ij4cylr5
Merge Shrews - fix bug 667288: Transaction_reader reporting error about dangerously large protobuf message
Merge Monty - fix bug 667598: static plugins should be addable via plugin-add   
Merge Brian - clean up C++ warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
404
404
class Select_Lex: public Select_Lex_Node
405
405
{
406
406
public:
 
407
 
 
408
  Select_Lex() :
 
409
    context(),
 
410
    db(0),
 
411
    where(0),
 
412
    having(0),
 
413
    cond_value(),
 
414
    having_value(),
 
415
    parent_lex(0),
 
416
    olap(UNSPECIFIED_OLAP_TYPE),
 
417
    table_list(),
 
418
    group_list(),
 
419
    item_list(),
 
420
    interval_list(),
 
421
    is_item_list_lookup(false),
 
422
    join(0),
 
423
    top_join_list(),
 
424
    join_list(0),
 
425
    embedding(0),
 
426
    sj_nests(),
 
427
    leaf_tables(0),
 
428
    type(optimizer::ST_PRIMARY),
 
429
    order_list(),
 
430
    gorder_list(0),
 
431
    select_limit(0),
 
432
    offset_limit(0),
 
433
    ref_pointer_array(0),
 
434
    select_n_having_items(0),
 
435
    cond_count(0),
 
436
    between_count(0),
 
437
    max_equal_elems(0),
 
438
    select_n_where_fields(0),
 
439
    parsing_place(NO_MATTER),
 
440
    with_sum_func(0),
 
441
    in_sum_expr(0),
 
442
    select_number(0),
 
443
    nest_level(0),
 
444
    inner_sum_func_list(0),
 
445
    with_wild(0),
 
446
    braces(0),
 
447
    having_fix_field(0),
 
448
    inner_refs_list(),
 
449
    n_sum_items(0),
 
450
    n_child_sum_items(0),
 
451
    explicit_limit(0),
 
452
    subquery_in_having(0),
 
453
    is_correlated(0),
 
454
    exclude_from_table_unique_test(0),
 
455
    non_agg_fields(),
 
456
    cur_pos_in_select_list(0),
 
457
    prev_join_using(0),
 
458
    full_group_by_flag(),
 
459
    current_index_hint_type(INDEX_HINT_IGNORE),
 
460
    current_index_hint_clause(),
 
461
    index_hints(0)
 
462
  {
 
463
  }
 
464
 
407
465
  Name_resolution_context context;
408
466
  char *db;
409
467
  /* An Item representing the WHERE clause */
582
640
  bool test_limit();
583
641
 
584
642
  friend void lex_start(Session *session);
585
 
  Select_Lex() : n_sum_items(0), n_child_sum_items(0) {}
586
643
  void make_empty_select()
587
644
  {
588
645
    init_query();