Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B679B200B69 for ; Sat, 20 Aug 2016 17:12:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B54A2160ABB; Sat, 20 Aug 2016 15:12:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2E857160A76 for ; Sat, 20 Aug 2016 17:12:24 +0200 (CEST) Received: (qmail 11047 invoked by uid 500); 20 Aug 2016 15:12:23 -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 11036 invoked by uid 99); 20 Aug 2016 15:12:23 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Aug 2016 15:12:23 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7BED92C014E for ; Sat, 20 Aug 2016 15:12:22 +0000 (UTC) Date: Sat, 20 Aug 2016 15:12:22 +0000 (UTC) From: "Robert Stupp (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-12154) "SELECT * FROM foo LIMIT ;" does not error out MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 20 Aug 2016 15:12:24 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Stupp updated CASSANDRA-12154: ------------------------------------- Fix Version/s: 3.x > "SELECT * FROM foo LIMIT ;" does not error out > ---------------------------------------------- > > Key: CASSANDRA-12154 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12154 > Project: Cassandra > Issue Type: Bug > Components: CQL > Reporter: Robert Stupp > Assignee: Thomas Boucher > Priority: Minor > Labels: lhf > Fix For: 3.x > > > We found out that {{SELECT * FROM foo LIMIT ;}} is unanimously accepted and executed but it should not. > Have not dug deeper why that is possible (it's not a big issue IMO) but it is strange. Seems it doesn't parse {{LIMIT}} as {{K_LIMIT}} because otherwise it would require an int argument. -- This message was sent by Atlassian JIRA (v6.3.4#6332)