We're updating the issue view to help you get more done. 

Statistics: use_stat_tables (or use-stat-tables) command-line option is accepted, but ignored

Description

Server accepts --use-stat-tables=<symbolic value> or --use-stat-tables=<numeric value> options on the command line without any errors or warnings, but the actual value of the global variable does not get set, it remains NEVER. Changing the value at runtime works.

bzr version-info

1 2 3 4 revision-id: igor@askmonty.org-20120814194214-bc5hme0t1qeewrmj date: 2012-08-14 12:42:14 -0700 build-date: 2012-08-17 06:01:06 +0400 revno: 3358

Test case:

1 2 3 4 # Run as # perl mysql-test-run.pl ---mysqld=--use-stat-tables=PREFERABLY <test name> SELECT @@use_stat_tables;

Expected output:

1 2 3 SELECT @@use_stat_tables; @@use_stat_tables PREFERABLY

Actual output:

1 2 3 SELECT @@use_stat_tables; @@use_stat_tables NEVER

Environment

None

Status

Assignee

Igor Babaev

Reporter

Elena Stepanova

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Priority

Major