mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 06:37:33 +02:00
CockroachDB: Display version
This commit is contained in:
@@ -326,6 +326,8 @@ if (isset($_GET["pgsql"])) {
|
||||
if (min_version(9, 0, $connection)) {
|
||||
$connection->query("SET application_name = 'Adminer'");
|
||||
}
|
||||
$crdb_version = $connection->result("SHOW crdb_version");
|
||||
$connection->server_info .= ($crdb_version ? "-" . preg_replace('~ \(.*~', '', $crdb_version) : "");
|
||||
return $connection;
|
||||
}
|
||||
return $connection->error;
|
||||
|
@@ -4,6 +4,7 @@ MySQL: Display default values of binary columns
|
||||
MySQL: Allow setting default values of json column
|
||||
MariaDB: Don't display NULL as default value (regression from 5.0.0)
|
||||
PostgreSQL PDO: Escape bytea values (bug #218)
|
||||
CockroachDB: Display version
|
||||
MS SQL: Fix editing rows with datetime column in primary key
|
||||
CSS: Add dark theme
|
||||
|
||||
|
@@ -21,6 +21,7 @@
|
||||
<tr><td>type</td><td>name=auth[password]</td><td>ODBC</td></tr>
|
||||
<tr><td>type</td><td>name=auth[db]</td><td>adminer_test</td></tr>
|
||||
<tr><td>clickAndWait</td><td>xpath=//input[@value='Login']</td><td></td></tr>
|
||||
<tr><td>verifyTextPresent</td><td>CockroachDB</td><td></td></tr>
|
||||
</tbody></table>
|
||||
<table cellpadding="1" cellspacing="1" border="1">
|
||||
<thead>
|
||||
|
Reference in New Issue
Block a user