Skip to content
Snippets Groups Projects
Commit 4aa49563 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Remove unnecessary headers. Add a comment.

parent eca33152
No related branches found
No related tags found
No related merge requests found
......@@ -642,6 +642,10 @@ static int lbox_process(lua_State *L)
rw_callback(op, &req);
} @finally {
fiber->mod_data.txn = old_txn;
/*
* This only works as long as port_lua doesn't
* use fiber->cleanup and fiber->gc_pool.
*/
ptruncate(fiber->gc_pool, allocated_size);
}
return lua_gettop(L) - top;
......
......@@ -28,9 +28,8 @@
*/
#include "port.h"
#include <pickle.h>
#include <fiber.h>
#include <tarantool_lua.h>
#include "request.h"
#include "txn.h"
#include "tuple.h"
#include "box_lua.h"
#include "lua.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment