[MDEV-464] Statistics: use_stat_tables (or use-stat-tables) command-line option is accepted, but ignored Created: 2012-08-17  Updated: 2012-08-20  Resolved: 2012-08-20

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 10.0.0

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Igor Babaev
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates

 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

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:

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

Expected output:

SELECT @@use_stat_tables;
@@use_stat_tables
PREFERABLY

Actual output:

SELECT @@use_stat_tables;
@@use_stat_tables
NEVER



 Comments   
Comment by Igor Babaev [ 2012-08-20 ]

The fix for the bug was pushed into maria-5.5-mwl248.

Generated at Thu Feb 08 06:28:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.