2013-04-16 97 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 ..')

我們不能用鎖碼?

回答