BUG 8403 executeQuery() needs to support SHOW, DESCRIBE ... queries SOLVED
- If this is updated in a future version, please add WITH. Thanks! - Addition and validation tests of the WITH clause query for Oracle.
This commit is contained in:
@@ -731,7 +731,7 @@ function executeQueryOci($sql, $connection, $aParameter=array())
|
||||
}
|
||||
|
||||
switch (true) {
|
||||
case preg_match("/^(SELECT|SHOW|DESCRIBE|DESC)\s/i", $sql):
|
||||
case preg_match("/^(SELECT|SHOW|DESCRIBE|DESC|WITH)\s/i", $sql):
|
||||
$stid = oci_parse($conn, $sql);
|
||||
if (count($aParameter) > 0) {
|
||||
foreach ($aParameter as $key => $val) {
|
||||
|
||||
Reference in New Issue
Block a user