cvs: pear /MDB2/MDB2/Driver sqlite.php

[email protected] ("Ali Fazelzadeh") Thu, 08 May 2008 12:56:09 -0000
Newsgroups php.pear.cvs
Message-ID <cvsafz1210251369@cvsserver>
afz		Thu May  8 12:56:09 2008 UTC

  Modified files:              
    /pear/MDB2/MDB2/Driver	sqlite.php 
  Log:
  sqlite not have setCharset() method.
  
http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/sqlite.php?r1=1.159&r2=1.160&diff_format=u
Index: pear/MDB2/MDB2/Driver/sqlite.php
diff -u pear/MDB2/MDB2/Driver/sqlite.php:1.159 pear/MDB2/MDB2/Driver/sqlite.php:1.160
--- pear/MDB2/MDB2/Driver/sqlite.php:1.159	Sat Apr  5 15:39:22 2008
+++ pear/MDB2/MDB2/Driver/sqlite.php	Thu May  8 12:56:09 2008
@@ -43,7 +43,7 @@
 // | Author: Lukas Smith <[email protected]>                           |
 // +----------------------------------------------------------------------+
 //
-// $Id: sqlite.php,v 1.159 2008/04/05 15:39:22 quipo Exp $
+// $Id: sqlite.php,v 1.160 2008/05/08 12:56:09 afz Exp $
 //
 
 /**
@@ -412,13 +412,6 @@
                 'unable to establish a connection', __FUNCTION__);
             }
 
-            if (!empty($this->dsn['charset'])) {
-                $result = $this->setCharset($this->dsn['charset'], $connection);
-                if (PEAR::isError($result)) {
-                    return $result;
-                }
-            }
-
             $this->connection = $connection;
             $this->connected_dsn = $this->dsn;
             $this->connected_database_name = $database_file;