Skip to content

Commit 770890c

Browse files
committed
Fix #8711 - Regression in FB 6.x for plan in legacy form: excessive comma (",") between items of <schema.index> list
1 parent f69e844 commit 770890c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/jrd/recsrc/RecordSource.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,13 @@ void RecordSource::printLegacyInversion(thread_db* tdbb, const InversionNode* in
257257

258258
for (const auto& line : planLines)
259259
{
260-
if (plan.hasData())
261-
plan += ", ";
260+
if (line.text.hasData())
261+
{
262+
if (plan.hasData())
263+
plan += ", ";
262264

263-
plan += line.text;
265+
plan += line.text;
266+
}
264267
}
265268
}
266269

0 commit comments

Comments
 (0)