~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/timezone.test

  • Committer: Stewart Smith
  • Date: 2010-02-05 01:20:18 UTC
  • mto: (1286.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1287.
  • Revision ID: stewart@flamingspork.com-20100205012018-blvmeky20wze8eyg
initial TableProtoTester engine. We can't just use table_write as some protobuf library versions don't let us write invalid protobuf messages :(

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
#
55
55
# Test for fix for Bug#2523 Check that boundary dates are processed
56
56
# correctly.
57
 
# -- scratch the above, Drizzle allows for longer dates.
58
57
#
59
58
select unix_timestamp('1970-01-01 00:00:00');
60
59
select unix_timestamp('1970-01-01 00:00:01');
61
60
select unix_timestamp('2038-01-19 03:14:07');
62
 
--error ER_INVALID_UNIX_TIMESTAMP_VALUE # Bad timestamp
 
61
--error 1685 # Bad timestamp
63
62
select unix_timestamp('2038-01-19 03:14:08');
64
63
 
65
64
# End of 4.1 tests