Mailing List Archive

repeated mysql_select_db() calls

I started my mysqld with --log and found that we are constantly and
pointlessly selecting the wiki database. I combined all those calls in
getDBconnection() and made sure that we only call mysql_select_db()
and mysql_pconnect() when we really need to (i.e. once), using a new
global $wikiDBconnection.