Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ca9aeb57
Commit
ca9aeb57
authored
May 05, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post merge fixes (merge of Bug#9777)
parent
753959cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
36 deletions
+36
-36
mysql-test/t/ps.test
mysql-test/t/ps.test
+36
-36
No files found.
mysql-test/t/ps.test
View file @
ca9aeb57
...
@@ -7,8 +7,8 @@ drop table if exists t1,t2;
...
@@ -7,8 +7,8 @@ drop table if exists t1,t2;
create
table
t1
create
table
t1
(
(
a
int
primary
key
,
a
int
primary
key
,
b
char
(
10
)
b
char
(
10
)
);
);
insert
into
t1
values
(
1
,
'one'
);
insert
into
t1
values
(
1
,
'one'
);
insert
into
t1
values
(
2
,
'two'
);
insert
into
t1
values
(
2
,
'two'
);
...
@@ -88,7 +88,7 @@ explain prepare stmt6 from 'insert into t1 values (5,"five"); select2';
...
@@ -88,7 +88,7 @@ explain prepare stmt6 from 'insert into t1 values (5,"five"); select2';
create
table
t2
create
table
t2
(
(
a
int
a
int
);
);
insert
into
t2
values
(
0
);
insert
into
t2
values
(
0
);
...
@@ -143,15 +143,15 @@ drop table t1;
...
@@ -143,15 +143,15 @@ drop table t1;
#
#
create
table
t1
create
table
t1
(
(
c1
tinyint
,
c2
smallint
,
c3
mediumint
,
c4
int
,
c1
tinyint
,
c2
smallint
,
c3
mediumint
,
c4
int
,
c5
integer
,
c6
bigint
,
c7
float
,
c8
double
,
c5
integer
,
c6
bigint
,
c7
float
,
c8
double
,
c9
double
precision
,
c10
real
,
c11
decimal
(
7
,
4
),
c12
numeric
(
8
,
4
),
c9
double
precision
,
c10
real
,
c11
decimal
(
7
,
4
),
c12
numeric
(
8
,
4
),
c13
date
,
c14
datetime
,
c15
timestamp
(
14
),
c16
time
,
c13
date
,
c14
datetime
,
c15
timestamp
(
14
),
c16
time
,
c17
year
,
c18
bit
,
c19
bool
,
c20
char
,
c17
year
,
c18
bit
,
c19
bool
,
c20
char
,
c21
char
(
10
),
c22
varchar
(
30
),
c23
tinyblob
,
c24
tinytext
,
c21
char
(
10
),
c22
varchar
(
30
),
c23
tinyblob
,
c24
tinytext
,
c25
blob
,
c26
text
,
c27
mediumblob
,
c28
mediumtext
,
c25
blob
,
c26
text
,
c27
mediumblob
,
c28
mediumtext
,
c29
longblob
,
c30
longtext
,
c31
enum
(
'one'
,
'two'
,
'three'
),
c29
longblob
,
c30
longtext
,
c31
enum
(
'one'
,
'two'
,
'three'
),
c32
set
(
'monday'
,
'tuesday'
,
'wednesday'
)
c32
set
(
'monday'
,
'tuesday'
,
'wednesday'
)
)
engine
=
MYISAM
;
)
engine
=
MYISAM
;
create
table
t2
like
t1
;
create
table
t2
like
t1
;
...
@@ -518,8 +518,8 @@ create table t2 like t1;
...
@@ -518,8 +518,8 @@ create table t2 like t1;
# reduced query
# reduced query
prepare
stmt
from
prepare
stmt
from
"select t1.a from (t1 left outer join t2 on t2.a=1 and t1.b=t2.b)
"select t1.a from (t1 left outer join t2 on t2.a=1 and t1.b=t2.b)
where t1.a=1"
;
where t1.a=1"
;
execute
stmt
;
execute
stmt
;
execute
stmt
;
execute
stmt
;
execute
stmt
;
execute
stmt
;
...
@@ -557,8 +557,8 @@ let $exec_loop_count= 3;
...
@@ -557,8 +557,8 @@ let $exec_loop_count= 3;
eval
prepare
my_stmt
from
@
aux
;
eval
prepare
my_stmt
from
@
aux
;
while
(
$exec_loop_count
)
while
(
$exec_loop_count
)
{
{
eval
execute
my_stmt
;
eval
execute
my_stmt
;
dec
$exec_loop_count
;
dec
$exec_loop_count
;
}
}
deallocate
prepare
my_stmt
;
deallocate
prepare
my_stmt
;
...
@@ -572,11 +572,11 @@ create table t1 (id int)|
...
@@ -572,11 +572,11 @@ create table t1 (id int)|
insert
into
t1
values
(
1
)
|
insert
into
t1
values
(
1
)
|
create
procedure
p1
(
a
int
,
b
int
)
create
procedure
p1
(
a
int
,
b
int
)
begin
begin
declare
c
int
;
declare
c
int
;
select
max
(
id
)
+
1
into
c
from
t1
;
select
max
(
id
)
+
1
into
c
from
t1
;
insert
into
t1
select
a
+
b
;
insert
into
t1
select
a
+
b
;
insert
into
t1
select
a
-
b
;
insert
into
t1
select
a
-
b
;
insert
into
t1
select
a
-
c
;
insert
into
t1
select
a
-
c
;
end
|
end
|
set
@
a
=
3
,
@
b
=
4
|
set
@
a
=
3
,
@
b
=
4
|
prepare
stmt
from
"call p1(?, ?)"
|
prepare
stmt
from
"call p1(?, ?)"
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment