diff options
author | monty@mashka.mysql.fi <> | 2003-02-03 20:20:32 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-02-03 20:20:32 +0200 |
commit | e3cd63521cd68743393b35c0056faf3e9388ca1c (patch) | |
tree | 9969b64873b025006c1eb0dba4dddc67e5501c19 /sql/item.h | |
parent | c42e94a6e690e1fbea887f2e2ed95b0e2ae97607 (diff) | |
download | mariadb-git-e3cd63521cd68743393b35c0056faf3e9388ca1c.tar.gz |
Fix for MIN/MAX with empty tables
MIN(key_column) could in some cases return NULL on a column with NULL and other values.
MIN(key_column) and MAX(key_column) could in some cases return wrong values when used in OUTER JOIN.
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index b690807691f..c669c266f0f 100644 --- a/sql/item.h +++ b/sql/item.h @@ -89,6 +89,7 @@ public: virtual void set_result_field(Field *field) {} virtual bool is_result_field() { return 0; } virtual void save_in_result_field(bool no_conversions) {} + virtual void no_rows_in_result() {} }; |