我这边遇到很奇怪的问题就是mysqli调用存储过程很简单,代码如下:
$dbc->autocommit(false);
$result=$dbc->query("call test()");
$rows=$result->fetch_array();
mysqli_free_result($result);
$dbc->commit();在存储过程里面是没有事务的,我用PHP控制事务,可是执行$dbc->commit()就出现这个错误ommands out of sync; you can't run this command now,这个是怎么回事?