~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-18 11:48:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2443.
  • Revision ID: olafvdspek@gmail.com-20111018114844-yit26aam30a9h5ip
Use data_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
1711
1711
{
1712
1712
  if (user_var_entry* var= getVariable(name, true))
1713
1713
  {
1714
 
    var->update_hash(false, (void*)value.c_str(), static_cast<uint32_t>(value.length()), STRING_RESULT, &my_charset_bin, DERIVATION_IMPLICIT, false);
 
1714
    var->update_hash(false, value, STRING_RESULT, &my_charset_bin, DERIVATION_IMPLICIT, false);
1715
1715
  }
1716
1716
}
1717
1717