~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/systab_variable_ms.cc

  • Committer: Olaf van der Spek
  • Date: 2011-11-09 20:20:23 UTC
  • mto: This revision was merged to the branch mainline in revision 2457.
  • Revision ID: olafvdspek@gmail.com-20111109202023-df2axkpkey9qouze
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
631
631
        getFieldValue(new_data, 2, &n_var_value);
632
632
        
633
633
        // The command names must match.
634
 
        if ((n_id != o_id) || my_strcasecmp(&UTF8_CHARSET, o_var_name.c_str(), n_var_name.c_str()))
 
634
        if ((n_id != o_id) || UTF8_CHARSET.strcasecmp(o_var_name.c_str(), n_var_name.c_str()))
635
635
                CSException::throwException(CS_CONTEXT, HA_ERR_TABLE_READONLY, "Attempt to update read only fields in the "VARIABLES_TABLE_NAME" table.");
636
636
                
637
637
        n_id--;