Prepared Statements in MySql 5.1

Posted by Ronen on Stack Overflow See other posts from Stack Overflow or by Ronen
Published on 2010-05-26T17:35:01Z Indexed on 2010/05/26 17:41 UTC
Read the original article Hit count: 325

Filed under:
|
|

This one is really puzzling. I can't seem to be able to run any prepared statement on MySql 5.1. Any simple select I'm writing runs fine but when I'm trying to run it from a prepared statement I'm getting Query returned no result set. What Am I doing wrong?

Exmaple:

prepare s from 'select * from t'; execute s;

Thanks!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about statement