phpmyadmin/phpmyadmin
Links to tables have missing database
Aberta
#17.296 aberto em 16 de jan. de 2022
Bugaffects/5.2affects/6.0confirmed/5.2confirmed/6.0help wanted
Métricas do repositório
- Stars
- (6.886 estrelas)
- Métricas de merge de PR
- (Mesclagem média 2d 17h) (11 fundiu PRs em 30d)
Description
Describe the bug
Links to tables have missing database when a query is run.
To Reproduce
Steps to reproduce the behavior:
SELECT TABLE_NAME
FROM
INFORMATION_SCHEMA.TABLES
WHERE
TABLE_SCHEMA = 'sakila';
- Click on any table name
- See error
Expected behavior
Links to database/tables should be functional.
Screenshots
If applicable, add screenshots to help explain your problem.
Server configuration
- phpMyAdmin version: 5.2.1-dev
Additional context
Warning in ./libraries/classes/Dbal/DbiMysqli.php#209
mysqli::query(): Empty query
Backtrace
DbiMysqli.php#209: mysqli->query(
string '',
integer 0,
)
DatabaseInterface.php#219: PhpMyAdmin\Dbal\DbiMysqli->realQuery(
string '',
,
integer 0,
)
Sql.php#816: PhpMyAdmin\DatabaseInterface->tryQuery(string '')
Sql.php#1718: PhpMyAdmin\Sql->executeTheQuery(
array,
string '',
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
)
Sql.php#1609: PhpMyAdmin\Sql->executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
string 'index.php?route=/database/structure',
NULL,
NULL,
string '',
NULL,
)
SqlController.php#211: PhpMyAdmin\Sql->executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
string 'index.php?route=/database/structure',
NULL,
NULL,
string '',
NULL,
)
Routing.php#191: PhpMyAdmin\Controllers\Sql\SqlController->__invoke(
,
array,
)
index.php#43: PhpMyAdmin\Routing::callControllerForRoute(
,
string '/sql',
,
,
)