~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-74

« back to all changes in this revision

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

  • Committer: Continuous Integration
  • Date: 2012-08-14 23:23:41 UTC
  • mfrom: (2580.1.1 workspace)
  • Revision ID: ci@drizzle.org-20120814232341-9hubn5aeit4mkcz6
added:
  bootstrap.sh
modified:
  client/drizzletest.cc
  drizzled/field/datetime.cc
  drizzled/filesort.cc
  drizzled/function/time/unix_timestamp.cc
  drizzled/sql_insert.cc
  drizzled/sql_load.cc
  drizzled/sql_union.cc
  drizzled/table/cache.cc
  drizzled/table_function_container.cc
  plugin/logging_query/logging_query.cc
  plugin/schema_engine/schema.cc
pending merge tips: (use -v to see all merge revisions)
  Continuous Integr... 2012-08-11 [merge] added:

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    char buff[DateTime::MAX_STRING_LENGTH];
71
71
    int buff_len;
72
72
    buff_len= temporal.to_string(buff, DateTime::MAX_STRING_LENGTH);
 
73
    (void)(buff_len);
73
74
    assert((buff_len+1) < DateTime::MAX_STRING_LENGTH);
74
75
    my_error(ER_INVALID_UNIX_TIMESTAMP_VALUE, MYF(0), buff);
75
76
    return 0;