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
067d13f6
Commit
067d13f6
authored
Jan 11, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix for linking failure of MySQL client when linking with imap libraries
(Bug#7428) (renamed: hash_reset -> my_hash_reset)
parent
876a96cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mysys/hash.c
mysys/hash.c
+3
-3
sql/sql_class.h
sql/sql_class.h
+2
-2
No files found.
mysys/hash.c
View file @
067d13f6
...
@@ -122,13 +122,13 @@ void hash_free(HASH *hash)
...
@@ -122,13 +122,13 @@ void hash_free(HASH *hash)
Delete all elements from the hash (the hash itself is to be reused).
Delete all elements from the hash (the hash itself is to be reused).
SYNOPSIS
SYNOPSIS
hash_reset()
my_
hash_reset()
hash the hash to delete elements of
hash the hash to delete elements of
*/
*/
void
hash_reset
(
HASH
*
hash
)
void
my_
hash_reset
(
HASH
*
hash
)
{
{
DBUG_ENTER
(
"hash_reset"
);
DBUG_ENTER
(
"
my_
hash_reset"
);
DBUG_PRINT
(
"enter"
,(
"hash: 0x%lxd"
,
hash
));
DBUG_PRINT
(
"enter"
,(
"hash: 0x%lxd"
,
hash
));
hash_free_elements
(
hash
);
hash_free_elements
(
hash
);
...
...
sql/sql_class.h
View file @
067d13f6
...
@@ -648,8 +648,8 @@ class Statement_map
...
@@ -648,8 +648,8 @@ class Statement_map
/* Erase all statements (calls Statement destructor) */
/* Erase all statements (calls Statement destructor) */
void
reset
()
void
reset
()
{
{
hash_reset
(
&
names_hash
);
my_
hash_reset
(
&
names_hash
);
hash_reset
(
&
st_hash
);
my_
hash_reset
(
&
st_hash
);
last_found_statement
=
0
;
last_found_statement
=
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