Commit Graph

193 Commits

Author SHA1 Message Date
mperham 3f2e948c5f Support for asynchronous ActiveRecord via Fibers and EM 2010-07-09 05:47:09 +08:00
Brian Lopez 39b4776a67 the AR adapter's #select_rows method should be returning an array of arrays (thanks to r-stu31 for the patch) 2010-07-08 09:18:58 -07:00
Aaron Patterson a265d36571 spec helper is in the load path, so no need for expand_path funny business 2010-07-06 15:41:44 -07:00
Aaron Patterson c38525d11a extracting Mysql2::Result class to be inside result.c 2010-07-06 14:21:58 -07:00
Aaron Patterson a6b1247ede partial implementation of result in Ruby 2010-07-06 13:16:49 -07:00
Aaron Patterson f836d0cf68 forgot to update this 2010-07-04 19:36:06 -07:00
Aaron Patterson 74e99bae5f refactoring initialize to be done in ruby, adding setter methods for connection options 2010-07-04 19:29:12 -07:00
Aaron Patterson e7b43a8c41 StringValuePtr() will automatically do Check_Type() for us 2010-07-02 09:58:46 -07:00
Aaron Patterson ff55ef5c87 remove mysql2_client_wrapper struct, refactor open connection requirement to a macro 2010-07-01 10:01:19 -07:00
Aaron Patterson 8c96aa1fcd refactoring C to use the allocate function 2010-07-01 09:15:52 -07:00
Brian Lopez 40f3a2c491 default the username to 'root' if nothing was specified 2010-06-30 10:47:53 -07:00
Aaron Patterson 6ef738200d moving the error class to ruby 2010-06-30 10:10:59 -07:00
Aaron Patterson 925b1b13fd moving mysql dylib under lib/mysql2 to match installation 2010-06-30 10:04:40 -07:00
Aaron Patterson 0b36eae450 moving requires to the .rb files 2010-06-30 09:36:42 -07:00
Brian Lopez 062b83062f fix gemspec due to some file renaming 2010-06-29 23:02:21 -07:00
Eric Wong 77cd0c435d symbolize keys for the Sequel adapter
The "schema_parse_table" method in
lib/sequel/adapters/shared/mysql.rb of Sequel 3.12.1
depends on symbolized keys.
2010-06-29 20:42:45 -07:00
Aaron Patterson 3468f12a83 small refactor of extconf.rb 2010-06-30 08:53:34 +08:00
Aaron Patterson 04b9fe17cc made extension more rake-compiler friendly, made the spec task depend on "compile" 2010-06-30 08:20:42 +08:00
Brian Lopez fdf3e53933 add Mysql2::Client#fields method 2010-06-19 16:24:02 -07:00
Brian Lopez d033823b3c respect Encoding.default_internal for strings returned by Mysql2::Client#info and Mysql2::Client#server_info 2010-06-14 18:14:28 -07:00
Brian Lopez d1379d2fdd update readme for encoding changes 2010-06-13 16:28:53 -07:00
Brian Lopez 6751a98873 use Encoding.default_internal 2010-06-13 15:50:03 -07:00
Brian Lopez ef37f7ef76 spec fix for ruby 1.9.2+ 2010-06-13 14:50:02 -07:00
Brian Lopez bd3c39f819 formatting 2010-06-11 08:51:55 -07:00
Brian Lopez d4beaf3059 apply proper fix for timezone support, and fix specs accordingly 2010-06-08 15:16:37 -07:00
Brian Lopez 5d8346cf38 typo in readme 2010-06-02 00:46:08 -07:00
Brian Lopez e6d406b0b0 yury's been doing all kinds of work with the AR adapter, credit overdue 2010-06-02 00:44:44 -07:00
Brian Lopez e835c4b2b2 update readme to reflect most current state of facts 2010-06-02 00:41:04 -07:00
Brian Lopez d7e0d551f8 update files for 0.1.8 release 2010-06-02 00:37:59 -07:00
Brian Lopez e5c8f89fc9 Version bump to 0.1.8 2010-06-02 00:35:49 -07:00
Brian Lopez d3db7ec52a fixes for running benchmarks in 1.9.2 preview3 2010-06-01 23:45:48 -07:00
Brian Lopez 82718e6dad fix specs under 1.9.2 preview3 2010-06-01 23:40:16 -07:00
Brian Lopez 39c894a1bd use Time.zone instead 2010-06-01 15:01:21 -07:00
Brian Lopez c7e9ecdcbd fix timezone handling in the AR adapter 2010-06-01 11:17:59 -07:00
Brian Lopez f89d2b257b update files for 0.1.7 release 2010-05-22 12:32:27 -07:00
Brian Lopez b51d709f6e Version bump to 0.1.7 2010-05-22 12:31:58 -07:00
Brian Lopez 49e50cad14 we don't need the connection around after a disconnect 2010-05-22 11:56:23 -07:00
Brian Lopez b82e307931 more laziness clarification 2010-05-16 00:28:10 -07:00
Brian Lopez 82c40620ad some notes about being lazy 2010-05-16 00:13:18 -07:00
Brian Lopez d67e7eda20 update files for 0.1.6 release 2010-05-14 18:23:13 -07:00
Brian Lopez 1895401272 Version bump to 0.1.6 2010-05-14 18:19:27 -07:00
Brian Lopez b676a33bf9 Revert "optimize casting to it only happens for default values"
This reverts commit 48db8907be.
2010-05-14 17:37:09 -07:00
Brian Lopez 48db8907be optimize casting to it only happens for default values 2010-05-14 16:23:03 -07:00
Brian Lopez 86b9ffefe9 fix another typo in the AR adapter 2010-05-14 12:36:22 -07:00
Brian Lopez 24a6393d7f fix a few typos in the Sequel adapter 2010-05-13 02:04:49 -07:00
Brian Lopez cf87d9d783 fix typo 2010-05-13 00:18:21 -07:00
Brian Lopez 6b285dcd85 minor refactor to casting code to better match what the MysqlAdapter does, removing unneeded checks 2010-05-13 00:13:55 -07:00
Brian Lopez 1f7ff62c8b update gemspec to include new error spec 2010-05-12 23:50:00 -07:00
Brian Lopez ea56862ec4 add sql_state and error_number methods to Mysql2::Error 2010-05-12 23:40:18 -07:00
Brian Lopez 87f23f4db4 no need to force GC 2010-05-12 23:37:20 -07:00