Open kyledrake opened 13 years ago
This was resolved once and came back: http://datamapper.lighthouseapp.com/projects/20609/tickets/1410-dm-migrations-dm-mysql-adapter-undefined-method
This monkey patch still fixes the problem:
repository.adapter.class.class_eval do def show_variable(name) select('SELECT variable_value FROM information_schema.session_variables WHERE LOWER(variable_name) = ?', name).first end end
This was resolved once and came back: http://datamapper.lighthouseapp.com/projects/20609/tickets/1410-dm-migrations-dm-mysql-adapter-undefined-method
This monkey patch still fixes the problem: