MySQL Forums
Forum List  »  Connector/C (libmysql)

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)

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

Can you please help this out

Options: ReplyQuote


Subject
Views
Written By
Posted
C API support for Stored procedure not consistent
804
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.