Hi Bertrand:

On Sun, Jan 04, 2004 at 12:58:36AM +0100, Bertrand Mansion wrote:
> 
> It uses the native PHP sqlite functions so it is faster than the DB package
> (which anyway I couldn't make work due to a PEAR Error being raised when the
> database is set to persistent because of a missing 'persistent' option in
> the options instance var).

I'm confused as to what you're saying about the "persistent" option being 
missing.  It's there and is set to false by default.  If you want it to be 
true, instantiate your DB class like this, for example:

        $DbOptions['persistent'] = true;
        $this->db =& DB::connect($this->DSN, $DbOptions);

Perhaps you misspoke and meant the 'mode' element of the DSN?  I just 
fixed the missing index problem in CVS (see DB.php).  Do note, there is no 
DSN format for where and how to place a mode option.  I'll have to think 
about this.

Please let me know if this solved your problem or if not, please clarify 
the issue at hand.

Thanks,

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to