$rs=Yii::app()->db->createCommand("call gy_getwoking(1,$start,$limit)")->query();
//$rs=Yii::app()->db->createCommand("select * from xt_billdesign limit 0,50")->query();
$rs1=Yii::app()->db->createCommand("select * from xt_xtgnb limit 0,50")->query();
查询存储过程后再做其它查询会出错:提示是SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
我查了一下网上的资料
2008年的,说是PDO在windows中会有这个BUG,
不知道是YII中如何解决。
好象说我是第一次发文章,不让我加链接,所以加了几个空格