Bug #46048 option event-threads is not overwritten at command line if specified on ini file
Submitted: 8 Jul 19:08 Modified: 29 Jul 16:02
Reporter: Diego Medina
Status: In progress
Category:Proxy: Core Severity:S3 (Non-critical)
Version:0.8.0 r 750 OS:Any
Assigned to: Kay Roepke Target Version:

[8 Jul 19: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 19:10] Enterprise Tools JIRA Robot
Diego Medina writes: 
Verified present on 0.8.0 r750
[31 Aug 16: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