phpmyadmin/libraries
Vincent Milum Jr 31b40f71bb Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536)
Fixes #14514
Fixes #14515
Possible fix for #14516

 #14514 Tables which enable the new MariaDB 10.3 versioning show up as "SYSTEM VERSIONED" instead of "BASE TABLE" inside of information schema. This patch now checks for both, so these new table types don't incorrectly display as views.

 #14515 MariaDB 10.3 also supports INVISIBLE columns, which is optionally paired with SYSTEM VERSIONED tabled (or implemented separately). This patch helps handle this new column attribute.

 #14516 This patch cannot be fully tested and verified with current MariaDB builds. Version 10.3.9 (currently unreleased) corrects an issue with column information for SYSTEM VERSIONED columns that this patch relies on. https://jira.mariadb.org/browse/MDEV-16804 - the reason for checking with preg_match instead of adding to the list is because there are now combined "extra" information for columns, such as INVISIBLE columns. Just matching entire strings also has a bug with these other "extra" parameters.

Signed-off-by: Vincent Milum Jr <git@darkain.com>
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
(cherry picked from commit 3f6e360a4e)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-15 17:27:55 -02:00
..
certs Clarify sites this targets 2017-06-29 08:07:05 +02:00
classes Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536) 2019-02-15 17:27:55 -02:00
dbi Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536) 2019-02-15 17:27:55 -02:00
rte Adjust RTE oprations to use POST 2018-02-22 15:19:54 -03:00
.gitignore
advisory_rules.txt Fix advisory rule 'Slow launch time' 2016-08-01 12:27:53 +01:00
check_user_privileges.inc.php Replace static methods with instance methods 2018-03-15 13:56:08 -03:00
common.inc.php Simplify handling of long URLs in Util::linkOrButton 2018-02-22 13:02:58 -03:00
config.default.php Remove references to sourceforge.net issue trackers 2018-01-02 13:24:05 +01:00
config.values.php Remember state of navigation panel 2017-11-28 16:07:08 +01:00
db_common.inc.php Replace static methods with instance methods 2018-02-25 12:43:49 -03:00
db_table_exists.inc.php Always define correct connection type 2017-10-25 10:21:18 +02:00
error.inc.php Move classes to PhpMyAdmin namespace 2017-07-07 01:46:08 -03:00
hash.lib.php Make hash extension required 2017-09-05 14:46:46 +02:00
information_schema_relations.inc.php Rename information_schema_relations.lib.php 2017-09-12 11:09:03 -03:00
mult_submits.inc.php Retrieve parameters from $_POST in mult_submits.inc.php 2018-11-10 20:48:58 -02:00
mysql_relations.inc.php Rename libraries/mysql_relations.lib.php 2017-09-12 12:53:20 -03:00
replication.inc.php Retrieve parameters from $_POST in server replication 2018-11-10 20:48:59 -02:00
server_common.inc.php Remove usage of $GLOBALS['userlink'] 2017-10-25 10:21:18 +02:00
special_schema_links.inc.php Rename special_schema_links.lib.php 2017-09-14 12:05:17 -03:00
tbl_columns_definition_form.inc.php Retrieve parameters from $_POST in tbl_addfield 2018-11-10 20:48:58 -02:00
tbl_common.inc.php Move classes to PhpMyAdmin namespace 2017-07-08 10:54:21 -03:00
tbl_partition_definition.inc.php Retrieve parameters from $_POST in partition definition 2018-11-10 20:48:59 -02:00
user_preferences.inc.php Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
vendor_config.php Use one temporary directory 2017-05-05 11:08:36 +02:00