Changeset 1ad39ef in github


Ignore:
Timestamp:
Oct 20, 2008 2:41:54 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
7f63946
Parents:
59ed6f1
Message:

#1485504: fix _skipDelimitedStrings()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/lib/MDB2.php

    r8e2a5a7 r1ad39ef  
    29162916        $positions = array(); 
    29172917        $position = 0; 
    2918         $ignores = $this->string_quoting; 
    2919         $ignores[] = $this->identifier_quoting; 
    2920         $ignores[] = $this->sql_comments; 
     2918         
    29212919        while ($position < strlen($query)) { 
    29222920            $q_position = strpos($query, $question, $position); 
     
    30093007    function _skipDelimitedStrings($query, $position, $p_position) 
    30103008    { 
    3011         $ignores = $this->string_quoting; 
    3012         $ignores[] = $this->identifier_quoting; 
    3013         $ignores[] = $this->sql_comments; 
     3009        $ignores[] = $this->string_quoting; 
     3010        $ignores[] = $this->identifier_quoting; 
     3011         
     3012        $ignores = array_merge($ignores, $this->sql_comments); 
    30143013         
    30153014        foreach ($ignores as $ignore) { 
Note: See TracChangeset for help on using the changeset viewer.