Commit fa0b07d8 authored by unknown's avatar unknown

Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into mysql.com:/Users/kent/mysql/bk/mysql-5.1-new

parents 2a29fbfc b8d4b15c
...@@ -2346,7 +2346,6 @@ print_table_data(MYSQL_RES *result) ...@@ -2346,7 +2346,6 @@ print_table_data(MYSQL_RES *result)
uint visible_length; uint visible_length;
uint extra_padding; uint extra_padding;
/* If this column may have a null value, use "NULL" for empty. */
if (! not_null_flag[off] && (cur[off] == NULL)) if (! not_null_flag[off] && (cur[off] == NULL))
{ {
buffer= "NULL"; buffer= "NULL";
......
...@@ -1088,7 +1088,7 @@ dnl Is this the right match for DEC OSF on alpha? ...@@ -1088,7 +1088,7 @@ dnl Is this the right match for DEC OSF on alpha?
# Edit Makefile.in files. # Edit Makefile.in files.
# #
echo -n "configuring Makefile.in files for NetWare... " echo -n "configuring Makefile.in files for NetWare... "
for file in sql/Makefile.in libmysql/Makefile.in libmysql_r/Makefile.in sql/share/Makefile.in strings/Makefile.in client/Makefile.in for file in sql/Makefile.in extra/Makefile.in client/Makefile.in
do do
# echo "#### $file ####" # echo "#### $file ####"
filedir="`dirname $file`" filedir="`dirname $file`"
...@@ -1109,32 +1109,13 @@ dnl Is this the right match for DEC OSF on alpha? ...@@ -1109,32 +1109,13 @@ dnl Is this the right match for DEC OSF on alpha?
# Add library dependencies to mysqld_DEPENDENCIES # Add library dependencies to mysqld_DEPENDENCIES
lib_DEPENDENCIES="\$(pstack_libs) \$(openssl_libs) \$(yassl_libs)" lib_DEPENDENCIES="\$(pstack_libs) \$(openssl_libs) \$(yassl_libs)"
cat > $filesed << EOF cat > $filesed << EOF
s,\(^.*\$(MAKE) gen_lex_hash\)\$(EXEEXT),#\1,
s,\(\./gen_lex_hash\)\$(EXEEXT),\1.linux, s,\(\./gen_lex_hash\)\$(EXEEXT),\1.linux,
s%\(mysqld_DEPENDENCIES = \) %\1$lib_DEPENDENCIES % s%\(mysqld_DEPENDENCIES = \)%\1$lib_DEPENDENCIES %
EOF EOF
;; ;;
sql/share/Makefile.in) extra/Makefile.in)
cat > $filesed << EOF cat > $filesed << EOF
s,\(extra/comp_err\),\1.linux, s,\(extra/comp_err\)\$(EXEEXT),\1.linux,
EOF
;;
libmysql/Makefile.in)
cat > $filesed << EOF
s,\(\./conf_to_src\)\( \$(top_srcdir)\),\1.linux\2,
s,\(: conf_to_src\),\1.linux,
EOF
;;
libmysql_r/Makefile.in)
cat > $filesed << EOF
s,\(\./conf_to_src\)\( \$(top_srcdir)\),\1.linux\2,
s,\(: conf_to_src\),\1.linux,
EOF
;;
strings/Makefile.in)
cat > $filesed << EOF
s,\(\./conf_to_src\)\( \$(top_srcdir)\),\1.linux\2,
s,\(: conf_to_src\),\1.linux,
EOF EOF
;; ;;
client/Makefile.in) client/Makefile.in)
......
...@@ -111,6 +111,26 @@ ...@@ -111,6 +111,26 @@
obj:/lib/ld-*.so obj:/lib/ld-*.so
} }
{
pthread strstr uninit
Memcheck:Cond
fun:strstr
obj:/lib/tls/libpthread.so.*
obj:/lib/tls/libpthread.so.*
fun:call_init
fun:_dl_init
obj:/lib/ld-*.so
}
{
strlen/_dl_init_paths/dl_main/_dl_sysdep_start(Cond)
Memcheck:Cond
fun:strlen
fun:_dl_init_paths
fun:dl_main
fun:_dl_sysdep_start
}
{ {
pthread errno pthread errno
Memcheck:Leak Memcheck:Leak
......
...@@ -52,6 +52,10 @@ ...@@ -52,6 +52,10 @@
#include <signal.h> #include <signal.h>
#include <errno.h> #include <errno.h>
#ifdef __NETWARE__
#include <sys/select.h>
#endif
#ifdef EMBEDDED_LIBRARY #ifdef EMBEDDED_LIBRARY
#undef MYSQL_SERVER #undef MYSQL_SERVER
#undef MYSQL_CLIENT #undef MYSQL_CLIENT
......
...@@ -146,6 +146,11 @@ static byte* tina_get_key(TINA_SHARE *share,uint *length, ...@@ -146,6 +146,11 @@ static byte* tina_get_key(TINA_SHARE *share,uint *length,
int get_mmap(TINA_SHARE *share, int write) int get_mmap(TINA_SHARE *share, int write)
{ {
DBUG_ENTER("ha_tina::get_mmap"); DBUG_ENTER("ha_tina::get_mmap");
#ifdef __NETWARE__
my_message(errno, "Sorry, no mmap() on Netware", 0);
DBUG_ASSERT(0);
DBUG_RETURN(1);
#else
if (share->mapped_file && my_munmap(share->mapped_file, if (share->mapped_file && my_munmap(share->mapped_file,
share->file_stat.st_size)) share->file_stat.st_size))
DBUG_RETURN(1); DBUG_RETURN(1);
...@@ -180,6 +185,7 @@ int get_mmap(TINA_SHARE *share, int write) ...@@ -180,6 +185,7 @@ int get_mmap(TINA_SHARE *share, int write)
share->mapped_file= NULL; share->mapped_file= NULL;
DBUG_RETURN(0); DBUG_RETURN(0);
#endif /* __NETWARE__ */
} }
......
...@@ -319,7 +319,7 @@ BuildMySQL "--enable-shared \ ...@@ -319,7 +319,7 @@ BuildMySQL "--enable-shared \
--with-example-storage-engine \ --with-example-storage-engine \
--with-blackhole-storage-engine \ --with-blackhole-storage-engine \
--with-federated-storage-engine \ --with-federated-storage-engine \
--with-big-tables \ --with-big-tables \
--with-comment=\"MySQL Community Server - Max (GPL)\"") --with-comment=\"MySQL Community Server - Max (GPL)\"")
# We might want to save the config log file # We might want to save the config log file
...@@ -686,9 +686,9 @@ fi ...@@ -686,9 +686,9 @@ fi
%changelog %changelog
* Wed May 10 2006 Kent Boortz <kent@mysql.com> * Wed May 10 2006 Kent Boortz <kent@mysql.com>
- Use character set "all" for the "max", to make Cluster nodes - Use character set "all" when compiling with Cluster, to make Cluster
independent on the character set directory, and the problem that nodes independent on the character set directory, and the problem
two RPM sub packages both wants to install this directory. that two RPM sub packages both wants to install this directory.
* Mon May 01 2006 Kent Boortz <kent@mysql.com> * Mon May 01 2006 Kent Boortz <kent@mysql.com>
......
...@@ -22,6 +22,13 @@ if HAVE_YASSL ...@@ -22,6 +22,13 @@ if HAVE_YASSL
else else
yassl_dummy_link_fix= yassl_dummy_link_fix=
endif endif
if THREAD_SAFE_CLIENT
LIBMYSQLCLIENT_LA = $(top_builddir)/libmysql_r/libmysqlclient_r.la
else
LIBMYSQLCLIENT_LA = $(top_builddir)/libmysql/libmysqlclient.la
endif
EXTRA_DIST = auto_increment.res auto_increment.tst \ EXTRA_DIST = auto_increment.res auto_increment.tst \
function.res function.tst lock_test.pl lock_test.res \ function.res function.tst lock_test.pl lock_test.res \
export.pl big_record.pl \ export.pl big_record.pl \
...@@ -42,7 +49,7 @@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \ ...@@ -42,7 +49,7 @@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
$(openssl_includes) $(openssl_includes)
LIBS = @CLIENT_LIBS@ LIBS = @CLIENT_LIBS@
LDADD = @CLIENT_EXTRA_LDFLAGS@ \ LDADD = @CLIENT_EXTRA_LDFLAGS@ \
$(top_builddir)/libmysql/libmysqlclient.la $(LIBMYSQLCLIENT_LA)
mysql_client_test_LDADD= $(LDADD) $(CXXLDFLAGS) -L../mysys -lmysys mysql_client_test_LDADD= $(LDADD) $(CXXLDFLAGS) -L../mysys -lmysys
mysql_client_test_SOURCES= mysql_client_test.c $(yassl_dummy_link_fix) mysql_client_test_SOURCES= mysql_client_test.c $(yassl_dummy_link_fix)
insert_test_SOURCES= insert_test.c $(yassl_dummy_link_fix) insert_test_SOURCES= insert_test.c $(yassl_dummy_link_fix)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include "my_config.h" #include "my_config.h"
#include <stdlib.h> #include <stdlib.h>
#include <tap.h> #include "../tap.h"
int main() { int main() {
plan(5); plan(5);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment