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
a55711b4
Commit
a55711b4
authored
Mar 04, 2005
by
gluh@gluh.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug #8701: Server crash on 'set @@transaction_alloc_block_size=...'
parent
2c6e46f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sql/set_var.cc
sql/set_var.cc
+2
-0
No files found.
sql/set_var.cc
View file @
a55711b4
...
@@ -1315,10 +1315,12 @@ static void fix_thd_mem_root(THD *thd, enum_var_type type)
...
@@ -1315,10 +1315,12 @@ static void fix_thd_mem_root(THD *thd, enum_var_type type)
static
void
fix_trans_mem_root
(
THD
*
thd
,
enum_var_type
type
)
static
void
fix_trans_mem_root
(
THD
*
thd
,
enum_var_type
type
)
{
{
#ifdef USING_TRANSACTIONS
if
(
type
!=
OPT_GLOBAL
)
if
(
type
!=
OPT_GLOBAL
)
reset_root_defaults
(
&
thd
->
transaction
.
mem_root
,
reset_root_defaults
(
&
thd
->
transaction
.
mem_root
,
thd
->
variables
.
trans_alloc_block_size
,
thd
->
variables
.
trans_alloc_block_size
,
thd
->
variables
.
trans_prealloc_size
);
thd
->
variables
.
trans_prealloc_size
);
#endif
}
}
...
...
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