From 8a2fdbf93c32c370f6152a591fd0db165ca27f53 Mon Sep 17 00:00:00 2001 From: Sylvain Lebresne Date: Mon, 19 Nov 2012 18:10:31 +0100 Subject: [PATCH] Document that prepared ID a server global --- doc/native_protocol.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/native_protocol.spec b/doc/native_protocol.spec index 4c31ca8549..ab44b21065 100644 --- a/doc/native_protocol.spec +++ b/doc/native_protocol.spec @@ -452,6 +452,10 @@ Table of Contents - is [short bytes] representing the prepared query ID. - is defined exactly as for a Rows RESULT (See section 4.2.5.2). + Note that prepared query ID return is global to the node on which the query + has been prepared. It can be used on any connection to that node and this + until the node is restarted (after which the query must be reprepared). + 4.2.5.5. Schema_change The result to a schema altering query (creation/update/drop of a