Fix trigger export
This commit is contained in:
parent
b96facf0af
commit
a30f149376
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue