summaryrefslogtreecommitdiff
path: root/program/lib/MDB2.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib/MDB2.php')
-rw-r--r--program/lib/MDB2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/MDB2.php b/program/lib/MDB2.php
index 326152f95..7e4732266 100644
--- a/program/lib/MDB2.php
+++ b/program/lib/MDB2.php
@@ -3008,9 +3008,9 @@ class MDB2_Driver_Common extends PEAR
*/
function _skipDelimitedStrings($query, $position, $p_position)
{
- $ignores = $this->sql_comments;
- $ignores[] = $this->string_quoting;
+ $ignores = $this->string_quoting;
$ignores[] = $this->identifier_quoting;
+ $ignores[] = $this->sql_comments;
foreach ($ignores as $ignore) {
if (!empty($ignore['start'])) {