From 9aa55d5a50bd4c219f409dcd1c42c373c7dcfdb8 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 27 Oct 2014 12:09:47 +0100 Subject: Fix so DDL script for Oracle can be executed in SQLPlus --- program/lib/Roundcube/rcube_db_oracle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/Roundcube') 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; } -- cgit v1.2.3