[MDEV-3635] LP:839387 - Assertion `(Item_result)i != TIME_RESULT' failed with CASE + datetime in maria-5.3 Created: 2011-09-02 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
reported by user. backtrace: mysqld: item_cmpfunc.cc:2954: virtual void Item_func_case::fix_length_and_dec(): Assertion `(Item_result)i != TIME_RESULT' failed. #8 0x006b0d98 in __assert_fail () from /lib/libc.so.6 test case: CREATE TABLE t1 ( f1 time) ; SELECT CASE t1.f1 when '00:00:00' then NULL END FROM t1; bzr version-info not repeatable in maria-5.2. |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2011-09-02 ] |
|
Assertion `(Item_result)i != TIME_RESULT' failed with CASE + datetime in maria-5.3 mysqld: item_cmpfunc.cc:2954: virtual void Item_func_case::fix_length_and_dec(): Assertion `(Item_result)i != TIME_RESULT' failed. #8 0x006b0d98 in __assert_fail () from /lib/libc.so.6 test case: CREATE TABLE t1 ( f1 time) ; SELECT CASE t1.f1 when '00:00:00' then NULL END FROM t1; bzr version-info not repeatable in maria-5.2. |
| Comment by Rasmus Johansson (Inactive) [ 2011-10-28 ] |
|
Launchpad bug id: 839387 |