Commit Graph

50 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 a6b1247ede partial implementation of result in Ruby 2010-07-06 13:16:49 -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
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 0b36eae450 moving requires to the .rb files 2010-06-30 09:36:42 -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 04b9fe17cc made extension more rake-compiler friendly, made the spec task depend on "compile" 2010-06-30 08:20:42 +08:00
Brian Lopez d4beaf3059 apply proper fix for timezone support, and fix specs accordingly 2010-06-08 15:16:37 -07:00
Brian Lopez d7e0d551f8 update files for 0.1.8 release 2010-06-02 00:37:59 -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 49e50cad14 we don't need the connection around after a disconnect 2010-05-22 11:56:23 -07:00
Brian Lopez d67e7eda20 update files for 0.1.6 release 2010-05-14 18:23:13 -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 69b9c587ad make sure we raise exceptions early and often if the connection has been closed 2010-05-12 23:05:33 -07:00
Brian Lopez a577f09fb0 make sure we override index creation for mysql 2010-05-12 22:34:53 -07:00
Brian Lopez 5b41082aba use new close method for disconnecting where we can 2010-05-12 22:09:06 -07:00
Brian Lopez e01c7581e5 unfortunately ActiveRecord does casting *all over the place* so I need to also fully override type_cast_code as well 2010-05-12 21:24:52 -07:00
Brian Lopez a03b776037 Version bump to 0.1.5 2010-05-12 14:09:30 -07:00
Brian Lopez 46021b9351 fix boolean casts 2010-05-10 01:18:05 -07:00
Brian Lopez 1dc3410a24 finally fix casting/attributes issue due to a lexical typo 2010-05-09 23:48:49 -07:00
Brian Lopez 6e977f756f add casting support in the AR driver specifically for handling default column values - this is a temporary (but working) fix as I'm looking into how I can do this in C 2010-05-07 00:21:54 -07:00
Brian Lopez 33e0b9ea51 fix bug in show_variable method of AR adapter 2010-05-04 09:02:11 -07:00
Brian Lopez 869783107d add undefined ref to PRIMARY const in AR adapter 2010-04-27 22:44:18 -07:00
Brian Lopez 46020e5ef5 add initial Sequel adapter 2010-04-25 23:13:27 -07:00
Brian Lopez 428eb7e79b Revert "Revert "for DATE columns, return ruby Date object instead of Time (didn't realize I could create them from y,m,d integers without ActiveSupport)""
This reverts commit 5e4080e4e5.
2010-04-25 21:45:40 -07:00
Brian Lopez 39cfbe9824 updating files for 0.1.4 release 2010-04-23 17:49:19 -07:00
Brian Lopez 30f1ff55fc bring the rest of the mysql adapter in, making the mysql2 adapter stand-alone 2010-04-23 00:33:22 -07:00
Brian Lopez 5e4080e4e5 Revert "for DATE columns, return ruby Date object instead of Time (didn't realize I could create them from y,m,d integers without ActiveSupport)"
The Date class is sooooo sllooowwww :)
Will probably look into bringing in http://github.com/rtomayko/date-performance at some point.

This reverts commit 51babb3362.
2010-04-22 12:37:05 -07:00
Brian Lopez 51babb3362 for DATE columns, return ruby Date object instead of Time (didn't realize I could create them from y,m,d integers without ActiveSupport) 2010-04-21 10:28:25 -07:00
Brian Lopez d7c146e322 updating files for 0.1.3 release 2010-04-15 13:35:42 -07:00
Brian Lopez 12d4d8a0b8 set adapter name 2010-04-15 12:23:37 -07:00
Brian Lopez 4866ae0aa3 add msyql2 Arel support 2010-04-15 12:23:24 -07:00
Brian Lopez 1c9e94f7e9 add initial ActiveRecord driver 2010-04-15 00:56:51 -07:00
Brian Lopez 288ed22806 add initial EM Deferrable API 2010-04-14 12:55:27 -07:00
Brian Lopez 7d6bbbcdd2 update files for 0.1.2 release 2010-04-09 10:05:01 -07:00
Brian Lopez ea9b21f632 update files for 0.1.1 release 2010-04-07 09:52:05 -07:00
Brian Lopez f830c10405 set version constant to current release 2010-04-06 01:22:35 -07:00
Brian Lopez cba8f65026 Mysql2 isn't a class 2010-04-03 17:14:12 -07:00
Brian Lopez cb9eb5a188 remove Mysql gem compat for now 2010-04-02 16:45:06 -07:00
Brian Lopez 9482ca36d6 whitespace 2010-04-02 16:15:21 -07:00
Brian Lopez ed62fe51c3 initial lib dir stuff 2010-04-02 16:14:16 -07:00