[tarantool-patches] [PATCH 0/3] Ephemeral tables perf leak & next rowid bug

AKhatskevich avkhatskevich at tarantool.org
Thu Mar 29 13:17:49 MSK 2018


Key points:
 - creater issue #3297 (OP_NextIdEphemeral produces wrong rowids)
 - #3297 fixed for the most common case (but there still is code
  in select.c which may fail because of the bug); the fix just
  allocates register and increments it before each insert
 - small mem leak fixed

AKhatskevich (3):
  sql: Generate rowid by counter
  sql: fix memory leak
  sql: report errors in EphemeralGetMaxId

 src/box/sql.c        |  4 +++-
 src/box/sql/insert.c | 10 +++++++++-
 src/box/sql/select.c |  6 +++---
 3 files changed, 15 insertions(+), 5 deletions(-)

-- 
2.14.1





More information about the Tarantool-patches mailing list