Commit 1ef3c696 authored by unknown's avatar unknown
Browse files

Merge bk-internal:/home/bk/mysql-5.0

into  mysql.com:/home/jimw/my/mysql-5.0-clean

parents 45a43c21 8607be22
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4543,7 +4543,7 @@ int Field_timestamp::store(longlong nr)
  THD *thd= table->in_use;

  /* We don't want to store invalid or fuzzy datetime values in TIMESTAMP */
  long tmp= number_to_datetime(nr, &l_time, (thd->variables.sql_mode &
  longlong tmp= number_to_datetime(nr, &l_time, (thd->variables.sql_mode &
                                                 MODE_NO_ZERO_DATE) |
                                   MODE_NO_ZERO_IN_DATE, &error);
  if (tmp < 0)
@@ -5389,7 +5389,7 @@ int Field_newdate::store(double nr)
int Field_newdate::store(longlong nr)
{
  TIME l_time;
  long tmp;
  longlong tmp;
  int error;
  if ((tmp= number_to_datetime(nr, &l_time,
                               (TIME_FUZZY_DATE |