mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge 10.0 into 10.1
This commit is contained in:
commit
016caa3d20
15 changed files with 318 additions and 25 deletions
|
|
@ -3860,4 +3860,19 @@ deallocate prepare stmt;
|
|||
drop view v1,v2,v3;
|
||||
drop table t1,t2,t3;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-10657: incorrect result returned with binary protocol
|
||||
--echo # (prepared statements)
|
||||
--echo #
|
||||
|
||||
create table t1 (code varchar(10) primary key);
|
||||
INSERT INTO t1(code) VALUES ('LINE1'), ('LINE2'), ('LINE3');
|
||||
SELECT X.*
|
||||
FROM
|
||||
(SELECT CODE, RN
|
||||
FROM
|
||||
(SELECT A.CODE, @cnt := @cnt + 1 AS RN
|
||||
FROM t1 A, (SELECT @cnt := 0) C) T
|
||||
) X;
|
||||
drop table t1;
|
||||
--echo # End of 5.5 tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue