Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92A4F10506 for ; Thu, 2 May 2013 18:58:16 +0000 (UTC) Received: (qmail 9785 invoked by uid 500); 2 May 2013 18:58:16 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 9758 invoked by uid 500); 2 May 2013 18:58:16 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 9749 invoked by uid 99); 2 May 2013 18:58:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 18:58:16 +0000 Date: Thu, 2 May 2013 18:58:16 +0000 (UTC) From: "Marcus Eriksson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5349) Add binary protocol support for bind variables to non-prepared statements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Eriksson updated CASSANDRA-5349: --------------------------------------- Attachment: 0001-5349-v3.patch v3 adds the value count and values last also calls process() with empty list > Add binary protocol support for bind variables to non-prepared statements > ------------------------------------------------------------------------- > > Key: CASSANDRA-5349 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5349 > Project: Cassandra > Issue Type: Task > Components: API > Affects Versions: 1.2.0 > Reporter: Jonathan Ellis > Assignee: Marcus Eriksson > Priority: Minor > Labels: cql, protocol > Fix For: 2.0 > > Attachments: 0001-5349-v3.patch, 0001-CASSANDRA-5349-binary-protocol-support-for-binding-v.patch, 0001-CASSANDRA-5349.patch > > > Currently, the binary protocol allows requests as "string" or "[prepared statement] id + bind vars". Allowing "string + bind vars" as well would simplify life for users with one-off statements and not have to choose between adding boilerplate for PS, and having to manually escape parameters, which is particularly painful for binary data. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira