Bugs item #1850789, was opened at 2007-12-14 14:57
Message generated for change (Comment added) made by romulog
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1850789&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SQL/Core
Group: SQL 2.20
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Romulo Goncalves (romulog)
Assigned to: Niels Nes (nielsnes)
Summary: add and then drop the same constraint...

Initial Comment:
The following sql queries crash the M5-SQL server:

create table atacc1 (test int not null);
alter table atacc1 add constraint "atacc1_pkey" primary key (test);
alter table atacc1 drop constraint "atacc1_pkey";

drop table atacc1;

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1107310912 (LWP 32194)]
0x00002aaabc6e740c in insert_check_ukey (sql=0x16a64d8, inserts=0x1bcbd38, 
k=0x1be27a8, idx_inserts=0x0, alter=0)
    at /ufs/goncalve/MonetDB/Stable/sql/src/server/sql_updates.mx:99
99              stmt *ts = stmt_basetable(k->t, k->t->base.name);
(gdb)

Regards,
Romulo

----------------------------------------------------------------------

>Comment By: Romulo Goncalves (romulog)
Date: 2007-12-16 23:39

Message:
Logged In: YES 
user_id=1498628
Originator: YES

The test to cover this bug is:

sql/src/test/BugTracker/Tests/add_and_drop_the_same_constraint.SF-1850789



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1850789&group_id=56967

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to