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
76afa007
Commit
76afa007
authored
Apr 29, 2007
by
holyfoot/hf@hfmain.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/d2/hf/mrg/mysql-5.0-opt
into mysql.com:/d2/hf/mrg/mysql-5.1-opt
parents
e0b6a9ba
224bb6c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
mysql-test/include/mix1.inc
mysql-test/include/mix1.inc
+32
-0
No files found.
mysql-test/include/mix1.inc
View file @
76afa007
...
...
@@ -474,6 +474,38 @@ drop table test;
set
global
query_cache_type
=@
save_qcache_type
;
set
global
query_cache_size
=@
save_qcache_size
;
--
source
include
/
innodb_rollback_on_timeout
.
inc
#
# Bug #27210: INNODB ON DUPLICATE KEY UPDATE
#
set
@
save_qcache_size
=@@
global
.
query_cache_size
;
set
@
save_qcache_type
=@@
global
.
query_cache_type
;
set
global
query_cache_size
=
10
*
1024
*
1024
;
set
global
query_cache_type
=
1
;
connect
(
con1
,
localhost
,
root
,,);
connection
con1
;
drop
table
if
exists
`test`
;
CREATE
TABLE
`test`
(
`test1`
varchar
(
3
)
NOT
NULL
,
`test2`
varchar
(
4
)
NOT
NULL
,
PRIMARY
KEY
(
`test1`
))
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
INSERT
INTO
`test`
(
`test1`
,
`test2`
)
VALUES
(
'tes'
,
'5678'
);
disconnect
con1
;
connect
(
con2
,
localhost
,
root
,,);
connection
con2
;
select
*
from
test
;
INSERT
INTO
`test`
(
`test1`
,
`test2`
)
VALUES
(
'tes'
,
'1234'
)
ON
DUPLICATE
KEY
UPDATE
`test2`
=
'1234'
;
select
*
from
test
;
flush
tables
;
select
*
from
test
;
disconnect
con2
;
connection
default
;
drop
table
test
;
set
global
query_cache_type
=@
save_qcache_type
;
set
global
query_cache_size
=@
save_qcache_size
;
--
echo
End
of
5.0
tests
--
source
include
/
have_innodb
.
inc
...
...
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