crash when insert varchar/char/clob with default NULL #3168
Last updated: 2013-01-22 09:29:12 +0100
Date: 2012-10-23 08:36:46 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4
If table has varchar/char/clob column with default null option,
Steps to Reproduce:
1.create table test ( id int, name varchar(20) default null);
Date: 2012-10-23 10:47:01 +0200
I can reproduce the segfault (with Oct2012 v11.13.3).
Thanks for reporting!
Date: 2012-10-23 11:24:44 +0200
The problem is that sql2str() in sql/common/sql_string.c is called with str_nil as argument, but is unable to handle that correctly:
Program received signal SIGSEGV, Segmentation fault.
Date: 2012-11-21 14:39:50 +0100
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=e798c1a1af8b
Date: 2013-01-22 09:29:12 +0100
Oct2012-SP3 has been released.
The text was updated successfully, but these errors were encountered: