diff options
author | monty@mysql.com <> | 2005-11-01 13:00:02 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2005-11-01 13:00:02 +0200 |
commit | 19502e8eb5a79f04611458ec3784373b756a7948 (patch) | |
tree | 48f465a2fa16bd4e275d38c29d8c85701e758f58 /sql/item_timefunc.h | |
parent | fdcb437bdfd3b10cd6e9a220fa0d29970383ffe7 (diff) | |
download | mariadb-git-19502e8eb5a79f04611458ec3784373b756a7948.tar.gz |
Review of new pushed code
Removed wrong fix for bug #14009 (use of abs() on null value causes problems with filesort)
Mark that add_time(), time_diff() and str_to_date() can return null values
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r-- | sql/item_timefunc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h index 0df84d14bea..16c64620369 100644 --- a/sql/item_timefunc.h +++ b/sql/item_timefunc.h @@ -808,6 +808,7 @@ public: { decimals=0; max_length=MAX_TIME_WIDTH*MY_CHARSET_BIN_MB_MAXLEN; + maybe_null= 1; } Field *tmp_table_field(TABLE *t_arg) { |