Ben Hood
|
43db64a4a5
Read both the query argument and the result metadata
|
пре 11 година |
Ben Hood
|
1113314503
Added godocs
|
пре 11 година |
Ben Hood
|
f71c8bb773
The binding callback can now return an error, which will in turn bubble up to the app
|
пре 11 година |
Ben Hood
|
0e07643a92
Added behavioral test to validate whether *queryInfo should indeed include a non-empty return value args
|
пре 11 година |
Ben Hood
|
65ecc5f847
Minor refactoring to make it clearer to see what is going on with this reflection
|
пре 11 година |
Ben Hood
|
fbe9be1b5d
Removed duplicate *Iter instance
|
пре 11 година |
Ben Hood
|
2934f540f2
Batches are not supported so well in Cassandra 1.x
|
пре 11 година |
Ben Hood
|
85fd5630d7
Added Bind() to Batch interface
|
пре 11 година |
Ben Hood
|
cd3415a9a3
Implemented a test that uses the query info in conjunction with relfection to build out a more realistic use case
|
пре 11 година |
Ben Hood
|
5be3fcc634
Alternative attempt to expose query binding meta data to the application
|
пре 11 година |
Christoph Hack
|
5bddcc16ca
Merge branch 'master' into wikitest
|
пре 11 година |
Christoph Hack
|
37d5560df8
separated wiki tests, added benchmarks
|
пре 11 година |
Phillip Couto
|
d0d29fe034
Added skip statements for tests that use batch api when the protocol version is 1.
|
пре 11 година |
Ben Hood
|
5e5d698a1b
Added query args length check to batch statements
|
пре 11 година |
Ben Hood
|
553692227e
Merge upstream master
|
пре 11 година |
Phillip Couto
|
748034ee86
Removed unnecessary continue statement in test.
|
пре 11 година |
Ben Hood
|
fd4c545aed
Fixed some typos and gave a test a better name
|
пре 11 година |
Ben Hood
|
4f4ae8a6ec
Split test out into separate tests for too few and too many query args
|
пре 11 година |
Phillip Couto
|
4062d94387
Changed test code from t.Errorf to t.Fatalf to fail fast.
|
пре 11 година |
Ben Hood
|
c0a8e9a153
Removed extraneous query args that cause the test to fail now that the arg length is being checked
|
пре 11 година |
Ben Hood
|
7fd92f1209
Introduce handling for query argument length mismatches
|
пре 11 година |
Ben Hood
|
13dd738da1
Added a test to verify the bug described by #191
|
пре 11 година |
Phillip Couto
|
ea643e3daa
Refactored test code so a single test is used to validate the LRU functionality.
|
пре 11 година |
Phillip Couto
|
ff6a780869
Extended the TestPreparedEviction test to include testing the accuracy of the cache eviction process.
|
пре 11 година |
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 година |
Phillip Couto
|
7d8a91b15d
Created lru cache using the groupcache/lru package.
|
пре 11 година |
Nimi Wariboko Jr
|
11820ec241
Refactor reprepare statement tests
|
пре 11 година |
Nimi Wariboko Jr
|
91a482abd0
Use Pool.Pick() rather than Node.Pick()
|
пре 11 година |
Nimi Wariboko Jr
|
3fe06b71f8
Add tests to ensure queries are re-prepared
|
пре 11 година |
Ben Hood
|
aee32f3a71
Change name of table used for paging test
|
пре 11 година |