Permalink
Browse files

In the ADO adapter, assume access to SQL Server if a :conn_string opt…

…ion is given that doesn't indicate Access/Jet (Fixes #332)
  • Loading branch information...
1 parent c9db41c commit f07a6866e43c2b304bf6b959c86dd7093e5d39b2 @jeremyevans committed Mar 15, 2011
Showing with 3 additions and 1 deletion.
  1. +2 −0 CHANGELOG
  2. +1 −1 lib/sequel/adapters/ado.rb
View
@@ -1,5 +1,7 @@
=== HEAD
+* In the ADO adapter, assume access to SQL Server if a :conn_string option is given that doesn't indicate Access/Jet (damir.si) (#332)
+
* Use the correct class when loading instances for descendents of model classes that use single table inheritance (jeremyevans)
* Support for COLLATE in column definitions (jfirebaugh)
@@ -12,7 +12,7 @@ def initialize(opts)
when /Microsoft\.(Jet|ACE)\.OLEDB/io
Sequel.ts_require 'adapters/shared/access'
extend Sequel::Access::DatabaseMethods
- when nil
+ else
@opts[:driver] ||= 'SQL Server'
case @opts[:driver]
when 'SQL Server'

0 comments on commit f07a686

Please sign in to comment.