[Bast-commits] r6976 - SQL-Abstract/1.x/branches/test_refactor/t

frew at dev.catalyst.perl.org frew at dev.catalyst.perl.org
Fri Jul 3 18:46:44 GMT 2009


Author: frew
Date: 2009-07-03 18:46:43 +0000 (Fri, 03 Jul 2009)
New Revision: 6976

Modified:
   SQL-Abstract/1.x/branches/test_refactor/t/10test.t
Log:
count(*), count(a) and count(0) should not be equivalent

Modified: SQL-Abstract/1.x/branches/test_refactor/t/10test.t
===================================================================
--- SQL-Abstract/1.x/branches/test_refactor/t/10test.t	2009-07-03 18:43:17 UTC (rev 6975)
+++ SQL-Abstract/1.x/branches/test_refactor/t/10test.t	2009-07-03 18:46:43 UTC (rev 6976)
@@ -562,6 +562,14 @@
       {
 	 equal => 0,
 	 statements => [
+	    'SELECT count(*) FROM foo',
+	    'SELECT count(a) FROM foo',
+	    'SELECT count(1) FROM foo',
+	 ]
+      },
+      {
+	 equal => 0,
+	 statements => [
 	    'SELECT * FROM foo WHERE a IN (1,2,3)',
 	    'SELECT * FROM foo WHERE a IN (1,3,2)',
 	    'SELECT * FROM foo WHERE a IN (2,1,3)',




More information about the Bast-commits mailing list