Skip to content

Commit 0ef342c

Browse files
committed
Fixed #8520: Error in iTransaction.getInfo() on embedded connection
1 parent 6635c00 commit 0ef342c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/yvalve/why.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5341,7 +5341,8 @@ void YTransaction::getInfo(CheckStatusWrapper* status, unsigned int itemsLength,
53415341
fb_utils::getDbPathInfo(itemsLength, items, bufferLength, buffer,
53425342
newItemsBuffer, attachment.get()->dbPath);
53435343

5344-
entry.next()->getInfo(status, itemsLength, items, bufferLength, buffer);
5344+
if (itemsLength)
5345+
entry.next()->getInfo(status, itemsLength, items, bufferLength, buffer);
53455346
}
53465347
catch (const Exception& e)
53475348
{

0 commit comments

Comments
 (0)