Ben Hood
|
80a547fbcd
Merge remote-tracking branch 'upstream/master' into expose_query_info
|
11 年之前 |
Ben Hood
|
62dab2c16e
Merge remote-tracking branch 'upstream/master' into expose_query_info
|
11 年之前 |
Ben Hood
|
b38f2d96fd
Only read result column meta data for v2 of the protocol
|
11 年之前 |
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 年之前 |