alecpl
2009-10-24 1d7e4d314dcdaa1aa5353f6d520ba448b5808f8f
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;
@@ -947,7 +949,7 @@
            if ($object_class == 'stdClass') {
                $row = (object) $row;
            } else {
                $row = &new $object_class($row);
                $row = new $object_class($row);
            }
        }
        ++$this->rownum;