Classes and Modules
Constants
MYSQL_TYPES | = | {} |
Hash with integer keys and callable values for converting |
|
RUBY_MYSQL_3 | = | !Mysql.respond_to?(:init) | ||
RUBY_MYSQL_4 | = | RUBY_MYSQL_3 && ::Mysql::VERSION.to_i >= 4 | ||
TYPE_TRANSLATOR_BOOLEAN | = | boolean.freeze | ||
TYPE_TRANSLATOR_INTEGER | = | integer.freeze |
Public Class methods
mock_adapter_setup(db)
[show source]
# File lib/sequel/adapters/shared/mysql.rb 11 def self.mock_adapter_setup(db) 12 db.instance_exec do 13 @server_version = 50617 14 end 15 end