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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5a4bee65
Commit
5a4bee65
authored
Mar 24, 2007
by
aelkin/elkin@dsl-hkibras1-ff1dc300-249.dhcp.inet.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF()
removing test host sensitive stuff for pushbuild
parent
364cf9a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
15 deletions
+5
-15
mysql-test/r/sp_trans.result
mysql-test/r/sp_trans.result
+2
-12
mysql-test/t/sp_trans.test
mysql-test/t/sp_trans.test
+3
-3
No files found.
mysql-test/r/sp_trans.result
View file @
5a4bee65
...
@@ -534,7 +534,6 @@ drop function if exists bug23333|
...
@@ -534,7 +534,6 @@ drop function if exists bug23333|
drop table if exists t1,t2|
drop table if exists t1,t2|
CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM|
CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM|
CREATE TABLE t2 (a int NOT NULL auto_increment, b int, PRIMARY KEY (a)) ENGINE=InnoDB|
CREATE TABLE t2 (a int NOT NULL auto_increment, b int, PRIMARY KEY (a)) ENGINE=InnoDB|
reset master|
insert into t2 values (1,1)|
insert into t2 values (1,1)|
create function bug23333()
create function bug23333()
RETURNS int(11)
RETURNS int(11)
...
@@ -544,20 +543,11 @@ insert into t1 values (null);
...
@@ -544,20 +543,11 @@ insert into t1 values (null);
select count(*) from t1 into @a;
select count(*) from t1 into @a;
return @a;
return @a;
end|
end|
reset master|
insert into t2 values (bug23333(),1)|
insert into t2 values (bug23333(),1)|
ERROR 23000: Duplicate entry '1' for key 1
ERROR 23000: Duplicate entry '1' for key 1
show binlog events from 98 /*
must show the insert
*/|
show binlog events from 98 /*
with fixes for #23333 will show there is the query
*/|
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query 1 # use `test`; insert into t2 values (1,1)
master-bin.000001 # Xid 1 # COMMIT /* xid=1165 */
master-bin.000001 # Query 1 # use `test`; CREATE DEFINER=`root`@`localhost` function bug23333()
RETURNS int(11)
DETERMINISTIC
begin
insert into t1 values (null);
select count(*) from t1 into @a;
return @a;
end
select count(*),@a from t1 /* must be 1,1 */|
select count(*),@a from t1 /* must be 1,1 */|
count(*) @a
count(*) @a
1 1
1 1
mysql-test/t/sp_trans.test
View file @
5a4bee65
...
@@ -566,7 +566,6 @@ drop table if exists t1,t2|
...
@@ -566,7 +566,6 @@ drop table if exists t1,t2|
CREATE
TABLE
t1
(
a
int
NOT
NULL
auto_increment
primary
key
)
ENGINE
=
MyISAM
|
CREATE
TABLE
t1
(
a
int
NOT
NULL
auto_increment
primary
key
)
ENGINE
=
MyISAM
|
CREATE
TABLE
t2
(
a
int
NOT
NULL
auto_increment
,
b
int
,
PRIMARY
KEY
(
a
))
ENGINE
=
InnoDB
|
CREATE
TABLE
t2
(
a
int
NOT
NULL
auto_increment
,
b
int
,
PRIMARY
KEY
(
a
))
ENGINE
=
InnoDB
|
reset
master
|
insert
into
t2
values
(
1
,
1
)
|
insert
into
t2
values
(
1
,
1
)
|
create
function
bug23333
()
create
function
bug23333
()
...
@@ -578,10 +577,11 @@ begin
...
@@ -578,10 +577,11 @@ begin
return
@
a
;
return
@
a
;
end
|
end
|
reset
master
|
--
error
ER_DUP_ENTRY
--
error
ER_DUP_ENTRY
insert
into
t2
values
(
bug23333
(),
1
)
|
insert
into
t2
values
(
bug23333
(),
1
)
|
--
replace_column
2
# 5 #
--
replace_column
2
# 5 #
6 #
show
binlog
events
from
98
/*
must show the insert
*/
|
show
binlog
events
from
98
/*
with fixes for #23333 will show there is the query
*/
|
select
count
(
*
),
@
a
from
t1
/* must be 1,1 */
|
select
count
(
*
),
@
a
from
t1
/* must be 1,1 */
|
#
#
...
...
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