~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/date.cc

  • Committer: Brian Aker
  • Date: 2008-10-20 03:40:03 UTC
  • mto: (492.3.21 drizzle-clean-code)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: brian@tangent.org-20081020034003-t2dcnl0ayr2ymm8k
THD -> Session rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
  long tmp;
55
55
  DRIZZLE_TIME l_time;
56
56
  int error;
57
 
  THD *thd= table ? table->in_use : current_thd;
 
57
  Session *thd= table ? table->in_use : current_thd;
58
58
  enum enum_drizzle_timestamp_type ret;
59
59
  if ((ret= str_to_datetime(from, len, &l_time,
60
60
                            (TIME_FUZZY_DATE |
103
103
  DRIZZLE_TIME l_time;
104
104
  int64_t tmp;
105
105
  int error;
106
 
  THD *thd= table ? table->in_use : current_thd;
 
106
  Session *thd= table ? table->in_use : current_thd;
107
107
  if (number_to_datetime(nr, &l_time,
108
108
                         (TIME_FUZZY_DATE |
109
109
                          (thd->variables.sql_mode &