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 C3587C79B for ; Fri, 1 Nov 2013 13:01:24 +0000 (UTC) Received: (qmail 9856 invoked by uid 500); 1 Nov 2013 13:00:37 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 9748 invoked by uid 500); 1 Nov 2013 13:00:29 -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 9630 invoked by uid 99); 1 Nov 2013 13:00:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Nov 2013 13:00:21 +0000 Date: Fri, 1 Nov 2013 13:00:21 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-6227) Add 'WHERE 0=1', 'WHERE false', in SQL-compatible manner 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-6227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-6227. --------------------------------------- Resolution: Won't Fix > Add 'WHERE 0=1', 'WHERE false', in SQL-compatible manner > -------------------------------------------------------- > > Key: CASSANDRA-6227 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6227 > Project: Cassandra > Issue Type: Wish > Environment: Yii2 PHP framework database abstarction level > Reporter: Sergey Nagaytsev > Priority: Minor > Labels: cql3 > > Then DBAL thinks query result must be empty, it's deep inner method returns something like '0=1', 'FALSE' etc. for inclusion into WHERE condition, to make result set empty. > Nothing of this is recognised by Cassandra - instead, error is returned. > Please, implement 'false', 'null', constant comparison etc. as valid parts of WHERE with logic -- This message was sent by Atlassian JIRA (v6.1#6144)