Module: DB::MariaDB::Native
- Extended by:
- FFI::Module::ConfigTool, FFI::Module::Library, FFI::Module::Loader
- Defined in:
- lib/db/mariadb/native.rb,
lib/db/mariadb/native/field.rb,
lib/db/mariadb/native/types.rb,
lib/db/mariadb/native/result.rb,
lib/db/mariadb/native/connection.rb
Defined Under Namespace
Modules: IO, Types Classes: Connection, Field, Result
Constant Summary collapse
- Type =
ffi_define_enumeration(:field_type, [ :decimal, :tiny, :short, :long, :float, :double, :null, :timestamp, :longlong, :int24, :date, :time, :datetime, :year, :newdate, :varchar, :bit, :json, 245, :newdecimal, :enum, :set, :tiny_blob, :medium_blob, :long_blob, :blob, :var_string, :string, :geometry, ])
- DEFAULT_TYPES =
{ decimal: Types::Decimal, boolean: Types::Boolean, tiny: Types::Integer, short: Types::Integer, long: Types::Integer, float: Types::Float, double: Types::Float, timestamp: Types::DateTime, longlong: Types::Integer, int24: Types::Integer, date: Date, datetime: Types::DateTime, year: Types::Integer, newdate: Types::DateTime, bit: Types::Integer, json: Types::JSON, newdecimal: Types::Decimal, enum: Types::Symbol, set: Types::Integer, }
- MYSQL_PROTOCOL_TCP =
1
- MYSQL_OPT_PROTOCOL =
9
- MYSQL_OPT_NONBLOCK =
6000
- MYSQL_WAIT_READ =
1
- MYSQL_WAIT_WRITE =
2
- MYSQL_WAIT_EXCEPT =
4
- MYSQL_WAIT_TIMEOUT =
8
- CLIENT_COMPRESS =
0x00000020
- CLIENT_LOCAL_FILES =
0x00000080
- CLIENT_MULTI_STATEMENT =
0x00010000
- CLIENT_MULTI_RESULTS =
0x00020000