datastax/cpp-driver — pull request #98 by aholmberg (2014-11-10 17:08:48+00:00)
Title: Schema metadata isolation

Changing ResponseFuture.schema to reference broke copy-on-write semantics for prepare statements. This change reverts that, and moves schema meta synchronization up to ClusterMetadata:

Restore copy-on-write semantics for schema carried with prepare request.
Avoid mutex init/destroy for each prepare.