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

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

Page generated in 0.049 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.