Drupal 6 and mysql persistent connections

Events happening in the community are now at Drupal community events on www.drupal.org.
ilya1st's picture

Hello.
I've created mysq version of database.mysql.inc to correctly work with mysql_pconnect to make available persistent connections.
The main problems were table locks and temporary tables - I've solved it using register_shutdown_function() for script.
Now looks like all working properly.(one project runs using this patched version)

But this patch is for case site using one database only. File is attached.

AttachmentSize
database.mysql_.inc-persistent.txt11.88 KB

Comments

Could you provide a unified patch?

andypost's picture

It's hard to find difference without patch.
Anyway this could go into one of pressflow branches

no i haven't CVS copy on my

ilya1st's picture

no i haven't CVS copy on my computer :)
But I think it's not difficult to make diff.

High performance

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: