Commit Graph

  • f0e7e4a425 fix load path in benchmark scripts Brian Lopez 2010-07-08 23:26:18 -0700
  • 023f85704f sort benchmarks Brian Lopez 2010-07-08 23:14:26 -0700
  • 9818f1a0df tenderlove and mperham deserve some credit for sure Brian Lopez 2010-07-08 23:14:15 -0700
  • 52f42ba38b make sure the setup_db script can find the library Brian Lopez 2010-07-08 22:56:42 -0700
  • ab032b99db make sure the query string is converted to the connection's encoding before it's handed to libmysql Brian Lopez 2010-07-08 22:51:19 -0700
  • e385e7cf6b Initial refactor of encoding support to ensure we map Ruby encodings to MySQL encodings properly. Brian Lopez 2010-07-08 22:22:20 -0700
  • 3f2e948c5f Support for asynchronous ActiveRecord via Fibers and EM mperham 2010-07-09 05:40:20 +0800
  • 39b4776a67 the AR adapter's #select_rows method should be returning an array of arrays (thanks to r-stu31 for the patch) Brian Lopez 2010-07-08 09:18:58 -0700
  • a265d36571 spec helper is in the load path, so no need for expand_path funny business Aaron Patterson 2010-07-06 15:41:44 -0700
  • c38525d11a extracting Mysql2::Result class to be inside result.c Aaron Patterson 2010-07-06 14:21:58 -0700
  • a6b1247ede partial implementation of result in Ruby Aaron Patterson 2010-07-06 13:16:49 -0700
  • f836d0cf68 forgot to update this Aaron Patterson 2010-07-04 19:36:06 -0700
  • 74e99bae5f refactoring initialize to be done in ruby, adding setter methods for connection options Aaron Patterson 2010-07-04 19:29:12 -0700
  • e7b43a8c41 StringValuePtr() will automatically do Check_Type() for us Aaron Patterson 2010-07-02 09:58:46 -0700
  • ff55ef5c87 remove mysql2_client_wrapper struct, refactor open connection requirement to a macro Aaron Patterson 2010-07-01 10:01:19 -0700
  • 8c96aa1fcd refactoring C to use the allocate function Aaron Patterson 2010-06-30 13:12:47 -0700
  • 40f3a2c491 default the username to 'root' if nothing was specified Brian Lopez 2010-06-30 10:47:53 -0700
  • 6ef738200d moving the error class to ruby Aaron Patterson 2010-06-30 10:10:59 -0700
  • 925b1b13fd moving mysql dylib under lib/mysql2 to match installation Aaron Patterson 2010-06-30 10:04:40 -0700
  • 0b36eae450 moving requires to the .rb files Aaron Patterson 2010-06-30 09:36:42 -0700
  • 062b83062f fix gemspec due to some file renaming Brian Lopez 2010-06-29 23:02:21 -0700
  • 77cd0c435d symbolize keys for the Sequel adapter Eric Wong 2010-06-28 17:20:52 -0700
  • 3468f12a83 small refactor of extconf.rb Aaron Patterson 2010-06-30 08:51:27 +0800
  • 04b9fe17cc made extension more rake-compiler friendly, made the spec task depend on "compile" Aaron Patterson 2010-06-30 08:06:39 +0800
  • fdf3e53933 add Mysql2::Client#fields method Brian Lopez 2010-06-19 16:24:02 -0700
  • d033823b3c respect Encoding.default_internal for strings returned by Mysql2::Client#info and Mysql2::Client#server_info Brian Lopez 2010-06-14 18:14:28 -0700
  • d1379d2fdd update readme for encoding changes Brian Lopez 2010-06-13 16:28:53 -0700
  • 6751a98873 use Encoding.default_internal Brian Lopez 2010-06-13 15:50:03 -0700
  • ef37f7ef76 spec fix for ruby 1.9.2+ Brian Lopez 2010-06-13 14:50:02 -0700
  • bd3c39f819 formatting Brian Lopez 2010-06-11 08:51:55 -0700
  • d4beaf3059 apply proper fix for timezone support, and fix specs accordingly Brian Lopez 2010-06-08 15:16:37 -0700
  • 5d8346cf38 typo in readme Brian Lopez 2010-06-02 00:46:08 -0700
  • e6d406b0b0 yury's been doing all kinds of work with the AR adapter, credit overdue Brian Lopez 2010-06-02 00:44:44 -0700
  • e835c4b2b2 update readme to reflect most current state of facts Brian Lopez 2010-06-02 00:41:04 -0700
  • d7e0d551f8 update files for 0.1.8 release 0.1.8 Brian Lopez 2010-06-02 00:37:59 -0700
  • e5c8f89fc9 Version bump to 0.1.8 Brian Lopez 2010-06-02 00:35:49 -0700
  • d3db7ec52a fixes for running benchmarks in 1.9.2 preview3 Brian Lopez 2010-06-01 23:45:48 -0700
  • 82718e6dad fix specs under 1.9.2 preview3 Brian Lopez 2010-06-01 23:40:16 -0700
  • 39c894a1bd use Time.zone instead Brian Lopez 2010-06-01 15:01:21 -0700
  • c7e9ecdcbd fix timezone handling in the AR adapter Brian Lopez 2010-06-01 11:17:59 -0700
  • f89d2b257b update files for 0.1.7 release 0.1.7 Brian Lopez 2010-05-22 12:32:27 -0700
  • b51d709f6e Version bump to 0.1.7 Brian Lopez 2010-05-22 12:31:58 -0700
  • 49e50cad14 we don't need the connection around after a disconnect Brian Lopez 2010-05-22 11:56:23 -0700
  • b82e307931 more laziness clarification Brian Lopez 2010-05-16 00:28:10 -0700
  • 82c40620ad some notes about being lazy Brian Lopez 2010-05-16 00:13:18 -0700
  • d67e7eda20 update files for 0.1.6 release 0.1.6 Brian Lopez 2010-05-14 18:23:13 -0700
  • 1895401272 Version bump to 0.1.6 Brian Lopez 2010-05-14 18:19:27 -0700
  • b676a33bf9 Revert "optimize casting to it only happens for default values" Brian Lopez 2010-05-14 17:37:09 -0700
  • 48db8907be optimize casting to it only happens for default values Brian Lopez 2010-05-14 16:23:03 -0700
  • 86b9ffefe9 fix another typo in the AR adapter Brian Lopez 2010-05-14 12:36:22 -0700
  • 24a6393d7f fix a few typos in the Sequel adapter Brian Lopez 2010-05-13 02:04:49 -0700
  • cf87d9d783 fix typo Brian Lopez 2010-05-13 00:18:21 -0700
  • 6b285dcd85 minor refactor to casting code to better match what the MysqlAdapter does, removing unneeded checks Brian Lopez 2010-05-13 00:13:55 -0700
  • 1f7ff62c8b update gemspec to include new error spec Brian Lopez 2010-05-12 23:50:00 -0700
  • ea56862ec4 add sql_state and error_number methods to Mysql2::Error Brian Lopez 2010-05-12 23:40:18 -0700
  • 87f23f4db4 no need to force GC Brian Lopez 2010-05-12 23:37:20 -0700
  • 6736071ff1 assign Qnil for safety Brian Lopez 2010-05-12 23:05:55 -0700
  • 69b9c587ad make sure we raise exceptions early and often if the connection has been closed Brian Lopez 2010-05-12 23:05:33 -0700
  • a577f09fb0 make sure we override index creation for mysql Brian Lopez 2010-05-12 22:34:53 -0700
  • 5b41082aba use new close method for disconnecting where we can Brian Lopez 2010-05-12 22:09:06 -0700
  • e01c7581e5 unfortunately ActiveRecord does casting *all over the place* so I need to also fully override type_cast_code as well Brian Lopez 2010-05-12 21:24:52 -0700
  • af2dd0d7f9 give Eric props for his work Brian Lopez 2010-05-12 14:14:52 -0700
  • fc6c4641e8 bump version in gemspec 0.1.5 Brian Lopez 2010-05-12 14:09:47 -0700
  • a03b776037 Version bump to 0.1.5 Brian Lopez 2010-05-12 14:09:30 -0700
  • ec00873181 make Mysql2::Client destructor safely non-blocking Eric Wong 2010-05-10 14:09:21 -0700
  • 46021b9351 fix boolean casts Brian Lopez 2010-05-10 01:18:05 -0700
  • 1dc3410a24 finally fix casting/attributes issue due to a lexical typo Brian Lopez 2010-05-09 23:48:49 -0700
  • 10df5216c8 fix gemspec Brian Lopez 2010-05-07 08:26:06 -0700
  • 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 Brian Lopez 2010-05-07 00:21:54 -0700
  • 03c8d5dcea update benchmark results in readme Brian Lopez 2010-05-06 16:41:57 -0700
  • edd8aa2773 Merge remote branch 'origin/master' into thread-signal-safety Brian Lopez 2010-05-06 16:37:02 -0700
  • 30e06479e0 add raw driver benchmark with casting for the mysql gem Brian Lopez 2010-05-06 00:09:18 -0700
  • d9200c43b4 add raw driver benchmark with casting for the mysql gem Brian Lopez 2010-05-06 00:09:18 -0700
  • f2a731e0a7 Fix memory leak from the result wrapper struct itself Eric Wong 2010-05-05 18:26:29 -0700
  • 4ac62c1333 correctly free the wrapped result in case of EOF Eric Wong 2010-05-05 17:59:14 -0700
  • 1d92db8aab add Mysql2::Client#close method Eric Wong 2010-05-05 17:38:08 -0700
  • f7a6b49cbd [cleanup] make all C symbols static Eric Wong 2010-05-05 15:35:49 -0700
  • 081eea9a9c [cleanup] quiet down warnings Eric Wong 2010-05-05 15:30:34 -0700
  • 59a823b6d5 release GVL for possibly blocking mysql_* library calls Eric Wong 2010-05-05 14:26:22 -0700
  • fa213c9892 wrap mysql_real_connect with rb_thread_blocking_region Eric Wong 2010-05-05 11:57:37 -0700
  • 33e0b9ea51 fix bug in show_variable method of AR adapter Brian Lopez 2010-05-04 09:02:11 -0700
  • dfca514562 make specs a little finer grained, fix a few issues found along the way Brian Lopez 2010-04-29 10:01:25 -0700
  • 61e748ddc4 add another check for valid datetime/timestamps. move to sscanf for datetime parsing Brian Lopez 2010-04-29 00:45:13 -0700
  • 869783107d add undefined ref to PRIMARY const in AR adapter Brian Lopez 2010-04-27 22:44:12 -0700
  • 46020e5ef5 add initial Sequel adapter Brian Lopez 2010-04-25 23:13:27 -0700
  • 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)"" Brian Lopez 2010-04-25 21:45:40 -0700
  • f6d62225ee update AR benchmark to better reflect typecasting Brian Lopez 2010-04-25 21:45:26 -0700
  • 39cfbe9824 updating files for 0.1.4 release 0.1.4 Brian Lopez 2010-04-23 17:49:19 -0700
  • deb8f43d93 Version bump to 0.1.4 Brian Lopez 2010-04-23 17:36:12 -0700
  • 30f1ff55fc bring the rest of the mysql adapter in, making the mysql2 adapter stand-alone Brian Lopez 2010-04-23 00:33:22 -0700
  • a3bcec4fb4 wording clarification on readme Brian Lopez 2010-04-22 14:24:11 -0700
  • 06fd523608 update benchmark results in readme Brian Lopez 2010-04-22 13:57:34 -0700
  • 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)" Brian Lopez 2010-04-22 12:37:05 -0700
  • c05138e328 build and use a cache of field names for results Brian Lopez 2010-04-22 11:56:18 -0700
  • aa9f435141 fix a stupid bug when freeing the C result Brian Lopez 2010-04-22 11:55:03 -0700
  • 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) Brian Lopez 2010-04-21 10:28:25 -0700
  • eefa443c2e Implement a local resultset cache so we can free the mysql C result once we've cached it's rows in ruby land. This allows the caller to iterate over the Mysql2::Result instance as many times as they want, lazily pulling what rows are needed from the mysql C result. Brian Lopez 2010-04-21 01:32:54 -0700
  • efc66b6c06 update benchmark scripts Brian Lopez 2010-04-21 01:31:46 -0700
  • d7c146e322 updating files for 0.1.3 release 0.1.3 Brian Lopez 2010-04-15 13:35:42 -0700
  • 7caf1b6b6a Version bump to 0.1.3 Brian Lopez 2010-04-15 13:03:21 -0700