Comment 8 for bug 392521

Revision history for this message
Kir Kolyshkin (kolyshkin) wrote :

Relative bugs:
OpenVZ: http://bugzilla.openvz.org/show_bug.cgi?id=1012
Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515143

The problem is not in PHP but in MySQL, it just affects PHP in particular.

This is caused by code in libmysqlclient introduced in mysql bug #24507 (http://bugs.mysql.com/bug.php?id=24507). That workaround is itself a source of problems described here and elsewhere.

The solution is to reverse-apply the patch from the above mysql bug. The ready-to-go patch is available in the above-referenced openvz and debian bugs.

Hope that helps.