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

Initial Comment:
The following query against empty database in M5-SQL crashes the Mserver:

SELECT '' AS one, i.* FROM INT2_TBL i WHERE (i.f1 % smallint '2') = smallint 
'1';

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912517404944 (LWP 11656)]
0x00000039b4c76160 in strlen () from /lib64/libc.so.6
(gdb) 

Regards,
Romulo

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

>Comment By: Romulo Goncalves (romulog)
Date: 2007-12-01 15:39

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

Fixed by Niels 30/11/2007 at 23:09

Log Message:
sql_scenario.mx: make sure we have a properly defined format string 
                (is use "%s" to print errors which could hold a % sign)
sql_types.mx: a number of string functions used incorrect 
                module names (changed to str now)
sql_select.mx: make user 'JOIN" statements include all tables 


Test added and approved in:

sql/src/test/BugTracker/Tests/creation_of_exeception_for_select.SF-1841749

Regards,
Romulo

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

Comment By: Niels Nes (nielsnes)
Date: 2007-11-30 23:10

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

The error was use as format for a printf call. As it contains a % this
caused problems. Will you add a test script.

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

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

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to