Commit version 24.12.13800

This commit is contained in:
2025-01-06 17:35:06 -05:00
parent b7f6a79c2c
commit 55d9218816
6133 changed files with 4239740 additions and 1374287 deletions

View File

@ -81,7 +81,7 @@ if (file_exists(__FILE__ . '.cnf' ) ) {
# Make this a happy little script even when there are errors.
$no_http_headers = true;
ini_set('implicit_flush', false); # No output, ever.
if ($debug ) {
if ($debug) {
ini_set('display_errors', true);
ini_set('display_startup_errors', true);
ini_set('error_reporting', 2147483647);
@ -496,8 +496,8 @@ function ss_get_mysql_stats( $options ) {
# Get SHOW INNODB STATUS and extract the desired metrics from it, then add
# those to the array too.
if ($chk_options['innodb']
&& array_key_exists('have_innodb', $status)
&& $status['have_innodb'] == 'YES'
&& ((array_key_exists('have_innodb', $status) && $status['have_innodb'] === 'YES') ||
(array_key_exists('Innodb_data_read', $status)))
) {
$result = run_query("SHOW /*!50000 ENGINE*/ INNODB STATUS", $conn);
$istatus_text = $result[0]['Status'];
@ -1117,8 +1117,7 @@ function make_bigint ($hi, $lo = null) {
if (is_null($lo) ) {
# Assume it is a hex string representation.
return base_convert($hi, 16, 10);
}
else {
} else {
$hi = $hi ? $hi : '0'; # Handle empty-string or whatnot
$lo = $lo ? $lo : '0';
return big_add(big_multiply($hi, 4294967296), $lo);
@ -1303,4 +1302,4 @@ function debug($val) {
}
}
?>
// EOF