- Sep 20, 2011
-
-
Konstantin Osipov authored
-
- Sep 19, 2011
-
-
Konstantin Osipov authored
Remove the restriction on type of primary key index. Fix a compilation error.
-
Konstantin Osipov authored
Implement iterator over HASH index, and use it in mod_snapshot() and build_indexes().
-
Konstantin Osipov authored
Change signature of index_tree_el_init, avoid unnecessary use of palloc(), preallocate buffers for reads and writes instead.
-
- Sep 16, 2011
-
-
Konstantin Osipov authored
Reorganize loops in build_indexes() to avoid redundancy.
-
- Sep 15, 2011
-
-
Konstantin Osipov authored
Rearrange code in build_indexes() to avoid extra loops.
-
Konstantin Osipov authored
Split build_indexes() into two functions, to avoid 4 levels of nesting. No functional changes.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Eliminate server start/stop/deploy cycle for blueprint 'tree-primary-key' tests. Move the tests to box_big suite. Add coverage.
-
Konstantin Osipov authored
Rename tree_index_member to index_tree_el. Realign code to fit 80 columns. The patch doesn't change code in any way, only performs a rename. Remove an unused box_hook_t declaration.
-
- Sep 14, 2011
-
-
Konstantin Osipov authored
Use method name that don't make me bite my tongue when reading the code. Use subject-verb-object scheme prevalent in most languages. When subject is a compound, use class-order-family-genus-specie to identify it fully.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
A fix for Bug#850031 "Assertion failure in iproto_interact()". Fix fiber_bread() to read at_least bytes, not buf->len - at_least bytes, as it used to work before. Many places that call fiber_bread rely on this.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Print userdata for index in a non-suggestive, but informative way.
-
Konstantin Shulgin authored
-
- Sep 13, 2011
-
-
Konstantin Osipov authored
https://blueprints.launchpad.net/tarantool/+spec/tree-primary-key: Allow "TREE" index type for primary key: code review.
-
Konstantin Osipov authored
Conflicts: mod/box/box.m mod/box/index.m
-
Konstantin Osipov authored
-
- Sep 12, 2011
-
-
Konstantin Osipov authored
Allow to invoke insert/update/delete/select/replace directly on box.space objects. Add box.space[i]:len(), which returns the number of tuples in the space. Add rudimentary index object support. Add tests.
-
- Sep 08, 2011
-
-
Dmitry Simonenko authored
-
- Sep 06, 2011
-
-
Konstantin Osipov authored
Implement INSERT command in Box. Minor cleanups in Lua.
-
Konstantin Osipov authored
-
- Sep 02, 2011
-
-
Konstantin Osipov authored
https://blueprints.launchpad.net/tarantool/+spec/namespace-to-space Rename 'namespace' to 'space' everywhere: in configuration, in implementation, in documentation.
-
Konstantin Osipov authored
Add access to space configuration to Lua. Make configuration in Lua read-only.
-
Konstantin Osipov authored
Provide access to server configuration in Lua.
-
- Aug 31, 2011
-
-
Konstantin Osipov authored
https://bugs.launchpad.net/tarantool/+bug/730613 Document Bug#730613, "SELECT with a disjunction on multiple keys returns matching tuples twice".
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
- Aug 30, 2011
-
-
Konstantin Shulgin authored
-
Dmitry Simonenko authored
-
- Aug 29, 2011
-
-
Konstantin Osipov authored
Now that confetti supports it, use boolean for true/false yes/no config options. Update the manual accordingly.
-
Konstantin Shulgin authored
test environment: - luajit suppressions was added.
-
Konstantin Osipov authored
Install a filter to not include a local path into a test results. Fix the code which allocates Lua coroutines to properly destroy them: the old code could destroy the same coroutine twice, or never at all.
-
Konstantin Osipov authored
-
- Aug 27, 2011
-
-
Konstantin Osipov authored
Remove auto-generation of tarantool_box_cfg.cfg. This was intended as a sample configuration file, but it is no longer syntactically correct, and thus can not be used. Besides, there are now semantical rules on top of the syntax restrictions (e.g. you can't define memcached_expire on a replica), which also make the auto-generated config incorrect. Remove it to not mislead first-time users into trying it out.
-
Konstantin Osipov authored
Implement box.unpack() to be able to convert integers, packed into a tuple, to Lua numbers
-
- Aug 25, 2011
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Fix a bug when Lua transaction was rolled back twice when Lua procedure was invoked from CALL. Change the way arguments to and from CALL statement in the binary protocol are passed: we used to pass everything from the wire as a single binary blob. Now every field of the received tuple is passed in as a separate string argument. Everything passed back from Lua is converted to a tuple. This makes CALL response similar to one of SELECT. Improve box.pack() to convert its argument to integer when necessary. Add an argument count check to box.pack(). Additionally, now box.pack() can be used to pack operations of 'UPDATE'. Use tarantool_lua_tostring() in iov_add_ret(): this function is now used to convert return values to the binary protocol in box_lua.m. This is necessary if we try to send boolean or nil over the binary wire, since Lua C API lua_tostring() does not convert them. Add box.lua - a system Lua script compiled into Tarantool and containing a bunch of Lua code preloaded at startup. Populate box.lua with implementation of basic Lua functions: box.select(), box.update(), box.replace(), box.insert() (currently an alias for box.replace()), box.delete(). They are all wrappers around box.process(). Move box_lua_init() to the beginning of mod_init(), since Lua in future can be used in recover(). Fix a wrong assumption about the contents of Lua stack in iov_add_multret(). Update sql.g Python SQL grammar to allow an empty argumeent list for procedure in CALL statement. Add initial documentation on Lua procedures. Add more Lua tests. Unrelated: rename INSERT to REPLACE, and UPDATE_FIELDS to UPDATE. Remove SELECT_LIMIT, which is not used any more.
-