Commit Graph

16 Commits

Author SHA1 Message Date
Keith Bostic
cc0d34b093 WT-2471: review WiredTiger "int" printf formats 2016-03-11 16:02:41 -05:00
Keith Bostic
344a714c3d Upgrade copyright notices from 2015 to 2016. 2016-01-01 16:37:39 -05:00
Alex Gorrod
402d127174 Lint in example code. 2015-09-22 09:47:11 +10:00
Don Anderson
9d95941803 Modified extractor example to show all presidents corresponding to
a given year, not just the first one found.
2015-05-29 09:08:25 -04:00
Keith Bostic
5022f37666 Use srand/rand instead of srandom/random, it's more portable and
this is just example code.
2015-05-14 13:30:37 -04:00
Keith Bostic
1f9098871a Copyright notices: add MongoDB, update to 2015. 2015-01-04 14:07:56 -05:00
Keith Bostic
4be80fafae Custom-extractor lint, whitespace, reference #1215. 2014-11-04 07:43:44 -05:00
Michael Cahill
18ef03e308 Implement @agorrod's review comments, add a check that custom extractors don't repeat primary key columns. 2014-11-04 15:55:30 +11:00
Michael Cahill
44bdd8c271 Fix the extractor example, remove a debugging message.
* * *
warning: 64-bit implicit cast.
2014-10-17 17:09:14 +11:00
Michael Cahill
79b96b481b More implementation of custom extractors: pass the number of columns calculated by index creation through to the open, use that to generate correct key formats and a plan that can extract the primary key. 2014-10-10 23:41:39 +11:00
Michael Cahill
0437d9a966 More implementation of the custom extractor API. Still working on generating plans and key formats between index creation and open.
refs #1199
2014-10-09 23:57:24 +11:00
Susan LoVerso
839c4910b2 Fix bug setting extractor key to year. Add debug and remove support. 2014-10-08 12:16:04 -04:00
Michael Cahill
0a45ac39d4 Simplify the custom extractor API so that:
1. it makes direct calls to WT_CURSOR::insert, addressing issues with memory management; and
2. it can repeat this multiple times synchronously rather than needing an additional interface for multiple keys.

Fill in some more of the implementation.
2014-10-07 22:06:10 +11:00
Susan LoVerso
99259e0357 Flesh out extractor example program. 2014-09-23 11:33:09 -04:00
Susan LoVerso
453cd29b96 Add more to extractor example. 2014-09-22 15:25:09 -04:00
Alex Gorrod
f7f41cfddd Add example of how to use custom extractor. 2014-09-22 18:26:15 +10:00