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
bb604da6
Commit
bb604da6
authored
Mar 30, 2009
by
Matthias Leich
Browse files
Options
Browse Files
Download
Plain Diff
merge of fix for bug 43383 into actual tree
parents
d186014c
7a7885f4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
30 deletions
+61
-30
mysql-test/r/variables-big.result
mysql-test/r/variables-big.result
+15
-19
mysql-test/suite/funcs_1/r/is_coll_char_set_appl.result
mysql-test/suite/funcs_1/r/is_coll_char_set_appl.result
+0
-0
mysql-test/suite/funcs_1/t/is_coll_char_set_appl.test
mysql-test/suite/funcs_1/t/is_coll_char_set_appl.test
+0
-0
mysql-test/t/variables-big.test
mysql-test/t/variables-big.test
+46
-11
No files found.
mysql-test/r/variables-big.result
View file @
bb604da6
set session
transaction_prealloc_size=1024*1024*1024*1;
show processlist
;
SET SESSION
transaction_prealloc_size=1024*1024*1024*1;
SHOW PROCESSLIST
;
Id User Host db Command Time State Info
6 root localhost test Query 0 NULL show processlist
set session
transaction_prealloc_size=1024*1024*1024*2;
show processlist
;
<Id> root localhost test Query <Time> NULL SHOW PROCESSLIST
SET SESSION
transaction_prealloc_size=1024*1024*1024*2;
SHOW PROCESSLIST
;
Id User Host db Command Time State Info
6 root localhost test Query 1 NULL show processlist
set session
transaction_prealloc_size=1024*1024*1024*3;
show processlist
;
<Id> root localhost test Query <Time> NULL SHOW PROCESSLIST
SET SESSION
transaction_prealloc_size=1024*1024*1024*3;
SHOW PROCESSLIST
;
Id User Host db Command Time State Info
6 root localhost test Query 0 NULL show processlist
set session transaction_prealloc_size=1024*1024*1024*4;
Warnings:
Warning 1292 Truncated incorrect transaction_prealloc_size value: '4294967296'
show processlist;
<Id> root localhost test Query <Time> NULL SHOW PROCESSLIST
SET SESSION transaction_prealloc_size=1024*1024*1024*4;
SHOW PROCESSLIST;
Id User Host db Command Time State Info
6 root localhost test Query 0 NULL show processlist
set session transaction_prealloc_size=1024*1024*1024*5;
Warnings:
Warning 1292 Truncated incorrect transaction_prealloc_size value: '5368709120'
show processlist;
<Id> root localhost test Query <Time> NULL SHOW PROCESSLIST
SET SESSION transaction_prealloc_size=1024*1024*1024*5;
SHOW PROCESSLIST;
Id User Host db Command Time State Info
6 root localhost test Query 0 NULL show processlist
<Id> root localhost test Query <Time> NULL SHOW PROCESSLIST
mysql-test/suite/funcs_1/r/is_coll
ation_character_set_applicability
.result
→
mysql-test/suite/funcs_1/r/is_coll
_char_set_appl
.result
View file @
bb604da6
File moved
mysql-test/suite/funcs_1/t/is_coll
ation_character_set_applicability
.test
→
mysql-test/suite/funcs_1/t/is_coll
_char_set_appl
.test
View file @
bb604da6
File moved
mysql-test/t/variables-big.test
View file @
bb604da6
...
...
@@ -5,16 +5,51 @@
--
source
include
/
big_test
.
inc
#
# Bug
#27322
failure to allocate transaction_prealloc_size causes crash
# Bug
#27322
failure to allocate transaction_prealloc_size causes crash
#
#
# Manual (6.0):
# Platform Bit Size Range Default
# 32 1024-4294967295 (4 Gi - 1) 4096
# 64 1024-18446744073709547520 4096
#
# Observation(mleich):
# 1. - Linux 64 Bit, MySQL 64 Bit, 4 GiB RAM, 8 GiB swap
# - SET SESSION transaction_prealloc_size=1099511627776;
# SHOW PROCESSLIST;
# Id User ... Info
# <Id> root ... SHOW PROCESSLIST
# SELECT @@session.transaction_prealloc_size;
# @@session.transaction_prealloc_size
# 1099511627776
# very short runtime in 5.0
# excessive resource consumption + long runtime in 5.1 and 6.0
# 2. - Win in VM, slightly older version of this test, MySQL 5.0
# - testcase timeout after 900s
# analyze-timeout-mysqld.1.err :
# Id User ... Time Info
# 83 root ... 542 set session transaction_prealloc_size=1024*1024*1024*2
# 84 root ... 1 SHOW PROCESSLIST
#
# There is a significant probablitity that this tests fails with testcase
# timeout if the testing box is not powerful enough.
#
--
disable_warnings
SET
SESSION
transaction_prealloc_size
=
1024
*
1024
*
1024
*
1
;
--
replace_column
1
<
Id
>
6
<
Time
>
SHOW
PROCESSLIST
;
SET
SESSION
transaction_prealloc_size
=
1024
*
1024
*
1024
*
2
;
--
replace_column
1
<
Id
>
6
<
Time
>
SHOW
PROCESSLIST
;
SET
SESSION
transaction_prealloc_size
=
1024
*
1024
*
1024
*
3
;
--
replace_column
1
<
Id
>
6
<
Time
>
SHOW
PROCESSLIST
;
SET
SESSION
transaction_prealloc_size
=
1024
*
1024
*
1024
*
4
;
--
replace_column
1
<
Id
>
6
<
Time
>
SHOW
PROCESSLIST
;
SET
SESSION
transaction_prealloc_size
=
1024
*
1024
*
1024
*
5
;
--
replace_column
1
<
Id
>
6
<
Time
>
SHOW
PROCESSLIST
;
--
enable_warnings
set
session
transaction_prealloc_size
=
1024
*
1024
*
1024
*
1
;
show
processlist
;
set
session
transaction_prealloc_size
=
1024
*
1024
*
1024
*
2
;
show
processlist
;
set
session
transaction_prealloc_size
=
1024
*
1024
*
1024
*
3
;
show
processlist
;
set
session
transaction_prealloc_size
=
1024
*
1024
*
1024
*
4
;
show
processlist
;
set
session
transaction_prealloc_size
=
1024
*
1024
*
1024
*
5
;
show
processlist
;
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