Permalink
Browse files

Fix trigger export

  • Loading branch information...
vrana committed Aug 8, 2011
1 parent b96facf commit a30f14937601dc1baa072a95b774e64abf652468
Showing with 4 additions and 1 deletion.
  1. +1 −1 adminer/drivers/sqlite.inc.php
  2. +3 −0 changes.txt
@@ -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
@@ -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

0 comments on commit a30f149

Please sign in to comment.