summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_date_add.result
Commit message (Collapse)AuthorAgeFilesLines
* Bug#21811 Odd casting with date + INTERVAL arithmeticKristofer.Pettersson@naruto.2006-10-021-0/+14
| | | | | | | | | | | | - Type casting was not consequent, thus when adding a DATE type with a WEEK interval the result type was DATETIME and not DATE as is the norm. - By changing the order of the date internal enumerations the deviant type casting is resolved (Item_date_add_interval::fix_length_and_dec() which determines result type for this operation assumes that addition of any interval with value <= INTERVAL_DAY to date value will result in date). There are two independant places to change: interval_names[] and interval_type.
* Clean up merge from 4.1jimw@mysql.com2005-08-151-2/+2
|
* Generate a warning/error when DATE_SUB/ADD() functions calculate a datejimw@mysql.com2005-08-021-0/+26
| | | | that is outside the acceptable date range. (Bug #10627)
* bug#10466: Datatype "timestamp" displays "YYYYMMDDHHMMSS" irrespective of ↵msvensson@neptunus.(none)2005-06-201-1/+1
| | | | | | | display sizes. - Print warning that says display width is not supported for datatype TIMESTAMP, if user tries to create a TIMESTAMP column with display width. - Use display width for TIMESTAMP only in type_timestamp test to make sure warning is displayed correctly.
* WorkLog#1323antony@ltantony.rdg.cyberkinetica.homeunix.net2003-12-101-1/+1
| | | | Deprecate the use of TYPE=... Preferred syntax is ENGINE=
* Fixes for binary protocol (complement to last push)monty@mashka.mysql.fi2002-12-141-10/+10
| | | | | | Changed timestamp to return string in YYYY-MM-DD HH:MM:SS format. DATE_ADD() and related functions now returns correct DATE/DATETIME type depending on argument types. Now all tests passes, still some work left to remove warnings in log files from mysql-test-run
* client/mysqlmanagerc.csasha@mysql.sashanet.com2001-09-271-0/+35
| | | | | | | | | | | | | | added support for quiet increased line buffer size client/mysqltest.c fixed memory leak added query logging to result file added error message logging to result file added enable_query_log/disable_query_log mysql-test/mysql-test-run.sh converted tests to use mysqlmanager Updated test results
* Added support for hex strings to mysqlimportmonty@donna.mysql.com2000-12-281-0/+12
A lot of new tests to mysqltest Fixed bug with BDB tables and autocommit