~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to storage/pbxt/mysql-test/main/r/pbxt_locking.result

  • Committer: Package Import Robot
  • Author(s): James Page, Otto Kekäläinen
  • Date: 2014-02-17 16:51:52 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140217165152-k315d3175g865kkx
Tags: 5.5.35-1
[ Otto Kekäläinen ]
* New upstream release, fixing the following security issues:
  - Buffer overflow in client/mysql.cc (Closes: #737597).
    - CVE-2014-0001
  - http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
    - CVE-2013-5891
    - CVE-2013-5908
    - CVE-2014-0386
    - CVE-2014-0393
    - CVE-2014-0401
    - CVE-2014-0402
    - CVE-2014-0412
    - CVE-2014-0420
    - CVE-2014-0437
* Upstream https://mariadb.atlassian.net/browse/MDEV-4902
  fixes compatibility with Bison 3.0 (Closes: #733002)
* Updated Russian debconf translation (Closes: #734426)
* Updated Japanese debconf translation (Closes: #735284)
* Updated French debconf translation (Closes: #736480)
* Renamed SONAME properly (Closes: #732967)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
drop table if exists t1;
2
 
Warnings:
3
 
Note    1051    Unknown table 't1'
4
 
create table t1 (id int, index (id)) engine = pbxt;
5
 
insert into t1 values (1), (2), (3), (4), (5);
6
 
begin;
7
 
select * from t1 where id < 5 for update;
8
 
id
9
 
1
10
 
2
11
 
3
12
 
4
13
 
update t1 set id = 8 where id = 5;
14
 
update t1 set id = 8 where id = 4;
15
 
show processlist;
16
 
Id      User    Host    db      Command Time    State   Info    Progress
17
 
x       root    x       test    Query   x       NULL    show processlist        0.000
18
 
x       root    x       test    Query   x       Searching rows for update       update t1 set id = 8 where id = 4       0.000
19
 
commit;
20
 
select * from t1;
21
 
id
22
 
1
23
 
2
24
 
3
25
 
8
26
 
8
27
 
drop table if exists t1;
28
 
create table t1 (id int) engine = pbxt;
29
 
insert into t1 values (1), (2), (3), (4), (5);
30
 
begin;
31
 
select * from t1 where id > 10 for update;
32
 
id
33
 
update t1 set id = 8;
34
 
commit;
35
 
select * from t1;
36
 
id
37
 
8
38
 
8
39
 
8
40
 
8
41
 
8
42
 
drop table if exists t1;
43
 
create table t1 (id int, index (id)) engine = pbxt;
44
 
insert into t1 values (1), (2), (3), (4), (5);
45
 
begin;
46
 
select * from t1 where id = 5 for update;
47
 
id
48
 
5
49
 
update t1 set id = 8 where id < 4;
50
 
update t1 set id = 8 where id = 5;
51
 
show processlist;
52
 
Id      User    Host    db      Command Time    State   Info    Progress
53
 
x       root    x       test    Query   x       NULL    show processlist        0.000
54
 
x       root    x       test    Query   x       Searching rows for update       update t1 set id = 8 where id = 5       0.000
55
 
commit;
56
 
select * from t1;
57
 
id
58
 
4
59
 
8
60
 
8
61
 
8
62
 
8
63
 
drop table if exists t1;
64
 
create table t1 (id int, index (id)) engine = pbxt;
65
 
insert into t1 values (1), (2), (3), (4), (5);
66
 
select * from t1 for update;
67
 
id
68
 
1
69
 
2
70
 
3
71
 
4
72
 
5
73
 
update t1 set id = 8;
74
 
drop table if exists t1;
75
 
create table t1 (id int, index (id)) engine = pbxt;
76
 
insert into t1 values (1), (2), (3), (4), (5);
77
 
create procedure p1 ()
78
 
begin
79
 
select * from t1 for update;
80
 
end|
81
 
call p1 ();
82
 
id
83
 
1
84
 
2
85
 
3
86
 
4
87
 
5
88
 
update t1 set id = 8;