We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 7af29bf0 authored by Evan Prodromou's avatar Evan Prodromou

nativecode shows up in userinfo

parent 8cdbef09
......@@ -164,7 +164,7 @@ function PEAR_ErrorToPEAR_Exception($err)
// keep the same broken connection. We die here to get a new
// process started.
if (php_sapi_name() == 'cli' && preg_match('/nativecode=2006/', $msg)) {
if (php_sapi_name() == 'cli' && preg_match('/nativecode=2006/', $userInfo)) {
common_log(LOG_ERR, "Lost DB connection; dying.");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment