From ac6e28409fd69ad57865c0fa184f96e0df82b068 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 12 Jun 2008 08:45:14 -0400
Subject: [PATCH] - http://pear.php.net/bugs/bug.php?id=14124

---
 program/lib/MDB2.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/lib/MDB2.php b/program/lib/MDB2.php
index 326152f..7e47322 100644
--- a/program/lib/MDB2.php
+++ b/program/lib/MDB2.php
@@ -3008,9 +3008,9 @@
      */
     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'])) {

--
Gitblit v1.9.1