~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/timestamp.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:
213
213
 
214
214
  /* We don't want to store invalid or fuzzy datetime values in TIMESTAMP */
215
215
  int64_t tmp= number_to_datetime(nr, &l_time, (thd->variables.sql_mode &
216
 
                                                 MODE_NO_ZERO_DATE) |
217
 
                                   MODE_NO_ZERO_IN_DATE, &error);
 
216
                                                 MODE_NO_ZERO_DATE), &error);
218
217
  if (tmp == -1LL)
219
218
  {
220
219
    error= 2;