Commit Graph

241 Commits

Author SHA1 Message Date
Justin Nuß
439bce4bdc avoid one allocation when binding structs 2017-12-15 09:51:32 +01:00
Michał Matczuk
3a3f0a8f1d travis: set go to 1.x 2017-11-16 13:11:00 +01:00
Michał Matczuk
cdb91625bf qb: batch add ability to add raw statements 2017-11-16 13:08:23 +01:00
Josh Giles
cbe2659e0d Do not release queries in Get/Select. Fix #25
Releasing query objects in Get/Select could easily lead to
double-releases, which can cause dangerous and tricky data races.

Remove the query field of Iterx and its usages (all release-related).
This is a breaking API change, because it removes the exported method
ReleaseQuery.

Update documenting examples to demonstrate the deferred query release
pattern clients can use to manage query release.
2017-11-13 10:13:38 +01:00
Michał Matczuk
255429a93c Merge pull request #20 from danielsoro/move-var-to-const
Moving var to const for migration's info query and schema
2017-10-26 09:38:02 -07:00
Daniel Cunha (soro)
d14aa34200 Moved var to const 2017-10-25 09:28:13 -02:00
Michał Matczuk
a66169d3ba Update iterx.go
iter: doc update
2017-10-02 12:46:25 +02:00
Michał Matczuk
f7ee069da9 readme: title rename to GoCQLX 2017-10-02 09:35:19 +02:00
Michał Matczuk
04179dd2d0 readme: license update 2017-09-28 15:33:13 +02:00
Michał Matczuk
1bcd8714dc Merge pull request #18 from scylladb/mmt/select_err_not_found
iterx: ErrNotFound for Get only
2017-09-28 15:20:18 +02:00
Michał Matczuk
3ce82982bb iterx: ErrNotFound for Get only 2017-09-28 15:10:47 +02:00
Michał Matczuk
9604635e8e migrate: renamed table 2017-09-25 10:01:48 +02:00
Michał Matczuk
f2af2384ed iter: ErrNotFound bug fix 2017-09-22 15:02:12 +02:00
Michał Matczuk
eef2c77a26 test-fixtures renamed to testdata 2017-09-22 14:30:04 +02:00
Michał Matczuk
33a8025b32 Merge pull request #17 from scylladb/mmt/migrate
migrate
2017-09-22 14:28:13 +02:00
Michał Matczuk
8da6902469 travis: drop of go 1.7 2017-09-22 14:11:44 +02:00
Michał Matczuk
3351b1f9a3 migrate 2017-09-22 14:05:26 +02:00
Michał Matczuk
fd5efe40eb Merge pull request #16 from scylladb/mmt/counters
qb advanced updates
2017-09-22 09:54:18 +02:00
Michał Matczuk
557674a886 qb: update builder advanced assignments 2017-09-22 09:48:19 +02:00
Michał Matczuk
fdb26806a9 qb: extracted function from cmp 2017-09-22 09:35:02 +02:00
Michał Matczuk
9e40fcfed4 license: added license header 2017-09-21 21:43:27 +02:00
Michał Matczuk
0b29eb569a makefile: check split 2017-09-21 21:33:43 +02:00
Michał Matczuk
46603152a1 error: %s replaced with %q in missing field errors 2017-09-21 21:29:44 +02:00
Michał Matczuk
faa3a42062 readme fix 2017-08-31 16:50:06 +02:00
Michał Matczuk
196bc4e87c Merge pull request #14 from scylladb/mmt/batch_fix
batch: extracted AddWithPrefix
2017-08-30 16:29:26 +02:00
Michał Matczuk
c4886ff8da batch: extracted AddWithPrefix 2017-08-30 16:26:30 +02:00
Michał Matczuk
11aa459275 Merge pull request #13 from scylladb/mmt/func
Cmp functions support
2017-08-30 16:10:59 +02:00
Michał Matczuk
0779ef4bf4 cmp: example update 2017-08-30 16:05:24 +02:00
Michał Matczuk
ea8a9e9845 cmp: token builder 2017-08-30 16:05:14 +02:00
Michał Matczuk
2e903a54e0 cmp: functions support 2017-08-30 16:05:14 +02:00
Michał Matczuk
995a93e49b travis: go 1.9 2017-08-30 12:23:50 +02:00
Michał Matczuk
943e9d2cc0 Merge pull request #12 from scylladb/mmt/query_prt
query: Query return ptr
2017-08-24 12:47:08 +02:00
Michał Matczuk
1da2c19fe8 query: Query return ptr 2017-08-24 12:32:37 +02:00
Michał Matczuk
73666e5f16 Merge pull request #9 from scylladb/mmt/asf_tm
notice update
2017-08-24 12:22:26 +02:00
Michał Matczuk
10fe08845f Merge pull request #11 from scylladb/mmt/err_not_found
Return ErrNotFound for no results
2017-08-24 11:02:10 +02:00
Michał Matczuk
e079a7b36a iter: return ErrNotFound for no results 2017-08-24 10:53:56 +02:00
Michał Matczuk
ff828f9198 notice update 2017-08-24 09:56:45 +02:00
Michał Matczuk
4025a4d426 docs: whitespace fix 2017-08-23 16:07:55 +02:00
Michał Matczuk
0aeec73b2a Merge pull request #10 from scylladb/mmt/unsafe
iter: unsafe
2017-08-23 15:36:25 +02:00
Michał Matczuk
4be0a35207 iter: unsafe 2017-08-23 15:26:16 +02:00
Michał Matczuk
de9287b6e7 queryx: exec release 2017-08-22 11:36:21 +02:00
Michał Matczuk
4708de6653 Merge pull request #8 from scylladb/mmt/batch
Batch statement support
2017-08-03 18:58:51 +02:00
Michał Matczuk
bc289ada45 doc: example and readme fixes 2017-08-03 18:53:04 +02:00
Michał Matczuk
804cfad37c qb: batch builder 2017-08-03 18:46:29 +02:00
Michał Matczuk
8d47a6d133 qb: fixed benchmarks 2017-08-03 17:02:22 +02:00
Michał Matczuk
91cb873025 benchmark: longer benchmark with reduced allocations 2017-08-03 13:50:34 +02:00
Michał Matczuk
257c06efb4 Merge pull request #7 from scylladb/mmt/select
select: reduce allocations and improve code structure
2017-08-03 13:30:28 +02:00
Michał Matczuk
a4a965f662 get: rename v to value follow select 2017-08-03 12:06:02 +02:00
Michał Matczuk
3b6b4ff687 select: reduce allocations and improve code structure 2017-08-03 12:02:23 +02:00
Michał Matczuk
456ce5e2f4 updated e2e benchmarks for new Scylla 2017-08-02 13:55:03 +02:00