Commit Graph

  • b99e0a057a add LD_RUN_PATH when using hard coded mysql paths master John Bintz 2010-12-07 10:24:30 -0500
  • 52f62c8b44 compiler warnings are annoying Brian Lopez 2010-11-27 14:56:05 -0800
  • 66f595a406 Merge branch 'em_fiber' of https://github.com/dj2/mysql2 into dj2-em_fiber Brian Lopez 2010-11-27 14:46:34 -0800
  • 5f6ff0d4a8 forgot to remove debug dan sinclair 2010-11-27 15:32:54 -0500
  • 80697d11b2 we don't need to print the error here as the caller should be handling that on their own the way they want to Brian Lopez 2010-11-27 11:10:18 -0800
  • dac2f02c9b if no reactor use synch query dan sinclair 2010-11-26 22:42:34 -0500
  • 9d49728c30 add em_fiber spec dan sinclair 2010-11-26 22:42:09 -0500
  • c2e2f0c46c add fibered em connection without activerecord dj2 2010-11-26 10:52:09 -0500
  • 550c68cade Fix to install with MariDB on Windows Youhei Kondou 2010-11-13 17:47:58 +0900
  • d48846f13b add support for :read_timeout to be set on a connection Brian Lopez 2010-11-09 12:27:04 -0800
  • 99766a2303 mysql_num_fields returns an unsigned int Brian Lopez 2010-10-31 12:37:53 -0700
  • badc5e04e3 resultFreed flag only needs to be one byte Brian Lopez 2010-10-31 12:34:18 -0700
  • 974a5658d6 active and closed flags only need to be one byte Brian Lopez 2010-10-31 12:31:54 -0700
  • 60b8d061ac mysql_errno returns an unsigned int Brian Lopez 2010-10-31 12:24:27 -0700
  • 2b37ace3dc only set binary ruby encoding on fields that have a binary flag *and* encoding set Brian Lopez 2010-10-31 12:11:20 -0700
  • 1057f976d0 ensure the query is a string earlier in the Mysql2::Client#query codepath for 1.9 Brian Lopez 2010-10-31 10:11:49 -0700
  • 90ddb63e52 use our own index def class for better compatibility across ActiveRecord versions Brian Lopez 2010-10-27 15:36:25 -0700
  • 426cff8adc bump to 0.2.6 to push fixed win32 gems 0.2.6 Brian Lopez 2010-10-19 17:24:55 -0700
  • f79bf6261e Version bump to 0.2.6 Brian Lopez 2010-10-19 17:23:43 -0700
  • 05df9e312d update files for 0.2.5 release 0.2.5 Brian Lopez 2010-10-19 16:33:07 -0700
  • 60fd02ebe6 Version bump to 0.2.5 Brian Lopez 2010-10-19 16:32:42 -0700
  • 7e75f5ed4c make sure we always set wait_timeout even if a bad value was given Brian Lopez 2010-10-19 08:21:41 -0700
  • e7dcf37bd4 fix to CFLAGS to allow compilation on SPARC with sunstudio compiler Anko painting 2010-10-18 18:33:34 -0700
  • f6d7e877b2 Merge branch 'master' into stmt stmt Brian Lopez 2010-10-18 12:15:35 -0700
  • 0b3b63305e only use wait_timeout if it's a Fixnum Brian Lopez 2010-10-18 12:15:16 -0700
  • 47405ae1f0 update gemspec from file updates Brian Lopez 2010-10-18 06:59:19 -0700
  • a8041fed21 no need to invalidate the FD now that we're only modifying it once, in one place Brian Lopez 2010-10-17 18:13:04 -0700
  • e823b9ec0d no need to check if the FD is >= 0 now that we centralized the close/free logic. Once closed, none of that code will run again Brian Lopez 2010-10-17 18:12:02 -0700
  • c8020f29ac wording fix in readme Brian Lopez 2010-10-17 17:58:00 -0700
  • 6c4fd8a9ca merging in latest from master Brian Lopez 2010-10-17 17:43:24 -0700
  • 3c6959a8bb prevent the GC from freeing a connection that hasn't been allocated yet Brian Lopez 2010-10-17 17:35:41 -0700
  • 410e914411 only run the EM specs if EM is installed Brian Lopez 2010-10-17 17:34:34 -0700
  • 3b6229771a remove benchmark that tested code that has since been removed Brian Lopez 2010-10-17 17:34:21 -0700
  • 0ae583fe64 since we free the connection on close, there's no reason to have both flags Brian Lopez 2010-10-17 16:59:50 -0700
  • 22c9ff48a8 some more rspec2 changes, organize rake tasks Brian Lopez 2010-10-17 16:51:14 -0700
  • 0a7e7ee475 centralize closing and freeing logic for connections Brian Lopez 2010-10-17 16:34:49 -0700
  • ba4f3612b6 move to rspec2 Brian Lopez 2010-10-17 16:34:09 -0700
  • 4a5fcbae09 Merge branch 'master' into stmt Brian Lopez 2010-10-15 22:38:06 -0700
  • 841ee2bba4 make sure we invalidate the closed FD in case it's value is reused on a new connection Brian Lopez 2010-10-15 22:37:51 -0700
  • ddcd1064cd Merge branch 'master' into stmt Brian Lopez 2010-10-15 16:19:11 -0700
  • 6e5cda6a52 avoid potential race-condition with closing a connection Brian Lopez 2010-10-15 12:27:52 -0700
  • 832eb2d247 add option for setting the wait_timeout in the AR adapter (this can be done in database.yml) Brian Lopez 2010-10-15 07:45:07 -0700
  • c394122fd9 add some more defaults to the connect flags Brian Lopez 2010-10-14 23:38:25 -0700
  • a6b5e9c28c add connect_flags to default options and add REMEMBER_OPTIONS to that list. fix NUM2INT to be NUM2ULONG as it should be for flags Brian Lopez 2010-10-14 08:12:52 -0700
  • 7169649857 free the client after close if we can Brian Lopez 2010-10-13 15:25:37 -0700
  • 225ddadaf7 forgot to remove this Brian Lopez 2010-10-13 15:18:12 -0700
  • 0d1e9916bf get rid of double-pointer casting Brian Lopez 2010-10-13 15:17:35 -0700
  • a17ba07c75 a couple of minor updates to connection management with some specs Brian Lopez 2010-10-06 10:33:52 -0700
  • f9d30e8f85 check for error from mysql_affected_rows call Brian Lopez 2010-10-05 23:36:37 -0700
  • 40f0cd012c change connection check symantecs Brian Lopez 2010-10-05 23:36:05 -0700
  • 7b6d210c97 Merge branch 'master' into stmt Brian Lopez 2010-10-05 17:14:45 -0700
  • 687487d5a5 Detach before executing callbacks. Anton Mironov 2010-09-27 21:46:30 +0800
  • 2ae908c512 make sure we don't hit a race condition if this EM spec is taking longer to run than normal Brian Lopez 2010-09-27 13:25:10 -0700
  • 4383885634 was in a hurry earlier Brian Lopez 2010-09-27 13:24:37 -0700
  • 307b92b966 whoops, lost this line in a previous patch Brian Lopez 2010-09-27 11:17:47 -0700
  • 7787f25f3f Attempt to enable static linking for Windows static-link Luis Lavena 2010-09-26 17:26:05 -0300
  • 685538ce52 Dry windows configuration options Luis Lavena 2010-09-26 17:25:23 -0300
  • 553c9a77c3 Inject 1.8/1.9 pure-ruby entry point during xcompile Luis Lavena 2010-09-26 17:14:52 -0300
  • 95db3c74df Use MySQL 5.1.51 now from available mirror Luis Lavena 2010-09-26 17:09:25 -0300
  • 39a28c4a91 Merge branch 'master' into stmt Brian Lopez 2010-09-24 14:39:21 -0700
  • ba41a5a24e final rake task changes for fat binary support on windows Brian Lopez 2010-09-18 23:50:05 -0700
  • 84dc998a3b adding a task for fat binary shim Aaron Patterson 2010-09-18 13:36:39 -0700
  • 50775163ed prepare for 0.2.4 release 0.2.4 Brian Lopez 2010-09-17 10:19:16 -0700
  • 26650c8c05 Version bump to 0.2.4 Brian Lopez 2010-09-17 10:13:10 -0700
  • dc9164d016 re-fix some compiler warnings Brian Lopez 2010-09-14 22:27:18 -0700
  • e7924df06a make sure we only attempt to close/free the MYSQL pointer once Brian Lopez 2010-09-14 22:27:07 -0700
  • 5cadce3417 fix bug in rb_mysql_client_free Brian Lopez 2010-09-14 20:51:21 -0700
  • 05c942a668 Fix macros and associated semicolons Joe Damato 2010-09-14 19:14:07 -0700
  • 7b8d6359c2 Fix data corruption bug Joe Damato 2010-09-14 18:01:14 -0700
  • 0f0bd5a001 set IndexDefinition#length Kouhei Yanagita 2010-09-04 20:39:55 +0800
  • b1b66cc389 enable cross-compilation Brian Lopez 2010-09-09 07:35:31 -0700
  • 64be4019ad work around an rbx bug (it's going to be fixed in rbx soon anyhow) Brian Lopez 2010-09-07 15:43:22 -0700
  • 530b082905 Revert "remove cached values for better rbx compatibility (this may come back in the near future)" Brian Lopez 2010-09-07 15:38:08 -0700
  • d12c5e2e27 remove cached values for better rbx compatibility (this may come back in the near future) Brian Lopez 2010-09-04 11:51:55 -0700
  • c110d0d263 rbx doesn't have rb_obj_dup yet Brian Lopez 2010-09-04 11:50:54 -0700
  • 9b401ba9b9 take advantage of DO API in benchmark Brian Lopez 2010-09-04 10:08:24 -0700
  • 98fbeb6f64 add aliases for Mysql compatibility Brian Lopez 2010-09-01 11:42:16 -0700
  • ae6c33a13f add cache_rows option to enable/disable internal row caching for results Brian Lopez 2010-08-27 12:08:48 -0700
  • 10222fb455 appease the rdoc.info godz Brian Lopez 2010-08-24 20:59:17 -0700
  • 3b2e7602a0 formatting fix so I collapse in TM Brian Lopez 2010-08-24 09:27:29 -0700
  • 1100288eba avoid stack overflow when escaping large strings Eric Wong 2010-08-24 04:07:55 +0000
  • 4f9625f877 Wrap fcntl to exclude Windows. Luis Lavena 2010-08-21 22:39:41 -0300
  • b3ec7b57de Bumped MySQL version 5.1.50 for Windows Luis Lavena 2010-08-21 22:38:21 -0300
  • 39ea9c6bdb Merge branch 'master' into stmt Brian Lopez 2010-08-20 20:24:37 -0700
  • 17cabf5559 update files for 0.2.3 release 0.2.3 Brian Lopez 2010-08-20 20:24:00 -0700
  • 15da806495 Version bump to 0.2.3 Brian Lopez 2010-08-20 20:23:38 -0700
  • dd5f563554 make sure we respect application_timezone for DateTime values as well Brian Lopez 2010-08-20 15:13:08 -0700
  • e56c79894c fix compiler warning Brian Lopez 2010-08-20 12:08:29 -0700
  • a19888e939 Make sure we switch over to the DateTime class for DATETIME/TIMESTAMP columns that are out of the supported range for 32bit platforms Brian Lopez 2010-08-20 12:07:27 -0700
  • c5f2eb7f3f adding FOUND_ROWS to the client flags Aaron Patterson 2010-08-20 10:14:49 -0700
  • 9a84f88d90 Merge branch 'master' into stmt Brian Lopez 2010-08-20 10:07:26 -0700
  • ce77899848 connection flags can be passed to the constructor Aaron Patterson 2010-08-20 09:56:36 -0700
  • 864cf0f291 exposing client flags Aaron Patterson 2010-08-20 09:36:15 -0700
  • a684efd696 xfree or die hard Aaron Patterson 2010-08-20 09:16:22 -0700
  • 4935931431 update files for 0.2.2 release 0.2.2 Brian Lopez 2010-08-19 16:03:43 -0700
  • 554837a932 Version bump to 0.2.2 Brian Lopez 2010-08-19 16:03:29 -0700
  • 8e81dcb053 retry connect if interrupted by signals Eric Wong 2010-08-19 14:16:02 -0700
  • 8bfbfa2708 fix signal handling when waiting on queries Eric Wong 2010-08-18 19:06:05 -0700
  • d990f68320 slight refactor of how initial commands were being sent Brian Lopez 2010-08-18 12:46:39 -0700
  • 60c33be87c multiple variable assignments can done in a single query Brian Lopez 2010-08-17 22:55:31 -0700