Skip to content

Commit f4b950d

Browse files
Merge with 3.23
2 parents c16e908 + 6250c1d commit f4b950d

27 files changed

Lines changed: 89 additions & 49 deletions

Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ AUTOMAKE_OPTIONS = foreign
2121
# These are built from source in the Docs directory
2222
EXTRA_DIST = INSTALL-SOURCE README \
2323
COPYING COPYING.LIB
24-
SUBDIRS = include @docs_dirs@ @readline_dir@ \
24+
SUBDIRS = . include @docs_dirs@ @readline_dir@ \
2525
@thread_dirs@ pstack @sql_client_dirs@ \
26-
@sql_server_dirs@ @libmysqld_dirs@ scripts man \
27-
tests BUILD os2 \
26+
@sql_server_dirs@ scripts man tests \
27+
BUILD os2 libmysql_r @libmysqld_dirs@ \
2828
@bench_dirs@ support-files @fs_dirs@ @tools_dirs@
2929

3030
# Relink after clean

bdb/dist/aclocal/mutex.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ fi
279279
dnl Sparc/gcc: SunOS, Solaris
280280
dnl The sparc/gcc code doesn't always work, specifically, I've seen assembler
281281
dnl failures from the stbar instruction on SunOS 4.1.4/sun4c and gcc 2.7.2.2.
282-
if test "$db_cv_mutex" = DOESNT_WORK; then
282+
if test "$db_cv_mutex" = no; then
283283
AC_TRY_RUN([main(){
284284
#if defined(__sparc__)
285285
#if defined(__GNUC__)

bdb/include/mutex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ typedef unsigned char tsl_t;
327327
*/
328328
#define MUTEX_SET(tsl) ({ \
329329
register tsl_t *__l = (tsl); \
330-
int __r; \
330+
unsigned char __r; \
331331
asm volatile("tas %1; \n \
332332
seq %0" \
333333
: "=dm" (__r), "=m" (*__l) \

client/mysqltest.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
4343
**********************************************************************/
4444

45-
#define MTEST_VERSION "1.26"
45+
#define MTEST_VERSION "1.27"
4646

4747
#include <my_global.h>
4848
#include <mysql_embed.h>
@@ -677,7 +677,7 @@ int open_file(const char* name)
677677

678678
if (*cur_file && cur_file == file_stack_end)
679679
die("Source directives are nesting too deep");
680-
if (!(*(cur_file+1) = my_fopen(buff, O_RDONLY, MYF(MY_WME))))
680+
if (!(*(cur_file+1) = my_fopen(buff, O_RDONLY | O_BINARY, MYF(MY_WME))))
681681
die(NullS);
682682
cur_file++;
683683
*++lineno=1;
@@ -1912,7 +1912,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
19121912
argument= buff;
19131913
}
19141914
fn_format(buff, argument, "", "", 4);
1915-
if (!(*++cur_file = my_fopen(buff, O_RDONLY, MYF(MY_WME))))
1915+
if (!(*++cur_file = my_fopen(buff, O_RDONLY | O_BINARY, MYF(MY_WME))))
19161916
die("Could not open %s: errno = %d", argument, errno);
19171917
break;
19181918
}

libmysql/Makefile.shared

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ clean-local:
8484
rm -f `echo $(mystringsobjects) | sed "s;\.lo;.c;g"` \
8585
`echo $(dbugobjects) | sed "s;\.lo;.c;g"` \
8686
`echo $(mysysobjects) | sed "s;\.lo;.c;g"` \
87+
`echo $(vio_objects) | sed "s;\.lo;.c;g"` \
88+
$(CHARSET_SRCS) $(CHARSET_OBJS) \
8789
$(mystringsextra) $(mystringsgen) $(mysysheaders) \
8890
ctype_extra_sources.c net.c ../linked_client_sources
8991

ltconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3009,6 +3009,16 @@ hardcode_action=$hardcode_action
30093009
# This must work even if \$libdir does not exist.
30103010
hardcode_libdir_flag_spec=$hardcode_libdir_flag_spec
30113011
3012+
# Check if debuild is being run by the current shell. If it is then,
3013+
# the DEB_BUILD_ARCH variable should be of non-zero length, indicating
3014+
# that we are in the middle of a Debian package build (assuming the
3015+
# user isn't doing anything strange with environment variables).
3016+
if test -n "`dpkg-architecture -qDEB_BUILD_ARCH`" && ps | grep debuild | grep -v grep > /dev/null; then
3017+
# Debian policy mandates that rpaths should not be encoded into a binary
3018+
# so it is overridden.
3019+
hardcode_libdir_flag_spec=" -D_DEBIAN_PATCHED_LIBTOOL_ "
3020+
fi
3021+
30123022
# Whether we need a single -rpath flag with a separated argument.
30133023
hardcode_libdir_separator=$hardcode_libdir_separator
30143024

man/isamchk.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH ISAMCHK 1 "19 December 2000"
1+
.TH isamchk 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
.BR isamchk
44
\- Description, check and repair of ISAM tables.

man/isamlog.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH ISAMLOG 1 "20 December 2000"
1+
.TH isamlog 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
isamlog - Write info about whats in a nisam log file.
44
.SH USAGE

man/mysql.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH MYSQL 1 "13 June 1997"
1+
.TH mysql 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
mysql \- text-based client for mysqld, a SQL-based relational database daemon
44
.SH SYNOPSIS

man/mysql_zap.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH ZAP 1 "20 December 2000"
1+
.TH zap 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
zap - a perl script used to kill processes
44
.SH USAGE

0 commit comments

Comments
 (0)