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
95f4bf18
Commit
95f4bf18
authored
Feb 17, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-5613 m_string.h exports generic function names without a namespace prefix, like str2int
don't include m_string. in my_valgrind.h
parent
ce4d5fe5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
include/my_valgrind.h
include/my_valgrind.h
+1
-5
mysys/file_logger.c
mysys/file_logger.c
+1
-0
No files found.
include/my_valgrind.h
View file @
95f4bf18
...
@@ -13,10 +13,6 @@
...
@@ -13,10 +13,6 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
/* Some defines to make it easier to use valgrind */
#include <m_string.h>
/* bfill */
#ifdef HAVE_valgrind
#ifdef HAVE_valgrind
#define IF_VALGRIND(A,B) A
#define IF_VALGRIND(A,B) A
#else
#else
...
@@ -37,7 +33,7 @@
...
@@ -37,7 +33,7 @@
#endif
/* HAVE_VALGRIND */
#endif
/* HAVE_VALGRIND */
#ifndef DBUG_OFF
#ifndef DBUG_OFF
#define TRASH_FILL(A,B,C) do {
bfill(A, B, C
); MEM_UNDEFINED(A, B); } while (0)
#define TRASH_FILL(A,B,C) do {
memset(A, C, B
); MEM_UNDEFINED(A, B); } while (0)
#else
#else
#define TRASH_FILL(A,B,C) do{ MEM_CHECK_ADDRESSABLE(A,B);MEM_UNDEFINED(A,B);} while (0)
#define TRASH_FILL(A,B,C) do{ MEM_CHECK_ADDRESSABLE(A,B);MEM_UNDEFINED(A,B);} while (0)
#endif
#endif
...
...
mysys/file_logger.c
View file @
95f4bf18
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
#include "my_global.h"
#include "my_global.h"
#include <my_sys.h>
#include <my_sys.h>
#include <m_string.h>
#include <mysql/service_logger.h>
#include <mysql/service_logger.h>
#include <my_pthread.h>
#include <my_pthread.h>
...
...
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