Add back the static assert, but trigger it only if the MysqlDB class is actually used.