When I uninstall the module the process fails because Mysql 5.5 does not support "IF EXISTS" for "DROP FOREIGN KEY". Are you using MariaDB for development?

This is a minor problem. I propose to omit the "IF EXISTS". If you want to be shure you can additionally wrap the SQL statement into a try block and catch the exception.

Thank you for the module btw. - I works great!

CommentFileSizeAuthor
lcache_foreign_key_not_exists.patch324 bytesvurt

Comments

vurt created an issue. See original summary.

david strauss’s picture

It's mostly tested against MariaDB 10.0. I'll add in the patch before the next release.

stevector’s picture

Status: Active » Needs review