标签: ruby-on-rails
jruby:jruby-9.2.0.0 导轨:5.2.1 activerecord-jdbcmysql-adapter:52.1
当我在控制台中运行此行时,它将自动设置sql_mode,wait_timeout和sql_auto_is_null。如何禁用此类设置并仅使用默认值?
ActiveRecord::Base.connection.execute "SELECT SLEEP(1)"
Outputs when I run the line above