Bug #19612 InnoDB files per table my.cnf option is read inconsistently
| Submitted: | 8 May 2006 14:31 | Modified: | 4 Feb 2011 18:38 |
|---|---|---|---|
| Reporter: | Oli Sennhauser | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Options | Severity: | S3 (Non-critical) |
| Version: | any? | OS: | Any (any?) |
| Assigned to: | CPU Architecture: | Any |
[8 May 2006 14:31]
Oli Sennhauser
[8 May 2006 21:03]
Heikki Tuuri
Changing the category to MySQL Server.
[12 May 2006 17:17]
Valeriy Kravchuk
I would call it a bug (because of inconsistency) or a documentation request (possible values and their interpretation are not described in http://dev.mysql.com/doc/refman/5.0/en/innodb-parameters.html), not a feature request. Do you agree?
[14 May 2006 8:43]
Oli Sennhauser
Hi Valeriy When you call it a bug so much so better. I do agree with you. But documentation should/could also be adapted? Thanks Oli
[15 May 2006 20:17]
Valeriy Kravchuk
Verified with 5.0.22-BK build. It is either a bug or a documentation request: openxs@suse:~/dbs/5.0> bin/mysqld_safe --innodb_file_per_table=1 & [1] 23787 openxs@suse:~/dbs/5.0> Starting mysqld daemon with databases from /home/openxs/dbs/5.0/var openxs@suse:~/dbs/5.0> bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.22 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> show variables like '%file_per%'; +-----------------------+-------+ | Variable_name | Value | +-----------------------+-------+ | innodb_file_per_table | ON | +-----------------------+-------+ 1 row in set (0.01 sec) mysql> exit Bye openxs@suse:~/dbs/5.0> bin/mysqladmin -uroot shutdown STOPPING server from pid file /home/openxs/dbs/5.0/var/suse.pid 060515 22:54:37 mysqld ended [1]+ Done bin/mysqld_safe --innodb_file_per_table=1 openxs@suse:~/dbs/5.0> bin/mysqld_safe --innodb_file_per_table=ON & [1] 23823 openxs@suse:~/dbs/5.0> Starting mysqld daemon with databases from /home/openxs/dbs/5.0/var openxs@suse:~/dbs/5.0> bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.22 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> show variables like '%file_per%'; +-----------------------+-------+ | Variable_name | Value | +-----------------------+-------+ | innodb_file_per_table | OFF | +-----------------------+-------+ 1 row in set (0.00 sec)
[4 Jan 2008 2:33]
Stefan Hinz
This is documented; see: http://dev.mysql.com/doc/refman/5.0/en/dynamic-system-variables.html. "Variables that have a type of “boolean” can be set to 0, 1, ON or OFF. (If you set them on the command line or in an option file, use the numeric values.)" However, I agree that it might be worth highlighting that fact in a more visible way.
[8 Jan 2008 20:15]
Paul DuBois
As Stefan points out, this behavior is documented already as a general principle of how system variable values can be specified as command options versus at runtime with SET, so I have made no changes to the manual. I agree, however, that it's confusing to users that you can use 0/1 or OFF/ON at runtime, but onlyl 0/1 for command options, and I tend to consider this a server bug. So please feel free to reopen this as such (changing the category from Documentation to Server).
[4 Feb 2011 18:38]
Omer Barnir
This bug fixed as part of bug#51631 in 5.5 and will not be back-ported to to 5.1
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.044 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.