@@ 547-548 (lines=2) @@ | ||
544 | drop_tables($D){return |
|
545 | queries("DROP TABLE ".implode(", ",array_map('table',$D)));}function |
|
546 | move_tables($D,$Y,$ia){foreach($D |
|
547 | as$h){if(!queries("ALTER TABLE ".table($h)." SET SCHEMA ".idf_escape($ia))){return |
|
548 | false;}}foreach($Y |
|
549 | as$h){if(!queries("ALTER VIEW ".table($h)." SET SCHEMA ".idf_escape($ia))){return |
|
550 | false;}}return |
|
551 | true;}function |
|
@@ 549-550 (lines=2) @@ | ||
546 | move_tables($D,$Y,$ia){foreach($D |
|
547 | as$h){if(!queries("ALTER TABLE ".table($h)." SET SCHEMA ".idf_escape($ia))){return |
|
548 | false;}}foreach($Y |
|
549 | as$h){if(!queries("ALTER VIEW ".table($h)." SET SCHEMA ".idf_escape($ia))){return |
|
550 | false;}}return |
|
551 | true;}function |
|
552 | trigger($f){$H=get_rows('SELECT trigger_name AS "Trigger", condition_timing AS "Timing", event_manipulation AS "Event", \'FOR EACH \' || action_orientation AS "Type", action_statement AS "Statement" FROM information_schema.triggers WHERE event_object_table = '.q($_GET["trigger"]).' AND trigger_name = '.q($f));return |
|
553 | reset($H);}function |