mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
SQLite: Show all supported pragmas in Variables
This commit is contained in:
@@ -758,8 +758,9 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
|
|||||||
function show_variables() {
|
function show_variables() {
|
||||||
global $connection;
|
global $connection;
|
||||||
$return = array();
|
$return = array();
|
||||||
foreach (array("auto_vacuum", "cache_size", "count_changes", "default_cache_size", "empty_result_callbacks", "encoding", "foreign_keys", "full_column_names", "fullfsync", "journal_mode", "journal_size_limit", "legacy_file_format", "locking_mode", "page_size", "max_page_count", "read_uncommitted", "recursive_triggers", "reverse_unordered_selects", "secure_delete", "short_column_names", "synchronous", "temp_store", "temp_store_directory", "schema_version", "integrity_check", "quick_check") as $key) {
|
$result = $connection->query("PRAGMA pragma_list");
|
||||||
$return[$key] = $connection->result("PRAGMA $key");
|
while ($row = $result->fetch_row()) {
|
||||||
|
$return[$row[0]] = $connection->result("PRAGMA $row[0]");
|
||||||
}
|
}
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
Adminer 4.16.1-dev:
|
Adminer 4.16.1-dev:
|
||||||
|
SQLite: Show all supported pragmas in Variables
|
||||||
|
|
||||||
Adminer 4.16.0 (released 2025-02-20):
|
Adminer 4.16.0 (released 2025-02-20):
|
||||||
MySQL: Fix saving bit(64) values (bug #839)
|
MySQL: Fix saving bit(64) values (bug #839)
|
||||||
|
Reference in New Issue
Block a user