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
0e05dc81
Commit
0e05dc81
authored
Apr 28, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename handler::ha_set_lock_type() -> handler::set_lock_type(),
because it's not a handler convenience wrapper
parent
84d13a7e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
sql/handler.cc
sql/handler.cc
+1
-1
sql/handler.h
sql/handler.h
+1
-1
sql/sql_update.cc
sql/sql_update.cc
+1
-1
storage/myisammrg/ha_myisammrg.cc
storage/myisammrg/ha_myisammrg.cc
+2
-2
storage/myisammrg/ha_myisammrg.h
storage/myisammrg/ha_myisammrg.h
+1
-1
No files found.
sql/handler.cc
View file @
0e05dc81
...
...
@@ -5285,7 +5285,7 @@ void signal_log_not_needed(struct handlerton, char *log_file)
DBUG_VOID_RETURN
;
}
void
handler
::
ha_
set_lock_type
(
enum
thr_lock_type
lock
)
void
handler
::
set_lock_type
(
enum
thr_lock_type
lock
)
{
table
->
reginfo
.
lock_type
=
lock
;
}
...
...
sql/handler.h
View file @
0e05dc81
...
...
@@ -2952,7 +2952,7 @@ class handler :public Sql_alloc
inline
int
ha_write_tmp_row
(
uchar
*
buf
);
inline
int
ha_update_tmp_row
(
const
uchar
*
old_data
,
uchar
*
new_data
);
virtual
void
ha_
set_lock_type
(
enum
thr_lock_type
lock
);
virtual
void
set_lock_type
(
enum
thr_lock_type
lock
);
friend
enum
icp_result
handler_index_cond_check
(
void
*
h_arg
);
};
...
...
sql/sql_update.cc
View file @
0e05dc81
...
...
@@ -1304,7 +1304,7 @@ int mysql_multi_update_prepare(THD *thd)
tl
->
updating
=
0
;
/* Update TABLE::lock_type accordingly. */
if
(
!
tl
->
placeholder
()
&&
!
using_lock_tables
)
tl
->
table
->
file
->
ha_
set_lock_type
(
tl
->
lock_type
);
tl
->
table
->
file
->
set_lock_type
(
tl
->
lock_type
);
}
}
for
(
tl
=
table_list
;
tl
;
tl
=
tl
->
next_local
)
...
...
storage/myisammrg/ha_myisammrg.cc
View file @
0e05dc81
...
...
@@ -1714,9 +1714,9 @@ my_bool ha_myisammrg::register_query_cache_dependant_tables(THD *thd
}
void
ha_myisammrg
::
ha_
set_lock_type
(
enum
thr_lock_type
lock
)
void
ha_myisammrg
::
set_lock_type
(
enum
thr_lock_type
lock
)
{
handler
::
ha_
set_lock_type
(
lock
);
handler
::
set_lock_type
(
lock
);
if
(
children_l
!=
NULL
)
{
for
(
TABLE_LIST
*
child_table
=
children_l
;;
...
...
storage/myisammrg/ha_myisammrg.h
View file @
0e05dc81
...
...
@@ -155,5 +155,5 @@ class ha_myisammrg: public handler
Query_cache
*
cache
,
Query_cache_block_table
**
block
,
uint
*
n
);
virtual
void
ha_
set_lock_type
(
enum
thr_lock_type
lock
);
virtual
void
set_lock_type
(
enum
thr_lock_type
lock
);
};
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