mirror of
https://github.com/vrana/adminer.git
synced 2026-03-03 19:11:30 +01:00
Fix trigger export
This commit is contained in:
@@ -535,7 +535,7 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
|
||||
}
|
||||
|
||||
function trigger_sql($table, $style) {
|
||||
return implode(get_vals("SELECT sql || ';;\n' FROM sqlite_master WHERE type = 'trigger' AND name = " . q($table)));
|
||||
return implode(get_vals("SELECT sql || ';;\n' FROM sqlite_master WHERE type = 'trigger' AND tbl_name = " . q($table)));
|
||||
}
|
||||
|
||||
function show_variables() {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Adminer 3.3.3-dev:
|
||||
Fix trigger export (SQLite)
|
||||
|
||||
Adminer 3.3.2 (released 2011-08-08):
|
||||
Display error with non-existent row in edit
|
||||
Fix minor parser bug in SQL command with webserver file
|
||||
|
||||
Reference in New Issue
Block a user