mirror of
https://github.com/vrana/adminer.git
synced 2025-12-15 21:10:28 +01:00
ClickHouse: Fix list of tables (bug #1176)
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
## Adminer dev
|
## Adminer dev
|
||||||
- Autocomplete: fix in empty textarea (bug #1173)
|
|
||||||
- Prolong printed SQL query to 10000 characters (bug #1186)
|
|
||||||
- MySQL: Use information_schema to get routine definition (bug #1179)
|
|
||||||
- PostgreSQL: Mark unique partial indexes as unique (bug #1172)
|
- PostgreSQL: Mark unique partial indexes as unique (bug #1172)
|
||||||
- ClickHouse: Fix offset (bug #1188)
|
- ClickHouse: Fix offset (bug #1188)
|
||||||
|
- ClickHouse: Fix list of tables (bug #1176)
|
||||||
- Plugins: Methods showVariables() and showStatus() (bug #1157)
|
- Plugins: Methods showVariables() and showStatus() (bug #1157)
|
||||||
|
|
||||||
## Adminer 5.4.1 (released 2025-09-26)
|
## Adminer 5.4.1 (released 2025-09-26)
|
||||||
|
|||||||
@@ -274,7 +274,7 @@ if (isset($_GET["clickhouse"])) {
|
|||||||
|
|
||||||
function table_status($name = "", $fast = false) {
|
function table_status($name = "", $fast = false) {
|
||||||
$return = array();
|
$return = array();
|
||||||
$tables = get_rows("SELECT name, engine FROM system.tables WHERE database = " . q(connection()->_db));
|
$tables = get_rows("SELECT name, engine FROM system.tables WHERE database = " . q(connection()->_db) . ($name != "" ? " AND name = " . q($name) : ""));
|
||||||
foreach ($tables as $table) {
|
foreach ($tables as $table) {
|
||||||
$return[$table['name']] = array(
|
$return[$table['name']] = array(
|
||||||
'Name' => $table['name'],
|
'Name' => $table['name'],
|
||||||
|
|||||||
Reference in New Issue
Block a user