Jump to content

Příručka:Databázová tabulka config

From mediawiki.org
This page is a translated version of the page Manual:Config table and the translation is 100% complete.
Manuál:Obsah MediaWiki schéma databáze Tabulka config
Verze MediaWiki:
1.20

Tabulka config obsahuje změny konfigurace.

To bylo zavedeno v rev:88270 a vráceno v rev:111006. Ve skutečnosti nebylo nikdy použito.

Pole

cf_name
(Describe me!)
cf_value
(Describe me!)
Verze MediaWiki:
1.20
mysql> DESCRIBE config;
+----------+----------------+------+-----+---------+-------+
| Field    | Type           | Null | Key | Default | Extra |
+----------+----------------+------+-----+---------+-------+
| cf_name  | varbinary(255) | NO   | PRI | NULL    |       |
| cf_value | blob           | NO   |     | NULL    |       |
+----------+----------------+------+-----+---------+-------+

Indexy

Verze MediaWiki:
1.20

SHOW INDEX IN config;

+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table  | Non_unique | Key_name      | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| config |          0 | PRIMARY       |            1 | cf_name     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| config |          1 | cf_name_value |            1 | cf_name     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| config |          1 | cf_name_value |            2 | cf_value    | A         |           0 |      255 | NULL   |      | BTREE      |         |               |
+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+