~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_string.h

MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

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