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