Bug #43373 Wrong variable used on quan.lua, using val instead of inj.query_time

Submitted: 4 Mar 2009 15:08 Modified: 14 Jan 2010 14:51
Reporter: Diego Medina Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Agent Severity:S3 (Non-critical)
Version:2.0.5.7148 OS:Any
Assigned to: Jan Kneschke CPU Architecture:Any

[4 Mar 2009 15:08] Diego Medina
Description:
on the file  lib/quan.lua you have

local query_time = inj.query_time
if query_time < 0.0 then
	query_time = 0.0
	chassis.warning("inj.exec_time " .. val .. " is not valid, treating as 0.0. Check your system clock for excessive jitter.");
end

but it should be

local query_time = inj.query_time
if query_time < 0.0 then
	query_time = 0.0
	chassis.warning("inj.exec_time " .. query_time .. " is not valid, treating as 0.0. Check your system clock for excessive jitter.");
end

How to repeat:
look at the lib/quan.lua file from the source code or share/mysql-proxy/quan.lua
[4 Mar 2009 15:11] Diego Medina
actually, change the line

chassis.warning("inj.exec_time " .. val .. " is not valid, treating as 0.0. Check

===============
for
===============

chassis.warning("inj.exec_time " ..  inj.query_time .. " is not valid, treating as 0.0. Check
[23 Oct 2009 16:01] Enterprise Tools JIRA Robot
Mark Leith writes: 
Please push this to the 2.1 line with Kay's comments resolved Diego.
[12 Jan 2010 12:57] Enterprise Tools JIRA Robot
Jan Kneschke writes: 
revno: 1537
committer: jan@mysql.com
branch nick: rel-2.1
timestamp: Tue 2010-01-12 13:55:38 +0100
message:
  log the old .query_time value (fixes #43373/EM3142)
[12 Jan 2010 12:57] Enterprise Tools JIRA Robot
Jan Kneschke writes: 
revno: 1537
committer: jan@mysql.com
branch nick: rel-2.1
timestamp: Tue 2010-01-12 13:55:38 +0100
message:
  log the old .query_time value (fixes #43373/EM3142)
[12 Jan 2010 13:01] Enterprise Tools JIRA Robot
Jan Kneschke writes: 
... and the same for trunk

revno: 1687
committer: jan@mysql.com
branch nick: trunk
timestamp: Tue 2010-01-12 14:00:38 +0100
message:
  log the old .query_time value (fixes #43373/EM3142)
[12 Jan 2010 19:53] Enterprise Tools JIRA Robot
Keith Russell writes: 
Patch installer in version => 2.2.0.1605.
[13 Jan 2010 21:53] Enterprise Tools JIRA Robot
Diego Medina writes: 
Verified fixed on 2.2.0.1605
[14 Jan 2010 14:51] MC Brown
Minor internal change, pre-release, no changelog entry needed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.