Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#18 Supress mysqli connection warning (useful for caching)

open
nobody
None
5
2007-03-05
2007-03-05
Rene
No

May I suggest and very small fix to the mysqli driver:
Line 108:

$ok = @mysqli_real_connect($this->_connectionID, ...

I just added the @ in front of the mysqli_real_connect .. to supress connection warnings.

Why would I do this - simple:
When ALL your queries are cached (1h) -> you can shutdown the database server and your site still stays online (readonly).

Discussion