~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/errors.test

  • Committer: Jay Pipes
  • Date: 2009-01-30 04:38:21 UTC
  • mto: This revision was merged to the branch mainline in revision 830.
  • Revision ID: jpipes@serialcoder-20090130043821-4d7jg2ftabefamxb
Fixes for the QUARTER() function to use new Temporal system and throw
errors on bad datetime values.

Added test case for QUARTER() function and modified func_time.test existing
test to correctly throw errors and report NULL, not 0 on NULL input.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#
36
36
# Bug #6080: Error message for a field with a display width that is too long
37
37
#
38
 
--error 1439
 
38
--error 1064
39
39
create table t1 (a int(256));
40
 
set sql_mode='traditional';
41
40
--error 1074
42
41
create table t1 (a varchar(66000));
43
 
set sql_mode=default;
44
42
 
45
43
#
46
44
# Bug #27513: mysql 5.0.x + NULL pointer DoS