source: branches/version-2_12_2/patches/MDB2_Driver_pgsql.php.patch @ 20116

Revision 20116, 734 bytes checked in by nanasess, 13 years ago (diff)
  • svn properties を再設定
  • 再設定用のスクリプト追加
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • data/module/MDB2/Driver/pgsql.php

    === modified file 'data/module/MDB2/Driver/pgsql.php'
     
    929929                    } elseif (is_array($types) && array_key_exists($parameter, $types)) { 
    930930                        $pgtypes[] = $this->datatype->mapPrepareDatatype($types[$parameter]); 
    931931                    } else { 
    932                         $pgtypes[] = 'text'; 
     932                        if (version_compare(PHP_VERSION, '5.0.0', '>')) { 
     933                            $pgtypes[] = 'text'; 
     934                        } 
    933935                    } 
    934936                } 
    935937                if (($key_parameter = array_search($name, $positions))) { 
Note: See TracBrowser for help on using the repository browser.