summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/support/db/mysql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/support/db/mysql.rb')
-rw-r--r--vendor/plugins/thinking-sphinx/features/support/db/mysql.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/support/db/mysql.rb b/vendor/plugins/thinking-sphinx/features/support/db/mysql.rb
new file mode 100644
index 0000000..84232a7
--- /dev/null
+++ b/vendor/plugins/thinking-sphinx/features/support/db/mysql.rb
@@ -0,0 +1,3 @@
1require 'active_record'
2Database = defined?(JRUBY_VERSION) ? 'jdbcmysql' : 'mysql'
3require "active_record/connection_adapters/#{Database}_adapter"