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

Commit828874b

Browse files
committed
Fix error reporting for mm_disable_node functions
1 parent151fe4a commit828874b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/multimaster/multimaster.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ static bool MMRunUtilityStmt(PGconn* conn, char const* sql)
12381238
{
12391239
PGresult*result=PQexec(conn,sql);
12401240
intstatus=PQresultStatus(result);
1241-
boolret=status==PGRES_COMMAND_OK;
1241+
boolret=status==PGRES_COMMAND_OK||status==PGRES_TUPLES_OK;
12421242
if (!ret) {
12431243
elog(WARNING,"Command '%s' failed with status %d",sql,status);
12441244
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp