Roger Pack
|
b44d124700
|
add some notes to the tests
|
2009-04-21 15:08:40 +00:00 |
|
Roger Pack
|
c5042772b5
|
add some comments to the C code. take out come compiler warnings, add some notes.
|
2009-04-21 02:54:29 +00:00 |
|
Roger Pack
|
d40d8ff323
|
create an automated test, somewhat automated it seems impossible to actually interrupt mysql real_connect
|
2009-04-21 02:17:44 +00:00 |
|
Roger Pack
|
d1433a549e
|
attempt to not blow up on ctrl+c during connect--that might have been a problem
|
2009-04-21 02:13:24 +00:00 |
|
Roger Pack
|
52d95ff3e8
|
better exception message on collision with mysql gem
|
2009-04-21 01:41:06 +00:00 |
|
oldmoe
|
de93dd90a9
|
fixed typo in error message
|
2009-04-20 15:35:31 -07:00 |
|
Roger Pack
|
731baec31e
|
update TODO
|
2009-04-18 23:10:14 +00:00 |
|
Roger Pack
|
49726a5d80
|
minor cleanup
|
2009-04-18 23:07:30 +00:00 |
|
Roger Pack
|
021cd36670
|
add test runner for all
|
2009-04-18 23:06:12 +00:00 |
|
Roger Pack
|
e14c8b9876
|
share test create db code, add a comment for the rb_thread_blocking_region helper in the C code
|
2009-04-18 22:55:17 +00:00 |
|
Roger Pack
|
f9c62edae3
|
add instructions to the test_all_hashes test
|
2009-04-18 22:50:45 +00:00 |
|
Roger Pack
|
0f14fb920c
|
add an assertion for the out_of_sync_test
|
2009-04-18 22:42:12 +00:00 |
|
Roger Pack
|
0fa6f9f30f
|
remove the require rubygems from test, so that we can have more control over which version is being tested
|
2009-04-18 22:39:12 +00:00 |
|
Roger Pack
|
aab6964387
|
overcome a ruby warning message
|
2009-04-18 22:36:55 +00:00 |
|
Roger Pack
|
f910919ffc
|
take out begins_with_insensitive--never liked that thing, anyway, and turned out to not be the real bug
|
2009-04-18 22:36:16 +00:00 |
|
Roger Pack
|
c235dcdf46
|
overcome merge conflicts
|
2009-04-18 22:35:02 +00:00 |
|
Roger Pack
|
e4bb045695
|
overcome a merge conflict which wasn't one
|
2009-04-18 22:24:31 +00:00 |
|
Roger Pack
|
497be9ca26
|
Merge branch '19_non_gvl_connect_original'
|
2009-04-18 22:23:17 +00:00 |
|
Aman Gupta
|
6768cc73dc
|
Update gemspec
|
2009-03-22 19:17:07 -07:00 |
|
Roger Pack
|
3198fc25e7
|
add docu on how to use within rails--hopefully this is right
|
2009-01-31 20:15:37 +00:00 |
|
Roger Pack
|
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
|
2009-01-29 23:53:48 +00:00 |
|
Aman Gupta
|
bb63b9d78c
|
remove misleading comments from tests
|
2009-01-25 13:00:34 -08:00 |
|
Aman Gupta
|
e259f9507e
|
improve extconf glob to find osx stock installs (/usr/local/mysql-5.0.51b-osx10.5-x86/bin/mysql_config)
|
2009-01-25 13:00:28 -08:00 |
|
Aman Gupta
|
8320b50e64
|
update extconf to look in common mysql installation paths
|
2009-01-23 22:14:38 -08:00 |
|
Roger Pack
|
f44f9c6d13
|
update some tests
|
2009-01-12 18:42:46 +00:00 |
|
unknown
|
9471ee3629
|
use c_async_query by default
|
2009-01-12 11:18:58 -07:00 |
|
unknown
|
edff42ab2c
|
use c_async_query by default
|
2009-01-12 11:18:33 -07:00 |
|
unknown
|
b80dcb437e
|
add todo list
|
2009-01-12 11:16:10 -07:00 |
|
Roger Pack
|
98373d7b15
|
take out the rb gc for now, until I can merge in Lourens' stuff, and also add a test for multiple queries
|
2009-01-08 06:30:24 +00:00 |
|
Roger Pack
|
d2549f3907
|
remove test output
|
2008-12-20 23:07:21 +00:00 |
|
Roger Pack
|
9f677c3047
|
resolve merge conflicts
|
2008-12-20 23:03:56 +00:00 |
|
Roger Pack
|
9d88487022
|
add test for when a db isn't there
|
2008-12-20 22:59:35 +00:00 |
|
Hongli Lai (Phusion)
|
dcb1e10c16
|
Fix various compiler warnings.
|
2008-11-18 19:23:31 +01:00 |
|
Hongli Lai (Phusion)
|
8a758f77e3
|
When in Ruby 1.9, release the global interpreter lock while performing a query, so that other threads can still run.
|
2008-11-18 19:18:51 +01:00 |
|
Hongli Lai (Phusion)
|
1af96063be
|
Fix compilation on Ruby 1.9.
|
2008-11-18 18:56:40 +01:00 |
|
Lourens Naude
|
79f742908d
|
Use rb_thread_alone exclusively to determine if the query should be Thread scheduled
|
2008-11-01 17:12:03 +00:00 |
|
Roger Pack
|
8099da577d
|
allow the 19_non_gvl branch to work with 1.8, also fix some warnings
|
2008-10-31 12:37:00 -06:00 |
|
Lourens Naude
|
57712a64e6
|
Conditional schedule cleanup
|
2008-10-31 15:48:28 +00:00 |
|
Lourens Naude
|
4640893f27
|
Do not schedule in a single threaded environment
|
2008-10-31 15:09:33 +00:00 |
|
Lourens Naude
|
48a61dd627
|
Introduce Mysql#idle? && Mysql#busy? as Threaded connection pool helpers for Mysql#c_async_query
|
2008-10-20 01:46:03 +01:00 |
|
Lourens Naude
|
1af85383eb
|
Applied Roger's async validation patch, with a minimal test case
|
2008-10-19 23:17:42 +01:00 |
|
Lourens Naude
|
9d66a3b71e
|
Piggy back schedule loop on MYSQL_STATUS_READY
|
2008-10-19 23:04:33 +01:00 |
|
Lourens Naude
|
e81e145c15
|
Prefer Objects to GC as label
|
2008-10-09 02:13:40 +01:00 |
|
Lourens Naude
|
a9fea270f5
|
Better GC stats
|
2008-10-09 02:01:57 +01:00 |
|
Lourens Naude
|
35d2545c17
|
Selective enable || disable GC for result retrieval with Mysql#disable_gc = true|false
|
2008-10-08 22:11:14 +01:00 |
|
Lourens Naude
|
8e6f300f9d
|
Introduce Mysql#reconnected?
|
2008-10-08 17:09:47 +01:00 |
|
Lourens Naude
|
f57c2a6576
|
Let #c_async_query support a block syntax that yields the result; ensure async in progress is negated by #get_result
|
2008-10-08 05:17:01 +01:00 |
|
Lourens Naude
|
4e5967bd24
|
Do not schedule && retrieve the result if #query_with_result is false
|
2008-10-06 23:32:43 +01:00 |
|
Roger Pack
|
1404c2bc44
|
code cleanup, since rb_thread_blocking_region actually returns the value of the function passed to it
|
2008-10-03 14:11:11 -06:00 |
|
Lourens Naude
|
85141abf09
|
Validate async queries
|
2008-10-02 01:56:10 +01:00 |
|