Commit Graph

17 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
a059cdba47
Add config directive to show/hide connection errors
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-10 12:12:07 -03:00
William Desportes
9a6a66b9f4
Fix #14804 - Undefined index: ssl_* variables
Fixes: #14804

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-09-22 18:30:58 +02:00
William Desportes
eb525891ce
Fix #15304 - ssl_use php error
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-09-22 18:03:41 +02:00
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
Michal Čihař
828f740158 Merge branch 'allow_local_infile' into QA_4_8 2019-01-21 19:30:07 +01:00
Jakub Vrana
c5e01f84ad Actually set MYSQLI_OPT_LOCAL_INFILE
1e6b740e tried to set this but failed due to https://bugs.php.net/77496
and nobody probably ever tested it.

Tested: Executed `LOAD DATA LOCAL INFILE 'README' INTO TABLE text(text)`
SQL command successfully before, unsuceesfully after.

Signed-off-by: Jakub Vrana <jakub@vrana.cz>
2019-01-21 19:27:26 +01:00
Michal Čihař
aeac90623e Deny using mysql extension with mysql.allow_local_infile
This allows reading arbitrary files on the server without any way to
disable.

Signed-off-by: Michal Čihař <michal@cihar.com>
2019-01-20 21:03:23 +01:00
Michal Čihař
1ebf6c4953 Remove references to sourceforge.net issue trackers
We do not use it for years and all issues have been migrated.

Signed-off-by: Michal Čihař <michal@cihar.com>
2018-01-02 13:24:05 +01:00
Gabriel Caruso
a8bd364e02 Clean elses
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2017-12-14 22:02:17 -02:00
Michal Čihař
460e30d17b Merge branch 'QA_4_7' 2017-11-27 09:01:25 +01:00
Michal Čihař
b6a8589037 Merge branch 'QA_4_7' 2017-11-18 13:44:15 +01:00
Maurício Meneghini Fauth
1d4125f15c Add array type declarations
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-24 23:49:59 -03:00
Michal Čihař
ad99c4ac4b Remove unused define PMA_MYSQL_CLIENT_API
Remove PMA_MYSQL_CLIENT_API and all logic for defining it.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 14:46:57 +02:00
Michal Čihař
bc6486e2e0 Move mysqli flag description sot Dbi class
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 14:46:56 +02:00
Michal Čihař
7cc0ae9acb Merge branch 'QA_4_7' 2017-07-18 13:28:11 +02:00
Maurício Meneghini Fauth
d9ac1865a2 Rename DBI include files
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-15 16:44:54 -03:00
Maurício Meneghini Fauth
6c6e86927a Move DBI classes to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-15 15:52:10 -03:00