~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/records.h

  • Committer: Brian Aker
  • Date: 2010-08-03 20:57:39 UTC
  • mfrom: (1680.6.4 rollup)
  • Revision ID: brian@gaz-20100803205739-7betgobkod41363k
Removes LOCK_system_variables_hash, one goto, drops internall new for std
new (so possible performance regression), fixes bug where Session was not
unlocked correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
  {
83
83
  }
84
84
 
85
 
  void init()
86
 
  {
87
 
    table= NULL;
88
 
    cursor= NULL;
89
 
    forms= 0;
90
 
    read_record= 0;
91
 
    session= 0;
92
 
    select= 0;
93
 
    cache_records= 0;
94
 
    ref_length= 0;
95
 
    struct_length= 0;
96
 
    reclength= 0;
97
 
    rec_cache_size= 0;
98
 
    error_offset= 0;
99
 
    index= 0;
100
 
    ref_pos= 0;
101
 
    record= 0;
102
 
    rec_buf= 0;
103
 
    cache= 0;
104
 
    cache_pos= 0;
105
 
    cache_end= 0;
106
 
    read_positions= 0;
107
 
    io_cache= 0;
108
 
    print_error= 0;
109
 
    ignore_not_found_rows= 0;
110
 
    do_insideout_scan= 0;
111
 
  }
112
 
 
113
85
  virtual ~ReadRecord()
114
86
  { }
115
87