Fixing comments to use "#" instead of "--"
This commit is contained in:
parent
4e331363cf
commit
a9571690cb
@ -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;
|
|||||||
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user