C API support for Stored procedure not consistent
Posted by: Prakash Gibbs
Date: March 23, 2016 03:07AM

will C API support for calling stored procedure(which as varchar IN parameter) supports select with where or update.

As i observed the code works fine if the statement doesn't have any '=' operator in it(only for varchar IN parameter)

mysql_query(mysql,"CREATE PROCEDURE p1(IN user VARCHAR(25)"
"select password from test where username=user;"

Can you please help this out

Options: ReplyQuote

Written By
C API support for Stored procedure not consistent
March 23, 2016 03:07AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.