From 4189ccf44a79d14c8faecefa8f87f8dde5dd492f Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 03 Dec 2008 09:48:26 -0500
Subject: [PATCH] - comment out setcharset() use in sqlite and mssql drivers (http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/mssql.php?r1=1.177&r2=1.178)

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

diff --git a/program/lib/MDB2/Driver/sqlite.php b/program/lib/MDB2/Driver/sqlite.php
index e48bac3..c8c485d 100644
--- a/program/lib/MDB2/Driver/sqlite.php
+++ b/program/lib/MDB2/Driver/sqlite.php
@@ -412,12 +412,14 @@
                 '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;

--
Gitblit v1.9.1