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 146A6D43B for ; Mon, 27 Aug 2012 21:29:12 +0000 (UTC) Received: (qmail 14644 invoked by uid 500); 27 Aug 2012 21:29:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 14606 invoked by uid 500); 27 Aug 2012 21:29:11 -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 14561 invoked by uid 99); 27 Aug 2012 21:29:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2012 21:29:11 +0000 Date: Tue, 28 Aug 2012 08:29:11 +1100 (NCT) From: "Christoph Hack (JIRA)" To: commits@cassandra.apache.org Message-ID: <781071791.3535.1346102951857.JavaMail.jiratomcat@arcas> In-Reply-To: <640217106.5429.1345931579566.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CASSANDRA-4577) Allow preparing queries without parameters 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-4577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christoph Hack updated CASSANDRA-4577: -------------------------------------- Description: Currently it's not possible to prepare any queries that do not take any parameters using Cassandra's new native protocol because of an assertion error. This makes client development rather difficult (you need to parse CQL queries to detect the number of parameters and skip the preparation of those) and there is probably no reason to handle queries with no parameters separately. was: Currently it's not possible to prepare any queries that do not take any parameters using Cassandra's new native protocol because of an assertion error. This makes client development rather difficult (you need to parse CQL queries to detect the number of parameters and skip the preparation of those) and there is probably no reason thread queries with no parameters separately. > Allow preparing queries without parameters > ------------------------------------------ > > Key: CASSANDRA-4577 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4577 > Project: Cassandra > Issue Type: Improvement > Reporter: Christoph Hack > Attachments: trunk-4577.txt > > > Currently it's not possible to prepare any queries that do not take any parameters using Cassandra's new native protocol because of an assertion error. > This makes client development rather difficult (you need to parse CQL queries to detect the number of parameters and skip the preparation of those) and there is probably no reason to handle queries with no parameters separately. -- 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