Commit Briefs

Sergey Bronnikov

molly: add a log iterator (master)

The patch add a generator which, when asked for an operation, logs a message and yields `nil`.


Sergey Bronnikov

molly: add a mix iterator

The patch add a function that takes a random mixture of a number generators and chooses between them uniformly.


Sergey Bronnikov

molly: propagate luafun iterators


Sergey Bronnikov

molly: add a CAS-register generator

The patch add a generator that produces concurrent atomic updates to a shared register.


Sergey Bronnikov

molly: fix a typo in a comment


Sergey Bronnikov

make: bump luacheck version

Bump luacheck version to v1.2.0 [1]. 1. https://github.com/lunarmodules/luacheck/releases/tag/v1.2.0


Sergey Bronnikov

ci: add workflow that builds documentation



Sergey Bronnikov

test/examples: get rid of dead code


Sergey Bronnikov

doc: bump copyright year


Sergey Bronnikov

molly: fix module name in comments


Sergey Bronnikov

test: use precompiled statements in examples

Prepared statements improve performance by caching the execution plan for a query after the query optimizer has found the best plan. However, with simple queries (such as simple selects/inserts with no joins) prepared statements won't give a big improvement since the optimizer will quickly find the best plan. This commit enables using prepared statements in test examples and renames SQLite helpers.




Sergey Bronnikov

molly: fix generator in the test list-append

list-append generator was broken, proposed commit fixes it and now an example from documentation works fine: > log = require('log') > tests = require('molly.tests') > for _it, v in tests.list_append_gen() do log.info(v()) end Fixes #3


Sergey Bronnikov

molly: fix executing of method close

- Fix executing of a `close` method due to early return - Add logging to client methods - Fix errors in test examples Fix #2


Sergey Bronnikov

molly: fix indentation


Sergey Bronnikov

Release 0.1.0 (tags/0.1.0)


Sergey Bronnikov

Initial version