Bug #46048 option event-threads is not overwritten at command line if specified on ini file
Submitted: 8 Jul 2009 17:08 Modified: 25 Nov 2009 16:23
Reporter: Diego Medina Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Proxy: Core Severity:S3 (Non-critical)
Version:0.8.0 r 750 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[8 Jul 2009 17:08] Diego Medina
Description:
See the value for event-threads:

./sbin/mysql-proxy --defaults-file=/Users/wizard/test.ini  \
   --event-threads=2

(message) mysql-proxy 0.8.0 started
(message) chassis-event-thread.c:326: starting 15 threads

the test.ini file has 
event-threads=16

but the proxy is supposed to overwrite the 16 by the value specify on the cmd line

How to repeat:
1- Start the proxy
create this ini file

$ cat test.ini 
[mysql-proxy]
event-threads=16
log-level=message

2- Start the proxy like this:

./sbin/mysql-proxy --defaults-file=/Users/wizard/test.ini  \
   --event-threads=2

3- Note the log showing 15 extra threads.
[8 Jul 2009 17:10] Enterprise Tools JIRA Robot
Diego Medina writes: 
Verified present on 0.8.0 r750
[31 Aug 2009 14:59] Enterprise Tools JIRA Robot
Jan Kneschke writes: 
moved to 0.9 to have time for the "real" fix.

Impact is low enough to move it to 0.9