Nimi Wariboko Jr
|
5cf06ce3d8
Move up check for error status of prepareStatement to before access of info.
|
před 11 roky |
Ben Hood
|
aa38232411
Export all fields of the QueryInfo struct
|
před 11 roky |
Ben Hood
|
80a547fbcd
Merge remote-tracking branch 'upstream/master' into expose_query_info
|
před 11 roky |
Ben Hood
|
62dab2c16e
Merge remote-tracking branch 'upstream/master' into expose_query_info
|
před 11 roky |
Ben Hood
|
b38f2d96fd
Only read result column meta data for v2 of the protocol
|
před 11 roky |
Ben Hood
|
43db64a4a5
Read both the query argument and the result metadata
|
před 11 roky |
Ben Hood
|
1113314503
Added godocs
|
před 11 roky |
Ben Hood
|
f71c8bb773
The binding callback can now return an error, which will in turn bubble up to the app
|
před 11 roky |
Ben Hood
|
85fd5630d7
Added Bind() to Batch interface
|
před 11 roky |
Ben Hood
|
5be3fcc634
Alternative attempt to expose query binding meta data to the application
|
před 11 roky |
Christoph Hack
|
8a46f2c8b7
dropped go 1.1, added go 1.3 and tip
|
před 11 roky |
Ben Hood
|
5e5d698a1b
Added query args length check to batch statements
|
před 11 roky |
Ben Hood
|
553692227e
Merge upstream master
|
před 11 roky |
Ben Hood
|
7fd92f1209
Introduce handling for query argument length mismatches
|
před 11 roky |
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.
|
před 11 roky |
Phillip Couto
|
7d8a91b15d
Created lru cache using the groupcache/lru package.
|
před 11 roky |
Nimi Wariboko
|
9a7025c769
Check if flight or flight.info is not nil. Without this check a panic then subsequent deadlock can occur
|
před 11 roky |
Nimi Wariboko Jr
|
225752acef
Replace case that was made invalid when error structs were exposed to conn.executeQuery for ErrUnprepared.
|
před 11 roky |
Nimi Wariboko Jr
|
5f2aeff0ed
If a batch fails because of an unprepared statement, reprepare the statement and redo the batch.
|
před 11 roky |
Ben Hood
|
142a1f6f39
Merge pull request #161 from ChannelMeter/error_response_refactor
|
před 11 roky |
Nimi Wariboko Jr
|
ebd7b8e505
Updated conn.go to use new error syntax
|
před 11 roky |
Phillip Couto
|
3783dd1c40
Created the Connection Pool interface and converted the existing connection pool logic to a SimplePool interface.
|
před 11 roky |
Miguel Serrano
|
e93451502d
Remove check for available streams
|
před 11 roky |
mihasya
|
818bd933bd
provide some details when encountering a protocol error
|
před 11 roky |
Harpreet Sawhney
|
e2550da4d8
un exporting the shouldQuery method
|
před 11 roky |
Harpreet Sawhney
|
6ed2c7d73f
(cleanup) move shouldPrepare func to being a Query type method
|
před 11 roky |
Harpreet Sawhney
|
5cbfbc041f
(cleanup) breaking out compressor from conn
|
před 11 roky |
Phillip Couto
|
466e11f6c4
Merge pull request #144 from phillipCouto/prevent_use_keyspace
|
před 11 roky |
Phillip Couto
|
5cf7b6ee4c
Cleaned up code to streamline the connection being added to the pool and removed code related to old keyspace behaviour.
|
před 11 roky |
Chris Bannister
|
abb0fcdcb0
Fix data race when reading conn.isClosed
|
před 11 roky |