Commit a9571690 authored by unknown's avatar unknown

Fixing comments to use "#" instead of "--"

parent 4e331363
...@@ -530,7 +530,7 @@ create table t1 ( ...@@ -530,7 +530,7 @@ create table t1 (
a varchar(255), a varchar(255),
key a(a) key a(a)
) character set utf8 collate utf8_czech_ci; ) character set utf8 collate utf8_czech_ci;
-- In Czech 'ch' is a single letter between 'h' and 'i' # In Czech 'ch' is a single letter between 'h' and 'i'
insert into t1 values insert into t1 values
('b'),('c'),('d'),('e'),('f'),('g'),('h'),('ch'),('i'),('j'); ('b'),('c'),('d'),('e'),('f'),('g'),('h'),('ch'),('i'),('j');
select * from t1 where a like 'c%'; select * from t1 where a like 'c%';
......
...@@ -2970,7 +2970,7 @@ DROP TABLE t1,t2; ...@@ -2970,7 +2970,7 @@ DROP TABLE t1,t2;
CREATE TABLE t1 (a INT, b INT); CREATE TABLE t1 (a INT, b INT);
INSERT INTO t1 VALUES (1, 2), (1,3), (1,4), (2,1), (2,2); INSERT INTO t1 VALUES (1, 2), (1,3), (1,4), (2,1), (2,2);
-- returns no rows, when it should # returns no rows, when it should
SELECT a1.a, COUNT(*) FROM t1 a1 WHERE a1.a = 1 SELECT a1.a, COUNT(*) FROM t1 a1 WHERE a1.a = 1
AND EXISTS( SELECT a2.a FROM t1 a2 WHERE a2.a = a1.a) AND EXISTS( SELECT a2.a FROM t1 a2 WHERE a2.a = a1.a)
GROUP BY a1.a; GROUP BY a1.a;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment