SQL: ALTER TABLE with incorrect syntax crashes mserver5 #2795
Last updated: 2011-04-28 16:25:39 +0200
Date: 2011-03-31 14:44:02 +0200
The following queries crashes mserver5 (both in Mar2011 and in default):
sql>CREATE TABLE t3 (x INTEGER, y INTEGER);
Program received signal SIGSEGV, Segmentation fault.
If I understand the SQL:2003 grammar correctly (http://savage.net.au/SQL/sql-2003-2.bnf.html), such an expression is not allowed in de DEFAULT clause. But it is not rejected by the SQL parser.
Date: 2011-04-05 12:35:15 +0200
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=3e42e98ee928
Date: 2011-04-05 12:36:20 +0200
added test to BugTracker-2011/alter_incorrect_syntax_crash.Bug-2795.sql
Fixed bug by handling the failed parsing of the default expression.
Date: 2011-04-28 16:25:39 +0200
The Apr2011 release has been uploaded.
The text was updated successfully, but these errors were encountered: