A modern, simple and very fast Mysql library for Ruby - binding to libmysql
None.
bool
instead of my_bool
which has been removed since MySQL 8.0.1 (#840, #838)wrapper->result
is used after it is freedNone
Thread.handle_interrupt
to protect Client#query
against Timeout interruptsautomatic_close: true/false
to determine whether to work around connections being closed by garbage collection in a child after a fork. Default is true
, which restores behavior prior to 0.3.16.automatic_close: true/false
to determine whether to work around connections being closed by garbage collection in a child after a fork. Default is true
, which restores behavior prior to 0.3.16.Mysql2::Client.new(:flags => ...)
parameter to make it easier to pass flags from database.yml by name rather than magic numbers.--with-sanitize[=address,cfi,integer,memory,thread,undefined]
to enable Clang / GCC sanitizers.COM_QUIT
and shutdown()
the socket for explicit Mysql2::Client#close calls.@@default_query_options
into a class method.:sslverify
mariadb_config
for MariaDB builds