~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.h

  • Committer: Brian Aker
  • Date: 2008-11-25 01:33:32 UTC
  • mfrom: (590.2.23 trunk)
  • Revision ID: brian@tangent.org-20081125013332-5q6umof4d3a8eq20
More Sun Studio patches from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1189
1189
    // it is constant => can be used without fix_fields (and frequently used)
1190
1190
    fixed= 1;
1191
1191
  }
1192
 
  /*
1193
 
    This is used in stored procedures to avoid memory leaks and
1194
 
    does a deep copy of its argument.
1195
 
  */
1196
 
  void set_str_with_copy(const char *str_arg, uint32_t length_arg)
1197
 
  {
1198
 
    str_value.copy(str_arg, length_arg, collation.collation);
1199
 
    max_length= str_value.numchars() * collation.collation->mbmaxlen;
1200
 
  }
1201
1192
  void set_repertoire_from_value()
1202
1193
  {
1203
1194
    collation.repertoire= my_string_repertoire(str_value.charset(),