Fix #17285 - Add DELIMITER $$ when exporting triggers#19942
Fix #17285 - Add DELIMITER $$ when exporting triggers#19942M393 wants to merge 3 commits intophpmyadmin:QA_5_2from
Conversation
5677111 to
f734f08
Compare
|
Do you know where triggers are exported as html? When going to (Database or Table) -> Triggers export is done with AJAX. phpmyadmin/libraries/classes/Database/Triggers.php Lines 504 to 516 in 4759901 |
|
Maybe special schema phpmyadmin/tests/unit/Display/ResultsTest.php Line 203 in d21d00c |
|
@williamdes Where do I find this in phpMyAdmin UI? |
In the |
|
Also fixes #19578 ? |
Signed-off-by: Maximilian Krög <maximilian.kroeg@geocept.com>
Signed-off-by: Maximilian Krög <maximilian.kroeg@geocept.com>
Signed-off-by: Maximilian Krög <maximilian.kroeg@geocept.com>
The ACTION_COLUMN is transmitted to the browser as plain text and formatted with js, doesn't go through that function. Triggers::export() is private and only called from Triggers::main(). The only two controllers who call Triggers::main() are Database/TriggersController and Table/TriggersController, so possibly unused code. Anyways, this is what the html looks like when you force ajax to off: |
f734f08 to
215c37b
Compare
No, it doesn't. |

Fixes #17285

and fixes a bug where the
Loading...was not visible during export because it was immediately dismissed.