summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-27 12:09:47 +0100
committerAleksander Machniak <alec@alec.pl>2014-10-27 12:09:47 +0100
commit9aa55d5a50bd4c219f409dcd1c42c373c7dcfdb8 (patch)
tree0bf4109168ac7f10ef7036b450d6f47b2551f129 /program
parent922f30cb4ea4c7250d78144ce798f149e6e1bdb6 (diff)
Fix so DDL script for Oracle can be executed in SQLPlus
Diffstat (limited to 'program')
-rw-r--r--program/lib/Roundcube/rcube_db_oracle.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_db_oracle.php b/program/lib/Roundcube/rcube_db_oracle.php
index 338eb2e2a..362beb075 100644
--- a/program/lib/Roundcube/rcube_db_oracle.php
+++ b/program/lib/Roundcube/rcube_db_oracle.php
@@ -500,7 +500,7 @@ class rcube_db_oracle extends rcube_db
foreach (explode("\n", $sql) as $line) {
$tok = strtolower(trim($line));
- if (preg_match('/^--/', $line) || $tok == '') {
+ if (preg_match('/^--/', $line) || $tok == '' || $tok == '/') {
continue;
}