From c762c07ce9180f4a6a324c46f0ec5e47cd91fd68 Mon Sep 17 00:00:00 2001
From: till <till@php.net>
Date: Mon, 09 Mar 2009 17:40:01 -0400
Subject: [PATCH]  * autoload is only invoked when a class is not found - no need for include_once

---
 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