[Monetdb-developers] Prepared Statement Error

Sjoerd Mullender sjoerd at acm.org
Fri Jul 20 12:37:42 CEST 2007


Bharani wrote:
> Hi,
> 
> I am trying to execute this sql as prepared statement
> 
> update reason set failurereason=? where ID=? 
> 
> reason is a table with two columns
> ID is integer
> failurereason is a string
> 
> During the batch execution i see
> 
> exec 3('whatever',2);
> 
> in the batch and then i get
> 
> MALException:(unknown):wrong argument for prepared statement (expected int
> instead of char)
> 
> Looks like expected types are getting swapped. 
> 
> Thanks
> Bharani
> 

Looks like you're right.  Can you submit a bug report in sourceforge
(https://sourceforge.net/tracker/?group_id=56967&atid=482468)?
Thanks.

-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
URL: <http://www.monetdb.org/pipermail/developers-list/attachments/20070720/40024b56/attachment.sig>


More information about the developers-list mailing list