Bugs item #1909638, was opened at 2008-03-07 15:34
Message generated for change (Settings changed) made by nielsnes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1909638&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: sql prepare problem....

Initial Comment:
The following code:

CREATE FUNCTION fEq (ra float, decim float, r float)
RETURNS int
BEGIN
        return 0;
END;

SELECT  fEq(212.82496,1.27536,0.167);
SELECT  fEq(134.44708,-0.2,0.167);
SELECT  fEq(261,-90,0.167);


drop function fEq;


Gives the following error message:
MAPI  = [EMAIL PROTECTED]:50000
QUERY = SELECT  fEq(261,-90,0.167);
ERROR = !SQLException:sql.prepare:wrong argument for prepared statement 
(expected decimal instead of tinyint)



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

>Comment By: Niels Nes (nielsnes)
Date: 2008-03-14 13:06

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

small problem in query matching. Some arguments checks weren't strict
enough. 

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

Comment By: Romulo Goncalves (romulog)
Date: 2008-03-07 16:06

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

Test added in:

sql/src/test/BugTracker/Tests/sql_prepare_prob.SF-1909638.sql

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to