Ben Hood
|
80a547fbcd
Merge remote-tracking branch 'upstream/master' into expose_query_info
|
11 years ago |
Ben Hood
|
62dab2c16e
Merge remote-tracking branch 'upstream/master' into expose_query_info
|
11 years ago |
Ben Hood
|
b38f2d96fd
Only read result column meta data for v2 of the protocol
|
11 years ago |
Ben Hood
|
43db64a4a5
Read both the query argument and the result metadata
|
11 years ago |
Ben Hood
|
1113314503
Added godocs
|
11 years ago |
Ben Hood
|
f71c8bb773
The binding callback can now return an error, which will in turn bubble up to the app
|
11 years ago |
Ben Hood
|
0e07643a92
Added behavioral test to validate whether *queryInfo should indeed include a non-empty return value args
|
11 years ago |
Ben Hood
|
65ecc5f847
Minor refactoring to make it clearer to see what is going on with this reflection
|
11 years ago |
Ben Hood
|
fbe9be1b5d
Removed duplicate *Iter instance
|
11 years ago |
Ben Hood
|
2934f540f2
Batches are not supported so well in Cassandra 1.x
|
11 years ago |
Ben Hood
|
85fd5630d7
Added Bind() to Batch interface
|
11 years ago |
Ben Hood
|
cd3415a9a3
Implemented a test that uses the query info in conjunction with relfection to build out a more realistic use case
|
11 years ago |
Ben Hood
|
5be3fcc634
Alternative attempt to expose query binding meta data to the application
|
11 years ago |
Christoph Hack
|
5bddcc16ca
Merge branch 'master' into wikitest
|
11 years ago |
Christoph Hack
|
37d5560df8
separated wiki tests, added benchmarks
|
11 years ago |
Phillip Couto
|
d0d29fe034
Added skip statements for tests that use batch api when the protocol version is 1.
|
11 years ago |
Ben Hood
|
5e5d698a1b
Added query args length check to batch statements
|
11 years ago |
Ben Hood
|
553692227e
Merge upstream master
|
11 years ago |
Phillip Couto
|
748034ee86
Removed unnecessary continue statement in test.
|
11 years ago |
Ben Hood
|
fd4c545aed
Fixed some typos and gave a test a better name
|
11 years ago |
Ben Hood
|
4f4ae8a6ec
Split test out into separate tests for too few and too many query args
|
11 years ago |
Phillip Couto
|
4062d94387
Changed test code from t.Errorf to t.Fatalf to fail fast.
|
11 years ago |
Ben Hood
|
c0a8e9a153
Removed extraneous query args that cause the test to fail now that the arg length is being checked
|
11 years ago |
Ben Hood
|
7fd92f1209
Introduce handling for query argument length mismatches
|
11 years ago |
Ben Hood
|
13dd738da1
Added a test to verify the bug described by #191
|
11 years ago |
Phillip Couto
|
ea643e3daa
Refactored test code so a single test is used to validate the LRU functionality.
|
11 years ago |
Phillip Couto
|
ff6a780869
Extended the TestPreparedEviction test to include testing the accuracy of the cache eviction process.
|
11 years ago |
Phillip Couto
|
567a7eaaba
Moved preparedLRU definition to cluster.go as it seems more fitting. Reduced scope of locking for the prepared statement cache in the error handling code when executing batch statement. Improved the test cases.
|
11 years ago |
Phillip Couto
|
7d8a91b15d
Created lru cache using the groupcache/lru package.
|
11 years ago |
Nimi Wariboko Jr
|
11820ec241
Refactor reprepare statement tests
|
11 years ago |