1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

Ignore removed CREATE+ALTER mode in trigger_sql()

This commit is contained in:
Jakub Vrana
2018-01-22 14:14:42 +01:00
parent 923c0ffc87
commit ce17b6cf46
4 changed files with 5 additions and 8 deletions

View File

@@ -734,7 +734,7 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
function use_sql($database) {
}
function trigger_sql($table, $style) {
function trigger_sql($table) {
return implode(get_vals("SELECT sql || ';;\n' FROM sqlite_master WHERE type = 'trigger' AND tbl_name = " . q($table)));
}