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
938de5ee
Commit
938de5ee
authored
Feb 02, 2007
by
gluh@mysql.com/eagle.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another valgrind error fix for 4.1(backport from 5.0)
parent
31c3059a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
sql/examples/ha_tina.cc
sql/examples/ha_tina.cc
+12
-0
sql/examples/ha_tina.h
sql/examples/ha_tina.h
+2
-0
sql/handler.cc
sql/handler.cc
+4
-0
No files found.
sql/examples/ha_tina.cc
View file @
938de5ee
...
@@ -220,6 +220,18 @@ static int free_share(TINA_SHARE *share)
...
@@ -220,6 +220,18 @@ static int free_share(TINA_SHARE *share)
}
}
bool
tina_end
()
{
if
(
tina_init
)
{
hash_free
(
&
tina_open_tables
);
VOID
(
pthread_mutex_destroy
(
&
tina_mutex
));
}
tina_init
=
0
;
return
FALSE
;
}
/*
/*
Finds the end of a line.
Finds the end of a line.
Currently only supports files written on a UNIX OS.
Currently only supports files written on a UNIX OS.
...
...
sql/examples/ha_tina.h
View file @
938de5ee
...
@@ -136,3 +136,5 @@ class ha_tina: public handler
...
@@ -136,3 +136,5 @@ class ha_tina: public handler
int
find_current_row
(
byte
*
buf
);
int
find_current_row
(
byte
*
buf
);
int
chain_append
();
int
chain_append
();
};
};
bool
tina_end
();
sql/handler.cc
View file @
938de5ee
...
@@ -340,6 +340,10 @@ int ha_panic(enum ha_panic_function flag)
...
@@ -340,6 +340,10 @@ int ha_panic(enum ha_panic_function flag)
#ifdef HAVE_ARCHIVE_DB
#ifdef HAVE_ARCHIVE_DB
if
(
have_archive_db
==
SHOW_OPTION_YES
)
if
(
have_archive_db
==
SHOW_OPTION_YES
)
error
|=
archive_db_end
();
error
|=
archive_db_end
();
#endif
#ifdef HAVE_CSV_DB
if
(
have_csv_db
==
SHOW_OPTION_YES
)
error
|=
tina_end
();
#endif
#endif
return
error
;
return
error
;
}
/* ha_panic */
}
/* ha_panic */
...
...
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