~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_string.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-04 08:13:04 UTC
  • mfrom: (2384 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110804081304-rlejjpvoos17bjdf
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
    Ptr= str; str_length=Alloced_length=arg_length ; alloced=0;
140
140
    str_charset=cs;
141
141
  }
 
142
 
142
143
  inline void set(const char *str,size_t arg_length, const charset_info_st * const cs)
143
144
  {
144
145
    free();
147
148
    str_charset=cs;
148
149
  }
149
150
  void set_ascii(const char *str, size_t arg_length);
 
151
 
150
152
  inline void set_quick(char *str,size_t arg_length, const charset_info_st * const cs)
151
153
  {
152
154
    if (!alloced)
155
157
    }
156
158
    str_charset= cs;
157
159
  }
 
160
 
158
161
  void set_int(int64_t num, bool unsigned_flag, const charset_info_st * const cs);
159
162
  void set(int64_t num, const charset_info_st * const cs)
160
163
  { set_int(num, false, cs); }