This commit is contained in:
wangwei01 2019-05-30 20:39:48 +08:00
parent 45762f658a
commit 4fe02ab504

View File

@ -35,6 +35,7 @@ function checkRedisConfig()
function getMysqlConfig($hash_value)
{
if ($hash_value < 0) {
error_log('callstack:' . json_encode(debug_backtrace(), JSON_PRETTY_PRINT));
die('hash_value < 0 ' . $hash_value);
}
global $g_conf_mysql_cluster;
@ -45,6 +46,7 @@ function getMysqlConfig($hash_value)
function getRedisConfig($hash_value)
{
if ($hash_value < 0) {
error_log('callstack:' . json_encode(debug_backtrace(), JSON_PRETTY_PRINT));
die('hash_value < 0 ' . $hash_value);
}
global $g_conf_redis_cluster;