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
0765caa0
Commit
0765caa0
authored
Feb 02, 2018
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/5.5' into 10.0
parents
96cb428b
7a63ffab
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
mysys/mf_iocache.c
mysys/mf_iocache.c
+1
-1
sql/sql_cache.cc
sql/sql_cache.cc
+1
-0
sql/sql_update.cc
sql/sql_update.cc
+2
-0
No files found.
mysys/mf_iocache.c
View file @
0765caa0
...
...
@@ -258,7 +258,7 @@ int init_io_cache(IO_CACHE *info, File file, size_t cachesize,
else
{
/* Clear mutex so that safe_mutex will notice that it's not initialized */
bzero
((
char
*
)
&
info
->
append_buffer_lock
,
sizeof
(
info
));
bzero
((
char
*
)
&
info
->
append_buffer_lock
,
sizeof
(
info
->
append_buffer_lock
));
}
#endif
...
...
sql/sql_cache.cc
View file @
0765caa0
...
...
@@ -2539,6 +2539,7 @@ void Query_cache::init()
*/
if
(
global_system_variables
.
query_cache_type
==
0
)
{
m_cache_status
=
DISABLE_REQUEST
;
free_cache
();
m_cache_status
=
DISABLED
;
}
...
...
sql/sql_update.cc
View file @
0765caa0
...
...
@@ -689,6 +689,8 @@ int mysql_update(THD *thd,
if
(
reinit_io_cache
(
&
tempfile
,
READ_CACHE
,
0L
,
0
,
0
))
error
=
1
;
/* purecov: inspected */
select
->
file
=
tempfile
;
// Read row ptrs from this file
// select->file was copied, update self-references.
setup_io_cache
(
&
select
->
file
);
if
(
error
>=
0
)
goto
err
;
}
...
...
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