Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb11ad96

Browse files
committed
Fix stepping on assert in temp_schema_reset.
1 parentbef30ef commitb11ad96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/ddl.c‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,9 @@ MtmProcessUtilitySender(PlannedStmt *pstmt, const char *queryString,
10281028
*/
10291029
if (!IsTransactionBlock()&&stmt->target==DISCARD_ALL)
10301030
{
1031-
temp_schema_reset();
1031+
/* nothing to do if temp schema wasn't created at all */
1032+
if (TempDropRegistered)
1033+
temp_schema_reset();
10321034
SkipCommand(true);
10331035
MtmGucDiscard();
10341036
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp