~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.cc

  • Committer: Brian Aker
  • Date: 2008-08-20 15:57:01 UTC
  • Revision ID: brian@tangent.org-20080820155701-hy7ddfg93nuc2rhr
One more mode down, two more left to go!

Show diffs side-by-side

added added

removed removed

Lines of Context:
957
957
  THD *thd= table->in_use;
958
958
  enum_check_fields tmp= thd->count_cuted_fields;
959
959
  ulong sql_mode= thd->variables.sql_mode;
960
 
  thd->variables.sql_mode&= ~(MODE_NO_ZERO_IN_DATE | MODE_NO_ZERO_DATE);
 
960
  thd->variables.sql_mode&= ~(MODE_NO_ZERO_DATE);
961
961
  thd->count_cuted_fields= CHECK_FIELD_IGNORE;
962
962
  res= save_in_field(field, no_conversions);
963
963
  thd->count_cuted_fields= tmp;