1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-8658 DATE(zerofill_column) and DATE(COALESCE(zerofill_column)) return different results

MDEV-8660 TIME(int_zerofill_column) returns a wrong result
This commit is contained in:
Alexander Barkov
2015-09-23 20:42:28 +04:00
parent b9da3ba45e
commit 3ad035f66b
13 changed files with 241 additions and 123 deletions

View File

@@ -1487,6 +1487,7 @@ public:
{
return pos_in_interval_val_real(min, max);
}
bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate);
};
@@ -1665,6 +1666,7 @@ public:
longlong val_int(void);
my_decimal *val_decimal(my_decimal *);
String *val_str(String*, String *);
bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate);
int cmp(const uchar *, const uchar *);
void sort_string(uchar *buff, uint length);
bool zero_pack() const { return 0; }