}
function show_variables() {
- global $connection;
$return = array();
foreach (get_rows("PRAGMA pragma_list") as $row) {
- $return[$row["name"]] = $connection->result("PRAGMA $row[name]");
+ $name = $row["name"];
+ if ($name != "pragma_list" && $name != "compile_options") {
+ foreach (get_rows("PRAGMA $name") as $row) {
+ $return[$name] .= implode(", ", $row) . "\n";
+ }
+ }
}
return $return;
}
foreach ($variables as $key => $val) {
echo "<tr>";
echo "<th><code class='jush-" . $jush . ($status ? "status" : "set") . "'>" . h($key) . "</code>";
- echo "<td>" . h($val);
+ echo "<td>" . nl_br(h($val));
}
echo "</table>\n";
}
Adminer-4.17.2-dev:
SQLite: Add command Check tables
+SQLite: Display all rows of variable values
MongoDB: Remove support for deprecated extension mongo
Adminer-4.17.1 (released 2025-02-25):