Document that prepared ID a server global
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8a2fdbf9 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8a2fdbf9 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8a2fdbf9 Branch: refs/heads/trunk Commit: 8a2fdbf93c32c370f6152a591fd0db165ca27f53 Parents: 83bbd75 Author: Sylvain Lebresne <sylv...@datastax.com> Authored: Mon Nov 19 18:10:31 2012 +0100 Committer: Sylvain Lebresne <sylv...@datastax.com> Committed: Mon Nov 19 18:10:31 2012 +0100 ---------------------------------------------------------------------- doc/native_protocol.spec | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/8a2fdbf9/doc/native_protocol.spec ---------------------------------------------------------------------- diff --git a/doc/native_protocol.spec b/doc/native_protocol.spec index 4c31ca8..ab44b21 100644 --- a/doc/native_protocol.spec +++ b/doc/native_protocol.spec @@ -452,6 +452,10 @@ Table of Contents - <id> is [short bytes] representing the prepared query ID. - <metadata> 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