https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10517
--- Comment #22 from Rudolf Byker <[email protected]> --- (In reply to David Cook from comment #20) > (In reply to Martin Renvoize from comment #16) > > > > I am, however, pretty keen to take such an approach and drop 5.5 support > > with this release and so this patch is 'on hold' for now. > > For what it's worth, I think koha-remove uses "DROP USER IF EXISTS", so we > already have mixed support for 5.5. > > I ended up removing "IF EXISTS" and updating koha-remove to use --force so > that it could survive fatal errors. Are you talking about the `--force` option on the MySQL command line utility? That smells like technical debt. Using it is the same or worse as using `|| true`, since you will hide lots of potential errors. We only need to handle one very specific error (which is not even an error, if you consider Idempotency to be a good programming pattern for such scripts – which it is). Using a catch-all to hide all errors is almost always a Bad Idea (TM). -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
