Bugs item #1848541, was opened at 2007-12-11 12:33
Message generated for change (Comment added) made by romulog
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1848541&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: select sign...

Initial Comment:
This query crashes the mserver5-sql:

select sign(-5) ;

Error:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912516520208 (LWP 26140)]
0x00002aaabc6d397b in export_length (s=0x621100, mtype=6881387, eclass=6, 
    digits=8, scale=0, bid=0, p=0xfb)
    at /ufs/goncalve/MonetDB/Stable/sql/src/backends/monet5/sql_result.mx:863
863                                             val = *((lng *)p);
(gdb) 



Regards,
Romulo

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

>Comment By: Romulo Goncalves (romulog)
Date: 2007-12-13 16:34

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

The bug can be closed it was fixed by the check in:
[Monetdb-checkins] MonetDB4/src/modules/plain arith.mx, MonetDB_4-20,   1.3,
1.3.6.1
[Monetdb-checkins] MonetDB5/src/modules/kernel calc.mx,
MonetDB_5-2,    1.63.2.1, 1.63.2.2
Log Message:
added function sign (sql allready expected this to exist)

returns 1 for positive numbers
        0 for 0 
        -1 for negative

The example used to open the bug was extracted from the test:
sql/src/test/crashme.sql

Regards,
Romulo

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

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