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
800ba382
Commit
800ba382
authored
Oct 28, 2009
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix automerge: s/hash_search/my_hash_search/.
parent
ac7ba1bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
sql/rpl_handler.cc
sql/rpl_handler.cc
+3
-3
sql/sql_repl.cc
sql/sql_repl.cc
+1
-1
No files found.
sql/rpl_handler.cc
View file @
800ba382
...
@@ -44,7 +44,7 @@ int get_user_var_int(const char *name,
...
@@ -44,7 +44,7 @@ int get_user_var_int(const char *name,
{
{
my_bool
null_val
;
my_bool
null_val
;
user_var_entry
*
entry
=
user_var_entry
*
entry
=
(
user_var_entry
*
)
hash_search
(
&
current_thd
->
user_vars
,
(
user_var_entry
*
)
my_
hash_search
(
&
current_thd
->
user_vars
,
(
uchar
*
)
name
,
strlen
(
name
));
(
uchar
*
)
name
,
strlen
(
name
));
if
(
!
entry
)
if
(
!
entry
)
return
1
;
return
1
;
...
@@ -59,7 +59,7 @@ int get_user_var_real(const char *name,
...
@@ -59,7 +59,7 @@ int get_user_var_real(const char *name,
{
{
my_bool
null_val
;
my_bool
null_val
;
user_var_entry
*
entry
=
user_var_entry
*
entry
=
(
user_var_entry
*
)
hash_search
(
&
current_thd
->
user_vars
,
(
user_var_entry
*
)
my_
hash_search
(
&
current_thd
->
user_vars
,
(
uchar
*
)
name
,
strlen
(
name
));
(
uchar
*
)
name
,
strlen
(
name
));
if
(
!
entry
)
if
(
!
entry
)
return
1
;
return
1
;
...
@@ -75,7 +75,7 @@ int get_user_var_str(const char *name, char *value,
...
@@ -75,7 +75,7 @@ int get_user_var_str(const char *name, char *value,
String
str
;
String
str
;
my_bool
null_val
;
my_bool
null_val
;
user_var_entry
*
entry
=
user_var_entry
*
entry
=
(
user_var_entry
*
)
hash_search
(
&
current_thd
->
user_vars
,
(
user_var_entry
*
)
my_
hash_search
(
&
current_thd
->
user_vars
,
(
uchar
*
)
name
,
strlen
(
name
));
(
uchar
*
)
name
,
strlen
(
name
));
if
(
!
entry
)
if
(
!
entry
)
return
1
;
return
1
;
...
...
sql/sql_repl.cc
View file @
800ba382
...
@@ -377,7 +377,7 @@ static ulonglong get_heartbeat_period(THD * thd)
...
@@ -377,7 +377,7 @@ static ulonglong get_heartbeat_period(THD * thd)
my_bool
null_value
;
my_bool
null_value
;
LEX_STRING
name
=
{
C_STRING_WITH_LEN
(
"master_heartbeat_period"
)};
LEX_STRING
name
=
{
C_STRING_WITH_LEN
(
"master_heartbeat_period"
)};
user_var_entry
*
entry
=
user_var_entry
*
entry
=
(
user_var_entry
*
)
hash_search
(
&
thd
->
user_vars
,
(
uchar
*
)
name
.
str
,
(
user_var_entry
*
)
my_
hash_search
(
&
thd
->
user_vars
,
(
uchar
*
)
name
.
str
,
name
.
length
);
name
.
length
);
return
entry
?
entry
->
val_int
(
&
null_value
)
:
0
;
return
entry
?
entry
->
val_int
(
&
null_value
)
:
0
;
}
}
...
...
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