products/Sources/formale Sprachen/C/MariaDB/mysql-test/suite/optimizer_unfixed_bugs/t/   (Firefox Browser Version 153.0.1©)  Datei vom 1.9.2026 mit Größe 6 kB image not shown  

Quelle  check_binlog_size.inc  Sprache: unbekannt

 
# This file runs the query and checks
# whether the size of binlog is increased or not
# If size is changed it issue die command
# Parameters
# $sql_query = query to run

#Only last row of show binlog events matter
--let $tmp= 0
--let $counter= 1
while ($tmp != "No such row")
{
  --let $initial_binlog_size= $tmp
  --let $tmp= query_get_value(show binary logs, File_size, $counter)
  --inc $counter
}

--eval  $sql_query

--let $tmp= 0
--let $counter= 1
while ($tmp != "No such row")
{
  --let $current_binlog_size= $tmp
  --let $tmp= query_get_value(show binary logs, File_size, $counter)
  --inc $counter
}

if ($initial_binlog_size != $current_binlog_size)
{
  die "Binlog size changed";
}

Messung V0.5 in Prozent
C=100 H=70 G=86

[Dauer der Verarbeitung: 0.10 Sekunden, vorverarbeitet 2026-10-08]