diff options
author | Marc Alff <marc.alff@sun.com> | 2009-11-30 17:49:15 -0700 |
---|---|---|
committer | Marc Alff <marc.alff@sun.com> | 2009-11-30 17:49:15 -0700 |
commit | f2d67abbc0fe05d0b97a63127ffc7f85c892cf98 (patch) | |
tree | 60c7ded488b2fdc27e6b1d0de6f621cf4503e7dd /strings | |
parent | 3c11750e363da6e1017d5bc86e9e7e03b2c4e101 (diff) | |
download | mariadb-git-f2d67abbc0fe05d0b97a63127ffc7f85c892cf98.tar.gz |
WL#2360 Performance schema
Part 1: Instrumentation interface
Diffstat (limited to 'strings')
-rw-r--r-- | strings/Makefile.am | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/strings/Makefile.am b/strings/Makefile.am index ddd41e627dc..4c34a923d81 100644 --- a/strings/Makefile.am +++ b/strings/Makefile.am @@ -1,4 +1,4 @@ -# Copyright (C) 2000-2006 MySQL AB +# Copyright (C) 2000-2006 MySQL AB, 2009 Sun Microsystems, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,7 +15,16 @@ # This file is public domain and comes with NO WARRANTY of any kind -INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include +# +# Note that the string library is built with #define THREAD, +# which by default cause all the thread related code (my_pthread.h) +# and therefore the associated instrumentation (mysql/psi/mysql_thread.h) +# to be used. +# Since the string code itself is not instrumented, we use +# #define DISABLE_MYSQL_THREAD_H here to avoid unneeded dependencies. +# + +INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -DDISABLE_MYSQL_THREAD_H pkglib_LIBRARIES = libmystrings.a # Exact one of ASSEMBLER_X |