views:

26

answers:

0

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!