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 /libmysqld/libmysqld.c | |
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 'libmysqld/libmysqld.c')
-rw-r--r-- | libmysqld/libmysqld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c index 3fba238a8bf..3f7c666cd30 100644 --- a/libmysqld/libmysqld.c +++ b/libmysqld/libmysqld.c @@ -62,7 +62,7 @@ my_string mysql_unix_port=0; #define closesocket(A) close(A) #endif -static void mysql_once_init(void); +void STDCALL mysql_once_init(void); static MYSQL_DATA *read_rows (MYSQL *mysql,MYSQL_FIELD *fields, uint field_count); static int read_one_row(MYSQL *mysql,uint fields,MYSQL_ROW row, |