Bug #70005 MySQL 5.5.33 issue with section 14.4.4.3. Identifying the File Format in Use
Submitted: 12 Aug 2013 22:39 Modified: 20 Aug 2013 13:12
Reporter: Dennis Clarke Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.5.33 OS:Solaris (Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC)
Assigned to: Bugs System CPU Architecture:Any

[12 Aug 2013 22:39] Dennis Clarke
Description:
Manual section "14.4.4.3. Identifying the File Format in Use" refers to 
a table INNODB_SYS_TABLES within the db INFORMATION_SCHEMA :

    http://dev.mysql.com/doc/refman/5.5/en/innodb-file-format-identifying.html

No such table exists within the standard 5.5.x MySQL install on Solaris.

Thus : 

mysql> \s
--------------
/opt/mysql/mysql/bin/mysql  Ver 14.14 Distrib 5.5.33, for solaris10 (sparc) using readline 5.1

Connection id:          27
Current database:       information_schema
Current user:           trend_sql@fep
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ''
Using delimiter:        ;
Server version:         5.5.33 MySQL Community Server (GPL)
Protocol version:       10
Connection:             trend-dev-db via TCP/IP
Server characterset:    utf8mb4
Db     characterset:    utf8
Client characterset:    utf8mb4
Conn.  characterset:    utf8mb4
TCP port:               3306
Uptime:                 1 day 17 hours 11 min 40 sec

Threads: 1  Questions: 209  Slow queries: 0  Opens: 51  Flush tables: 1  Open tables: 44  Queries per second avg: 0.001
--------------

mysql> use information_schema;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+---------------------------------------+
| Tables_in_information_schema          |
+---------------------------------------+
| CHARACTER_SETS                        |
| COLLATIONS                            |
| COLLATION_CHARACTER_SET_APPLICABILITY |
| COLUMNS                               |
| COLUMN_PRIVILEGES                     |
| ENGINES                               |
| EVENTS                                |
| FILES                                 |
| GLOBAL_STATUS                         |
| GLOBAL_VARIABLES                      |
| KEY_COLUMN_USAGE                      |
| PARAMETERS                            |
| PARTITIONS                            |
| PLUGINS                               |
| PROCESSLIST                           |
| PROFILING                             |
| REFERENTIAL_CONSTRAINTS               |
| ROUTINES                              |
| SCHEMATA                              |
| SCHEMA_PRIVILEGES                     |
| SESSION_STATUS                        |
| SESSION_VARIABLES                     |
| STATISTICS                            |
| TABLES                                |
| TABLESPACES                           |
| TABLE_CONSTRAINTS                     |
| TABLE_PRIVILEGES                      |
| TRIGGERS                              |
| USER_PRIVILEGES                       |
| VIEWS                                 |
| INNODB_BUFFER_PAGE                    |
| INNODB_TRX                            |
| INNODB_BUFFER_POOL_STATS              |
| INNODB_LOCK_WAITS                     |
| INNODB_CMPMEM                         |
| INNODB_CMP                            |
| INNODB_LOCKS                          |
| INNODB_CMPMEM_RESET                   |
| INNODB_CMP_RESET                      |
| INNODB_BUFFER_PAGE_LRU                |
+---------------------------------------+
40 rows in set (0.00 sec)

Therefore file format Barracuda can not be detected via the C API or 
any other mechanism within MySQL 5.5.33

How to repeat:
mysql> \s
--------------
/opt/mysql/mysql/bin/mysql  Ver 14.14 Distrib 5.5.33, for solaris10 (sparc) using readline 5.1

Connection id:          27
Current database:       information_schema
Current user:           trend_sql@fep
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ''
Using delimiter:        ;
Server version:         5.5.33 MySQL Community Server (GPL)
Protocol version:       10
Connection:             trend-dev-db via TCP/IP
Server characterset:    utf8mb4
Db     characterset:    utf8
Client characterset:    utf8mb4
Conn.  characterset:    utf8mb4
TCP port:               3306
Uptime:                 1 day 17 hours 15 min 27 sec

Threads: 1  Questions: 211  Slow queries: 0  Opens: 51  Flush tables: 1  Open tables: 44  Queries per second avg: 0.001
--------------

mysql> SELECT * FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES;
ERROR 1109 (42S02): Unknown table 'INNODB_SYS_TABLES' in information_schema
mysql> 

Suggested fix:
Implement table INNODB_SYS_TABLES within the information_schema db.
[13 Aug 2013 13:43] MySQL Verification Team
Hello Dennis,

Thank you for the bug report.
Verified as described.

Thanks,
Umesh
[20 Aug 2013 13:12] Bugs System
Removed information from the 5.5. reference manual about checking table flags using I_S.INNODB_SYS_TABLES. INNODB_SYS_TABLES was not introduced until 5.6. This information was mistakenly added to the 5.5 reference manual in a recent content update to the file format information.

Thank you for the bug report.