From 570893a1367aebe3dd99d4b4655bda2da38898ce Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 10 Dec 2018 08:41:13 +0200 Subject: [PATCH] Fix outdated comment. Commit b3c50e4086 changed the argument from StringInfo to ErrorData *, but neglected the comment in the header file about it. Fix, by copying the up-to-date comment from the .c file. --- src/include/cdb/cdbdisp_dtx.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/cdb/cdbdisp_dtx.h b/src/include/cdb/cdbdisp_dtx.h index 45ccc105e5..3d4df6dc6d 100644 --- a/src/include/cdb/cdbdisp_dtx.h +++ b/src/include/cdb/cdbdisp_dtx.h @@ -28,9 +28,8 @@ struct CdbPgResults; * produced; the caller must PQclear() them and free() the array. * A NULL entry follows the last used entry in the array. * - * Any error messages - whether or not they are associated with - * PGresult objects - are appended to a StringInfo buffer provided - * by the caller. + * Any error message - whether or not it is associated with an + * PGresult object - is returned in *qeError. */ struct pg_result ** CdbDispatchDtxProtocolCommand(DtxProtocolCommand dtxProtocolCommand, @@ -42,7 +41,8 @@ CdbDispatchDtxProtocolCommand(DtxProtocolCommand dtxProtocolCommand, int *resultCount, bool* badGangs, List *twophaseSegments, - char *argument, int argumentLength ); + char *serializedDtxContextInfo, + int serializedDtxContextInfoLen); /* -- GitLab