Bug #29389 InnoDB Log Buffer Flushed To Disk After Each Transaction
Submitted: 27 Jun 2007 14:20 Modified: 10 Jul 2007 13:51
Reporter: Kristian Koehntopp Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Advisors/Rules Severity:S3 (Non-critical)
Version:1.1.0 OS:Any
Assigned to: Andy Bang CPU Architecture:Any

[27 Jun 2007 14:20] Kristian Koehntopp
Description:
WARNING Alert - InnoDB Log Buffer Flushed To Disk After Each Transaction  (v 1.0 *)  

Thresholds
 Critical Alert = not set
 Warning Alert = 1
 Info Alert = not set 

Frequency
06:00

Expression
%innodb_flush_log_at_trx_commit% == THRESHOLD

Evaluated Expression
1 == 1

This fires even on machines where innodb is disabled.

How to repeat:
Start a machine with skip-innodb, schedule rule. See wrong advice.

Suggested fix:
(%have_innodb% == "YES") &&  (%innodb_flush_log_at_trx_commit% == THRESHOLD%innodb_flush_log_at_trx_commit% == THRESHOLD)
[6 Jul 2007 23:50] Andy Bang
Committed revision 6469.
[10 Jul 2007 12:39] Mark Leith
Fixed the expression that was committed, which was using '==' instead of '=':

mysql> select ('yes' == 'yes') && (1 == 1);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '== 'yes') && (1 == 1)' at line 1
[10 Jul 2007 13:51] Mark Leith
ooops, reverted previous commits! :)

Verified fixed in 1.2.0.5601