Oliver Beattie
|
779e083198
Use constant for default max prepared statements
|
10 years ago |
Oliver Beattie
|
241b2b965e
Fix a panic establishing sessions using NewSession
|
10 years ago |
Phillip Couto
|
0b7c9be389
Moved address formatting logic to separate function. Added unit testing to prevent regression.
|
11 years ago |
Phillip Couto
|
c21472de6c
Added AvailableStreams function to Conn structure.
|
11 years ago |
xoraes
|
ee57399ba2
fixed to ensure that cacert is optional and added comments on usage
|
11 years ago |
xoraes
|
096ad18ea1
Merge branch 'master' of https://github.com/gocql/gocql
|
11 years ago |
Nick DHUPIA
|
12fdedb378
added ssl/tls feature for gocql
|
11 years ago |
Muir Manders
|
763d85a2a1
Fix prepared statement caching bug.
|
11 years ago |
Phillip Couto
|
2e9ee30926
Added code to pass on flight.err
|
11 years ago |
Nimi Wariboko Jr
|
5cf06ce3d8
Move up check for error status of prepareStatement to before access of info.
|
11 years ago |
Ben Hood
|
aa38232411
Export all fields of the QueryInfo struct
|
11 years ago |
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
|
85fd5630d7
Added Bind() to Batch interface
|
11 years ago |
Ben Hood
|
5be3fcc634
Alternative attempt to expose query binding meta data to the application
|
11 years ago |
Christoph Hack
|
8a46f2c8b7
dropped go 1.1, added go 1.3 and tip
|
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 |
Ben Hood
|
7fd92f1209
Introduce handling for query argument length mismatches
|
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
|
9a7025c769
Check if flight or flight.info is not nil. Without this check a panic then subsequent deadlock can occur
|
11 years ago |
Nimi Wariboko Jr
|
225752acef
Replace case that was made invalid when error structs were exposed to conn.executeQuery for ErrUnprepared.
|
11 years ago |
Nimi Wariboko Jr
|
5f2aeff0ed
If a batch fails because of an unprepared statement, reprepare the statement and redo the batch.
|
11 years ago |
Ben Hood
|
142a1f6f39
Merge pull request #161 from ChannelMeter/error_response_refactor
|
11 years ago |
Nimi Wariboko Jr
|
ebd7b8e505
Updated conn.go to use new error syntax
|
11 years ago |