From 832de26222bb300a2594f6435695161826f9760f Mon Sep 17 00:00:00 2001 From: v-jizhang Date: Thu, 2 Jun 2022 11:56:59 -0700 Subject: [PATCH] Fix inaccurate references to prepared statement header Cherry-pick of https://github.com/trinodb/trino/pull/12641 Co-authored-by: Colebow --- presto-docs/src/main/sphinx/develop/client-protocol.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/presto-docs/src/main/sphinx/develop/client-protocol.rst b/presto-docs/src/main/sphinx/develop/client-protocol.rst index 57fde6bfd1ce8..70db90566d657 100644 --- a/presto-docs/src/main/sphinx/develop/client-protocol.rst +++ b/presto-docs/src/main/sphinx/develop/client-protocol.rst @@ -143,11 +143,11 @@ Response Header Name Description ``X-Presto-Set-Role`` Instructs the client to set ``X-Presto-Role`` request header to the catalog role give by the value of the ``X-Presto-Set-Role`` headerin subsequent client requests. ``X-Presto-Added-Prepare`` Instructs the client to add the name=value pair to the set of prepared statements - that will be sent in the ``X-Presto-Prepared-Statements`` request header + that will be sent in the ``X-Presto-Prepared-Statement`` request header in subsequent client requests. ``X-Presto-Deallocated-Prepare`` Instructs the client to remove the prepared statement whose name is the value of the ``X-Presto-Deallocated-Prepare`` header from the client's list of prepared statements - sent in the ``X-Presto-Prepared-Statements`` request header in subsequent client requests. + sent in the ``X-Presto-Prepared-Statement`` request header in subsequent client requests. ``X-Presto-Started-Transaction-Id`` Provides the transaction ID that the client should pass back in the ``X-Presto-Transaction-Id`` request header in subsequent requests. ``X-Presto-Clear-Transaction-Id`` Instructs the client to clear the ``X-Presto-Transaction-Id`` request header used in