phpmyadmin/libraries/classes
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
..
Config Fix PHP 7.3 warning: "continue" in "switch" is equal to "break" 2018-08-06 20:55:07 -03:00
Controllers Retrieve parameters from $_POST in server variables 2018-12-04 19:08:16 +11:00
Database Issue phpmyadmin-security/267 SQL injection in Designer feature 2018-12-26 22:48:47 +11:00
Dbi Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536) 2019-02-15 17:27:55 -02:00
Di
Display Fix #14635 - Git revision error 2018-12-21 15:02:13 +01:00
Engines
Gis
Navigation Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536) 2019-02-15 17:27:55 -02:00
Plugins Fix #13788 - Exporting a view structure, no database selected error 2018-12-20 11:20:49 +01:00
Properties
Rte Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536) 2019-02-15 17:27:55 -02:00
Server Fix issue when adding user on MySQL 8.0.11 2018-12-19 22:23:46 -02:00
Twig Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
Utils
Advisor.php
Bookmark.php Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
BrowseForeigners.php Retrieve parameters from $_POST in browse foreigners 2018-11-10 20:48:59 -02:00
CentralColumns.php Retrieve parameters from $_POST in central columns page 2018-11-10 20:48:58 -02:00
Charsets.php
CheckUserPrivileges.php Ensure that database names with '.' are handled properly when DisableIS is true 2018-09-12 15:50:15 -03:00
Config.php Prepare for 4.8.6-dev 2019-01-25 22:43:24 -05:00
Console.php Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
Core.php Add secondary tabs for database query 2018-10-31 21:52:54 -03:00
CreateAddField.php Fix #249 CSRF to CREATE TABLE query 2018-11-10 20:48:58 -02:00
DatabaseInterface.php Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536) 2019-02-15 17:27:55 -02:00
Encoding.php
Error.php
ErrorHandler.php
ErrorReport.php Retrieve parameters from $_POST in error report 2018-11-10 20:48:59 -02:00
Export.php Fix export issues/warnings 2018-12-19 15:40:46 +01:00
File.php
FileListing.php
Font.php
Footer.php Retrieve parameters from $_POST in user/Privileges pages 2018-11-10 20:48:58 -02:00
Header.php Fixes issue with recent table list, #14229 2018-07-03 20:50:04 -03:00
Import.php Retrieve parameters from $_POST in import 2018-11-10 20:48:58 -02:00
Index.php Retrieve parameters from $_POST in tbl_indexes.php 2018-11-10 20:48:59 -02:00
IndexColumn.php
InsertEdit.php Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536) 2019-02-15 17:27:55 -02:00
IpAllowDeny.php
Language.php Fix #14786 - Table level Operations functions missing 2018-12-19 10:56:10 +01:00
LanguageManager.php Add definition for Norwegian Nynorsk 2019-02-05 16:48:49 +01:00
Linter.php
ListAbstract.php
ListDatabase.php
Logging.php When logging with AuthLog to syslog, successful login messages were not logged even if $cfg['AuthLogSuccess'] was true. 2018-11-10 23:33:36 -05:00
Menu.php Add secondary tabs for database query 2018-10-31 21:52:54 -03:00
Message.php
Mime.php
MultSubmits.php drop table issue on copying tables fixed #14426 2018-08-16 03:24:45 -03:00
Normalization.php Retrieve parameters from $_POST in normalization 2018-11-10 20:48:58 -02:00
OpenDocument.php
Operations.php Retrieve parameters from $_POST in database and table operation pages 2018-11-10 20:48:58 -02:00
OutputBuffering.php Fix #14478 - phpMyAdmin no longer streams the export data 2019-01-14 17:32:10 +01:00
ParseAnalyze.php
Partition.php
Pdf.php
Plugins.php
RecentFavoriteTable.php Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
Relation.php Retrieve parameters from $_POST in chk_rel 2018-11-10 20:48:59 -02:00
RelationCleanup.php Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
Replication.php
ReplicationGui.php Retrieve parameters from $_POST in server replication 2018-11-10 20:48:59 -02:00
Response.php
Sanitize.php
SavedSearches.php Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
Scripts.php
Session.php
Sql.php Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536) 2019-02-15 17:27:55 -02:00
SqlQueryForm.php
StorageEngine.php Fix #14786 - Table level Operations functions missing 2018-12-19 10:56:10 +01:00
SubPartition.php
SysInfo.php
SysInfoBase.php
SysInfoLinux.php
SysInfoSunOS.php
SysInfoWINNT.php
SystemDatabase.php Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
Table.php Retrieve parameters from $_POST in Table class 2018-11-10 20:48:59 -02:00
Template.php
Theme.php
ThemeManager.php
Tracker.php Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
Tracking.php Retrieve parameters from $_POST in tracking pages 2018-11-10 20:48:58 -02:00
Transformations.php Remove transformation plugin includes 2018-11-27 18:44:30 -02:00
TwoFactor.php
Types.php
Url.php
UserPassword.php Retrieve parameters from $_POST in UserPassword class 2018-11-10 20:48:59 -02:00
UserPreferences.php Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
Util.php Fix for SYSTEM VERSIONED tables #14514, #14515, and #14516 (#14536) 2019-02-15 17:27:55 -02:00
VersionInformation.php
ZipExtension.php Fix cases where $name is an array in createFile 2018-03-30 17:03:39 -03:00