Sqlitelogictest crash in MySQL query #6445
Last updated: 2017-12-14 14:46:04 +0100
Date: 2017-10-24 17:00:39 +0200
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36
I am now running Sqlitelogictest queries that are exclusive to some database systems. This query is supposed to run only on MySQL. In MonetDB I guess we are are supposed to get a compilation error or an empty result set instead of a crash.
The original query for the other database systems including MonetDB was:
In the MySQL version the cast is made to a DECIMAL instead of a REAL, because I guess MySQL does not support the REAL type. However I think that the MySQL version should also run in MonetDB, by casting the col0 column into a decimal.
Steps to Reproduce:
A SIGSEGV is received in a exp_is_atom call.
An empty result set.
Thread 6 "mserver5" received signal SIGSEGV, Segmentation fault.
0 0x00007fffe8b0a4b5 in exp_is_atom (e=0x0) at rel_exp.c:1337
Date: 2017-10-24 17:11:17 +0200
I added the test in this commit https://dev.monetdb.org/hg/MonetDB/rev/6d5c21f423bd Sorry I misspelled the Bug number with 64455 instead of 6445.
Date: 2017-10-25 11:42:21 +0200
fixed (properly return old expression if optimization isn't possible)
Date: 2017-10-26 07:56:37 +0200
For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=5e59ce515a5b
The text was updated successfully, but these errors were encountered: