~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_string.h

Add in new show work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
      (void) realloc(str_length);
120
120
    return Ptr;
121
121
  }
 
122
  inline char *c_str()
 
123
  {
 
124
    if (Ptr && str_length < Alloced_length)
 
125
      Ptr[str_length]=0;
 
126
    else
 
127
      (void) realloc(str_length);
 
128
    return Ptr;
 
129
  }
122
130
  void append_identifier(const char *name, uint32_t length);
123
131
 
124
132
  void set(String &str,uint32_t offset,uint32_t arg_length)