summaryrefslogtreecommitdiff
path: root/drivers/adodb-oci8.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adodb-oci8.inc.php')
-rw-r--r--drivers/adodb-oci8.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/adodb-oci8.inc.php b/drivers/adodb-oci8.inc.php
index 2506d68f..542b6945 100644
--- a/drivers/adodb-oci8.inc.php
+++ b/drivers/adodb-oci8.inc.php
@@ -1579,6 +1579,9 @@ SELECT /*+ RULE */ distinct b.column_name
if ($this->noNullStrings && strlen($s) == 0) {
$s = ' ';
}
+ else if (strlen($s) == 0) {
+ return "''";
+ }
if ($this->replaceQuote[0] == '\\'){
$s = str_replace('\\','\\\\',$s);
}