2013-04-16 100 views
0

实施“锁表”以下是我实现锁表错误而Zend公司

$defaultDb = Zend_Db_Table::getDefaultAdapter(); 
$defaultDb->query("LOCK TABLES `test` WRITE"); 

但IAM得到一个错误的Zend

exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli prepare error: This command is not supported in the prepared statement protocol yet'

Zend_Db_Statement_Mysqli->_prepare('LOCK TABLES ..')

我们不能用锁码?

回答