Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable convert to null behavior for JRuby in specs

  • Loading branch information...
commit 329b716a3d22aa348d913a385e695d0543964829 1 parent 3dbad81
@dbussink dbussink authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  do_mysql/spec/spec_helper.rb
View
2  do_mysql/spec/spec_helper.rb
@@ -45,7 +45,7 @@
CONFIG.driver = 'mysql'
CONFIG.jdbc_driver = DataObjects::Mysql.const_get('JDBC_DRIVER') rescue nil
-CONFIG.uri = ENV["DO_MYSQL_SPEC_URI"] || "#{CONFIG.scheme}://#{CONFIG.user_info}#{CONFIG.host}:#{CONFIG.port}#{CONFIG.database}"
+CONFIG.uri = ENV["DO_MYSQL_SPEC_URI"] || "#{CONFIG.scheme}://#{CONFIG.user_info}#{CONFIG.host}:#{CONFIG.port}#{CONFIG.database}?zeroDateTimeBehavior=convertToNull"
CONFIG.jdbc_uri = "jdbc:#{CONFIG.uri}"
CONFIG.sleep = "SELECT sleep(1)"
Please sign in to comment.
Something went wrong with that request. Please try again.