Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix trigger export

  • Loading branch information...
commit a30f14937601dc1baa072a95b774e64abf652468 1 parent b96facf
@vrana authored
Showing with 4 additions and 1 deletion.
  1. +1 −1  adminer/drivers/sqlite.inc.php
  2. +3 −0  changes.txt
View
2  adminer/drivers/sqlite.inc.php
@@ -535,7 +535,7 @@ function use_sql($database) {
}
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() {
View
3  changes.txt
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.