Bug #47349 ro-balance.lua uses .address instead of .dst|src.name
Submitted: 16 Sep 2009 3:25 Modified: 7 Dec 2009 9:06
Reporter: Diego Medina Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Proxy: Scripts Severity:S3 (Non-critical)
Version:0.8.0 OS:Any
Assigned to: Jan Kneschke CPU Architecture:Any

[16 Sep 2009 3:25] Diego Medina
Description:
The lua script ro-balance.lua uses:

proxy.global.backends[proxy.connection.backend_ndx].address intead of

proxy.global.backends[proxy.connection.backend_ndx].dst.name

and

backend.address
instead of
backend.dst.name

How to repeat:
Read the lua script
[21 Sep 2009 14:56] Jan Kneschke
revno: 844
committer: jan@mysql.com
branch nick: trunk
timestamp: Mon 2009-09-21 16:51:07 +0200
message:
  use .dst.name instead of .address (fixed #47349)
[28 Sep 2009 15:24] Enterprise Tools JIRA Robot
Diego Medina writes: 
Verified fixed on 0.8.0
[7 Dec 2009 9:06] MC Brown
An entry has been added to the 0.8.0 changelog: 

The supplied script <filename>ro-balance.lua</filename> had not been updated to use the new  <literal>proxy.connection.dst.name</literal> structure.