mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正Oracel驱动的execute方法
This commit is contained in:
@@ -60,7 +60,7 @@ class Oracle extends Connection
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 根据参数绑定组装最终的SQL语句
|
// 根据参数绑定组装最终的SQL语句
|
||||||
$this->queryStr = $this->getBindSql($sql, $bind);
|
$this->queryStr = $this->getRealSql($sql, $bind);
|
||||||
|
|
||||||
$flag = false;
|
$flag = false;
|
||||||
if (preg_match("/^\s*(INSERT\s+INTO)\s+(\w+)\s+/i", $sql, $match)) {
|
if (preg_match("/^\s*(INSERT\s+INTO)\s+(\w+)\s+/i", $sql, $match)) {
|
||||||
@@ -155,7 +155,8 @@ class Oracle extends Connection
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function supportSavepoint(){
|
protected function supportSavepoint()
|
||||||
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user