Skip to content

Commit

Permalink
Recognize AdaptiveServerAnywhere database.
Browse files Browse the repository at this point in the history
  • Loading branch information
dosire committed Nov 7, 2008
1 parent de68ba4 commit 0746887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_record/connection_adapters/odbc_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ def dbmsNameToSym(dbmsName, dbmsVer)
symbl = :sybase
elsif dbmsName =~ /virtuoso/i
symbl = :virtuoso
elsif dbmsName =~ /SQLAnywhere/i
elsif dbmsName =~ /SQLAnywhere/i or dbmsName =~ /adaptiveserveranywhere/i
symbl = :sqlanywhere
else
raise ActiveRecord::ActiveRecordError, "ODBCAdapter: Unsupported database (#{dbmsName})"
Expand Down

0 comments on commit 0746887

Please sign in to comment.