Commit Graph

  • be4fffe220 changing gem name back to make it work with bundler master John Bintz 2010-11-17 11:24:53 -0500
  • 2eb503a89d when a mysql directory is specified in the lib list, tell the linker to add that directory to the compiled library's LD_RUN_PATH John Bintz 2010-11-17 11:18:42 -0500
  • a6bdcfb673 version bump Jeremy Suriel 2010-07-06 15:21:27 -0400
  • dd5b61c9a9 reference ruby 1.9 encoding mysql-ruby project in readme Jeremy Suriel 2010-07-06 15:20:14 -0400
  • 0d334c5077 update gemspec for gemcutter Jeremy Suriel 2010-07-06 15:19:05 -0400
  • bfd0e9b5f0 update gemspec for gemcutter Jeremy Suriel 2010-07-06 15:17:52 -0400
  • 8920f77c69 Jeremy Suriel 2010-07-06 11:43:13 -0700
  • 6651972045 Determine mysql config (from original branch) Jeremy Suriel 2010-07-03 23:01:44 -0400
  • 13bec8bd19 Added Encoding awareness for Ruby 1.9. Convert all data to default external encoding Jeremy Suriel 2010-07-03 22:28:24 -0400
  • 2daef86c48 gemspec now compatible with bundler Filip Tepper 2010-05-18 15:47:53 +0200
  • e283a6d89f add note of other helpful utilities Roger Pack 2009-05-22 20:29:04 +0000
  • 482fd82d83 allow the gem to compile, also ensure it requires our version of mysql.so Roger Pack 2009-05-13 00:23:47 +0000
  • b44d124700 add some notes to the tests Roger Pack 2009-04-21 15:08:40 +0000
  • c5042772b5 add some comments to the C code. take out come compiler warnings, add some notes. Roger Pack 2009-04-21 02:54:29 +0000
  • d40d8ff323 create an automated test, somewhat automated it seems impossible to actually interrupt mysql real_connect Roger Pack 2009-04-21 02:17:44 +0000
  • d1433a549e attempt to not blow up on ctrl+c during connect--that might have been a problem Roger Pack 2009-04-21 02:13:24 +0000
  • 52d95ff3e8 better exception message on collision with mysql gem Roger Pack 2009-04-21 01:41:06 +0000
  • de93dd90a9 fixed typo in error message oldmoe 2009-04-20 15:35:31 -0700
  • 731baec31e update TODO Roger Pack 2009-04-18 23:10:14 +0000
  • 49726a5d80 minor cleanup Roger Pack 2009-04-18 23:07:30 +0000
  • 021cd36670 add test runner for all Roger Pack 2009-04-18 23:06:12 +0000
  • e14c8b9876 share test create db code, add a comment for the rb_thread_blocking_region helper in the C code Roger Pack 2009-04-18 22:55:17 +0000
  • f9c62edae3 add instructions to the test_all_hashes test Roger Pack 2009-04-18 22:50:45 +0000
  • 0f14fb920c add an assertion for the out_of_sync_test Roger Pack 2009-04-18 22:42:12 +0000
  • 0fa6f9f30f remove the require rubygems from test, so that we can have more control over which version is being tested Roger Pack 2009-04-18 22:39:12 +0000
  • aab6964387 overcome a ruby warning message Roger Pack 2009-04-18 22:36:55 +0000
  • f910919ffc take out begins_with_insensitive--never liked that thing, anyway, and turned out to not be the real bug Roger Pack 2009-04-18 22:36:16 +0000
  • c235dcdf46 overcome merge conflicts Roger Pack 2009-04-18 22:35:02 +0000
  • e4bb045695 overcome a merge conflict which wasn't one Roger Pack 2009-04-18 22:24:31 +0000
  • 497be9ca26 Merge branch '19_non_gvl_connect_original' Roger Pack 2009-04-18 22:23:17 +0000
  • 6768cc73dc Update gemspec Aman Gupta 2009-03-22 19:17:07 -0700
  • 3198fc25e7 add docu on how to use within rails--hopefully this is right Roger Pack 2009-01-31 20:15:37 +0000
  • 91179231f0 add small documentation, also raise with a useful message if they require mysqlplus after mysql--don't know if that works with 1.9 but it does with 1.8.x Roger Pack 2009-01-29 23:53:48 +0000
  • bb63b9d78c remove misleading comments from tests Aman Gupta 2009-01-25 12:59:25 -0800
  • e259f9507e improve extconf glob to find osx stock installs (/usr/local/mysql-5.0.51b-osx10.5-x86/bin/mysql_config) Aman Gupta 2009-01-25 12:58:46 -0800
  • 8320b50e64 update extconf to look in common mysql installation paths Aman Gupta 2009-01-23 22:14:38 -0800
  • f44f9c6d13 update some tests Roger Pack 2009-01-12 18:42:46 +0000
  • 9471ee3629 use c_async_query by default unknown 2009-01-12 11:18:58 -0700
  • edff42ab2c use c_async_query by default unknown 2009-01-12 11:18:33 -0700
  • b80dcb437e add todo list unknown 2009-01-12 11:16:10 -0700
  • 98373d7b15 take out the rb gc for now, until I can merge in Lourens' stuff, and also add a test for multiple queries Roger Pack 2009-01-08 06:30:24 +0000
  • d2549f3907 remove test output 19_non_gvl_connect Roger Pack 2008-12-20 23:07:21 +0000
  • 9f677c3047 resolve merge conflicts Roger Pack 2008-12-20 23:03:56 +0000
  • 9d88487022 add test for when a db isn't there Roger Pack 2008-12-20 22:59:35 +0000
  • dcb1e10c16 Fix various compiler warnings. Hongli Lai (Phusion) 2008-11-18 19:23:31 +0100
  • 8a758f77e3 When in Ruby 1.9, release the global interpreter lock while performing a query, so that other threads can still run. Hongli Lai (Phusion) 2008-11-18 19:18:51 +0100
  • 1af96063be Fix compilation on Ruby 1.9. Hongli Lai (Phusion) 2008-11-18 18:56:40 +0100
  • 79f742908d Use rb_thread_alone exclusively to determine if the query should be Thread scheduled with_async_validation Lourens Naude 2008-11-01 17:12:03 +0000
  • 8099da577d allow the 19_non_gvl branch to work with 1.8, also fix some warnings Roger Pack 2008-10-31 12:37:00 -0600
  • 57712a64e6 Conditional schedule cleanup Lourens Naude 2008-10-31 15:48:28 +0000
  • 4640893f27 Do not schedule in a single threaded environment Lourens Naude 2008-10-31 15:09:33 +0000
  • 48a61dd627 Introduce Mysql#idle? && Mysql#busy? as Threaded connection pool helpers for Mysql#c_async_query Lourens Naude 2008-10-20 01:46:03 +0100
  • 1af85383eb Applied Roger's async validation patch, with a minimal test case Lourens Naude 2008-10-19 23:17:42 +0100
  • 9d66a3b71e Piggy back schedule loop on MYSQL_STATUS_READY Lourens Naude 2008-10-19 23:04:33 +0100
  • e81e145c15 Prefer Objects to GC as label Lourens Naude 2008-10-09 02:13:40 +0100
  • a9fea270f5 Better GC stats Lourens Naude 2008-10-09 02:01:57 +0100
  • 35d2545c17 Selective enable || disable GC for result retrieval with Mysql#disable_gc = true|false Lourens Naude 2008-10-08 22:11:14 +0100
  • 8e6f300f9d Introduce Mysql#reconnected? Lourens Naude 2008-10-08 17:09:47 +0100
  • f57c2a6576 Let #c_async_query support a block syntax that yields the result; ensure async in progress is negated by #get_result Lourens Naude 2008-10-08 05:17:01 +0100
  • 4e5967bd24 Do not schedule && retrieve the result if #query_with_result is false Lourens Naude 2008-10-06 23:32:43 +0100
  • 1404c2bc44 code cleanup, since rb_thread_blocking_region actually returns the value of the function passed to it Roger Pack 2008-10-03 14:11:11 -0600
  • 85141abf09 Validate async queries Lourens Naude 2008-10-02 01:56:10 +0100
  • a1d10c140b take out some compiler warnings Roger Pack 2008-10-01 16:30:45 -0600
  • 4ff863b4f9 code cleanup to avoid warnings Roger Pack 2008-10-01 08:09:55 -0600
  • ce962ebc7d add in a function to make real_connect non blocking Roger Pack 2008-09-30 22:35:59 -0600
  • ee9cf7c47e overcome another merge conflict Roger Pack 2008-09-30 17:04:06 -0600
  • 63114d674c overcome extconf conflict Roger Pack 2008-09-30 17:02:58 -0600
  • cf86732d4a switch to c based all_hashes Roger Pack 2008-09-30 16:59:51 -0600
  • ab757bdf9d rename RB_UBF_DFL to RUBY_UBF_IO Roger Pack 2008-09-24 11:01:57 -0600
  • f73ba931ef overcome conflict 19_full_thread_no_gil Roger Pack 2008-09-24 11:01:14 -0600
  • c17d4b6a7a fixing cflags humanzz 2008-09-14 15:00:29 +0200
  • c186184809 extconf fix oldmoe 2008-09-10 22:42:11 +0200
  • 25a76a4d8b Better performance without the tight loop Lourens Naude 2008-09-10 15:02:42 +0100
  • 3c5dd38037 Extract thread scheduler Lourens Naude 2008-09-10 01:26:01 +0100
  • 6884d454bc Use TCP_NODELAY if supported; Remove file descriptor ops from the tight loop; Cleanup timeout assignment; Split the threaded test suite in native and c to avoid a large number of active Threads affecting results.Add experimental Mysql#socket_type which typically returns 'socket (x)', but may be helpful for debugging purposes. Lourens Naude 2008-09-10 00:33:18 +0100
  • 02e265072c update the RB_UBF_DL for more recent versions of Ruby 1.9, which doesn't have it Roger Pack 2008-09-08 12:39:00 -0600
  • 16d9c043c2 Merge branch 'master' into 19_full_thread_no_gil Roger Pack 2008-09-08 12:17:20 -0600
  • 6c2b9ecb84 Merge branch 'master' of git@github.com:oldmoe/mysqlplus Roger Pack 2008-09-08 12:10:17 -0600
  • b1bf771d6f add back in all_hashes method--this time hopefully with the right line lengths Roger Pack 2008-09-08 12:10:12 -0600
  • f077108a69 Introduce configureable query overheads and contexts in the test wrapper in preparation for timeout tests. Lourens Naude 2008-09-08 17:45:00 +0100
  • ea2965270c Decouple native Ruby Mysql#async_query from the C extension as per Roger's suggestion.Remove no-op c_mysql_query flag for evented tests. Lourens Naude 2008-09-08 17:27:11 +0100
  • b9285dbcb7 Merge branch 'master' of git@github.com:oldmoe/mysqlplus Roger Pack 2008-09-08 09:46:05 -0600
  • f6f460a542 Implement Mysql#async_query as a tight loop ( 1.8 && 1.9 compatible, evented && threaded tests passing ) Lourens Naude 2008-09-08 03:56:59 +0100
  • 55411cd9d4 Introduce Mysql#blocking?; Set the file drescriptor for all new connections to non blocking; Add tests to the existing evented and threaded runs. ( verified 1.8 && 1.9 ) Lourens Naude 2008-09-08 01:48:47 +0100
  • 26202b3ddb Assume blank password Lourens Naude 2008-09-06 17:21:36 +0100
  • 70c58ce67a Allow tests to run with either the native Ruby or C based Mysql#async_query Lourens Naude 2008-09-06 17:17:06 +0100
  • e79b6291a3 overcome merge conflict Roger Pack 2008-09-05 20:16:08 -0600
  • c4df361449 rename all hashes to all_hashes_experimental, revert each_hash to its previous behavior Roger Pack 2008-09-05 20:13:46 -0600
  • c695d4d842 Merge branch 'master' of git@github.com:oldmoe/mysqlplus oldmoe 2008-09-06 03:59:41 +0200
  • 8e1cd8ea20 fix for corrupted utf-8 results oldmoe 2008-09-06 03:59:20 +0200
  • dd4a5d8f4b Merge branch 'master' of git@github.com:oldmoe/mysqlplus Lourens Naude 2008-09-06 00:57:20 +0100
  • 91d9096b14 Extract base klasses for cleaner implementation testing; DRY up existing threaded && evented tests Lourens Naude 2008-09-06 00:54:48 +0100
  • 951fa1d272 Access the file descriptor directly from the MySQL net structure Lourens Naude 2008-09-06 00:01:09 +0100
  • 19b4b10d27 Sneak in optional timeout argument as a stub to the C version of Mysql.send_query Lourens Naude 2008-09-05 23:55:00 +0100
  • 866f4cfa3e add Lourens to contrib Roger Pack 2008-09-05 13:54:28 -0600
  • 58d416e929 Experimental build && test tasks Lourens Naude 2008-09-05 18:23:47 +0100
  • 02e8481161 all_hashes now returns an empty array on empty results oldmoe 2008-09-05 05:59:33 +0200
  • 4108162bbb updated gemspec to reflect the makefile removal oldmoe 2008-09-05 05:56:40 +0200
  • 7aed51b58f remove makefile oldmoe 2008-09-05 05:51:25 +0200
  • 62f58cf2c3 remove makefile oldmoe 2008-09-05 05:50:27 +0200