~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/myxt_xt.cc

  • Committer: Andrew Hutchings
  • Date: 2010-09-08 19:03:09 UTC
  • mfrom: (1750 staging)
  • mto: (1750.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1751.
  • Revision ID: andrew@linuxjedi.co.uk-20100908190309-mya1nu7xvo1fpvk8
Merge trunk into branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
3237
3237
 
3238
3238
xtPublic void myxt_static_convert_file_name(char *from, char *to, size_t to_len)
3239
3239
{
3240
 
  TableIdentifier::filename_to_tablename(from, to, to_len);
 
3240
        uint32_t len = TableIdentifier::filename_to_tablename(from, to, to_len);
 
3241
        if (len >= to_len)
 
3242
                len = to_len-1;
 
3243
        to[len] = 0;
3241
3244
}
3242
3245
 
3243
3246
xtPublic int myxt_strcasecmp(char * a, char *b)