Bugs item #1850781, was opened at 2007-12-14 14:46
Message generated for change (Comment added) made by romulog
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1850781&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Romulo Goncalves (romulog)
Assigned to: Niels Nes (nielsnes)
Summary: alter column to set the same constraint

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

create table atacc1 (test int not null);
alter table atacc1 alter bar set not null;
drop table atacc1;


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1107310912 (LWP 31808)]
0x00002aaabc74523f in sql_trans_alter_null (tr=0x14cdec8, col=0x0, isnull=0) at 
/ufs/goncalve/MonetDB/Stable/sql/src/storage/store.mx:3429
3429            if (col->null != isnull) {
(gdb)


Regards,
Romulo

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

>Comment By: Romulo Goncalves (romulog)
Date: 2007-12-18 00:45

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

Fixed in the check in:
[Monetdb-sql-checkins] sql/src/server sql_schema.mx, SQL_2-20,  1.132.2.4,
1.132.2.5

Modified Files:
      Tag: SQL_2-20
        sql_schema.mx 
Log Message:
Check if the column exist, if not we cannot alter the column constraint 
;) 


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

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

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

The test to cover this bug is:

sql/src/test/BugTracker/Tests/alter_col_to_set_same_constraint.SF-1850781


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1850781&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