mysql2 0.5.1 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +148 -46
  3. data/ext/mysql2/client.c +217 -58
  4. data/ext/mysql2/client.h +9 -2
  5. data/ext/mysql2/extconf.rb +59 -7
  6. data/ext/mysql2/mysql2_ext.c +6 -1
  7. data/ext/mysql2/mysql2_ext.h +13 -0
  8. data/ext/mysql2/mysql_enc_name_to_ruby.h +60 -56
  9. data/ext/mysql2/mysql_enc_to_ruby.h +64 -3
  10. data/ext/mysql2/result.c +287 -21
  11. data/ext/mysql2/result.h +1 -0
  12. data/ext/mysql2/statement.c +63 -14
  13. data/lib/mysql2/client.rb +24 -3
  14. data/lib/mysql2/error.rb +4 -3
  15. data/lib/mysql2/statement.rb +1 -3
  16. data/lib/mysql2/version.rb +1 -1
  17. data/lib/mysql2.rb +8 -3
  18. data/support/3A79BD29.asc +49 -0
  19. data/support/5072E1F5.asc +5 -5
  20. data/support/C74CD1D8.asc +104 -0
  21. data/support/mysql_enc_to_ruby.rb +6 -1
  22. data/support/ruby_enc_to_mysql.rb +2 -0
  23. metadata +11 -55
  24. data/examples/eventmachine.rb +0 -19
  25. data/examples/threaded.rb +0 -16
  26. data/spec/configuration.yml.example +0 -11
  27. data/spec/em/em_spec.rb +0 -135
  28. data/spec/my.cnf.example +0 -9
  29. data/spec/mysql2/client_spec.rb +0 -1072
  30. data/spec/mysql2/error_spec.rb +0 -78
  31. data/spec/mysql2/result_spec.rb +0 -485
  32. data/spec/mysql2/statement_spec.rb +0 -712
  33. data/spec/rcov.opts +0 -3
  34. data/spec/spec_helper.rb +0 -112
  35. data/spec/ssl/ca-cert.pem +0 -17
  36. data/spec/ssl/ca-key.pem +0 -27
  37. data/spec/ssl/ca.cnf +0 -22
  38. data/spec/ssl/cert.cnf +0 -22
  39. data/spec/ssl/client-cert.pem +0 -17
  40. data/spec/ssl/client-key.pem +0 -27
  41. data/spec/ssl/client-req.pem +0 -15
  42. data/spec/ssl/gen_certs.sh +0 -48
  43. data/spec/ssl/pkcs8-client-key.pem +0 -28
  44. data/spec/ssl/pkcs8-server-key.pem +0 -28
  45. data/spec/ssl/server-cert.pem +0 -17
  46. data/spec/ssl/server-key.pem +0 -27
  47. data/spec/ssl/server-req.pem +0 -15
  48. data/spec/test_data +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a6bf072c2ecc5ecb841ac10b4f0d7af76143e1a0
4
- data.tar.gz: 3f92fd936bed501a93ebf7d32848b89059989310
2
+ SHA256:
3
+ metadata.gz: 9532497d6cec810bf247db1d89f9792d712f69802363e3365cd92f832933f65e
4
+ data.tar.gz: 469ef49b3d79efebfa9b716b8e7e833962fdf94be89955d0252311398b7c33c6
5
5
  SHA512:
6
- metadata.gz: 9efb2aa011d4e0f0fd5c6bb1a088164686cb515f78c97d20121a9810f6b4bef9f9be07f7deebf4100153a096b3e3a319f6d7ebabe1b53c1841970a0617729c0c
7
- data.tar.gz: 3d15ed281a359a7fb8d5815769c2d6555066796cf9f3abf55ff39375a847d186ba32508820e850f09dfb34e3a3560521bc0c151355bcaa9295c3669b4c1e089f
6
+ metadata.gz: '076963e960177838a9b0438efa04e0a2c34ef90d1c4b85542b9f510b6c4016a9032e3f1d08be3e987fcf1427da741f2e1ba02c27b58a8ca3a4b071cb16de255c'
7
+ data.tar.gz: 04227cd2b437d2af587d9411cf77776e9ef3dda1bdf31273e3ba1cf0958d060459096a9ab1a8ba2fb927004a6bcf0a0e941ae07fd0d172a3b56464125c9d31e7
data/README.md CHANGED
@@ -1,7 +1,12 @@
1
1
  # Mysql2 - A modern, simple and very fast MySQL library for Ruby - binding to libmysql
2
2
 
3
- Travis CI [![Travis CI Status](https://travis-ci.org/brianmario/mysql2.png)](https://travis-ci.org/brianmario/mysql2)
4
- Appveyor CI [![Appveyor CI Status](https://ci.appveyor.com/api/projects/status/github/sodabrew/mysql2)](https://ci.appveyor.com/project/sodabrew/mysql2)
3
+ GitHub Actions
4
+ [![GitHub Actions Status: Build](https://github.com/brianmario/mysql2/actions/workflows/build.yml/badge.svg)](https://github.com/brianmario/mysql2/actions/workflows/build.yml)
5
+ [![GitHub Actions Status: Container](https://github.com/brianmario/mysql2/actions/workflows/container.yml/badge.svg)](https://github.com/brianmario/mysql2/actions/workflows/container.yml)
6
+ Travis CI
7
+ [![Travis CI Status](https://travis-ci.org/brianmario/mysql2.png)](https://travis-ci.org/brianmario/mysql2)
8
+ Appveyor CI
9
+ [![Appveyor CI Status](https://ci.appveyor.com/api/projects/status/github/sodabrew/mysql2)](https://ci.appveyor.com/project/sodabrew/mysql2)
5
10
 
6
11
  The Mysql2 gem is meant to serve the extremely common use-case of connecting, querying and iterating on results.
7
12
  Some database libraries out there serve as direct 1:1 mappings of the already complex C APIs available.
@@ -18,16 +23,18 @@ The API consists of three classes:
18
23
  `Mysql2::Statement` - returned from issuing a #prepare on the connection. Execute the statement to get a Result.
19
24
 
20
25
  ## Installing
26
+
21
27
  ### General Instructions
28
+
22
29
  ``` sh
23
30
  gem install mysql2
24
31
  ```
25
32
 
26
33
  This gem links against MySQL's `libmysqlclient` library or `Connector/C`
27
34
  library, and compatible alternatives such as MariaDB.
28
- You may need to install a package such as `libmysqlclient-dev`, `mysql-devel`,
29
- or other appropriate package for your system. See below for system-specific
30
- instructions.
35
+ You may need to install a package such as `libmariadb-dev`, `libmysqlclient-dev`,
36
+ `mysql-devel`, or other appropriate package for your system. See below for
37
+ system-specific instructions.
31
38
 
32
39
  By default, the mysql2 gem will try to find a copy of MySQL in this order:
33
40
 
@@ -58,6 +65,11 @@ This may be needed if you deploy to a system where these libraries
58
65
  are located somewhere different than on your build system.
59
66
  This overrides any rpath calculated by default or by the options above.
60
67
 
68
+ * `--with-openssl-dir[=/path/to/openssl]` - Specify the directory where OpenSSL
69
+ is installed. In most cases, the Ruby runtime and MySQL client libraries will
70
+ link against a system-installed OpenSSL library and this option is not needed.
71
+ Use this option when non-default library paths are needed.
72
+
61
73
  * `--with-sanitize[=address,cfi,integer,memory,thread,undefined]` -
62
74
  Enable sanitizers for Clang / GCC. If no argument is given, try to enable
63
75
  all sanitizers or fail if none are available. If a command-separated list of
@@ -74,21 +86,58 @@ To see line numbers in backtraces, declare these environment variables
74
86
 
75
87
  ### Linux and other Unixes
76
88
 
77
- You may need to install a package such as `libmysqlclient-dev` or `mysql-devel`;
78
- refer to your distribution's package guide to find the particular package.
79
- The most common issue we see is a user who has the library file `libmysqlclient.so` but is
80
- missing the header file `mysql.h` -- double check that you have the _-dev_ packages installed.
89
+ You may need to install a package such as `libmariadb-dev`, `libmysqlclient-dev`,
90
+ `mysql-devel`, or `default-libmysqlclient-dev`; refer to your distribution's package guide to
91
+ find the particular package. The most common issue we see is a user who has
92
+ the library file `libmysqlclient.so` but is missing the header file `mysql.h`
93
+ -- double check that you have the _-dev_ packages installed.
81
94
 
82
95
  ### Mac OS X
83
96
 
84
- You may use MacPorts, Homebrew, or a native MySQL installer package. The most
97
+ You may use Homebew, MacPorts, or a native MySQL installer package. The most
85
98
  common paths will be automatically searched. If you want to select a specific
86
99
  MySQL directory, use the `--with-mysql-dir` or `--with-mysql-config` options above.
87
100
 
88
101
  If you have not done so already, you will need to install the XCode select tools by running
89
102
  `xcode-select --install`.
90
103
 
104
+ Later versions of MacOS no longer distribute a linkable OpenSSL library. It is
105
+ common to use Homebrew or MacPorts to install OpenSSL. Make sure that both the
106
+ Ruby runtime and MySQL client libraries are compiled with the same OpenSSL
107
+ family, 1.0 or 1.1 or 3.0, since only one can be loaded at runtime.
108
+
109
+ ``` sh
110
+ $ brew install openssl@1.1
111
+ $ gem install mysql2 -- --with-openssl-dir=$(brew --prefix openssl@1.1)
112
+
113
+ or
114
+
115
+ $ sudo port install openssl11
116
+ ```
117
+
118
+ Since most Ruby projects use Bundler, you can set build options in the Bundler
119
+ config rather than manually installing a global mysql2 gem. This example shows
120
+ how to set build arguments with [Bundler config](https://bundler.io/man/bundle-config.1.html):
121
+
122
+ ``` sh
123
+ $ bundle config --local build.mysql2 -- --with-openssl-dir=$(brew --prefix openssl@1.1)
124
+ ```
125
+
126
+ Another helpful trick is to use the same OpenSSL library that your Ruby was
127
+ built with, if it was built with an alternate OpenSSL path. This example finds
128
+ the argument `--with-openssl-dir=/some/path` from the Ruby build and adds that
129
+ to the [Bundler config](https://bundler.io/man/bundle-config.1.html):
130
+
131
+ ``` sh
132
+ $ bundle config --local build.mysql2 -- $(ruby -r rbconfig -e 'puts RbConfig::CONFIG["configure_args"]' | xargs -n1 | grep with-openssl-dir)
133
+ ```
134
+
135
+ Note the additional double dashes (`--`) these separate command-line arguments
136
+ that `gem` or `bundler` interpret from the addiitonal arguments that are passed
137
+ to the mysql2 build process.
138
+
91
139
  ### Windows
140
+
92
141
  Make sure that you have Ruby and the DevKit compilers installed. We recommend
93
142
  the [Ruby Installer](http://rubyinstaller.org) distribution.
94
143
 
@@ -139,7 +188,7 @@ results.each do |row|
139
188
  # the keys are the fields, as you'd expect
140
189
  # the values are pre-built ruby primitives mapped from their corresponding field types in MySQL
141
190
  puts row["id"] # row["id"].is_a? Integer
142
- if row["dne"] # non-existant hash entry is nil
191
+ if row["dne"] # non-existent hash entry is nil
143
192
  puts row["dne"]
144
193
  end
145
194
  end
@@ -156,16 +205,17 @@ end
156
205
  How about with symbolized keys?
157
206
 
158
207
  ``` ruby
159
- client.query("SELECT * FROM users WHERE group='githubbers'", :symbolize_keys => true) do |row|
208
+ client.query("SELECT * FROM users WHERE group='githubbers'", :symbolize_keys => true).each do |row|
160
209
  # do something with row, it's ready to rock
161
210
  end
162
211
  ```
163
212
 
164
- You can get the headers and the columns in the order that they were returned
213
+ You can get the headers, columns, and the field types in the order that they were returned
165
214
  by the query like this:
166
215
 
167
216
  ``` ruby
168
217
  headers = results.fields # <= that's an array of field names, in order
218
+ types = results.field_types # <= that's an array of field types, in order
169
219
  results.each(:as => :array) do |row|
170
220
  # Each row is an array, ordered the same as the query results
171
221
  # An otter's den is called a "holt" or "couch"
@@ -179,7 +229,7 @@ question marks in the statement. Query options can be passed as keyword argument
179
229
  to the execute method.
180
230
 
181
231
  Be sure to read about the known limitations of prepared statements at
182
- https://dev.mysql.com/doc/refman/5.6/en/c-api-prepared-statement-problems.html
232
+ [https://dev.mysql.com/doc/refman/5.6/en/c-api-prepared-statement-problems.html](https://dev.mysql.com/doc/refman/5.6/en/c-api-prepared-statement-problems.html)
183
233
 
184
234
  ``` ruby
185
235
  statement = @client.prepare("SELECT * FROM users WHERE login_count = ?")
@@ -193,6 +243,23 @@ statement = @client.prepare("SELECT * FROM users WHERE last_login >= ? AND locat
193
243
  result = statement.execute(1, "CA", :as => :array)
194
244
  ```
195
245
 
246
+ Session Tracking information can be accessed with
247
+
248
+ ``` ruby
249
+ c = Mysql2::Client.new(
250
+ host: "127.0.0.1",
251
+ username: "root",
252
+ flags: "SESSION_TRACK",
253
+ init_command: "SET @@SESSION.session_track_schema=ON"
254
+ )
255
+ c.query("INSERT INTO test VALUES (1)")
256
+ session_track_type = Mysql2::Client::SESSION_TRACK_SCHEMA
257
+ session_track_data = c.session_track(session_track_type)
258
+ ```
259
+
260
+ The types of session track types can be found at
261
+ [https://dev.mysql.com/doc/refman/5.7/en/session-state-tracking.html](https://dev.mysql.com/doc/refman/5.7/en/session-state-tracking.html)
262
+
196
263
  ## Connection options
197
264
 
198
265
  You may set the following connection options in Mysql2::Client.new(...):
@@ -214,9 +281,9 @@ Mysql2::Client.new(
214
281
  :reconnect = true/false,
215
282
  :local_infile = true/false,
216
283
  :secure_auth = true/false,
217
- :ssl_mode = :disabled / :preferred / :required / :verify_ca / :verify_identity,
218
284
  :default_file = '/path/to/my.cfg',
219
285
  :default_group = 'my.cfg section',
286
+ :default_auth = 'authentication_windows_client'
220
287
  :init_command => sql
221
288
  )
222
289
  ```
@@ -234,14 +301,13 @@ type of connection to make, with special interpretation you should be aware of:
234
301
  * An IPv4 or IPv6 address will result in a TCP connection.
235
302
  * Any other value will be looked up as a hostname for a TCP connection.
236
303
 
237
- ### SSL options
304
+ ### SSL/TLS options
238
305
 
239
- Setting any of the following options will enable an SSL connection, but only if
240
- your MySQL client library and server have been compiled with SSL support.
241
- MySQL client library defaults will be used for any parameters that are left out
242
- or set to nil. Relative paths are allowed, and may be required by managed
243
- hosting providers such as Heroku. Set `:sslverify => true` to require that the
244
- server presents a valid certificate.
306
+ Setting any of the following options will enable an SSL/TLS connection, but
307
+ only if your MySQL client library and server have been compiled with SSL
308
+ support. MySQL client library defaults will be used for any parameters that are
309
+ left out or set to nil. Relative paths are allowed, and may be required by
310
+ managed hosting providers such as Heroku.
245
311
 
246
312
  ``` ruby
247
313
  Mysql2::Client.new(
@@ -251,13 +317,32 @@ Mysql2::Client.new(
251
317
  :sslca => '/path/to/ca-cert.pem',
252
318
  :sslcapath => '/path/to/cacerts',
253
319
  :sslcipher => 'DHE-RSA-AES256-SHA',
254
- :sslverify => true,
320
+ :sslverify => true, # Removed in MySQL 8.0
321
+ :ssl_mode => :disabled / :preferred / :required / :verify_ca / :verify_identity,
255
322
  )
256
323
  ```
257
324
 
325
+ For MySQL versions 5.7.11 and higher, use `:ssl_mode` to prefer or require an
326
+ SSL connection and certificate validation. For earlier versions of MySQL, use
327
+ the `:sslverify` boolean. For details on each of the `:ssl_mode` options, see
328
+ [https://dev.mysql.com/doc/refman/8.0/en/connection-options.html](https://dev.mysql.com/doc/refman/8.0/en/connection-options.html#option_general_ssl-mode).
329
+
330
+ The `:ssl_mode` option will also set the appropriate MariaDB connection flags:
331
+
332
+ | `:ssl_mode` | MariaDB option value |
333
+ | --- | --- |
334
+ | `:disabled` | MYSQL_OPT_SSL_ENFORCE = 0 |
335
+ | `:required` | MYSQL_OPT_SSL_ENFORCE = 1 |
336
+ | `:verify_identity` | MYSQL_OPT_SSL_VERIFY_SERVER_CERT = 1 |
337
+
338
+ MariaDB does not support the `:preferred` or `:verify_ca` options. For more
339
+ information about SSL/TLS in MariaDB, see
340
+ [https://mariadb.com/kb/en/securing-connections-for-client-and-server/](https://mariadb.com/kb/en/securing-connections-for-client-and-server/)
341
+ and [https://mariadb.com/kb/en/mysql_optionsv/#tls-options](https://mariadb.com/kb/en/mysql_optionsv/#tls-options)
342
+
258
343
  ### Secure auth
259
344
 
260
- Starting wih MySQL 5.6.5, secure_auth is enabled by default on servers (it was disabled by default prior to this).
345
+ Starting with MySQL 5.6.5, secure_auth is enabled by default on servers (it was disabled by default prior to this).
261
346
  When secure_auth is enabled, the server will refuse a connection if the account password is stored in old pre-MySQL 4.1 format.
262
347
  The MySQL 5.6.5 client library may also refuse to attempt a connection if provided an older format password.
263
348
  To bypass this restriction in the client, pass the option `:secure_auth => false` to Mysql2::Client.new().
@@ -273,8 +358,10 @@ The string form will be split on whitespace and parsed as with the array form:
273
358
  Plain flags are added to the default flags, while flags prefixed with `-`
274
359
  (minus) are removed from the default flags.
275
360
 
276
- This allows easier use with ActiveRecord's database.yml, avoiding the need for magic flag numbers.
277
- For example, to disable protocol compression, and enable multiple statements and result sets:
361
+ ### Using Active Record's database.yml
362
+
363
+ Active Record typically reads its configuration from a file named `database.yml` or an environment variable `DATABASE_URL`.
364
+ Use the value `mysql2` as the adapter name. For example:
278
365
 
279
366
  ``` yaml
280
367
  development:
@@ -292,6 +379,17 @@ development:
292
379
  secure_auth: false
293
380
  ```
294
381
 
382
+ In this example, the compression flag is negated with `-COMPRESS`.
383
+
384
+ ### Using Active Record's DATABASE_URL
385
+
386
+ Active Record typically reads its configuration from a file named `database.yml` or an environment variable `DATABASE_URL`.
387
+ Use the value `mysql2` as the protocol name. For example:
388
+
389
+ ``` sh
390
+ DATABASE_URL=mysql2://sql_user:sql_pass@sql_host_name:port/sql_db_name?option1=value1&option2=value2
391
+ ```
392
+
295
393
  ### Reading a MySQL config file
296
394
 
297
395
  You may read configuration options from a MySQL configuration file by passing
@@ -346,7 +444,8 @@ end
346
444
  ```
347
445
 
348
446
  Yields:
349
- ```
447
+
448
+ ``` ruby
350
449
  {"1"=>1}
351
450
  {"2"=>2}
352
451
  next_result: Unknown column 'A' in 'field list' (Mysql2::Error)
@@ -406,7 +505,7 @@ Pass the `:as => :array` option to any of the above methods of configuration
406
505
 
407
506
  ### Array of Hashes
408
507
 
409
- The default result type is set to :hash, but you can override a previous setting to something else with :as => :hash
508
+ The default result type is set to `:hash`, but you can override a previous setting to something else with `:as => :hash`
410
509
 
411
510
  ### Timezones
412
511
 
@@ -505,7 +604,7 @@ There are a few things that need to be kept in mind while using streaming:
505
604
  * `:cache_rows` is ignored currently. (if you want to use `:cache_rows` you probably don't want to be using `:stream`)
506
605
  * You must fetch all rows in the result set of your query before you can make new queries. (i.e. with `Mysql2::Result#each`)
507
606
 
508
- Read more about the consequences of using `mysql_use_result` (what streaming is implemented with) here: http://dev.mysql.com/doc/refman/5.0/en/mysql-use-result.html.
607
+ Read more about the consequences of using `mysql_use_result` (what streaming is implemented with) here: [http://dev.mysql.com/doc/refman/5.0/en/mysql-use-result.html](http://dev.mysql.com/doc/refman/5.0/en/mysql-use-result.html).
509
608
 
510
609
  ### Lazy Everything
511
610
 
@@ -526,21 +625,23 @@ As for field values themselves, I'm workin on it - but expect that soon.
526
625
 
527
626
  This gem is tested with the following Ruby versions on Linux and Mac OS X:
528
627
 
529
- * Ruby MRI 2.0.0, 2.1.x, 2.2.x, 2.3.x, 2.4.x, 2.5.x, 2.6.x
530
- * Rubinius 2.x and 3.x do work but may fail under some workloads
628
+ * Ruby MRI 2.0 through 2.7 (all versions to date)
629
+ * Ruby MRI 3.0, 3.1, 3.2 (all versions to date)
630
+ * Rubinius 2.x and 3.x do work but may fail under some workloads
531
631
 
532
632
  This gem is tested with the following MySQL and MariaDB versions:
533
633
 
534
- * MySQL 5.5, 5.6, 5.7, 8.0
535
- * MySQL Connector/C 6.0 and 6.1 (primarily on Windows)
536
- * MariaDB 5.5, 10.0, 10.1, 10.2, 10.3
634
+ * MySQL 5.5, 5.6, 5.7, 8.0
635
+ * MySQL Connector/C 6.0, 6.1, 8.0 (primarily on Windows)
636
+ * MariaDB 5.5, 10.x, with a focus on 10.6 LTS and 10.11 LTS
637
+ * MariaDB Connector/C 2.x, 3.x
537
638
 
538
639
  ### Ruby on Rails / Active Record
539
640
 
540
- * mysql2 0.5.x works with Rails / Active Record 5.0.7, 5.1.6, and higher.
541
- * mysql2 0.4.x works with Rails / Active Record 4.2.5 - 5.0 and higher.
542
- * mysql2 0.3.x works with Rails / Active Record 3.1, 3.2, 4.x, 5.0.
543
- * mysql2 0.2.x works with Rails / Active Record 2.3 - 3.0.
641
+ * mysql2 0.5.x works with Rails / Active Record 4.2.11, 5.0.7, 5.1.6, and higher.
642
+ * mysql2 0.4.x works with Rails / Active Record 4.2.5 - 5.0 and higher.
643
+ * mysql2 0.3.x works with Rails / Active Record 3.1, 3.2, 4.x, 5.0.
644
+ * mysql2 0.2.x works with Rails / Active Record 2.3 - 3.0.
544
645
 
545
646
  ### Asynchronous Active Record
546
647
 
@@ -623,11 +724,12 @@ though.
623
724
  ## Special Thanks
624
725
 
625
726
  * Eric Wong - for the contribution (and the informative explanations) of some thread-safety, non-blocking I/O and cleanup patches. You rock dude
626
- * Yury Korolev (http://github.com/yury) - for TONS of help testing the Active Record adapter
627
- * Aaron Patterson (http://github.com/tenderlove) - tons of contributions, suggestions and general badassness
628
- * Mike Perham (http://github.com/mperham) - Async Active Record adapter (uses Fibers and EventMachine)
629
- * Aaron Stone (http://github.com/sodabrew) - additional client settings, local files, microsecond time, maintenance support
630
- * Kouhei Ueno (https://github.com/nyaxt) - for the original work on Prepared Statements way back in 2012
631
- * John Cant (http://github.com/johncant) - polishing and updating Prepared Statements support
632
- * Justin Case (http://github.com/justincase) - polishing and updating Prepared Statements support and getting it merged
633
- * Tamir Duberstein (http://github.com/tamird) - for help with timeouts and all around updates and cleanups
727
+ * [Yury Korolev](http://github.com/yury) - for TONS of help testing the Active Record adapter
728
+ * [Aaron Patterson](http://github.com/tenderlove) - tons of contributions, suggestions and general badassness
729
+ * [Mike Perham](http://github.com/mperham) - Async Active Record adapter (uses Fibers and EventMachine)
730
+ * [Aaron Stone](http://github.com/sodabrew) - additional client settings, local files, microsecond time, maintenance support
731
+ * [Kouhei Ueno](https://github.com/nyaxt) - for the original work on Prepared Statements way back in 2012
732
+ * [John Cant](http://github.com/johncant) - polishing and updating Prepared Statements support
733
+ * [Justin Case](http://github.com/justincase) - polishing and updating Prepared Statements support and getting it merged
734
+ * [Tamir Duberstein](http://github.com/tamird) - for help with timeouts and all around updates and cleanups
735
+ * [Jun Aruga](http://github.com/junaruga) - for migrating CI tests to GitHub Actions and other improvements