Bugs item #1715659, was opened at 2007-05-09 14:16
Message generated for change (Comment added) made by romulog
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1715659&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 CVS Head
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Romulo Goncalves (romulog)
Assigned to: Niels Nes (nielsnes)
Summary: LIKE for time values...

Initial Comment:
Just run the example:

sql>select now() LIKE '12:14';

The Mserver5 will crash:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1090525504 (LWP 9767)]
0x00002aaaab40b272 in ATOMcmp (t=255, l=0xffffffff00000000, r=0xb2ff202a07470)
    at /ufs/goncalve/MonetDB/MonetDB/src/gdk/gdk_atoms.mx:1016
1016                    return (l == r) ? 0 : atom_CMP(l, r, t);
(gdb) 

Regards,
Romulo

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

>Comment By: Romulo Goncalves (romulog)
Date: 2007-05-10 11:29

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

The bug is fixed and the test to cover it is:

sql/src/test/BugTracker/Test/like_for_time_values.SF-1715659.sql

Regards,
Romulo

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

Comment By: Niels Nes (nielsnes)
Date: 2007-05-10 10:41

Message:
Logged In: YES 
user_id=43556
Originator: NO

crash was allready gone (probaly because of the write after free
problems). But also the type checking wasn't complete. This is now fixed.

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to