~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/date_format.cc

  • Committer: Lee Bieber
  • Date: 2011-02-06 02:27:17 UTC
  • mfrom: (2147.2.3 build)
  • Revision ID: kalebral@gmail.com-20110206022717-dv2li8ky1wf49ju3
Merge Brian - table error updates
Merge Brian - parser updates
Merge Brian - more catalog work

Show diffs side-by-side

added added

removed removed

Lines of Context:
399
399
  {
400
400
    String *res;
401
401
    if (!(res=args[0]->val_str(str)) ||
402
 
        (str_to_time_with_warn(res->ptr(), res->length(), &l_time)))
 
402
        (str_to_time_with_warn(current_session, res->ptr(), res->length(), &l_time)))
403
403
      goto null_date;
404
404
 
405
405
    l_time.year=l_time.month=l_time.day=0;