mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/dlenev/src/mysql-5.0-merges
This commit is contained in:
@ -1052,3 +1052,6 @@ vio/test-ssl
|
|||||||
vio/test-sslclient
|
vio/test-sslclient
|
||||||
vio/test-sslserver
|
vio/test-sslserver
|
||||||
vio/viotest-ssl
|
vio/viotest-ssl
|
||||||
|
include/mysqld_ername.h
|
||||||
|
include/mysqld_error.h
|
||||||
|
include/sql_state.h
|
||||||
|
@ -241,6 +241,7 @@ tonu@x153.internalnet
|
|||||||
tonu@x3.internalnet
|
tonu@x3.internalnet
|
||||||
tsmith@build.mysql.com
|
tsmith@build.mysql.com
|
||||||
tulin@build.mysql.com
|
tulin@build.mysql.com
|
||||||
|
tulin@mysql.com
|
||||||
ulli@morbus.(none)
|
ulli@morbus.(none)
|
||||||
venu@hundin.mysql.fi
|
venu@hundin.mysql.fi
|
||||||
venu@myvenu.com
|
venu@myvenu.com
|
||||||
|
@ -27,9 +27,5 @@ EXTRA_DIST =
|
|||||||
all:
|
all:
|
||||||
:
|
:
|
||||||
|
|
||||||
# Nothing to cleanup in this dummy directory.
|
|
||||||
clean:
|
|
||||||
:
|
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#AUTOMAKE_OPTIONS = nostdinc
|
#AUTOMAKE_OPTIONS = nostdinc
|
||||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/regex \
|
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/regex \
|
||||||
$(openssl_includes) -I$(top_srcdir)/extra
|
$(openssl_includes) -I$(top_builddir)/include
|
||||||
LIBS = @CLIENT_LIBS@
|
LIBS = @CLIENT_LIBS@
|
||||||
LDADD= @CLIENT_EXTRA_LDFLAGS@ \
|
LDADD= @CLIENT_EXTRA_LDFLAGS@ \
|
||||||
$(top_builddir)/libmysql/libmysqlclient.la
|
$(top_builddir)/libmysql/libmysqlclient.la
|
||||||
|
@ -2186,6 +2186,38 @@ static my_bool dump_all_views_in_db(char *database)
|
|||||||
return 0;
|
return 0;
|
||||||
} /* dump_all_tables_in_db */
|
} /* dump_all_tables_in_db */
|
||||||
|
|
||||||
|
/*
|
||||||
|
get_actual_table_name -- executes a SHOW TABLES LIKE '%s' to get the actual
|
||||||
|
table name from the server for the table name given on the command line.
|
||||||
|
we do this because the table name given on the command line may be a
|
||||||
|
different case (e.g. T1 vs t1)
|
||||||
|
|
||||||
|
RETURN
|
||||||
|
void
|
||||||
|
*/
|
||||||
|
static void get_actual_table_name( const char *old_table_name,
|
||||||
|
char *new_table_name,
|
||||||
|
int buf_size )
|
||||||
|
{
|
||||||
|
MYSQL_RES *tableRes;
|
||||||
|
MYSQL_ROW row;
|
||||||
|
char query[ NAME_LEN + 50 ];
|
||||||
|
|
||||||
|
DBUG_ENTER("get_actual_table_name");
|
||||||
|
|
||||||
|
sprintf( query, "SHOW TABLES LIKE '%s'", old_table_name );
|
||||||
|
if (mysql_query_with_error_report(sock, 0, query))
|
||||||
|
{
|
||||||
|
safe_exit(EX_MYSQLERR);
|
||||||
|
}
|
||||||
|
|
||||||
|
tableRes = mysql_store_result( sock );
|
||||||
|
row = mysql_fetch_row( tableRes );
|
||||||
|
strncpy( new_table_name, row[0], buf_size );
|
||||||
|
mysql_free_result(tableRes);
|
||||||
|
} /* get_actual_table_name */
|
||||||
|
|
||||||
|
|
||||||
static int dump_selected_tables(char *db, char **table_names, int tables)
|
static int dump_selected_tables(char *db, char **table_names, int tables)
|
||||||
{
|
{
|
||||||
uint numrows;
|
uint numrows;
|
||||||
@ -2219,9 +2251,14 @@ static int dump_selected_tables(char *db, char **table_names, int tables)
|
|||||||
print_xml_tag1(md_result_file, "", "database name=", db, "\n");
|
print_xml_tag1(md_result_file, "", "database name=", db, "\n");
|
||||||
for (i=0 ; i < tables ; i++)
|
for (i=0 ; i < tables ; i++)
|
||||||
{
|
{
|
||||||
numrows = getTableStructure(table_names[i], db);
|
char new_table_name[NAME_LEN];
|
||||||
if (!dFlag && numrows > 0)
|
|
||||||
dumpTable(numrows, table_names[i]);
|
/* the table name passed on commandline may be wrong case */
|
||||||
|
get_actual_table_name( table_names[i], new_table_name, sizeof(new_table_name) );
|
||||||
|
|
||||||
|
numrows = getTableStructure(new_table_name, db);
|
||||||
|
|
||||||
|
dumpTable(numrows, new_table_name);
|
||||||
my_free(order_by, MYF(MY_ALLOW_ZERO_PTR));
|
my_free(order_by, MYF(MY_ALLOW_ZERO_PTR));
|
||||||
order_by= 0;
|
order_by= 0;
|
||||||
}
|
}
|
||||||
|
@ -1674,8 +1674,8 @@ then
|
|||||||
elif test "$with_debug" = "full"
|
elif test "$with_debug" = "full"
|
||||||
then
|
then
|
||||||
# Full debug. Very slow in some cases
|
# Full debug. Very slow in some cases
|
||||||
CFLAGS="$DEBUG_CFLAGS -DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC -DUNIV_DEBUG $CFLAGS"
|
CFLAGS="$DEBUG_CFLAGS -DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC $CFLAGS"
|
||||||
CXXFLAGS="$DEBUG_CXXFLAGS -DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC -DUNIV_DEBUG $CXXFLAGS"
|
CXXFLAGS="$DEBUG_CXXFLAGS -DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC $CXXFLAGS"
|
||||||
else
|
else
|
||||||
# Optimized version. No debug
|
# Optimized version. No debug
|
||||||
CFLAGS="$OPTIMIZE_CFLAGS -DDBUG_OFF $CFLAGS"
|
CFLAGS="$OPTIMIZE_CFLAGS -DDBUG_OFF $CFLAGS"
|
||||||
|
@ -26,6 +26,7 @@ EXTRA_DIST = example1.c example2.c example3.c \
|
|||||||
NROFF_INC = example1.r example2.r example3.r main.r \
|
NROFF_INC = example1.r example2.r example3.r main.r \
|
||||||
factorial.r output1.r output2.r output3.r \
|
factorial.r output1.r output2.r output3.r \
|
||||||
output4.r output5.r
|
output4.r output5.r
|
||||||
|
CLEANFILES = $(NROFF_INC) user.t user.ps
|
||||||
|
|
||||||
|
|
||||||
# Must be linked with libs that are not compiled yet
|
# Must be linked with libs that are not compiled yet
|
||||||
@ -59,8 +60,5 @@ output5.r: factorial
|
|||||||
@RM@ -f $@
|
@RM@ -f $@
|
||||||
@SED@ -e 's!\\!\\\\!g' $< > $@
|
@SED@ -e 's!\\!\\\\!g' $< > $@
|
||||||
|
|
||||||
clean:
|
|
||||||
@RM@ -f $(NROFF_INC) user.t user.ps
|
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -16,25 +16,26 @@
|
|||||||
|
|
||||||
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include \
|
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include \
|
||||||
@ndbcluster_includes@ -I$(top_srcdir)/sql \
|
@ndbcluster_includes@ -I$(top_srcdir)/sql \
|
||||||
-I$(top_srcdir)/extra
|
-I$(top_builddir)/include
|
||||||
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \
|
||||||
../dbug/libdbug.a ../strings/libmystrings.a
|
../dbug/libdbug.a ../strings/libmystrings.a
|
||||||
BUILT_SOURCES= mysqld_error.h sql_state.h mysqld_ername.h
|
BUILT_SOURCES= $(top_builddir)/include/mysqld_error.h \
|
||||||
|
$(top_builddir)/include/sql_state.h \
|
||||||
|
$(top_builddir)/include/mysqld_ername.h
|
||||||
pkginclude_HEADERS= $(BUILT_SOURCES)
|
pkginclude_HEADERS= $(BUILT_SOURCES)
|
||||||
created_sources = created_include_files
|
CLEANFILES = $(BUILT_SOURCES)
|
||||||
CLEANFILES = $(created_sources)
|
|
||||||
SUPERCLEANFILES = $(BUILT_SOURCES)
|
|
||||||
|
|
||||||
all: $(created_sources)
|
|
||||||
|
|
||||||
# This will build mysqld_error.h and sql_state.h
|
# This will build mysqld_error.h and sql_state.h
|
||||||
mysqld_error.h: created_include_files
|
$(top_builddir)/include/mysqld_error.h: comp_err
|
||||||
mysqld_ername.h: created_include_files
|
$(top_builddir)/extra/comp_err \
|
||||||
sql_state.h: created_include_files
|
--charset=$(top_srcdir)/sql/share/charsets \
|
||||||
|
--out-dir=$(top_builddir)/sql/share/ \
|
||||||
created_include_files: comp_err
|
--header_file=$(top_builddir)/include/mysqld_error.h \
|
||||||
$(top_builddir)/extra/comp_err --charset=$(srcdir)/../sql/share/charsets --out-dir=$(top_builddir)/sql/share/ --header_file=$(top_builddir)/extra/mysqld_error.h --name_file=$(top_builddir)/extra/mysqld_ername.h --state_file=$(top_builddir)/extra/sql_state.h --in_file=$(srcdir)/../sql/share/errmsg.txt
|
--name_file=$(top_builddir)/include/mysqld_ername.h \
|
||||||
touch created_include_files
|
--state_file=$(top_builddir)/include/sql_state.h \
|
||||||
|
--in_file=$(top_srcdir)/sql/share/errmsg.txt
|
||||||
|
$(top_builddir)/include/mysqld_ername.h: $(top_builddir)/include/mysqld_error.h
|
||||||
|
$(top_builddir)/include/sql_state.h: $(top_builddir)/include/mysqld_error.h
|
||||||
|
|
||||||
bin_PROGRAMS = replace comp_err perror resolveip my_print_defaults \
|
bin_PROGRAMS = replace comp_err perror resolveip my_print_defaults \
|
||||||
resolve_stack_dump mysql_waitpid
|
resolve_stack_dump mysql_waitpid
|
||||||
|
@ -33,15 +33,10 @@ noinst_HEADERS = config-win.h config-os2.h config-netware.h \
|
|||||||
mysql_version.h.in my_handler.h my_time.h decimal.h
|
mysql_version.h.in my_handler.h my_time.h decimal.h
|
||||||
|
|
||||||
# mysql_version.h are generated
|
# mysql_version.h are generated
|
||||||
SUPERCLEANFILES = mysql_version.h my_config.h
|
CLEANFILES = mysql_version.h my_config.h readline
|
||||||
|
|
||||||
# Some include files that may be moved and patched by configure
|
# Some include files that may be moved and patched by configure
|
||||||
DISTCLEANFILES = sched.h $(SUPERCLEANFILES)
|
DISTCLEANFILES = sched.h $(CLEANFILES)
|
||||||
|
|
||||||
clean:
|
|
||||||
$(RM) -fr readline
|
|
||||||
distclean:
|
|
||||||
$(RM) -fr readline
|
|
||||||
|
|
||||||
all-local: my_config.h
|
all-local: my_config.h
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ target = libmysqlclient.la
|
|||||||
target_defs = -DUNDEF_THREADS_HACK -DDONT_USE_RAID @LIB_EXTRA_CCFLAGS@
|
target_defs = -DUNDEF_THREADS_HACK -DDONT_USE_RAID @LIB_EXTRA_CCFLAGS@
|
||||||
LIBS = @CLIENT_LIBS@
|
LIBS = @CLIENT_LIBS@
|
||||||
INCLUDES = -I$(top_srcdir)/include $(openssl_includes) @ZLIB_INCLUDES@ \
|
INCLUDES = -I$(top_srcdir)/include $(openssl_includes) @ZLIB_INCLUDES@ \
|
||||||
-I$(top_srcdir)/extra
|
-I$(top_builddir)/include
|
||||||
|
|
||||||
include $(srcdir)/Makefile.shared
|
include $(srcdir)/Makefile.shared
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ LIBS = @LIBS@ @ZLIB_LIBS@ @openssl_libs@
|
|||||||
|
|
||||||
INCLUDES = @MT_INCLUDES@ \
|
INCLUDES = @MT_INCLUDES@ \
|
||||||
-I$(top_srcdir)/include $(openssl_includes) @ZLIB_INCLUDES@ \
|
-I$(top_srcdir)/include $(openssl_includes) @ZLIB_INCLUDES@ \
|
||||||
-I$(top_srcdir)/extra
|
-I$(top_builddir)/include
|
||||||
## automake barfs if you don't use $(srcdir) or $(top_srcdir) in include
|
## automake barfs if you don't use $(srcdir) or $(top_srcdir) in include
|
||||||
include $(top_srcdir)/libmysql/Makefile.shared
|
include $(top_srcdir)/libmysql/Makefile.shared
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ DEFS = -DEMBEDDED_LIBRARY -DMYSQL_SERVER \
|
|||||||
INCLUDES= @MT_INCLUDES@ @bdb_includes@ -I$(top_srcdir)/include \
|
INCLUDES= @MT_INCLUDES@ @bdb_includes@ -I$(top_srcdir)/include \
|
||||||
-I$(top_srcdir)/sql -I$(top_srcdir)/sql/examples \
|
-I$(top_srcdir)/sql -I$(top_srcdir)/sql/examples \
|
||||||
-I$(top_srcdir)/regex \
|
-I$(top_srcdir)/regex \
|
||||||
-I$(top_srcdir)/extra \
|
-I$(top_builddir)/include \
|
||||||
$(openssl_includes) @ZLIB_INCLUDES@
|
$(openssl_includes) @ZLIB_INCLUDES@
|
||||||
|
|
||||||
noinst_LIBRARIES = libmysqld_int.a
|
noinst_LIBRARIES = libmysqld_int.a
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
noinst_PROGRAMS = mysql
|
noinst_PROGRAMS = mysql
|
||||||
bin_PROGRAMS = mysqltest_embedded mysql_client_test_embedded
|
bin_PROGRAMS = mysqltest_embedded mysql_client_test_embedded
|
||||||
client_sources = $(mysqltest_embedded_SOURCES) $(mysql_SOURCES)
|
client_sources = $(mysqltest_embedded_SOURCES) $(mysql_SOURCES)
|
||||||
tests_sources= $(mysql_client_test_embedded_SOURCES)
|
tests_sources = $(mysql_client_test_embedded_SOURCES)
|
||||||
|
CLEANFILES = $(client_sources) $(tests_sources)
|
||||||
|
|
||||||
link_sources:
|
link_sources:
|
||||||
for f in $(client_sources); do \
|
for f in $(client_sources); do \
|
||||||
@ -16,7 +17,7 @@ link_sources:
|
|||||||
DEFS = -DEMBEDDED_LIBRARY
|
DEFS = -DEMBEDDED_LIBRARY
|
||||||
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
|
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
|
||||||
-I$(top_srcdir) -I$(top_srcdir)/client -I$(top_srcdir)/regex \
|
-I$(top_srcdir) -I$(top_srcdir)/client -I$(top_srcdir)/regex \
|
||||||
-I$(top_srcdir)/extra $(openssl_includes)
|
-I$(top_builddir)/include $(openssl_includes)
|
||||||
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
|
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
|
||||||
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
|
||||||
|
|
||||||
@ -31,9 +32,5 @@ mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)
|
|||||||
mysql_client_test_embedded_LINK = $(CXXLINK)
|
mysql_client_test_embedded_LINK = $(CXXLINK)
|
||||||
mysql_client_test_embedded_SOURCES = mysql_client_test.c
|
mysql_client_test_embedded_SOURCES = mysql_client_test.c
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f $(client_sources)
|
|
||||||
rm -f $(tests_sources)
|
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -1429,7 +1429,7 @@ run_testcase ()
|
|||||||
if [ -n "$RESULT_EXT" -a \( x$RECORD = x1 -o -f "$result_file$RESULT_EXT" \) ] ; then
|
if [ -n "$RESULT_EXT" -a \( x$RECORD = x1 -o -f "$result_file$RESULT_EXT" \) ] ; then
|
||||||
result_file="$result_file$RESULT_EXT"
|
result_file="$result_file$RESULT_EXT"
|
||||||
fi
|
fi
|
||||||
if [ -e "$TESTDIR/$tname.disabled" ]
|
if [ -f "$TESTDIR/$tname.disabled" ]
|
||||||
then
|
then
|
||||||
comment=`$CAT $TESTDIR/$tname.disabled`;
|
comment=`$CAT $TESTDIR/$tname.disabled`;
|
||||||
disable_test $tname "$comment"
|
disable_test $tname "$comment"
|
||||||
|
@ -9,7 +9,7 @@ DOXYOUT = .doxyout
|
|||||||
|
|
||||||
NDB_RELEASE = @NDB_VERSION_MAJOR@.@NDB_VERSION_MINOR@.@NDB_VERSION_BUILD@-@NDB_VERSION_STATUS@
|
NDB_RELEASE = @NDB_VERSION_MAJOR@.@NDB_VERSION_MINOR@.@NDB_VERSION_BUILD@-@NDB_VERSION_STATUS@
|
||||||
|
|
||||||
clean:
|
clean-local:
|
||||||
rm -rf ndbapi.pdf ndbapi.html mgmapi.pdf mgmapi.html
|
rm -rf ndbapi.pdf ndbapi.html mgmapi.pdf mgmapi.html
|
||||||
rm -rf $(DOXYTMP) $(DOXYOUT)
|
rm -rf $(DOXYTMP) $(DOXYOUT)
|
||||||
|
|
||||||
|
@ -17,11 +17,7 @@
|
|||||||
#ifndef NDB_OPT_DEFAULTS_H
|
#ifndef NDB_OPT_DEFAULTS_H
|
||||||
#define NDB_OPT_DEFAULTS_H
|
#define NDB_OPT_DEFAULTS_H
|
||||||
|
|
||||||
#ifdef SIGRTMIN
|
|
||||||
#define OPT_NDB_SHM_SIGNUM_DEFAULT SIGRTMIN+2
|
|
||||||
#else
|
|
||||||
#define OPT_NDB_SHM_SIGNUM_DEFAULT 0
|
#define OPT_NDB_SHM_SIGNUM_DEFAULT 0
|
||||||
#endif
|
|
||||||
#define OPT_NDB_SHM_DEFAULT 0
|
#define OPT_NDB_SHM_DEFAULT 0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -90,7 +90,7 @@ CLEANFILES = @server_scripts@ \
|
|||||||
fill_help_tables \
|
fill_help_tables \
|
||||||
mysql_create_system_tables
|
mysql_create_system_tables
|
||||||
|
|
||||||
SUPERCLEANFILES = mysqlbug
|
DISTCLEANFILES = mysqlbug
|
||||||
|
|
||||||
# We want the right version and configure comand line in mysqlbug
|
# We want the right version and configure comand line in mysqlbug
|
||||||
mysqlbug: ${top_builddir}/config.status mysqlbug.sh
|
mysqlbug: ${top_builddir}/config.status mysqlbug.sh
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# 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
|
||||||
|
|
||||||
INCLUDES= -I$(top_srcdir)/include -I$(top_srcdir)/extra
|
INCLUDES= -I$(top_srcdir)/include -I$(top_builddir)/include
|
||||||
|
|
||||||
DEFS= -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER
|
DEFS= -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ MYSQLBASEdir= $(prefix)
|
|||||||
INCLUDES = @MT_INCLUDES@ @ZLIB_INCLUDES@ \
|
INCLUDES = @MT_INCLUDES@ @ZLIB_INCLUDES@ \
|
||||||
@bdb_includes@ @innodb_includes@ @ndbcluster_includes@ \
|
@bdb_includes@ @innodb_includes@ @ndbcluster_includes@ \
|
||||||
-I$(top_srcdir)/include -I$(top_srcdir)/regex \
|
-I$(top_srcdir)/include -I$(top_srcdir)/regex \
|
||||||
-I$(srcdir) $(openssl_includes) -I$(top_srcdir)/extra
|
-I$(srcdir) $(openssl_includes) -I$(top_builddir)/include
|
||||||
WRAPLIBS= @WRAPLIBS@
|
WRAPLIBS= @WRAPLIBS@
|
||||||
SUBDIRS = share
|
SUBDIRS = share
|
||||||
libexec_PROGRAMS = mysqld
|
libexec_PROGRAMS = mysqld
|
||||||
@ -115,6 +115,7 @@ DEFS = -DMYSQL_SERVER \
|
|||||||
# Don't put lex_hash.h in BUILT_SOURCES as this will give infinite recursion
|
# Don't put lex_hash.h in BUILT_SOURCES as this will give infinite recursion
|
||||||
BUILT_SOURCES = sql_yacc.cc sql_yacc.h
|
BUILT_SOURCES = sql_yacc.cc sql_yacc.h
|
||||||
EXTRA_DIST = udf_example.cc $(BUILT_SOURCES)
|
EXTRA_DIST = udf_example.cc $(BUILT_SOURCES)
|
||||||
|
DISTCLEANFILES = lex_hash.h
|
||||||
AM_YFLAGS = -d
|
AM_YFLAGS = -d
|
||||||
|
|
||||||
mysql_tzinfo_to_sql.cc:
|
mysql_tzinfo_to_sql.cc:
|
||||||
@ -160,8 +161,5 @@ sql_lex.o: lex_hash.h
|
|||||||
udf_example.so: udf_example.cc
|
udf_example.so: udf_example.cc
|
||||||
$(CXXCOMPILE) -shared -o $@ $<
|
$(CXXCOMPILE) -shared -o $@ $<
|
||||||
|
|
||||||
distclean:
|
|
||||||
rm -f lex_hash.h
|
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -14,10 +14,11 @@ dist-hook:
|
|||||||
all: english/errmsg.sys
|
all: english/errmsg.sys
|
||||||
|
|
||||||
# Use the english errmsg.sys as a flag that all errmsg.sys needs to be
|
# Use the english errmsg.sys as a flag that all errmsg.sys needs to be
|
||||||
# created. Normally these are created by extra/Makefile.am
|
# created. Normally these are created by extra/Makefile
|
||||||
|
|
||||||
english/errmsg.sys: errmsg.txt
|
english/errmsg.sys: errmsg.txt
|
||||||
$(top_builddir)/extra/comp_err --charset=$(srcdir)/charsets --out-dir=$(top_builddir)/sql/share/ --header_file=$(top_builddir)/extra/mysqld_error.h --state_file=$(top_builddir)/extra/sql_state.h --in_file=errmsg.txt
|
rm $(top_builddir)/include/mysqld_error.h
|
||||||
|
(cd $(top_builddir)/extra && $(MAKE))
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
for lang in @AVAILABLE_LANGUAGES@; \
|
for lang in @AVAILABLE_LANGUAGES@; \
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
# Process this file with automake to create Makefile.in
|
# Process this file with automake to create Makefile.in
|
||||||
|
|
||||||
INCLUDES=@MT_INCLUDES@ -I$(top_srcdir)/include $(openssl_includes) \
|
INCLUDES=@MT_INCLUDES@ -I$(top_srcdir)/include $(openssl_includes) \
|
||||||
-I$(top_srcdir)/extra
|
-I$(top_builddir)/include
|
||||||
LDADD= @CLIENT_EXTRA_LDFLAGS@ @openssl_libs@ \
|
LDADD= @CLIENT_EXTRA_LDFLAGS@ @openssl_libs@ \
|
||||||
$(top_builddir)/libmysql_r/libmysqlclient_r.la @ZLIB_LIBS@
|
$(top_builddir)/libmysql_r/libmysqlclient_r.la @ZLIB_LIBS@
|
||||||
bin_PROGRAMS= mysqlmanager
|
bin_PROGRAMS= mysqlmanager
|
||||||
|
Reference in New Issue
Block a user