Sources/Subs-Db-mysql.php 1 location
|
@@ 438-439 (lines=2) @@
|
| 435 |
|
$ret = smf_db_error($db_string, $connection); |
| 436 |
|
|
| 437 |
|
// Debugging. |
| 438 |
|
if (isset($db_show_debug) && $db_show_debug === true) |
| 439 |
|
$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st)); |
| 440 |
|
|
| 441 |
|
return $ret; |
| 442 |
|
} |
Sources/Subs-Db-mysqli.php 1 location
|
@@ 496-497 (lines=2) @@
|
| 493 |
|
$ret = smf_db_error($db_string, $connection); |
| 494 |
|
|
| 495 |
|
// Debugging. |
| 496 |
|
if (isset($db_show_debug) && $db_show_debug === true) |
| 497 |
|
$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st)); |
| 498 |
|
|
| 499 |
|
return $ret; |
| 500 |
|
} |
Sources/Subs-Db-postgresql.php 1 location
|
@@ 451-452 (lines=2) @@
|
| 448 |
|
$db_last_result = smf_db_error($db_string, $connection); |
| 449 |
|
|
| 450 |
|
// Debugging. |
| 451 |
|
if (isset($db_show_debug) && $db_show_debug === true) |
| 452 |
|
$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st)); |
| 453 |
|
|
| 454 |
|
return $db_last_result; |
| 455 |
|
} |
Sources/Load.php 1 location
|
@@ 3329-3330 (lines=2) @@
|
| 3326 |
|
if (function_exists('call_integration_hook')) |
| 3327 |
|
call_integration_hook('cache_put_data', array(&$key, &$value, &$ttl)); |
| 3328 |
|
|
| 3329 |
|
if (isset($db_show_debug) && $db_show_debug === true) |
| 3330 |
|
$cache_hits[$cache_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st)); |
| 3331 |
|
} |
| 3332 |
|
|
| 3333 |
|
/** |