Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/3] Ephemeral tables perf leak & next rowid bug
@ 2018-03-29 10:17 AKhatskevich
  2018-03-29 10:17 ` [tarantool-patches] [PATCH 1/3] sql: Generate rowid by counter AKhatskevich
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: AKhatskevich @ 2018-03-29 10:17 UTC (permalink / raw)
  To: tarantool-patches; +Cc: AKhatskevich

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-29 10:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-29 10:17 [tarantool-patches] [PATCH 0/3] Ephemeral tables perf leak & next rowid bug AKhatskevich
2018-03-29 10:17 ` [tarantool-patches] [PATCH 1/3] sql: Generate rowid by counter AKhatskevich
2018-03-29 10:17 ` [tarantool-patches] [PATCH 2/3] sql: fix memory leak AKhatskevich
2018-03-29 10:17 ` [tarantool-patches] [PATCH 3/3] sql: report errors in EphemeralGetMaxId AKhatskevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox