~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.cc

  • Committer: Monty Taylor
  • Date: 2008-12-02 08:56:16 UTC
  • mfrom: (629.5.6 remove-strmake)
  • mto: This revision was merged to the branch mainline in revision 637.
  • Revision ID: mordred@solanthus.local-20081202085616-k1dvv8fly0jt70ho
MergedĀ fromĀ Toru.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2969
2969
  if (db_name && lower_case_table_names)
2970
2970
  {
2971
2971
    /* Convert database to lower case for comparison */
2972
 
    strmake(name_buff, db_name, sizeof(name_buff)-1);
 
2972
    strncpy(name_buff, db_name, sizeof(name_buff)-1);
2973
2973
    my_casedn_str(files_charset_info, name_buff);
2974
2974
    db_name= name_buff;
2975
2975
  }