summaryrefslogtreecommitdiff
path: root/Docs
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-03-01 19:36:46 -0700
committerunknown <sasha@mysql.sashanet.com>2002-03-01 19:36:46 -0700
commit2c9879ca0cfd319e939835816cd4501b1d097b0a (patch)
treedd5cbc9c1cf52f454bd88e24e1401696ae7da26c /Docs
parent80d375b1566da63bbfcaed6d4ab339ae4add5b04 (diff)
parent1dd4cf0295fcc176ff4ea314afb4ceb8910792ce (diff)
downloadmariadb-git-2c9879ca0cfd319e939835816cd4501b1d097b0a.tar.gz
merged from 3.23 to pull the LOAD DATA INFILE fix as rpl000001 was failing.
Let's hope this did not break anything. Will not push this one until Monty gets back BitKeeper/etc/logging_ok: auto-union Build-tools/Do-all-build-steps: Auto merged Build-tools/Do-compile: Auto merged Build-tools/Do-rpm: Auto merged Docs/manual.texi: Auto merged include/hash.h: Auto merged include/my_sys.h: Auto merged innobase/dict/dict0dict.c: Auto merged mysys/array.c: Auto merged mysys/hash.c: Auto merged mysys/mf_qsort.c: Auto merged sql/sql_base.cc: Auto merged sql/table.cc: Auto merged strings/Makefile.am: Auto merged client/mysql.cc: merged from 3.23 configure.in: merged from 3.23 mysql-test/mysql-test-run.sh: merged from 3.23 sql/mysqld.cc: merged from 3.23 support-files/mysql.spec.sh: merged from 3.23
Diffstat (limited to 'Docs')
-rw-r--r--Docs/glibc-2.2.5.patch73
-rw-r--r--Docs/linuxthreads.txt17
-rw-r--r--Docs/manual.texi10
3 files changed, 99 insertions, 1 deletions
diff --git a/Docs/glibc-2.2.5.patch b/Docs/glibc-2.2.5.patch
new file mode 100644
index 00000000000..c6bc2bf39a8
--- /dev/null
+++ b/Docs/glibc-2.2.5.patch
@@ -0,0 +1,73 @@
+diff -Nur --exclude=SCCS --exclude=BitKeeper --exclude=ChangeSet ../glibc-2.2.5/linuxthreads/internals.h ./linuxthreads/internals.h
+--- ../glibc-2.2.5/linuxthreads/internals.h Thu Nov 29 00:44:16 2001
++++ ./linuxthreads/internals.h Fri Feb 22 21:18:09 2002
+@@ -343,7 +343,7 @@
+ THREAD_SELF implementation is used, this must be a power of two and
+ a multiple of PAGE_SIZE. */
+ #ifndef STACK_SIZE
+-#define STACK_SIZE (2 * 1024 * 1024)
++#define STACK_SIZE (128 * 1024)
+ #endif
+
+ /* The initial size of the thread stack. Must be a multiple of PAGE_SIZE. */
+diff -Nur --exclude=SCCS --exclude=BitKeeper --exclude=ChangeSet ../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h ./linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h
+--- ../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h Thu Jun 8 13:49:49 2000
++++ ./linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h Fri Feb 22 21:18:09 2002
+@@ -64,7 +64,7 @@
+ /* The number of threads per process. */
+ #define _POSIX_THREAD_THREADS_MAX 64
+ /* This is the value this implementation supports. */
+-#define PTHREAD_THREADS_MAX 1024
++#define PTHREAD_THREADS_MAX 4096
+
+ /* Maximum amount by which a process can descrease its asynchronous I/O
+ priority level. */
+diff -Nur --exclude=SCCS --exclude=BitKeeper --exclude=ChangeSet ../glibc-2.2.5/nss/nsswitch.c ./nss/nsswitch.c
+--- ../glibc-2.2.5/nss/nsswitch.c Tue Jul 17 02:21:36 2001
++++ ./nss/nsswitch.c Fri Feb 22 21:18:09 2002
+@@ -515,8 +515,16 @@
+ + (line - name + 1));
+ if (new_service == NULL)
+ return result;
+-
++#ifdef DO_STATIC_NSS
++ if (strncmp(name,"files",5) == 0 ||
++ strncmp(name,"dns",3) == 0)
++#endif
+ *((char *) __mempcpy (new_service->name, name, line - name)) = '\0';
++#ifdef DO_STATIC_NSS
++ else
++ *((char *) __mempcpy (new_service->name, "files", 5)) = '\0';
++#endif
++
+
+ /* Set default actions. */
+ new_service->actions[2 + NSS_STATUS_TRYAGAIN] = NSS_ACTION_CONTINUE;
+diff -Nur --exclude=SCCS --exclude=BitKeeper --exclude=ChangeSet ../glibc-2.2.5/time/Makefile ./time/Makefile
+--- ../glibc-2.2.5/time/Makefile Fri Feb 22 21:27:19 2002
++++ ./time/Makefile Fri Feb 22 21:26:47 2002
+@@ -37,8 +37,8 @@
+
+ include ../Rules
+
+-tz-cflags = -DTZDIR='"$(zonedir)"' \
+- -DTZDEFAULT='"$(localtime-file)"' \
++tz-cflags = -DTZDIR='"/usr/share/zoneinfo/"' \
++ -DTZDEFAULT='"/etc/localtime"' \
+ -DTZDEFRULES='"$(posixrules-file)"'
+
+ CFLAGS-tzfile.c = $(tz-cflags)
+diff -Nur --exclude=SCCS --exclude=BitKeeper --exclude=ChangeSet ../glibc-2.2.5/timezone/Makefile ./timezone/Makefile
+--- ../glibc-2.2.5/timezone/Makefile Wed Aug 29 16:45:25 2001
++++ ./timezone/Makefile Fri Feb 22 21:18:09 2002
+@@ -159,8 +159,8 @@
+
+ $(objpfx)zic: $(objpfx)scheck.o $(objpfx)ialloc.o
+
+-tz-cflags = -DTZDIR='"$(zonedir)"' \
+- -DTZDEFAULT='"$(localtime-file)"' \
++tz-cflags = -DTZDIR='"/usr/share/zoneinfo/"' \
++ -DTZDEFAULT='"/etc/localtime"' \
+ -DTZDEFRULES='"$(posixrules-file)"' \
+ -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone
+
diff --git a/Docs/linuxthreads.txt b/Docs/linuxthreads.txt
new file mode 100644
index 00000000000..30270125c0d
--- /dev/null
+++ b/Docs/linuxthreads.txt
@@ -0,0 +1,17 @@
+Notes on compiling glibc for the standard MySQL binary:
+
+ - make sure you have gcc 2.95 and gmake 3.79 or newer
+ - wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-2.2.5.tar.gz
+ - wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-2.2.5.tar.gz
+ - tar zxvf glibc-2.2.5.tar.gz ; cd glibc-2.2.5 ;
+ tar zxvf ../glibc-linuxthreads-2.2.5.tar.gz
+ - patch -p1 < ~/bk/mysql/Docs/glibc-2.2.5.patch
+ - ./configure --prefix=/usr/local/mysql-glibc --enable-static-nss \
+ --disable-shared --enable-add-ons=linuxthreads --target=i386 \
+ --host=i386-pc-linux-gnu
+ - make
+ - possible problems - if compiler is not properly installed, one can get
+ "cpp: too many input" files error - easiest way to solve - SUSE RPM for gcc
+ 2.95
+ - surun make install
+ - To build the binaries, run Build-tools/Do-linux-build
diff --git a/Docs/manual.texi b/Docs/manual.texi
index 3a76a42d894..bc066e3e3ba 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -48950,6 +48950,7 @@ users use this code as the rest of the code and because of this we are
not yet 100% confident in this code.
@menu
+* News-3.23.50:: Changes in release 3.23.50
* News-3.23.49:: Changes in release 3.23.49
* News-3.23.48:: Changes in release 3.23.48
* News-3.23.47:: Changes in release 3.23.47
@@ -49003,7 +49004,14 @@ not yet 100% confident in this code.
* News-3.23.0:: Changes in release 3.23.0
@end menu
-@node News-3.23.49, News-3.23.48, News-3.23.x, News-3.23.x
+@node News-3.23.50, News-3.23.49, News-3.23.x, News-3.23.x
+@appendixsubsec Changes in release 3.23.50
+@itemize @bullet
+@item
+Memory leak (16 bytes per every @strong{corrupted} table) closed.
+@end itemize
+
+@node News-3.23.49, News-3.23.48, News-3.23.50, News-3.23.x
@appendixsubsec Changes in release 3.23.49
@itemize @bullet
@item