- May 21, 2012
-
-
Konstantin Shulgin authored
The nullify potential unsafe (in security mind) functions was moved from box.lua to separate functions which calls after init.lua. It allows call require, os.execute, and another unsafe function in init.lua.
-
Konstantin Osipov authored
-
pcherenkov authored
-
Pavel Cherenkov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
- May 18, 2012
-
-
pcherenkov authored
-
Pavel Cherenkov authored
-
Pavel Cherenkov authored
-
- May 17, 2012
-
-
Konstantin Osipov authored
Add Request object with method execute. Allocate Requests on fiber->gc_pool. Clear txn from request data. Make txn commit/rollback algorithm independent on the actual request or request data. Update valgrind suppressions with new call paths.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Rename a global variable, which had too common name, to avoid easy to miss bugs.
-
Pavel Cherenkov authored
-
Yuriy Nevinitsin authored
-
- May 16, 2012
-
-
Konstantin Osipov authored
Continue cherry-picking refactoring ideas from txn-refine tree. We only needed to store txn in fiber because in port_lua implementation we needed to access lua_State. Instead of keeping this indirect dependency, pass around ports explicitly. On the same token, make ports Objective C classes: this is necessary to make them stateful. In port_lua state keep a pointer to lua thread, and allocate a new port_lua instance on each lbox_process call. The port is currently allocated on fiber->gc_pool and never destroyed.
-
Yuriy Nevinitsin authored
-
pcherenkov authored
-
pcherenkov authored
-
pcherenkov authored
-
Pavel Cherenkov authored
-
Pavel Cherenkov authored
-
- May 15, 2012
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
We needed to have txn_cleanup() only because a tuple which was read in txn was used in fiber->io_vec. Decouple txn and network I/O and make sure we can commit/rollback txn whenever we like, regardless of what is given to fiber->iovec. @todo: perhaps we need to optimize performance of port cleanup for big selects.
-
Konstantin Osipov authored
Rename classes in *.rl file. Patch valgrind suppressions.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
We don't use box_ prefix consistently, so don't use it at all. Remove box_ prefix from box_tuple and box_txn.
-
Yuriy Nevinitsin authored
-
- May 14, 2012
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Move out from box.m INSERT/UPDATE/SELECT/DELETE/CALL implementation.
-
Pavel Cherenkov authored
-
Konstantin Osipov authored
-
Pavel Cherenkov authored
-
Pavel Cherenkov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
- May 13, 2012
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
- May 12, 2012
-
-
Konstantin Osipov authored
Cherry-picking code from txn-refine. Remove an extra member in struct box_txn. Rename txn->tuple to txn->new_tuple.
-