--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/05_alpha.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/05_alpha.dpatch
@@ -0,0 +1,66 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_alpha.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: alpha
+
+@DPATCH@
+
+#
+# From Christopher C. Chimelis <chris@debian.org>
+# (only the still necessary parts, see the BTS for more)
+#
+# Modified for 4.1
+#
+# ch: Doesn't work on 4.1
+#
+# diff -ruN mysql-3.23.31/bdb/dist/configure mysql-patched/bdb/dist/configure
+# --- mysql-3.23.31/bdb/dist/configure	Sun Feb  4 20:36:44 2001
+# +++ mysql-patched/bdb/dist/configure	Sun Feb  4 13:43:55 2001
+# @@ -4095,7 +4095,7 @@
+#  rm -f conftest*
+#  fi
+#  
+# -if test "$db_cv_mutex" = DOESNT_WORK; then
+# +if test "$db_cv_mutex" = no; then
+#  if test "$cross_compiling" = yes; then
+#      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
+#  else
+#
+# ch: Maybe this is the correction of the alpha patch? Didn't check.
+#
+--- old/bdb/dist/configure.orig 2004-09-16 23:49:08.000000000 +0200
++++ new/bdb/dist/configure      2004-09-26 20:08:57.000000000 +0200
+@@ -17379,7 +17379,7 @@
+ # The sema_XXX calls do not work on Solaris 5.5.  I see no reason to ever
+ # turn this test on, unless we find some other platform that uses the old
+ # POSIX.1 interfaces.  (I plan to move directly to pthreads on Solaris.)
+-if test "$db_cv_mutex" = DOESNT_WORK; then
++if test "$db_cv_mutex" = no; then
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h.  */
+diff -ruN mysql-3.23.31/include/global.h mysql-patched/include/global.h
+--- mysql-3.23.31/include/my_global.h	Wed Jan 17 04:39:52 2001
++++ mysql-patched/include/my_global.h	Sun Feb  4 13:44:08 2001
+@@ -133,7 +133,7 @@
+ #endif
+ 
+ /* In Linux-alpha we have atomic.h if we are using gcc */
+-#if defined(HAVE_LINUXTHREADS) && defined(__GNUC__) && defined(__alpha__) && (__GNUC__ > 2 || ( __GNUC__ == 2 &&  __GNUC_MINOR__ >= 95)) && !defined(HAVE_ATOMIC_ADD)
++#if defined(HAVE_LINUXTHREADS) && (__GLIBC__ == 2) && (__GLIBC_MINOR__ < 2) && defined(__GNUC__) && defined(__alpha__) && (__GNUC__ > 2 || ( __GNUC__ == 2 &&  __GNUC_MINOR__ >= 95)) && !defined(HAVE_ATOMIC_ADD)
+ #define HAVE_ATOMIC_ADD
+ #define HAVE_ATOMIC_SUB
+ #endif
+diff -ruN mysql-3.23.31/include/my_global.h mysql-patched/include/my_global.h
+--- mysql-3.23.31/include/my_global.h	Wed Jan 17 04:41:11 2001
++++ mysql-patched/include/my_global.h	Sun Feb  4 13:44:08 2001
+@@ -128,7 +128,7 @@
+ #endif
+ 
+ /* egcs 1.1.2 has a problem with memcpy on Alpha */
+-#if defined(__GNUC__) && defined(__alpha__) && ! (__GNUC__ > 2 || (__GNUC__ == 2 &&  __GNUC_MINOR__ >= 95))
++#if defined(__GNUC__) && defined(__alpha__) && (__GLIBC__ == 2) && (__GLIBC_MINOR__ < 2) && ! (__GNUC__ > 2 || (__GNUC__ == 2 &&  __GNUC_MINOR__ >= 95))
+ #define BAD_MEMCPY
+ #endif
+ 
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 41_scripts__mysql_install_db.sh__no_test.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: scripts__mysql_install_db.sh__no_test
+
+@DPATCH@
+
+--- old/scripts/mysql_install_db.sh.orig	2004-12-01 01:24:01.000000000 +0100
++++ new/scripts/mysql_install_db.sh	2004-12-01 01:26:14.000000000 +0100
+@@ -168,9 +168,8 @@
+ # Create database directories mysql & test
+   if test ! -d $ldata; then mkdir $ldata; chmod 700 $ldata ; fi
+   if test ! -d $ldata/mysql; then mkdir $ldata/mysql;  chmod 700 $ldata/mysql ; fi
+-  if test ! -d $ldata/test; then mkdir $ldata/test;  chmod 700 $ldata/test ; fi
+   if test -w / -a ! -z "$user"; then
+-    chown $user $ldata $ldata/mysql $ldata/test;
++    chown $user $ldata $ldata/mysql
+   fi
+ 
+ # Initialize variables
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/25_mysys__default.c.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/25_mysys__default.c.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 25_mysys__default.c.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: mysys__default.c
+
+@DPATCH@
+
+--- orig/mysys/default.c	Sun May 13 16:40:06 2001
++++ mysql-patched/mysys/default.c	Sun May 13 16:40:17 2001
+@@ -48,7 +48,7 @@
+ #ifdef __WIN__
+ "C:/",
+ #else
+-"/etc/",
++"/etc/mysql/",
+ #endif
+ #ifdef DATADIR
+ DATADIR,
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch
@@ -0,0 +1,45 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 38_scripts__mysqld_safe.sh__signals.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Executes /etc/init.d/mysql on signals
+
+@DPATCH@
+
+--- old/scripts/mysqld_safe.sh	2005-02-15 14:43:48.000000000 -0800
++++ new/scripts/mysqld_safe.sh	2005-02-21 13:02:55.000000000 -0800
+@@ -10,8 +10,6 @@
+ # mysql.server works by first doing a cd to the base directory and from there
+ # executing mysqld_safe
+ 
+-trap '' 1 2 3 15			# we shouldn't let anyone kill us
+-
+ umask 007
+ 
+ KILL_MYSQLD=1;
+@@ -274,6 +272,13 @@
+ fi
+ 
+ #
++# From now on, we catch signals to do a proper shutdown of mysqld
++# when signalled to do so.
++#
++trap '/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf refresh' 1 # HUP
++trap '/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf shutdown' 2 3 15 # INT QUIT and TERM
++
++#
+ # Uncomment the following lines if you want all tables to be automatically
+ # checked and repaired during startup. You should add sensible key_buffer
+ # and sort_buffer values to my.cnf to improve check performance or require
+@@ -299,9 +304,9 @@
+   rm -f $safe_mysql_unix_port $pid_file	# Some extra safety
+   if test -z "$args"
+   then
+-    $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file @MYSQLD_DEFAULT_SWITCHES@ 2>&1 | $ERR_LOGGER -t mysqld
++    $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file @MYSQLD_DEFAULT_SWITCHES@ 2>&1 | $ERR_LOGGER -t mysqld & wait
+   else
+-    eval "$NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file @MYSQLD_DEFAULT_SWITCHES@ $args 2>&1 | $ERR_LOGGER -t mysqld"
++    eval "$NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file @MYSQLD_DEFAULT_SWITCHES@ $args 2>&1 | $ERR_LOGGER -t mysqld & wait"
+   fi
+   if test ! -f $pid_file		# This is removed if normal shutdown
+   then
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/21_man__mysqldump.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/21_man__mysqldump.dpatch
@@ -0,0 +1,151 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 21_man__mysqldump.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: man__mysqldump
+
+@DPATCH@
+
+--- old/man/mysqldump.1.in	2004-09-12 18:42:33.000000000 +0200
++++ new/man/mysqldump.1.in	2004-09-12 18:46:57.000000000 +0200
+@@ -9,37 +9,37 @@
+ .BR "mysqldump [\fP\fIOPTIONS\fP] \-\-databases [\fP\fIOPTIONS\fP] DB1 [\fP\fIDB2 DB3...\fP]"
+ .TP
+ OR
+-.BR "mysqldump [\fP\fIOPTIONS\fP] \-\-all-databases [\fP\fIOPTIONS\fP]"
++.BR "mysqldump [\fP\fIOPTIONS\fP] \-\-all\-databases [\fP\fIOPTIONS\fP]"
+ 
+ .SH OPTION SYNOPSIS
+ .B mysqldump
+-.RB [  \-A | \-\-all-databases ]
++.RB [  \-A | \-\-all\-databases ]
+ .RB [  \-a | \-\-all ]
+ .RB [  \-# | \-\-debug=... ]
+-.RB [  \-\-character-sets-dir=...]
++.RB [  \-\-character\-sets\-dir=...]
+ .RB [ \-? | \-\-help       ]
+ .RB [  \-B | \-\-databases     ]
+-.RB [  \-c | \-\-complete-insert ]
++.RB [  \-c | \-\-complete\-insert ]
+ .RB [  \-C | \-\-compress       ]
+-.RB [  \-\-default-character-set=...]
+-.RB [ \-e | \-\-extended-insert ]
+-.RB [  \-\-add-drop-table      ]
+-.RB [  \-\-add-locks          ] 
+-.RB [  \-\-allow-keywords      ]
+-.RB [  \-\-delayed-insert      ]
+-.RB [  \-F | \-\-flush-logs    ]
++.RB [  \-\-default\-character\-set=...]
++.RB [ \-e | \-\-extended\-insert ]
++.RB [  \-\-add\-drop\-table      ]
++.RB [  \-\-add\-locks          ] 
++.RB [  \-\-allow\-keywords      ]
++.RB [  \-\-delayed\-insert      ]
++.RB [  \-F | \-\-flush\-logs    ]
+ .RB [  \-f | \-\-force     ]     
+ .RB [  \-h | \-\-host=...       ]
+-.RB [  \-l | \-\-lock-tables    ]
+-.RB [  \-n | \-\-no-create-db ]   
+-.RB [  \-t | \-\-no-create-info  ]
+-.RB [  \-d | \-\-no-data     ]    
+-.RB [  \-O | \-\-set-variable var=\fP\fIoption\fP         ]               
++.RB [  \-l | \-\-lock\-tables    ]
++.RB [  \-n | \-\-no\-create\-db ]   
++.RB [  \-t | \-\-no\-create\-info  ]
++.RB [  \-d | \-\-no\-data     ]    
++.RB [  \-O | \-\-set\-variable var=\fP\fIoption\fP         ]               
+ .RB [  \-\-opt       ]         
+ .RB [  \-p | \-\-password\fP\fI[=...]\fP  ]
+ .RB [  \-P | \-\-port=...       ]
+ .RB [  \-q | \-\-quick      ]    
+-.RB [  \-Q | \-\-quote-names ]   
++.RB [  \-Q | \-\-quote\-names ]   
+ .RB [  \-S | \-\-socket=...  ] 
+ .RB [  \-\-tables   ]       
+ .RB [  \-T | \-\-tab=...  ]      
+@@ -48,10 +48,10 @@
+ .RB [  \-V | \-\-version ]    
+ .RB [  \-w | \-\-where= ]
+ .RB [ \-\-delayed ]
+-.RB [ \-e | \-\-extended-insert ]
++.RB [ \-e | \-\-extended\-insert ]
+ .RB [ \-\-fields\-terminated\-by=... ]
+ .RB [ \-\-fields\-enclosed\-by=... ]
+-.RB [ \-\-fields-optionally\-enclosed\-by=... ]
++.RB [ \-\-fields\-optionally\-enclosed\-by=... ]
+ .RB [ \-\-fields\-escaped\-by=... ]
+ .RB [ \-\-lines\-terminated\-by=... ]
+ .RB [ \-v | \-\-verbose ]
+@@ -83,7 +83,7 @@
+ To dump several databases. Note the difference in
+ usage; In this case no tables are given. All name
+ arguments are regarded as databasenames.
+-'USE db_name;' will be included in the output
++\&'USE db_name;' will be included in the output
+ .TP  
+ .BR    \-c | \-\-complete\-insert 
+ Use complete insert statements.
+@@ -187,7 +187,7 @@
+ .BR \-\-delayed 
+ Insert rows with the INSERT DELAYED command. 
+ .TP 
+-.BR \-e | \-\-extended-insert 
++.BR \-e | \-\-extended\-insert 
+ Use the new multiline INSERT syntax. (Gives more compact and faster inserts statements.) 
+ .TP 
+ .BR \-\-fields\-terminated\-by=... 
+@@ -195,13 +195,13 @@
+ .BR \-\-fields\-enclosed\-by=... 
+ .TP 
+ .TP 
+-.BR \-\-fields-optionally\-enclosed\-by=... 
++.BR \-\-fields\-optionally\-enclosed\-by=... 
+ .TP 
+ .BR \-\-fields\-escaped\-by=... 
+ .TP 
+ .BR \-\-lines\-terminated\-by=... 
+ These options are used with the 
+-.BR -T 
++.BR \-T 
+ option and have the same meaning as the corresponding clauses for LOAD DATA INFILE. See Mysql manual section 7.23 LOAD DATA INFILE Syntax. 
+ .TP 
+ .BR \-v | \-\-verbose 
+@@ -212,22 +212,22 @@
+ .TP 
+ .BR "\-O net_buffer_length=#, where # < 16M "
+ When creating multi-row-insert statements (as with option 
+-.BR --extended-insert 
++.BR \-\-extended\-insert 
+ or 
+-.BR --opt
++.BR \-\-opt
+ ), mysqldump will create rows up to net_buffer_length length. If you increase this variable, you should also ensure that the max_allowed_packet variable in the MySQL server is bigger than the net_buffer_length. 
+ .SH EXAMPLES
+ .TP
+ The most normal use of mysqldump is probably for making a backup of whole databases. See Mysql Manual section 21.2 Database Backups. 
+ .TP
+-mysqldump  \-\-opt \fP\fIdatabase\fP > backup-file.sql
++mysqldump  \-\-opt \fP\fIdatabase\fP > backup\-file.sql
+ .TP
+ You can read this back into MySQL with: 
+ .TP
+ .BR mysql 
+ \fP\fIdatabase\fP 
+ .BR < 
+-backup-file.sql
++backup\-file.sql
+ .TP
+ or 
+ .TP
+@@ -271,8 +271,8 @@
+ Michael (Monty) Widenius (monty@mysql.com),
+ MySQL AB (http://www.mysql.com/).
+ This software comes with no warranty.
+-Manual page by L. (Kill-9) Pedersen 
+-(kill-9@kill-9.dk), Mercurmedia Data Model Architect /
++Manual page by L. (Kill\-9) Pedersen 
++(kill\-9@kill\-9.dk), Mercurmedia Data Model Architect /
+ system developer (http://www.mercurmedia.com)
+ 
+ .\" end of man page
+
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/13_configure__AMD64-LinuxThreads-vs-NPTL.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/13_configure__AMD64-LinuxThreads-vs-NPTL.dpatch
@@ -0,0 +1,42 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 13_configure__AMD64-LinuxThreads-vs-NPTL.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: configure__AMD64-LinuxThreads-vs-NPTL
+
+@DPATCH@
+
+# SEE: http://bugs.mysql.com/?id=5871
+#
+# From: Andreas Jochens <aj@andaco.de>
+# Subject: Bug#274555: mysql-dfsg: FTBFS on amd64: This is a linux system and Linuxthreads was not found
+# Date: Sat, 02 Oct 2004 17:55:58 +0200
+# 
+# With the attached patch 'mysql-dfsg' can be compiled on amd64.
+# The amd64 port does not have the old 'legacy' linuxthreads 
+# but only the newer nptl.
+# 
+diff -urN ../tmp-orig/mysql-dfsg-4.0.21/configure ./configure
+--- old/configure	2004-10-01 14:22:20.900250208 +0200
++++ new/configure	2004-10-01 14:22:17.787723384 +0200
+@@ -24953,18 +24953,10 @@
+     else
+       echo "$as_me:$LINENO: result: \"Not found\"" >&5
+ echo "${ECHO_T}\"Not found\"" >&6
+-      # If this is a linux machine we should barf
+       if test "$IS_LINUX" = "true"
+       then
+-	{ { echo "$as_me:$LINENO: error: This is a linux system and Linuxthreads was not
+-found. On linux Linuxthreads should be used.  Please install Linuxthreads
+-(or a new glibc) and try again.  See the Installation chapter in the
+-Reference Manual for more information." >&5
+-echo "$as_me: error: This is a linux system and Linuxthreads was not
+-found. On linux Linuxthreads should be used.  Please install Linuxthreads
+-(or a new glibc) and try again.  See the Installation chapter in the
+-Reference Manual for more information." >&2;}
+-   { (exit 1); exit 1; }; }
++        # use nptl instead of linuxthreads
++        CFLAGS="$CFLAGS -DUSE_MUTEX_INSTEAD_OF_RW_LOCKS -DPTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP"
+       else
+ 	echo "$as_me:$LINENO: checking \"DEC threads\"" >&5
+ echo $ECHO_N "checking \"DEC threads\"... $ECHO_C" >&6
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/00list
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/00list
@@ -0,0 +1,16 @@
+01_MAKEFILES__Docs_Images_Makefile.in.dpatch
+01_MAKEFILES__Docs_Makefile.in.dpatch
+02_scripts__Makfile.in__fill_help_tables.dpatch
+05_alpha.dpatch
+09_bdb__dist__configure__NO-POSIXMUTEX.dpatch
+13_configure__AMD64-LinuxThreads-vs-NPTL.dpatch
+17_man__mysqld__section.dpatch
+21_man__mysqldump.dpatch
+25_mysys__default.c.dpatch
+29_scripts__mysqlbug.sh.dpatch
+33_scripts__mysql_create_system_tables__no_test.dpatch
+37_scripts__mysqld_safe.sh__syslog.dpatch
+38_scripts__mysqld_safe.sh__signals.dpatch
+41_scripts__mysql_install_db.sh__no_test.dpatch
+45_warn-CLI-passwords.dpatch
+50_libdb_with_uniquename.dpatch
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/02_scripts__Makfile.in__fill_help_tables.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/02_scripts__Makfile.in__fill_help_tables.dpatch
@@ -0,0 +1,36 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_scripts__Makfile.in__fill_help_tables.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patches scripts/Makefiles.in
+
+@DPATCH@
+
+--- old/scripts/Makefile.in.orig	2004-10-19 23:44:34.000000000 +0200
++++ new/scripts/Makefile.in	2004-10-19 23:58:23.000000000 +0200
+@@ -624,8 +624,11 @@
+ 
+ all: fill_help_tables.sql make_win_src_distribution make_binary_distribution make_sharedlib_distribution
+ 
+-fill_help_tables.sql: fill_help_tables ../Docs/manual.texi
+-		./fill_help_tables < ../Docs/manual.texi > fill_help_tables.sql
++fill_help_tables.sql: 
++	cp ../debian/additions/fill_help_tables.sql .
++	#DEBIAN#        fill_help_tables ../Docs/manual.texi
++	#DEBIAN#  ./fill_help_tables < ../Docs/manual.texi > fill_help_tables.sql
++
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+# --- old/scripts/Makefile.am.orig	2005-01-07 01:55:13.000000000 +0100
+# +++ new/scripts/Makefile.am	2005-01-07 01:56:03.000000000 +0100
+# @@ -149,5 +149,7 @@
+#  
+#  all: fill_help_tables.sql make_win_src_distribution make_binary_distribution make_sharedlib_distribution
+#  
+# -fill_help_tables.sql: fill_help_tables ../Docs/manual.texi
+# -		./fill_help_tables < ../Docs/manual.texi > fill_help_tables.sql
+# +fill_help_tables.sql:
+# +	cp ../debian/additions/fill_help_tables.sql .
+# +	#DEBIAN#        fill_help_tables ../Docs/manual.texi
+# +	#DEBIAN#  ./fill_help_tables < ../Docs/manual.texi > fill_help_tables.sq
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/29_scripts__mysqlbug.sh.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/29_scripts__mysqlbug.sh.dpatch
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 29_scripts__mysqlbug.sh.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: scripts__mysqlbug.sh
+
+@DPATCH@
+
+#
+# 1. Debian specific defaults
+#
+--- old/scripts/mysqlbug.sh.orig	2004-05-31 23:31:42.000000000 +0200
++++ new/scripts/mysqlbug.sh	2004-05-31 23:32:07.000000000 +0200
+@@ -132,7 +132,9 @@
+ then
+   if test -z "$EDITOR"
+   then
+-    EDIT=emacs
++    # EDIT=emacs
++    # in Debian, we have the sensible-editor symlink. -ch-
++    EDIT=sensible-editor
+   else
+     EDIT="$EDITOR"
+   fi
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch
@@ -0,0 +1,45 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 33_scripts__mysql_create_system_tables__no_test.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: scripts__mysql_create_system_tables__no_test
+## DP: A user with no password prevents a normal user from login under certain
+## DP: circumstances as it is checked first. See #301741.
+
+@DPATCH@
+
+--- old/scripts/mysql_create_system_tables.sh.orig	2004-12-01 01:35:47.000000000 +0100
++++ new/scripts/mysql_create_system_tables.sh	2004-12-01 01:36:29.000000000 +0100
+@@ -71,9 +71,6 @@
+   c_d="$c_d ) engine=MyISAM"
+   c_d="$c_d CHARACTER SET utf8 COLLATE utf8_bin"
+   c_d="$c_d comment='Database privileges';"
+-  
+-  i_d="INSERT INTO db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y');
+-  INSERT INTO db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y');"
+ fi
+ 
+ if test ! -f $mdata/host.frm
+@@ -150,20 +147,13 @@
+   then
+     i_u="INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);
+     INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);
+-    REPLACE INTO user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);
+-    INSERT INTO user (host,user) values ('localhost','');
+-    INSERT INTO user (host,user) values ('$hostname','');"
++    REPLACE INTO user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);"
+   else
+     i_u="INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);"
+     if test "$windows" = "0"
+     then
+       i_u="$i_u
+-           INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);
+-           INSERT INTO user (host,user) values ('$hostname','');
+-           INSERT INTO user (host,user) values ('localhost','');"
+-    else
+-      i_u="$i_u
+-	   INSERT INTO user VALUES ('localhost','','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);"
++           INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);"
+     fi
+   fi 
+ fi
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/17_man__mysqld__section.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/17_man__mysqld__section.dpatch
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 17_man__mysqld__section.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: man__mysqld__section
+
+@DPATCH@
+
+#
+# File will be moved to mysqld.8 as mysqld is in /usr/sbin
+#
+--- old/man/mysqld.1.in.orig	2004-06-01 01:03:50.000000000 +0200
++++ new/man/mysqld.1.in	2004-06-01 01:03:56.000000000 +0200
+@@ -1,2 +1,2 @@
+-.TH mysqld 1 "19 December 2000" "MySQL @MYSQL_BASE_VERSION@" "MySQL database"
++.TH mysqld 8 "19 December 2000" "MySQL @MYSQL_BASE_VERSION@" "MySQL database"
+ .SH NAME
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/37_scripts__mysqld_safe.sh__syslog.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/37_scripts__mysqld_safe.sh__syslog.dpatch
@@ -0,0 +1,134 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 37_scripts__mysqld_safe.sh__syslog.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: scripts__mysqld_safe.sh__syslog
+
+@DPATCH@
+
+--- old/scripts/mysqld_safe.sh.orig	2004-09-16 23:47:48.000000000 +0200
++++ new/scripts/mysqld_safe.sh	2004-09-26 20:05:41.000000000 +0200
+@@ -10,12 +10,15 @@
+ # mysql.server works by first doing a cd to the base directory and from there
+ # executing mysqld_safe
+ 
+-KILL_MYSQLD=1;
+-
+ trap '' 1 2 3 15			# we shouldn't let anyone kill us
+ 
+ umask 007
+ 
++KILL_MYSQLD=1;
++
++# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
++ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"
++
+ defaults=
+ case "$1" in
+     --no-defaults|--defaults-file=*|--defaults-extra-file=*)
+@@ -52,9 +55,6 @@
+ 
+       # mysqld_safe-specific options - must be set in my.cnf ([mysqld_safe])!
+       --ledir=*)   ledir=`echo "$arg" | sed -e "s;--ledir=;;"` ;;
+-      # err-log should be removed in 5.0
+-      --err-log=*) err_log=`echo "$arg" | sed -e "s;--err-log=;;"` ;;
+-      --log-error=*) err_log=`echo "$arg" | sed -e "s;--log-error=;;"` ;;
+       # QQ The --open-files should be removed in 5.0
+       --open-files=*) open_files=`echo "$arg" | sed -e "s;--open-files=;;"` ;;
+       --open-files-limit=*) open_files=`echo "$arg" | sed -e "s;--open-files-limit=;;"` ;;
+@@ -122,7 +122,6 @@
+ 
+ # these rely on $DATADIR by default, so we'll set them later on
+ pid_file=
+-err_log=
+ 
+ # Get first arguments from the my.cnf file, groups [mysqld] and [mysqld_safe]
+ # and then merge with the command line arguments
+@@ -170,7 +169,6 @@
+     * )  pid_file="$DATADIR/$pid_file" ;;
+   esac
+ fi
+-test -z "$err_log"  && err_log=$DATADIR/`@HOSTNAME@`.err
+ 
+ if test -n "$mysql_unix_port"
+ then
+@@ -240,8 +238,6 @@
+   then
+     USER_OPTION="--user=$user"
+   fi
+-  # If we are root, change the err log to the right user.
+-  touch $err_log; chown $user $err_log
+   if test -n "$open_files"
+   then
+     ulimit -n $open_files
+@@ -263,18 +259,16 @@
+   then
+     if @FIND_PROC@
+     then    # The pid contains a mysqld process
+-      echo "A mysqld process already exists"
+-      echo "A mysqld process already exists at " `date` >> $err_log
++      echo "A mysqld process already exists" | $ERR_LOGGER -s
+       exit 1
+     fi
+   fi
+   rm -f $pid_file
+   if test -f $pid_file
+   then
+-    echo "Fatal error: Can't remove the pid file: $pid_file"
+-    echo "Fatal error: Can't remove the pid file: $pid_file at " `date` >> $err_log
+-    echo "Please remove it manually and start $0 again"
+-    echo "mysqld daemon not started"
++    echo "Fatal error: Can't remove the pid file: $pid_file" | $ERR_LOGGER -s
++    echo "Please remove it manually and start $0 again" | $ERR_LOGGER -s
++    echo "mysqld daemon not started" | $ERR_LOGGER -s
+     exit 1
+   fi
+ fi
+@@ -299,15 +293,15 @@
+ #  ulimit -n 256 > /dev/null 2>&1		# Fix for BSD and FreeBSD systems
+ #fi
+ 
+-echo "`date +'%y%m%d %H:%M:%S  mysqld started'`" >> $err_log
++echo "started" | $ERR_LOGGER -s
+ while true
+ do
+   rm -f $safe_mysql_unix_port $pid_file	# Some extra safety
+   if test -z "$args"
+   then
+-    $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file @MYSQLD_DEFAULT_SWITCHES@ >> $err_log 2>&1
++    $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file @MYSQLD_DEFAULT_SWITCHES@ 2>&1 | $ERR_LOGGER -t mysqld
+   else
+-    eval "$NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file @MYSQLD_DEFAULT_SWITCHES@ $args >> $err_log 2>&1"
++    eval "$NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file @MYSQLD_DEFAULT_SWITCHES@ $args 2>&1 | $ERR_LOGGER -t mysqld"
+   fi
+   if test ! -f $pid_file		# This is removed if normal shutdown
+   then
+@@ -324,7 +318,7 @@
+     # kill -9 is used or the process won't react on the kill.
+     numofproces=`ps xa | grep -v "grep" | grep "$ledir/$MYSQLD\>" | grep -c "pid-file=$pid_file"`
+ 
+-    echo -e "\nNumber of processes running now: $numofproces" | tee -a $err_log
++    echo "Number of processes running now: $numofproces" | $ERR_LOGGER -s
+     I=1
+     while test "$I" -le "$numofproces"
+     do 
+@@ -337,16 +331,14 @@
+       #    echo "TEST $I - $T **"
+       if kill -9 $T
+       then
+-        echo "$MYSQLD process hanging, pid $T - killed" | tee -a $err_log
++        echo "$MYSQLD process hanging, pid $T - killed" | $ERR_LOGGER -s
+       else 
+         break
+       fi
+       I=`expr $I + 1`
+     done
+   fi
+-  echo "`date +'%y%m%d %H:%M:%S'`  mysqld restarted" | tee -a $err_log
++  echo "restarted" | $ERR_LOGGER -s
+ done
+ 
+-echo "`date +'%y%m%d %H:%M:%S'`  mysqld ended" | tee -a $err_log
+-echo "" | tee -a $err_log
+-
++echo "ended" | $ERR_LOGGER -s
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/01_MAKEFILES__Docs_Images_Makefile.in.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/01_MAKEFILES__Docs_Images_Makefile.in.dpatch
@@ -0,0 +1,776 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_MAKEFILES__Docs_Makefile.in.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Creates Docs/Makefile.in
+
+@DPATCH@
+
+--- old/Docs/Images/Makefile.in	2005-03-01 02:08:01.877429040 +0100
++++ new/Docs/Images/Makefile.in	2005-02-28 21:21:24.000000000 +0100
+@@ -0,0 +1,765 @@
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
++# @configure_input@
++
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# Free Software Foundation, Inc.
++# This Makefile.in is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++@SET_MAKE@
++
++# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
++# 
++# 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
++# the Free Software Foundation; either version 2 of the License, or
++# (at your option) any later version.
++# 
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++# GNU General Public License for more details.
++# 
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
++
++# Process this file with automake to create Makefile.in
++
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++pkgdatadir = $(datadir)/@PACKAGE@
++pkglibdir = $(libdir)/@PACKAGE@
++pkgincludedir = $(includedir)/@PACKAGE@
++top_builddir = .
++
++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
++INSTALL = @INSTALL@
++install_sh_DATA = $(install_sh) -c -m 644
++install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
++INSTALL_HEADER = $(INSTALL_DATA)
++transform = $(program_transform_name)
++NORMAL_INSTALL = :
++PRE_INSTALL = :
++POST_INSTALL = :
++NORMAL_UNINSTALL = :
++PRE_UNINSTALL = :
++POST_UNINSTALL = :
++build_triplet = @build@
++host_triplet = @host@
++target_triplet = @target@
++ACLOCAL = @ACLOCAL@
++ALLOCA = @ALLOCA@
++AMDEP_FALSE = @AMDEP_FALSE@
++AMDEP_TRUE = @AMDEP_TRUE@
++AMTAR = @AMTAR@
++AR = @AR@
++AS = @AS@
++ASSEMBLER_FALSE = @ASSEMBLER_FALSE@
++ASSEMBLER_TRUE = @ASSEMBLER_TRUE@
++ASSEMBLER_sparc32_FALSE = @ASSEMBLER_sparc32_FALSE@
++ASSEMBLER_sparc32_TRUE = @ASSEMBLER_sparc32_TRUE@
++ASSEMBLER_sparc64_FALSE = @ASSEMBLER_sparc64_FALSE@
++ASSEMBLER_sparc64_TRUE = @ASSEMBLER_sparc64_TRUE@
++ASSEMBLER_x86_FALSE = @ASSEMBLER_x86_FALSE@
++ASSEMBLER_x86_TRUE = @ASSEMBLER_x86_TRUE@
++AUTOCONF = @AUTOCONF@
++AUTOHEADER = @AUTOHEADER@
++AUTOMAKE = @AUTOMAKE@
++AVAILABLE_LANGUAGES = @AVAILABLE_LANGUAGES@
++AVAILABLE_LANGUAGES_ERRORS = @AVAILABLE_LANGUAGES_ERRORS@
++AWK = @AWK@
++CC = @CC@
++CCAS = @CCAS@
++CCASFLAGS = @CCASFLAGS@
++CCDEPMODE = @CCDEPMODE@
++CC_VERSION = @CC_VERSION@
++CFLAGS = @CFLAGS@
++CHARSETS_NEED_SOURCE = @CHARSETS_NEED_SOURCE@
++CHARSET_OBJS = @CHARSET_OBJS@
++CHARSET_SRCS = @CHARSET_SRCS@
++CHECK_PID = @CHECK_PID@
++CHMOD = @CHMOD@
++CLIENT_EXTRA_LDFLAGS = @CLIENT_EXTRA_LDFLAGS@
++CLIENT_LIBS = @CLIENT_LIBS@
++CMP = @CMP@
++COMPILATION_COMMENT = @COMPILATION_COMMENT@
++COMPILE_PSTACK_FALSE = @COMPILE_PSTACK_FALSE@
++COMPILE_PSTACK_TRUE = @COMPILE_PSTACK_TRUE@
++CONF_COMMAND = @CONF_COMMAND@
++CP = @CP@
++CPP = @CPP@
++CPPFLAGS = @CPPFLAGS@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
++CXXDEPMODE = @CXXDEPMODE@
++CXXFLAGS = @CXXFLAGS@
++CXXLDFLAGS = @CXXLDFLAGS@
++CXX_VERSION = @CXX_VERSION@
++CYGPATH_W = @CYGPATH_W@
++DEFS = @DEFS@
++DEPDIR = @DEPDIR@
++DOT_FRM_VERSION = @DOT_FRM_VERSION@
++DVIS = @DVIS@
++ECHO = @ECHO@
++ECHO_C = @ECHO_C@
++ECHO_N = @ECHO_N@
++ECHO_T = @ECHO_T@
++EGREP = @EGREP@
++EXEEXT = @EXEEXT@
++F77 = @F77@
++FFLAGS = @FFLAGS@
++FIND_PROC = @FIND_PROC@
++GETCONF = @GETCONF@
++GXX = @GXX@
++HAVE_NETWARE_FALSE = @HAVE_NETWARE_FALSE@
++HAVE_NETWARE_TRUE = @HAVE_NETWARE_TRUE@
++HOSTNAME = @HOSTNAME@
++INSTALL_DATA = @INSTALL_DATA@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++IS_LINUX = @IS_LINUX@
++KILL = @KILL@
++LD = @LD@
++LDFLAGS = @LDFLAGS@
++LIBDL = @LIBDL@
++LIBOBJS = @LIBOBJS@
++LIBS = @LIBS@
++LIBTOOL = @LIBTOOL@
++LIB_EXTRA_CCFLAGS = @LIB_EXTRA_CCFLAGS@
++LM_CFLAGS = @LM_CFLAGS@
++LN = @LN@
++LN_CP_F = @LN_CP_F@
++LN_S = @LN_S@
++LOCAL_FALSE = @LOCAL_FALSE@
++LOCAL_TRUE = @LOCAL_TRUE@
++LTLIBOBJS = @LTLIBOBJS@
++MACHINE_TYPE = @MACHINE_TYPE@
++MAINT = @MAINT@
++MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
++MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
++MAKEINFO = @MAKEINFO@
++MAKE_BINARY_DISTRIBUTION_OPTIONS = @MAKE_BINARY_DISTRIBUTION_OPTIONS@
++MAKE_SHELL = @MAKE_SHELL@
++MT_INCLUDES = @MT_INCLUDES@
++MT_LD_ADD = @MT_LD_ADD@
++MV = @MV@
++MYSQLD_DEFAULT_SWITCHES = @MYSQLD_DEFAULT_SWITCHES@
++MYSQLD_EXTRA_LDFLAGS = @MYSQLD_EXTRA_LDFLAGS@
++MYSQLD_USER = @MYSQLD_USER@
++MYSQL_BASE_VERSION = @MYSQL_BASE_VERSION@
++MYSQL_NO_DASH_VERSION = @MYSQL_NO_DASH_VERSION@
++MYSQL_SERVER_SUFFIX = @MYSQL_SERVER_SUFFIX@
++MYSQL_TCP_PORT = @MYSQL_TCP_PORT@
++MYSQL_TCP_PORT_DEFAULT = @MYSQL_TCP_PORT_DEFAULT@
++MYSQL_UNIX_ADDR = @MYSQL_UNIX_ADDR@
++MYSQL_VERSION_ID = @MYSQL_VERSION_ID@
++NOINST_LDFLAGS = @NOINST_LDFLAGS@
++OBJEXT = @OBJEXT@
++PACKAGE = @PACKAGE@
++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
++PACKAGE_NAME = @PACKAGE_NAME@
++PACKAGE_STRING = @PACKAGE_STRING@
++PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_VERSION = @PACKAGE_VERSION@
++PATH_SEPARATOR = @PATH_SEPARATOR@
++PDFMANUAL = @PDFMANUAL@
++PERL = @PERL@
++PERL5 = @PERL5@
++PROTOCOL_VERSION = @PROTOCOL_VERSION@
++PS = @PS@
++RANLIB = @RANLIB@
++RM = @RM@
++SAVE_ASFLAGS = @SAVE_ASFLAGS@
++SAVE_CFLAGS = @SAVE_CFLAGS@
++SAVE_CXXFLAGS = @SAVE_CXXFLAGS@
++SAVE_CXXLDFLAGS = @SAVE_CXXLDFLAGS@
++SAVE_LDFLAGS = @SAVE_LDFLAGS@
++SED = @SED@
++SET_MAKE = @SET_MAKE@
++SHARED_LIB_VERSION = @SHARED_LIB_VERSION@
++SHELL = @SHELL@
++STRIP = @STRIP@
++SYSTEM_TYPE = @SYSTEM_TYPE@
++TAR = @TAR@
++TERMCAP_LIB = @TERMCAP_LIB@
++THREAD_LOBJECTS = @THREAD_LOBJECTS@
++THREAD_LPROGRAMS = @THREAD_LPROGRAMS@
++VERSION = @VERSION@
++WRAPLIBS = @WRAPLIBS@
++YACC = @YACC@
++ac_ct_AR = @ac_ct_AR@
++ac_ct_CC = @ac_ct_CC@
++ac_ct_CXX = @ac_ct_CXX@
++ac_ct_F77 = @ac_ct_F77@
++ac_ct_GETCONF = @ac_ct_GETCONF@
++ac_ct_RANLIB = @ac_ct_RANLIB@
++ac_ct_STRIP = @ac_ct_STRIP@
++am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
++am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
++am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
++am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
++am__include = @am__include@
++am__leading_dot = @am__leading_dot@
++am__quote = @am__quote@
++bdb_includes = @bdb_includes@
++bdb_libs = @bdb_libs@
++bdb_libs_with_path = @bdb_libs_with_path@
++bench_dirs = @bench_dirs@
++bindir = @bindir@
++build = @build@
++build_alias = @build_alias@
++build_cpu = @build_cpu@
++build_os = @build_os@
++build_vendor = @build_vendor@
++datadir = @datadir@
++default_charset = @default_charset@
++docs_dirs = @docs_dirs@
++exec_prefix = @exec_prefix@
++host = @host@
++host_alias = @host_alias@
++host_cpu = @host_cpu@
++host_os = @host_os@
++host_vendor = @host_vendor@
++includedir = @includedir@
++infodir = @infodir@
++innodb_includes = @innodb_includes@
++innodb_libs = @innodb_libs@
++innodb_system_libs = @innodb_system_libs@
++install_sh = @install_sh@
++isam_libs = @isam_libs@
++libdir = @libdir@
++libexecdir = @libexecdir@
++libmysqld_dirs = @libmysqld_dirs@
++linked_client_targets = @linked_client_targets@
++linked_netware_sources = @linked_netware_sources@
++localstatedir = @localstatedir@
++man_dirs = @man_dirs@
++mandir = @mandir@
++netware_dir = @netware_dir@
++oldincludedir = @oldincludedir@
++openssl_includes = @openssl_includes@
++openssl_libs = @openssl_libs@
++orbit_idl = @orbit_idl@
++orbit_includes = @orbit_includes@
++orbit_libs = @orbit_libs@
++prefix = @prefix@
++program_transform_name = @program_transform_name@
++pstack_dirs = @pstack_dirs@
++pstack_libs = @pstack_libs@
++readline_dir = @readline_dir@
++readline_link = @readline_link@
++sbindir = @sbindir@
++server_scripts = @server_scripts@
++sharedstatedir = @sharedstatedir@
++sql_client_dirs = @sql_client_dirs@
++sql_server_dirs = @sql_server_dirs@
++sysconfdir = @sysconfdir@
++target = @target@
++target_alias = @target_alias@
++target_cpu = @target_cpu@
++target_os = @target_os@
++target_vendor = @target_vendor@
++thread_dirs = @thread_dirs@
++tools_dirs = @tools_dirs@
++uname_prog = @uname_prog@
++vio_dir = @vio_dir@
++vio_libs = @vio_libs@
++
++AUTOMAKE_OPTIONS = foreign
++
++# These are built from source in the Docs directory
++EXTRA_DIST = INSTALL-SOURCE README COPYING EXCEPTIONS-CLIENT
++SUBDIRS = . include @docs_dirs@ @readline_dir@ \
++			@thread_dirs@ pstack @sql_client_dirs@ \
++			@sql_server_dirs@ scripts @man_dirs@ tests \
++			BUILD netware os2 @libmysqld_dirs@ \
++			@bench_dirs@ support-files @tools_dirs@
++
++
++# Relink after clean
++linked_sources = linked_client_sources linked_server_sources \
++		 linked_libmysql_sources linked_libmysql_r_sources \
++		 linked_libmysqld_sources  linked_libmysqldex_sources \
++		 linked_include_sources @linked_netware_sources@
++
++
++CLEANFILES = $(linked_sources)
++subdir = .
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = config.h
++CONFIG_CLEAN_FILES = bdb/Makefile
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
++	ps-recursive install-info-recursive uninstall-info-recursive \
++	all-recursive install-data-recursive install-exec-recursive \
++	installdirs-recursive install-recursive uninstall-recursive \
++	check-recursive installcheck-recursive
++DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure COPYING \
++	ChangeLog Makefile.am acconfig.h acinclude.m4 aclocal.m4 \
++	config.guess config.h.in config.sub configure configure.in \
++	depcomp install-sh ltconfig ltmain.sh missing mkinstalldirs
++DIST_SUBDIRS = $(SUBDIRS)
++all: config.h
++	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++
++.SUFFIXES:
++
++am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
++ configure.lineno
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
++
++$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++	$(SHELL) ./config.status --recheck
++$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
++	cd $(srcdir) && $(AUTOCONF)
++
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
++	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++
++stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
++	@rm -f stamp-h1
++	cd $(top_builddir) && $(SHELL) ./config.status config.h
++
++$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
++	cd $(top_srcdir) && $(AUTOHEADER)
++	touch $(srcdir)/config.h.in
++
++distclean-hdr:
++	-rm -f config.h stamp-h1
++bdb/Makefile: $(top_builddir)/config.status $(top_srcdir)/bdb/Makefile.in
++	cd $(top_builddir) && $(SHELL) ./config.status $@
++
++mostlyclean-libtool:
++	-rm -f *.lo
++
++clean-libtool:
++	-rm -rf .libs _libs
++
++distclean-libtool:
++	-rm -f libtool
++uninstall-info-am:
++
++# This directory's subdirectories are mostly independent; you can cd
++# into them and run `make' without going through this Makefile.
++# To change the values of `make' variables: instead of editing Makefiles,
++# (1) if the variable is set in `config.status', edit `config.status'
++#     (which will cause the Makefiles to be regenerated when you run `make');
++# (2) otherwise, pass the desired values on the `make' command line.
++$(RECURSIVE_TARGETS):
++	@set fnord $$MAKEFLAGS; amf=$$2; \
++	dot_seen=no; \
++	target=`echo $@ | sed s/-recursive//`; \
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  echo "Making $$target in $$subdir"; \
++	  if test "$$subdir" = "."; then \
++	    dot_seen=yes; \
++	    local_target="$$target-am"; \
++	  else \
++	    local_target="$$target"; \
++	  fi; \
++	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
++	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
++	done; \
++	if test "$$dot_seen" = "no"; then \
++	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
++	fi; test -z "$$fail"
++
++mostlyclean-recursive clean-recursive distclean-recursive \
++maintainer-clean-recursive:
++	@set fnord $$MAKEFLAGS; amf=$$2; \
++	dot_seen=no; \
++	case "$@" in \
++	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
++	  *) list='$(SUBDIRS)' ;; \
++	esac; \
++	rev=''; for subdir in $$list; do \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
++	done; \
++	rev="$$rev ."; \
++	target=`echo $@ | sed s/-recursive//`; \
++	for subdir in $$rev; do \
++	  echo "Making $$target in $$subdir"; \
++	  if test "$$subdir" = "."; then \
++	    local_target="$$target-am"; \
++	  else \
++	    local_target="$$target"; \
++	  fi; \
++	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
++	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
++	done && test -z "$$fail"
++tags-recursive:
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
++	done
++ctags-recursive:
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
++	done
++
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
++	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++	unique=`for i in $$list; do \
++	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++	  done | \
++	  $(AWK) '    { files[$$0] = 1; } \
++	       END { for (i in files) print i; }'`; \
++	mkid -fID $$unique
++
++TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
++		$(TAGS_FILES) $(LISP)
++	tags=; \
++	here=`pwd`; \
++	if (etags --etags-include --version) >/dev/null 2>&1; then \
++	  include_option=--etags-include; \
++	else \
++	  include_option=--include; \
++	fi; \
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  if test "$$subdir" = .; then :; else \
++	    test -f $$subdir/TAGS && \
++	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
++	  fi; \
++	done; \
++	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
++	unique=`for i in $$list; do \
++	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++	  done | \
++	  $(AWK) '    { files[$$0] = 1; } \
++	       END { for (i in files) print i; }'`; \
++	test -z "$(ETAGS_ARGS)$$tags$$unique" \
++	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++	     $$tags $$unique
++
++ctags: CTAGS
++CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
++		$(TAGS_FILES) $(LISP)
++	tags=; \
++	here=`pwd`; \
++	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
++	unique=`for i in $$list; do \
++	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++	  done | \
++	  $(AWK) '    { files[$$0] = 1; } \
++	       END { for (i in files) print i; }'`; \
++	test -z "$(CTAGS_ARGS)$$tags$$unique" \
++	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
++	     $$tags $$unique
++
++GTAGS:
++	here=`$(am__cd) $(top_builddir) && pwd` \
++	  && cd $(top_srcdir) \
++	  && gtags -i $(GTAGS_ARGS) $$here
++
++distclean-tags:
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = .
++distdir = $(PACKAGE)-$(VERSION)
++
++am__remove_distdir = \
++  { test ! -d $(distdir) \
++    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
++         && rm -fr $(distdir); }; }
++
++GZIP_ENV = --best
++distuninstallcheck_listfiles = find . -type f -print
++distcleancheck_listfiles = find . -type f -print
++
++distdir: $(DISTFILES)
++	$(am__remove_distdir)
++	mkdir $(distdir)
++	$(mkinstalldirs) $(distdir)/bdb $(distdir)/include
++	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
++	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
++	list='$(DISTFILES)'; for file in $$list; do \
++	  case $$file in \
++	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
++	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
++	  esac; \
++	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    dir="/$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
++	  else \
++	    dir=''; \
++	  fi; \
++	  if test -d $$d/$$file; then \
++	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
++	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
++	    fi; \
++	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
++	  else \
++	    test -f $(distdir)/$$file \
++	    || cp -p $$d/$$file $(distdir)/$$file \
++	    || exit 1; \
++	  fi; \
++	done
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  if test "$$subdir" = .; then :; else \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
++	    || exit 1; \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
++	      || exit 1; \
++	  fi; \
++	done
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
++	  dist-hook
++	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
++	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
++	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
++	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
++	|| chmod -R a+r $(distdir)
++dist-gzip: distdir
++	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
++	$(am__remove_distdir)
++
++dist dist-all: distdir
++	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
++	$(am__remove_distdir)
++
++# This target untars the dist file and tries a VPATH configuration.  Then
++# it guarantees that the distribution is self-contained by making another
++# tarfile.
++distcheck: dist
++	$(am__remove_distdir)
++	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
++	chmod -R a-w $(distdir); chmod a+w $(distdir)
++	mkdir $(distdir)/_build
++	mkdir $(distdir)/_inst
++	chmod a-w $(distdir)
++	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
++	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
++	  && cd $(distdir)/_build \
++	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
++	    $(DISTCHECK_CONFIGURE_FLAGS) \
++	  && $(MAKE) $(AM_MAKEFLAGS) \
++	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
++	  && $(MAKE) $(AM_MAKEFLAGS) check \
++	  && $(MAKE) $(AM_MAKEFLAGS) install \
++	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
++	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
++	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
++	        distuninstallcheck \
++	  && chmod -R a-w "$$dc_install_base" \
++	  && ({ \
++	       (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
++	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
++	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
++	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
++	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
++	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
++	  && rm -rf "$$dc_destdir" \
++	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
++	  && rm -f $(distdir).tar.gz \
++	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
++	$(am__remove_distdir)
++	@echo "$(distdir).tar.gz is ready for distribution" | \
++	  sed 'h;s/./=/g;p;x;p;x'
++distuninstallcheck:
++	@cd $(distuninstallcheck_dir) \
++	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
++	   || { echo "ERROR: files left after uninstall:" ; \
++	        if test -n "$(DESTDIR)"; then \
++	          echo "  (check DESTDIR support)"; \
++	        fi ; \
++	        $(distuninstallcheck_listfiles) ; \
++	        exit 1; } >&2
++distcleancheck: distclean
++	@if test '$(srcdir)' = . ; then \
++	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
++	  exit 1 ; \
++	fi
++	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
++	  || { echo "ERROR: files left in build directory after distclean:" ; \
++	       $(distcleancheck_listfiles) ; \
++	       exit 1; } >&2
++check-am: all-am
++check: check-recursive
++all-am: Makefile config.h
++installdirs: installdirs-recursive
++installdirs-am:
++
++install: install-recursive
++install-exec: install-exec-recursive
++install-data: install-data-recursive
++uninstall: uninstall-recursive
++
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
++mostlyclean-generic:
++
++clean-generic:
++	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
++
++distclean-generic:
++	-rm -f $(CONFIG_CLEAN_FILES)
++
++maintainer-clean-generic:
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
++
++clean-am: clean-generic clean-libtool mostlyclean-am
++
++distclean: distclean-recursive
++	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
++	-rm -f Makefile
++distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
++	distclean-tags
++
++dvi: dvi-recursive
++
++dvi-am:
++
++info: info-recursive
++
++info-am:
++
++install-data-am:
++
++install-exec-am:
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
++
++maintainer-clean: maintainer-clean-recursive
++	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
++	-rm -rf $(top_srcdir)/autom4te.cache
++	-rm -f Makefile
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++pdf: pdf-recursive
++
++pdf-am:
++
++ps: ps-recursive
++
++ps-am:
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
++	clean-generic clean-libtool clean-recursive ctags \
++	ctags-recursive dist dist-all dist-gzip distcheck distclean \
++	distclean-generic distclean-hdr distclean-libtool \
++	distclean-recursive distclean-tags distcleancheck distdir \
++	distuninstallcheck dvi dvi-am dvi-recursive info info-am \
++	info-recursive install install-am install-data install-data-am \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
++	tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
++
++
++# This is just so that the linking is done early.
++config.h: $(linked_sources)
++
++linked_include_sources:
++	cd include; $(MAKE) link_sources
++	echo timestamp > linked_include_sources
++
++linked_client_sources:  @linked_client_targets@
++	cd client; $(MAKE) link_sources
++	echo timestamp > linked_client_sources
++
++linked_libmysql_sources:
++	cd libmysql; $(MAKE) link_sources
++	echo timestamp > linked_libmysql_sources
++
++linked_libmysql_r_sources: linked_libmysql_sources
++	cd libmysql_r; $(MAKE) link_sources
++	echo timestamp > linked_libmysql_r_sources
++
++linked_libmysqld_sources:
++	cd libmysqld; $(MAKE) link_sources
++	echo timestamp > linked_libmysqld_sources
++
++linked_libmysqldex_sources:
++	cd libmysqld/examples; $(MAKE) link_sources
++	echo timestamp > linked_libmysqldex_sources
++
++linked_netware_sources:
++	cd @netware_dir@; $(MAKE) link_sources
++	echo timestamp > linked_netware_sources
++
++#avoid recursive make calls in sql directory
++linked_server_sources:
++	cd sql; rm -f mini_client_errors.c;@LN_CP_F@ ../libmysql/errmsg.c mini_client_errors.c
++	echo timestamp > linked_server_sources
++
++# Create permission databases
++init-db:		all
++	$(top_builddir)/scripts/mysql_install_db
++
++bin-dist:		all
++	$(top_builddir)/scripts/make_binary_distribution @MAKE_BINARY_DISTRIBUTION_OPTIONS@
++
++# Remove BK's "SCCS" subdirectories from source distribution
++dist-hook:
++	rm -rf `find $(distdir) -type d -name SCCS`
++
++tags:
++	support-files/build-tags
++.PHONY:		init-db bin-dist
++
++# Test installation
++
++test:
++	cd mysql-test ; ./mysql-test-run
++# Tell versions [3.59,3.63) of GNU make to not export all variables.
++# Otherwise a system limit (for SysV at least) may be exceeded.
++.NOEXPORT:
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/09_bdb__dist__configure__NO-POSIXMUTEX.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/09_bdb__dist__configure__NO-POSIXMUTEX.dpatch
@@ -0,0 +1,42 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 09_bdb__dist__configure__NO-POSIXMUTEX.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: bdb__dist__configure__NO-POSIXMUTEX
+
+@DPATCH@
+
+#
+# NTPL vs LinuxThreads Patch
+#
+# On i386, kernel 2.6 defaults to NPTL while kernel 2.4 has only LinuxThreads.
+# This makes packages build under kernel 2.6 unusable on hosts running 2.4.
+#
+# The use of "--with-mutex=x86/gcc-assembly" on the other hand breaks the build
+# on other archs as they use "alpha/gcc-assembly" etc.
+#
+# The used arch string is not `uname -m` so the POSIX thread check must be
+# commented out completely.
+#
+# References: http://bugs.debian.org/286961
+#
+# 2005-01-09, Christian Hammers <ch@debian.org>
+#
+--- mysql-dfsg-4.1-4.1.8a/bdb/dist/configure	2005-01-09 14:03:28.000000000 +0100
++++ new/bdb/dist/configure	2005-01-09 14:04:12.000000000 +0100
+@@ -17958,6 +17958,7 @@
+    { (exit 1); exit 1; }; }
+ fi
+ 
++if false; then #42#DEBIAN#
+ # POSIX.1 pthreads: pthread_XXX
+ #
+ # Try with and without the -lpthread library.  If the user specified we use
+@@ -18311,6 +18312,7 @@
+    { (exit 1); exit 1; }; }
+ fi
+ 
++fi #42#DEBIAN#
+ # msemaphore: HPPA only
+ # Try HPPA before general msem test, it needs special alignment.
+ if test "$db_cv_mutex" = no; then
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/50_libdb_with_uniquename.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/50_libdb_with_uniquename.dpatch
@@ -0,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 50_libdb_unique_name.dpatch by  <dexter@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: --with-uniquename=_mysql Bug #308966
+
+@DPATCH@
+
+diff -ru mysql-dfsg-4.1-4.1.11a/configure mysql-dfsg-4.1-4.1.11a.debian/configure
+--- mysql-dfsg-4.1-4.1.11a/configure	2005-04-01 13:38:07 +0200
++++ mysql-dfsg-4.1-4.1.11a.debian/configure	2005-05-19 12:59:16 +0200
+@@ -39174,7 +39174,7 @@
+ 
+ 
+       echo "CONFIGURING FOR BERKELEY DB"
+-      bdb_conf_flags="--disable-shared"
++      bdb_conf_flags="--disable-shared --with-uniquename=_mysql"
+       if test $with_debug = "yes"
+       then
+         bdb_conf_flags="$bdb_conf_flags --enable-debug --enable-diagnostic"
+diff -ru mysql-dfsg-4.1-4.1.11a/sql/ha_berkeley.h mysql-dfsg-4.1-4.1.11a.debian/sql/ha_berkeley.h
+--- mysql-dfsg-4.1-4.1.11a/sql/ha_berkeley.h	2005-04-01 13:36:56 +0200
++++ mysql-dfsg-4.1-4.1.11a.debian/sql/ha_berkeley.h	2005-05-19 13:01:06 +0200
+@@ -22,6 +22,7 @@
+ /* class for the the myisam handler */
+ 
++#include <db_uniquename.h>
+ #include <db.h>
+ 
+ #define BDB_HIDDEN_PRIMARY_KEY_LENGTH 5
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/45_warn-CLI-passwords.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/45_warn-CLI-passwords.dpatch
@@ -0,0 +1,395 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 45_warn-CLI-passwords.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: warn-CLI-passwords
+
+@DPATCH@
+
+diff -u --recursive mysql-dfsg-4.1.7.original/client/mysqladmin.cc mysql-dfsg-4.1.7/client/mysqladmin.cc
+--- mysql-dfsg-4.1.7.original/client/mysqladmin.cc	2004-10-23 09:28:43.000000000 +0200
++++ mysql-dfsg-4.1.7/client/mysqladmin.cc	2004-11-03 03:07:08.000000000 +0100
+@@ -133,7 +133,7 @@
+   {"host", 'h', "Connect to host.", (gptr*) &host, (gptr*) &host, 0, GET_STR,
+    REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
+   {"password", 'p',
+-   "Password to use when connecting to server. If password is not given it's asked from the tty.",
++   "Password to use when connecting to server. If password is not given it's asked from the tty. WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.",
+    0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
+ #ifdef __WIN__
+   {"pipe", 'W', "Use named pipes to connect to server.", 0, 0, 0, GET_NO_ARG,
+diff -u --recursive mysql-dfsg-4.1.7.original/client/mysql.cc mysql-dfsg-4.1.7/client/mysql.cc
+--- mysql-dfsg-4.1.7.original/client/mysql.cc	2004-10-23 09:28:46.000000000 +0200
++++ mysql-dfsg-4.1.7/client/mysql.cc	2004-11-03 03:07:08.000000000 +0100
+@@ -589,7 +589,7 @@
+    0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
+ #endif
+   {"password", 'p',
+-   "Password to use when connecting to server. If password is not given it's asked from the tty.",
++   "Password to use when connecting to server. If password is not given it's asked from the tty. WARNING: This is insecure as the password is visible for anyone through /proc for a short time.",
+    0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
+ #ifdef __WIN__
+   {"pipe", 'W', "Use named pipes to connect to server.", 0, 0, 0, GET_NO_ARG,
+diff -u --recursive mysql-dfsg-4.1.7.original/client/mysqldump.c mysql-dfsg-4.1.7/client/mysqldump.c
+--- mysql-dfsg-4.1.7.original/client/mysqldump.c	2004-10-23 09:28:45.000000000 +0200
++++ mysql-dfsg-4.1.7/client/mysqldump.c	2004-11-03 03:07:08.000000000 +0100
+@@ -257,7 +257,7 @@
+    "Same as --add-drop-table, --add-locks, --create-options, --quick, --extended-insert, --lock-tables, --set-charset, and --disable-keys. Enabled by default, disable with --skip-opt.",
+    0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
+   {"password", 'p',
+-   "Password to use when connecting to server. If password is not given it's solicited on the tty.",
++   "Password to use when connecting to server. If password is not given it's solicited on the tty. WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.",
+    0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
+ #ifdef __WIN__
+   {"pipe", 'W', "Use named pipes to connect to server.", 0, 0, 0, GET_NO_ARG,
+diff -u --recursive mysql-dfsg-4.1.7.original/client/mysqlshow.c mysql-dfsg-4.1.7/client/mysqlshow.c
+--- mysql-dfsg-4.1.7.original/client/mysqlshow.c	2004-10-23 09:28:43.000000000 +0200
++++ mysql-dfsg-4.1.7/client/mysqlshow.c	2004-11-03 03:07:08.000000000 +0100
+@@ -176,7 +176,7 @@
+   {"keys", 'k', "Show keys for table.", (gptr*) &opt_show_keys,
+    (gptr*) &opt_show_keys, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
+   {"password", 'p',
+-   "Password to use when connecting to server. If password is not given it's asked from the tty.",
++   "Password to use when connecting to server. If password is not given it's asked from the tty. WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.", 
+    0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
+   {"port", 'P', "Port number to use for connection.", (gptr*) &opt_mysql_port,
+    (gptr*) &opt_mysql_port, 0, GET_UINT, REQUIRED_ARG, MYSQL_PORT, 0, 0, 0, 0,
+diff -u --recursive mysql-dfsg-4.1.7.original/libmysqld/examples/mysql.cc mysql-dfsg-4.1.7/libmysqld/examples/mysql.cc
+--- mysql-dfsg-4.1.7.original/libmysqld/examples/mysql.cc	2004-10-23 09:28:46.000000000 +0200
++++ mysql-dfsg-4.1.7/libmysqld/examples/mysql.cc	2004-11-03 03:07:08.000000000 +0100
+@@ -589,7 +589,7 @@
+    0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
+ #endif
+   {"password", 'p',
+-   "Password to use when connecting to server. If password is not given it's asked from the tty.",
++   "Password to use when connecting to server. If password is not given it's asked from the tty. WARNING: This is insecure as the password is visible for anyone through /proc for a short time.",
+    0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
+ #ifdef __WIN__
+   {"pipe", 'W', "Use named pipes to connect to server.", 0, 0, 0, GET_NO_ARG,
+diff -u --recursive mysql-dfsg-4.1.7.original/man/mysql.1.in mysql-dfsg-4.1.7/man/mysql.1.in
+--- mysql-dfsg-4.1.7.original/man/mysql.1.in	2004-10-23 09:28:45.000000000 +0200
++++ mysql-dfsg-4.1.7/man/mysql.1.in	2004-11-03 03:07:08.000000000 +0100
+@@ -17,7 +17,7 @@
+ .IR hostname ]
+ .RB [ \-n | \-\-unbuffered ]
+ .RB [ \-p[pwd] ]
+-.RI [ \-\-password=[pwd] ]
++.RI [ \-\-password=[pwd]\ (INSECURE) ]
+ .RB [ \-P | \-\-port=
+ .IR pnum ]
+ .RB [ \-q | \-\-quick ]
+@@ -70,6 +70,7 @@
+ \fB\-p\fP|\fB\-\-password\fP[\fB=\fP\fIpwd\fP]
+ Employ the specified password when connecting to the database server.
+ If a password is not supplied, it will be requested interactively.
++WARNING: This is insecure as the password is visible for anyone through /proc for a short time.
+ .TP
+ \fB\-P\fR|\fB\-\-port=\fP\fIpnum\fP
+ Employ the specified port number for connecting to the database server.
+diff -u --recursive mysql-dfsg-4.1.7.original/man/mysqlaccess.1.in mysql-dfsg-4.1.7/man/mysqlaccess.1.in
+--- mysql-dfsg-4.1.7.original/man/mysqlaccess.1.in	2004-10-23 09:28:47.000000000 +0200
++++ mysql-dfsg-4.1.7/man/mysqlaccess.1.in	2004-11-03 03:07:08.000000000 +0100
+@@ -7,11 +7,11 @@
+ .B mysqlaccess
+ .RB [  \-? | \-\-help ]
+ .RB [  \-v | \-\-version ]
+-.RB [  \-p | \-\-password=#  ]
++.RB [  \-p | \-\-password=#\ (INSECURE) ]
+ .RB [  \-h | \-\-host=# ]
+ .RB [  \-d | \-\-db=# ]
+ .RB [  \-U | \-\-superuser=# ]
+-.RB [  \-P | \-\-spassword=# ]
++.RB [  \-P | \-\-spassword=#\ (INSECURE) ]
+ .RB [  \-H | \-\-rhost=#  ]
+ .RB [  \-\-old_server ]
+ .RB [ \-b | \-\-brief  ]
+@@ -36,7 +36,7 @@
+ username for logging in to the db
+ .TP 
+ .BR \-p | \-\-password=#
+-validate password for user
++validate password for user. WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.
+ .TP 
+ .BR   \-h | \-\-host=# 
+ name or IP\-number of the host
+@@ -48,7 +48,8 @@
+ connect as superuser
+ .TP 
+ .BR   \-P | \-\-spassword=# 
+-password for superuser
++password for superuser. WARNING: Providing a password on command line is insecure as it is visible through /proc to 
++anyone for a short time.
+ .TP 
+ .BR   \-H | \-\-rhost=# 
+ remote MySQL\-server to connect to
+diff -u --recursive mysql-dfsg-4.1.7.original/man/mysqladmin.1.in mysql-dfsg-4.1.7/man/mysqladmin.1.in
+--- mysql-dfsg-4.1.7.original/man/mysqladmin.1.in	2004-10-23 09:28:45.000000000 +0200
++++ mysql-dfsg-4.1.7/man/mysqladmin.1.in	2004-11-03 03:07:08.000000000 +0100
+@@ -11,7 +11,7 @@
+ .RB [ \-C | \-\-compress ]
+ .RB [ \-h | \-\-host=[#] ]
+ .RB [ \-p[pwd] ]
+-.RI [ \-\-password=[pwd] ]
++.RI [ \-\-password=[pwd]\ (INSECURE) ]
+ .RB [ \-P | \-\-port=
+ .IR pnum ]
+ .RB [ \-i | \-\-sleep=
+@@ -56,7 +56,8 @@
+ .TP
+ \fB\-p\fP|\fB\-\-password\fP[\fB=\fP\fIpwd\fP]
+ Password to use when connecting to server
+-If password is not given it's asked from the tty
++If password is not given it's asked from the tty.
++WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.
+ .TP
+ \fB\-P\fR|\fB\-\-port=\fP\fIpnum\fP
+ Port number to use for connection
+@@ -106,7 +107,7 @@
+ .RB [ flush-tables ]
+ .RB [ flush-privileges ]
+ .RB [ " kill id,id,... "  ]
+-.RB [ "password \fP\fInew-password\fP "]
++.RB [ "password \fP\fInew-password\fP "\ (INSECURE)]
+ .RB [ ping ]
+ .RB [ processlist  ]
+ .RB [ reload ]
+@@ -152,7 +153,8 @@
+ Kill mysql threads
+ .TP
+ .BR  "password \fP\fInew-password\fP" 
+-Change old password to new-password
++Change old password to new-password.
++WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.
+ .TP
+ .BR  ping
+ Check if mysqld is alive
+diff -u --recursive mysql-dfsg-4.1.7.original/man/mysqld_multi.1.in mysql-dfsg-4.1.7/man/mysqld_multi.1.in
+--- mysql-dfsg-4.1.7.original/man/mysqld_multi.1.in	2004-10-23 09:28:46.000000000 +0200
++++ mysql-dfsg-4.1.7/man/mysqld_multi.1.in	2004-11-03 03:07:08.000000000 +0100
+@@ -12,7 +12,7 @@
+ .RB [ --mysqladmin=...  ] 
+ .RB [ --mysqld=...  ] 
+ .RB [ --no-log  ] 
+-.RB [ --password=... ] 
++.RB [ --password=...\ (INSECURE) ] 
+ .RB [ --tcp-ip  ] 
+ .RB [ --user=...  ] 
+ .RB [ --version  ] 
+@@ -43,6 +43,7 @@
+ .TP
+ .BR --password=...
+ Password for user for mysqladmin. 
++WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.
+ .TP
+ .BR --tcp-ip 
+ Connect to the MySQL server(s) via the TCP/IP port instead of the UNIX socket. This affects stopping and reporting. If a socket file is missing, the server may still be running, but can be accessed only via the TCP/IP port. By default connecting is done via the UNIX socket. 
+diff -u --recursive mysql-dfsg-4.1.7.original/man/mysqldump.1.in mysql-dfsg-4.1.7/man/mysqldump.1.in
+--- mysql-dfsg-4.1.7.original/man/mysqldump.1.in	2004-10-31 20:12:45.000000000 +0100
++++ mysql-dfsg-4.1.7/man/mysqldump.1.in	2004-11-03 03:07:08.000000000 +0100
+@@ -36,7 +36,7 @@
+ .RB [  \-d | \-\-no\-data     ]    
+ .RB [  \-O | \-\-set\-variable var=\fP\fIoption\fP         ]               
+ .RB [  \-\-opt       ]         
+-.RB [  \-p | \-\-password\fP\fI[=...]\fP  ]
++.RB [  \-p | \-\-password\fP\fI[=...\ (INSECURE)]\fP  ]
+ .RB [  \-P | \-\-port=...       ]
+ .RB [  \-q | \-\-quick      ]    
+ .RB [  \-Q | \-\-quote\-names ]   
+@@ -149,6 +149,7 @@
+ .BR    \-p | \-\-password[=...]  
+ Password to use when connecting to server.
+ If password is not given it's solicited on the tty.
++WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.
+ .TP  
+ .BR    \-P | \-\-port=...
+ Port number to use for connection.
+diff -u --recursive mysql-dfsg-4.1.7.original/man/mysql_fix_privilege_tables.1.in mysql-dfsg-4.1.7/man/mysql_fix_privilege_tables.1.in
+--- mysql-dfsg-4.1.7.original/man/mysql_fix_privilege_tables.1.in	2004-10-23 09:28:46.000000000 +0200
++++ mysql-dfsg-4.1.7/man/mysql_fix_privilege_tables.1.in	2004-11-03 03:07:08.000000000 +0100
+@@ -1,8 +1,8 @@
+-.TH mysql 1 "17 March 2003" "MySQL @MYSQL_BASE_VERSION@" "MySQL database"
++.TH mysql 1 "02 November 2004" "MySQL @MYSQL_BASE_VERSION@" "MySQL database"
+ .SH NAME
+ mysql_fix_privilege_tables \- Fixes MySQL privilege tables.
+ .SH SYNOPSIS
+-mysql_fix_privilege_tables [mysql_root_password]
++mysql_fix_privilege_tables [mysql_root_password\ (INSECURE)]
+ .SH DESCRIPTION
+ This scripts updates the mysql.user, mysql.db, mysql.host and the
+ mysql.func tables to MySQL 3.22.14 and above.
+@@ -12,6 +12,7 @@
+ 
+ If you get 'Access denied' errors, run the script again
+ and give the MySQL root user password as an argument.
++WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.
+ 
+ .SH "SEE ALSO"
+ isamchk(1),
+diff -u --recursive mysql-dfsg-4.1.7.original/man/mysqlshow.1.in mysql-dfsg-4.1.7/man/mysqlshow.1.in
+--- mysql-dfsg-4.1.7.original/man/mysqlshow.1.in	2004-10-23 09:28:43.000000000 +0200
++++ mysql-dfsg-4.1.7/man/mysqlshow.1.in	2004-11-03 03:07:08.000000000 +0100
+@@ -13,7 +13,7 @@
+ .RB [  \-h | \-\-host=... ]
+ .RB [  \-i | \-\-status ]
+ .RB [  \-k | \-\-keys ]
+-.RB [  \-p |  \-\-password\fP\fI[=...]\fP ]
++.RB [  \-p |  \-\-password\fP\fI[=...\ (INSECURE)]\fP ]
+ .RB [  \-P |  \-\-port=...  ]
+ .RB [  \-S |  \-\-socket=... ]
+ .RB [  \-u |  \-\-user=# ]
+@@ -44,6 +44,7 @@
+ .BR \-p | \-\-password \fP\fI[=...] \fP 
+ password to use when connecting to server
+ If password is not given it's asked from the tty.
++WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.
+ .TP 
+ .BR  \-P | \-\-port=...
+ Port number to use for connection
+diff -u --recursive mysql-dfsg-4.1.7.original/scripts/mysqlaccess.sh mysql-dfsg-4.1.7/scripts/mysqlaccess.sh
+--- mysql-dfsg-4.1.7.original/scripts/mysqlaccess.sh	2004-10-23 09:28:44.000000000 +0200
++++ mysql-dfsg-4.1.7/scripts/mysqlaccess.sh	2004-11-03 03:07:08.000000000 +0100
+@@ -75,11 +75,17 @@
+ 
+   -u, --user=#         username for logging in to the db
+   -p, --password=#     validate password for user
++                       WARNING: Providing a password on command line is
++                       insecure as it is visible through /proc to anyone
++                       for a short time.
+   -h, --host=#         name or IP-number of the host
+   -d, --db=#           name of the database
+ 
+   -U, --superuser=#    connect as superuser
+   -P, --spassword=#    password for superuser
++                       WARNING: Providing a password on command line is
++                       insecure as it is visible through /proc to anyone
++                       for a short time.
+   -H, --rhost=#        remote MySQL-server to connect to
+       --old_server     connect to old MySQL-server (before v3.21) which 
+                        does not yet know how to handle full where clauses.
+diff -u --recursive mysql-dfsg-4.1.7.original/scripts/mysql_convert_table_format.sh mysql-dfsg-4.1.7/scripts/mysql_convert_table_format.sh
+--- mysql-dfsg-4.1.7.original/scripts/mysql_convert_table_format.sh	2004-10-23 09:28:46.000000000 +0200
++++ mysql-dfsg-4.1.7/scripts/mysql_convert_table_format.sh	2004-11-03 03:07:08.000000000 +0100
+@@ -107,6 +107,8 @@
+ 
+ --password='password'
+   Password for the current user.
++  WARNING: Providing a password on command line is insecure as it is visible
++  through /proc to anyone for a short time.
+ 
+ --port=port
+   TCP/IP port to connect to if host is not "localhost".
+diff -u --recursive mysql-dfsg-4.1.7.original/scripts/mysqld_multi.sh mysql-dfsg-4.1.7/scripts/mysqld_multi.sh
+--- mysql-dfsg-4.1.7.original/scripts/mysqld_multi.sh	2004-10-23 09:28:46.000000000 +0200
++++ mysql-dfsg-4.1.7/scripts/mysqld_multi.sh	2004-11-03 03:07:08.000000000 +0100
+@@ -678,6 +678,9 @@
+ mysqladmin = /path/to/mysqladmin/mysqladmin
+ socket     = /tmp/mysql.sock3
+ port       = 3308
++                   WARNING: Providing a password on command line is
++                   insecure as it is visible through /proc to anyone
++                   for a short time.
+ pid-file   = @localstatedir@3/hostname.pid3
+ datadir    = @localstatedir@3
+ language   = @datadir@/mysql/swedish
+diff -u --recursive mysql-dfsg-4.1.7.original/scripts/mysql_explain_log.sh mysql-dfsg-4.1.7/scripts/mysql_explain_log.sh
+--- mysql-dfsg-4.1.7.original/scripts/mysql_explain_log.sh	2004-10-23 09:28:43.000000000 +0200
++++ mysql-dfsg-4.1.7/scripts/mysql_explain_log.sh	2004-11-03 03:07:08.000000000 +0100
+@@ -314,6 +314,9 @@
+ --user=USERNAME     db-user
+ -u=USERNAME
+ --password=PASSWORD password of db-user
++                    WARNING: Providing a password on command line is
++                    insecure as it is visible through /proc to anyone
++                    for a short time.
+ -p=PASSWORD
+ --socket=SOCKET     mysqld socket file to connect
+ -s=SOCKET
+@@ -348,7 +351,7 @@
+ 
+ =head1 USAGE
+ 
+-explain_log.pl [--date=YYMMDD] --host=dbhost] [--user=dbuser] [--password=dbpw] [--socket=/path/to/socket] < logfile
++explain_log.pl [--date=YYMMDD] --host=dbhost] [--user=dbuser] [--password=dbpw (INSECURE)] [--socket=/path/to/socket] < logfile
+ 
+ --date=YYMMDD       select only entrys of date
+ 
+@@ -363,7 +366,8 @@
+ -u=USERNAME
+ 
+ --password=PASSWORD password of db-user
+-
++                    WARNING: Providing a password on command line is insecure
++                    as it is visible through /proc to anyone for a short time.
+ -p=PASSWORD
+ 
+ --socket=SOCKET     change path to the socket
+diff -u --recursive mysql-dfsg-4.1.7.original/scripts/mysql_fix_privilege_tables.sh mysql-dfsg-4.1.7/scripts/mysql_fix_privilege_tables.sh
+--- mysql-dfsg-4.1.7.original/scripts/mysql_fix_privilege_tables.sh	2004-10-23 09:28:47.000000000 +0200
++++ mysql-dfsg-4.1.7/scripts/mysql_fix_privilege_tables.sh	2004-11-03 03:07:08.000000000 +0100
+@@ -31,6 +31,10 @@
+ 
+ case "$1" in
+     --no-defaults|--defaults-file=*|--defaults-extra-file=*)
++#
++# WARNING: Providing a password on command line is insecure as it is visible
++# through /proc to anyone for a short time.
++#
+       defaults="$1"; shift
+       ;;
+ esac
+diff -u --recursive mysql-dfsg-4.1.7.original/scripts/mysqlhotcopy.sh mysql-dfsg-4.1.7/scripts/mysqlhotcopy.sh
+--- mysql-dfsg-4.1.7.original/scripts/mysqlhotcopy.sh	2004-10-23 09:28:47.000000000 +0200
++++ mysql-dfsg-4.1.7/scripts/mysqlhotcopy.sh	2004-11-03 03:07:08.000000000 +0100
+@@ -32,6 +32,7 @@
+ 
+   mysqlhotcopy --method='scp -Bq -i /usr/home/foo/.ssh/identity' --user=root --password=secretpassword \
+          db_1./^nice_table/ user@some.system.dom:~/path/to/new_directory
++  (INSECURE)
+ 
+ WARNING: THIS PROGRAM IS STILL IN BETA. Comments/patches welcome.
+ 
+@@ -53,6 +54,9 @@
+   -u, --user=#         user for database login if not current user
+   -p, --password=#     password to use when connecting to server (if not set
+                        in my.cnf, which is recommended)
++                       WARNING: Providing a password on command line is
++                       insecure as it is visible through /proc to anyone
++                       for a short time.
+   -h, --host=#         Hostname for local server when connecting over TCP/IP
+   -P, --port=#         port to use when connecting to local server with TCP/IP
+   -S, --socket=#       socket to use when connecting to local server
+@@ -1004,6 +1008,9 @@
+ one of the config files, normally /etc/my.cnf or your personal ~/.my.cnf.
+ (See the chapter 'my.cnf Option Files' in the manual)
+ 
++WARNING: Providing a password on command line is insecure as it is visible
++through /proc to anyone for a short time.
++
+ =item -h, -h, --host=#
+ 
+ Hostname for local server when connecting over TCP/IP.  By specifying this
+diff -u --recursive mysql-dfsg-4.1.7.original/scripts/mysql_setpermission.sh mysql-dfsg-4.1.7/scripts/mysql_setpermission.sh
+--- mysql-dfsg-4.1.7.original/scripts/mysql_setpermission.sh	2004-10-23 09:28:43.000000000 +0200
++++ mysql-dfsg-4.1.7/scripts/mysql_setpermission.sh	2004-11-03 03:07:08.000000000 +0100
+@@ -647,6 +647,9 @@
+ 
+ --user		: is the username to connect with.
+ --password	: the password of the username.
++                  WARNING: Providing a password on command line is
++                  insecure as it is visible through /proc to anyone
++                  for a short time.
+ --host		: the host to connect to.
+ --socket	: the socket to connect to.
+ --port		: the port number of the host to connect to.
+diff -u --recursive mysql-dfsg-4.1.7.original/scripts/mysql_tableinfo.sh mysql-dfsg-4.1.7/scripts/mysql_tableinfo.sh
+--- mysql-dfsg-4.1.7.original/scripts/mysql_tableinfo.sh	2004-10-23 09:28:44.000000000 +0200
++++ mysql-dfsg-4.1.7/scripts/mysql_tableinfo.sh	2004-11-03 03:07:08.000000000 +0100
+@@ -441,6 +441,8 @@
+ =item -p, --password=#     
+ 
+ password to use when connecting to server
++WARNING: Providing a password on command line is insecure as it is visible
++through /proc to anyone for a short time.
+ 
+ =item -h, --host=#     
+ 
--- mysql-dfsg-4.1-4.1.11a.orig/debian/patches/01_MAKEFILES__Docs_Makefile.in.dpatch
+++ mysql-dfsg-4.1-4.1.11a/debian/patches/01_MAKEFILES__Docs_Makefile.in.dpatch
@@ -0,0 +1,776 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_MAKEFILES__Docs_Makefile.in.dpatch by  <ch@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Creates Docs/Makefile.in
+
+@DPATCH@
+
+--- old/Docs/Makefile.in	2005-03-01 02:08:01.877429040 +0100
++++ new/Docs/Makefile.in	2005-02-28 21:21:24.000000000 +0100
+@@ -0,0 +1,765 @@
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
++# @configure_input@
++
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# Free Software Foundation, Inc.
++# This Makefile.in is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++@SET_MAKE@
++
++# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
++# 
++# 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
++# the Free Software Foundation; either version 2 of the License, or
++# (at your option) any later version.
++# 
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++# GNU General Public License for more details.
++# 
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
++
++# Process this file with automake to create Makefile.in
++
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++pkgdatadir = $(datadir)/@PACKAGE@
++pkglibdir = $(libdir)/@PACKAGE@
++pkgincludedir = $(includedir)/@PACKAGE@
++top_builddir = .
++
++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
++INSTALL = @INSTALL@
++install_sh_DATA = $(install_sh) -c -m 644
++install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
++INSTALL_HEADER = $(INSTALL_DATA)
++transform = $(program_transform_name)
++NORMAL_INSTALL = :
++PRE_INSTALL = :
++POST_INSTALL = :
++NORMAL_UNINSTALL = :
++PRE_UNINSTALL = :
++POST_UNINSTALL = :
++build_triplet = @build@
++host_triplet = @host@
++target_triplet = @target@
++ACLOCAL = @ACLOCAL@
++ALLOCA = @ALLOCA@
++AMDEP_FALSE = @AMDEP_FALSE@
++AMDEP_TRUE = @AMDEP_TRUE@
++AMTAR = @AMTAR@
++AR = @AR@
++AS = @AS@
++ASSEMBLER_FALSE = @ASSEMBLER_FALSE@
++ASSEMBLER_TRUE = @ASSEMBLER_TRUE@
++ASSEMBLER_sparc32_FALSE = @ASSEMBLER_sparc32_FALSE@
++ASSEMBLER_sparc32_TRUE = @ASSEMBLER_sparc32_TRUE@
++ASSEMBLER_sparc64_FALSE = @ASSEMBLER_sparc64_FALSE@
++ASSEMBLER_sparc64_TRUE = @ASSEMBLER_sparc64_TRUE@
++ASSEMBLER_x86_FALSE = @ASSEMBLER_x86_FALSE@
++ASSEMBLER_x86_TRUE = @ASSEMBLER_x86_TRUE@
++AUTOCONF = @AUTOCONF@
++AUTOHEADER = @AUTOHEADER@
++AUTOMAKE = @AUTOMAKE@
++AVAILABLE_LANGUAGES = @AVAILABLE_LANGUAGES@
++AVAILABLE_LANGUAGES_ERRORS = @AVAILABLE_LANGUAGES_ERRORS@
++AWK = @AWK@
++CC = @CC@
++CCAS = @CCAS@
++CCASFLAGS = @CCASFLAGS@
++CCDEPMODE = @CCDEPMODE@
++CC_VERSION = @CC_VERSION@
++CFLAGS = @CFLAGS@
++CHARSETS_NEED_SOURCE = @CHARSETS_NEED_SOURCE@
++CHARSET_OBJS = @CHARSET_OBJS@
++CHARSET_SRCS = @CHARSET_SRCS@
++CHECK_PID = @CHECK_PID@
++CHMOD = @CHMOD@
++CLIENT_EXTRA_LDFLAGS = @CLIENT_EXTRA_LDFLAGS@
++CLIENT_LIBS = @CLIENT_LIBS@
++CMP = @CMP@
++COMPILATION_COMMENT = @COMPILATION_COMMENT@
++COMPILE_PSTACK_FALSE = @COMPILE_PSTACK_FALSE@
++COMPILE_PSTACK_TRUE = @COMPILE_PSTACK_TRUE@
++CONF_COMMAND = @CONF_COMMAND@
++CP = @CP@
++CPP = @CPP@
++CPPFLAGS = @CPPFLAGS@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
++CXXDEPMODE = @CXXDEPMODE@
++CXXFLAGS = @CXXFLAGS@
++CXXLDFLAGS = @CXXLDFLAGS@
++CXX_VERSION = @CXX_VERSION@
++CYGPATH_W = @CYGPATH_W@
++DEFS = @DEFS@
++DEPDIR = @DEPDIR@
++DOT_FRM_VERSION = @DOT_FRM_VERSION@
++DVIS = @DVIS@
++ECHO = @ECHO@
++ECHO_C = @ECHO_C@
++ECHO_N = @ECHO_N@
++ECHO_T = @ECHO_T@
++EGREP = @EGREP@
++EXEEXT = @EXEEXT@
++F77 = @F77@
++FFLAGS = @FFLAGS@
++FIND_PROC = @FIND_PROC@
++GETCONF = @GETCONF@
++GXX = @GXX@
++HAVE_NETWARE_FALSE = @HAVE_NETWARE_FALSE@
++HAVE_NETWARE_TRUE = @HAVE_NETWARE_TRUE@
++HOSTNAME = @HOSTNAME@
++INSTALL_DATA = @INSTALL_DATA@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++IS_LINUX = @IS_LINUX@
++KILL = @KILL@
++LD = @LD@
++LDFLAGS = @LDFLAGS@
++LIBDL = @LIBDL@
++LIBOBJS = @LIBOBJS@
++LIBS = @LIBS@
++LIBTOOL = @LIBTOOL@
++LIB_EXTRA_CCFLAGS = @LIB_EXTRA_CCFLAGS@
++LM_CFLAGS = @LM_CFLAGS@
++LN = @LN@
++LN_CP_F = @LN_CP_F@
++LN_S = @LN_S@
++LOCAL_FALSE = @LOCAL_FALSE@
++LOCAL_TRUE = @LOCAL_TRUE@
++LTLIBOBJS = @LTLIBOBJS@
++MACHINE_TYPE = @MACHINE_TYPE@
++MAINT = @MAINT@
++MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
++MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
++MAKEINFO = @MAKEINFO@
++MAKE_BINARY_DISTRIBUTION_OPTIONS = @MAKE_BINARY_DISTRIBUTION_OPTIONS@
++MAKE_SHELL = @MAKE_SHELL@
++MT_INCLUDES = @MT_INCLUDES@
++MT_LD_ADD = @MT_LD_ADD@
++MV = @MV@
++MYSQLD_DEFAULT_SWITCHES = @MYSQLD_DEFAULT_SWITCHES@
++MYSQLD_EXTRA_LDFLAGS = @MYSQLD_EXTRA_LDFLAGS@
++MYSQLD_USER = @MYSQLD_USER@
++MYSQL_BASE_VERSION = @MYSQL_BASE_VERSION@
++MYSQL_NO_DASH_VERSION = @MYSQL_NO_DASH_VERSION@
++MYSQL_SERVER_SUFFIX = @MYSQL_SERVER_SUFFIX@
++MYSQL_TCP_PORT = @MYSQL_TCP_PORT@
++MYSQL_TCP_PORT_DEFAULT = @MYSQL_TCP_PORT_DEFAULT@
++MYSQL_UNIX_ADDR = @MYSQL_UNIX_ADDR@
++MYSQL_VERSION_ID = @MYSQL_VERSION_ID@
++NOINST_LDFLAGS = @NOINST_LDFLAGS@
++OBJEXT = @OBJEXT@
++PACKAGE = @PACKAGE@
++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
++PACKAGE_NAME = @PACKAGE_NAME@
++PACKAGE_STRING = @PACKAGE_STRING@
++PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_VERSION = @PACKAGE_VERSION@
++PATH_SEPARATOR = @PATH_SEPARATOR@
++PDFMANUAL = @PDFMANUAL@
++PERL = @PERL@
++PERL5 = @PERL5@
++PROTOCOL_VERSION = @PROTOCOL_VERSION@
++PS = @PS@
++RANLIB = @RANLIB@
++RM = @RM@
++SAVE_ASFLAGS = @SAVE_ASFLAGS@
++SAVE_CFLAGS = @SAVE_CFLAGS@
++SAVE_CXXFLAGS = @SAVE_CXXFLAGS@
++SAVE_CXXLDFLAGS = @SAVE_CXXLDFLAGS@
++SAVE_LDFLAGS = @SAVE_LDFLAGS@
++SED = @SED@
++SET_MAKE = @SET_MAKE@
++SHARED_LIB_VERSION = @SHARED_LIB_VERSION@
++SHELL = @SHELL@
++STRIP = @STRIP@
++SYSTEM_TYPE = @SYSTEM_TYPE@
++TAR = @TAR@
++TERMCAP_LIB = @TERMCAP_LIB@
++THREAD_LOBJECTS = @THREAD_LOBJECTS@
++THREAD_LPROGRAMS = @THREAD_LPROGRAMS@
++VERSION = @VERSION@
++WRAPLIBS = @WRAPLIBS@
++YACC = @YACC@
++ac_ct_AR = @ac_ct_AR@
++ac_ct_CC = @ac_ct_CC@
++ac_ct_CXX = @ac_ct_CXX@
++ac_ct_F77 = @ac_ct_F77@
++ac_ct_GETCONF = @ac_ct_GETCONF@
++ac_ct_RANLIB = @ac_ct_RANLIB@
++ac_ct_STRIP = @ac_ct_STRIP@
++am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
++am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
++am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
++am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
++am__include = @am__include@
++am__leading_dot = @am__leading_dot@
++am__quote = @am__quote@
++bdb_includes = @bdb_includes@
++bdb_libs = @bdb_libs@
++bdb_libs_with_path = @bdb_libs_with_path@
++bench_dirs = @bench_dirs@
++bindir = @bindir@
++build = @build@
++build_alias = @build_alias@
++build_cpu = @build_cpu@
++build_os = @build_os@
++build_vendor = @build_vendor@
++datadir = @datadir@
++default_charset = @default_charset@
++docs_dirs = @docs_dirs@
++exec_prefix = @exec_prefix@
++host = @host@
++host_alias = @host_alias@
++host_cpu = @host_cpu@
++host_os = @host_os@
++host_vendor = @host_vendor@
++includedir = @includedir@
++infodir = @infodir@
++innodb_includes = @innodb_includes@
++innodb_libs = @innodb_libs@
++innodb_system_libs = @innodb_system_libs@
++install_sh = @install_sh@
++isam_libs = @isam_libs@
++libdir = @libdir@
++libexecdir = @libexecdir@
++libmysqld_dirs = @libmysqld_dirs@
++linked_client_targets = @linked_client_targets@
++linked_netware_sources = @linked_netware_sources@
++localstatedir = @localstatedir@
++man_dirs = @man_dirs@
++mandir = @mandir@
++netware_dir = @netware_dir@
++oldincludedir = @oldincludedir@
++openssl_includes = @openssl_includes@
++openssl_libs = @openssl_libs@
++orbit_idl = @orbit_idl@
++orbit_includes = @orbit_includes@
++orbit_libs = @orbit_libs@
++prefix = @prefix@
++program_transform_name = @program_transform_name@
++pstack_dirs = @pstack_dirs@
++pstack_libs = @pstack_libs@
++readline_dir = @readline_dir@
++readline_link = @readline_link@
++sbindir = @sbindir@
++server_scripts = @server_scripts@
++sharedstatedir = @sharedstatedir@
++sql_client_dirs = @sql_client_dirs@
++sql_server_dirs = @sql_server_dirs@
++sysconfdir = @sysconfdir@
++target = @target@
++target_alias = @target_alias@
++target_cpu = @target_cpu@
++target_os = @target_os@
++target_vendor = @target_vendor@
++thread_dirs = @thread_dirs@
++tools_dirs = @tools_dirs@
++uname_prog = @uname_prog@
++vio_dir = @vio_dir@
++vio_libs = @vio_libs@
++
++AUTOMAKE_OPTIONS = foreign
++
++# These are built from source in the Docs directory
++EXTRA_DIST = INSTALL-SOURCE README COPYING EXCEPTIONS-CLIENT
++SUBDIRS = . include @docs_dirs@ @readline_dir@ \
++			@thread_dirs@ pstack @sql_client_dirs@ \
++			@sql_server_dirs@ scripts @man_dirs@ tests \
++			BUILD netware os2 @libmysqld_dirs@ \
++			@bench_dirs@ support-files @tools_dirs@
++
++
++# Relink after clean
++linked_sources = linked_client_sources linked_server_sources \
++		 linked_libmysql_sources linked_libmysql_r_sources \
++		 linked_libmysqld_sources  linked_libmysqldex_sources \
++		 linked_include_sources @linked_netware_sources@
++
++
++CLEANFILES = $(linked_sources)
++subdir = .
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = config.h
++CONFIG_CLEAN_FILES = bdb/Makefile
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
++	ps-recursive install-info-recursive uninstall-info-recursive \
++	all-recursive install-data-recursive install-exec-recursive \
++	installdirs-recursive install-recursive uninstall-recursive \
++	check-recursive installcheck-recursive
++DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure COPYING \
++	ChangeLog Makefile.am acconfig.h acinclude.m4 aclocal.m4 \
++	config.guess config.h.in config.sub configure configure.in \
++	depcomp install-sh ltconfig ltmain.sh missing mkinstalldirs
++DIST_SUBDIRS = $(SUBDIRS)
++all: config.h
++	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++
++.SUFFIXES:
++
++am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
++ configure.lineno
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
++
++$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++	$(SHELL) ./config.status --recheck
++$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
++	cd $(srcdir) && $(AUTOCONF)
++
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
++	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++
++stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
++	@rm -f stamp-h1
++	cd $(top_builddir) && $(SHELL) ./config.status config.h
++
++$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
++	cd $(top_srcdir) && $(AUTOHEADER)
++	touch $(srcdir)/config.h.in
++
++distclean-hdr:
++	-rm -f config.h stamp-h1
++bdb/Makefile: $(top_builddir)/config.status $(top_srcdir)/bdb/Makefile.in
++	cd $(top_builddir) && $(SHELL) ./config.status $@
++
++mostlyclean-libtool:
++	-rm -f *.lo
++
++clean-libtool:
++	-rm -rf .libs _libs
++
++distclean-libtool:
++	-rm -f libtool
++uninstall-info-am:
++
++# This directory's subdirectories are mostly independent; you can cd
++# into them and run `make' without going through this Makefile.
++# To change the values of `make' variables: instead of editing Makefiles,
++# (1) if the variable is set in `config.status', edit `config.status'
++#     (which will cause the Makefiles to be regenerated when you run `make');
++# (2) otherwise, pass the desired values on the `make' command line.
++$(RECURSIVE_TARGETS):
++	@set fnord $$MAKEFLAGS; amf=$$2; \
++	dot_seen=no; \
++	target=`echo $@ | sed s/-recursive//`; \
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  echo "Making $$target in $$subdir"; \
++	  if test "$$subdir" = "."; then \
++	    dot_seen=yes; \
++	    local_target="$$target-am"; \
++	  else \
++	    local_target="$$target"; \
++	  fi; \
++	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
++	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
++	done; \
++	if test "$$dot_seen" = "no"; then \
++	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
++	fi; test -z "$$fail"
++
++mostlyclean-recursive clean-recursive distclean-recursive \
++maintainer-clean-recursive:
++	@set fnord $$MAKEFLAGS; amf=$$2; \
++	dot_seen=no; \
++	case "$@" in \
++	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
++	  *) list='$(SUBDIRS)' ;; \
++	esac; \
++	rev=''; for subdir in $$list; do \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
++	done; \
++	rev="$$rev ."; \
++	target=`echo $@ | sed s/-recursive//`; \
++	for subdir in $$rev; do \
++	  echo "Making $$target in $$subdir"; \
++	  if test "$$subdir" = "."; then \
++	    local_target="$$target-am"; \
++	  else \
++	    local_target="$$target"; \
++	  fi; \
++	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
++	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
++	done && test -z "$$fail"
++tags-recursive:
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
++	done
++ctags-recursive:
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
++	done
++
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
++	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++	unique=`for i in $$list; do \
++	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++	  done | \
++	  $(AWK) '    { files[$$0] = 1; } \
++	       END { for (i in files) print i; }'`; \
++	mkid -fID $$unique
++
++TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
++		$(TAGS_FILES) $(LISP)
++	tags=; \
++	here=`pwd`; \
++	if (etags --etags-include --version) >/dev/null 2>&1; then \
++	  include_option=--etags-include; \
++	else \
++	  include_option=--include; \
++	fi; \
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  if test "$$subdir" = .; then :; else \
++	    test -f $$subdir/TAGS && \
++	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
++	  fi; \
++	done; \
++	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
++	unique=`for i in $$list; do \
++	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++	  done | \
++	  $(AWK) '    { files[$$0] = 1; } \
++	       END { for (i in files) print i; }'`; \
++	test -z "$(ETAGS_ARGS)$$tags$$unique" \
++	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++	     $$tags $$unique
++
++ctags: CTAGS
++CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
++		$(TAGS_FILES) $(LISP)
++	tags=; \
++	here=`pwd`; \
++	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
++	unique=`for i in $$list; do \
++	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++	  done | \
++	  $(AWK) '    { files[$$0] = 1; } \
++	       END { for (i in files) print i; }'`; \
++	test -z "$(CTAGS_ARGS)$$tags$$unique" \
++	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
++	     $$tags $$unique
++
++GTAGS:
++	here=`$(am__cd) $(top_builddir) && pwd` \
++	  && cd $(top_srcdir) \
++	  && gtags -i $(GTAGS_ARGS) $$here
++
++distclean-tags:
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = .
++distdir = $(PACKAGE)-$(VERSION)
++
++am__remove_distdir = \
++  { test ! -d $(distdir) \
++    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
++         && rm -fr $(distdir); }; }
++
++GZIP_ENV = --best
++distuninstallcheck_listfiles = find . -type f -print
++distcleancheck_listfiles = find . -type f -print
++
++distdir: $(DISTFILES)
++	$(am__remove_distdir)
++	mkdir $(distdir)
++	$(mkinstalldirs) $(distdir)/bdb $(distdir)/include
++	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
++	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
++	list='$(DISTFILES)'; for file in $$list; do \
++	  case $$file in \
++	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
++	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
++	  esac; \
++	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    dir="/$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
++	  else \
++	    dir=''; \
++	  fi; \
++	  if test -d $$d/$$file; then \
++	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
++	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
++	    fi; \
++	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
++	  else \
++	    test -f $(distdir)/$$file \
++	    || cp -p $$d/$$file $(distdir)/$$file \
++	    || exit 1; \
++	  fi; \
++	done
++	list='$(SUBDIRS)'; for subdir in $$list; do \
++	  if test "$$subdir" = .; then :; else \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
++	    || exit 1; \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
++	      || exit 1; \
++	  fi; \
++	done
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
++	  dist-hook
++	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
++	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
++	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
++	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
++	|| chmod -R a+r $(distdir)
++dist-gzip: distdir
++	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
++	$(am__remove_distdir)
++
++dist dist-all: distdir
++	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
++	$(am__remove_distdir)
++
++# This target untars the dist file and tries a VPATH configuration.  Then
++# it guarantees that the distribution is self-contained by making another
++# tarfile.
++distcheck: dist
++	$(am__remove_distdir)
++	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
++	chmod -R a-w $(distdir); chmod a+w $(distdir)
++	mkdir $(distdir)/_build
++	mkdir $(distdir)/_inst
++	chmod a-w $(distdir)
++	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
++	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
++	  && cd $(distdir)/_build \
++	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
++	    $(DISTCHECK_CONFIGURE_FLAGS) \
++	  && $(MAKE) $(AM_MAKEFLAGS) \
++	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
++	  && $(MAKE) $(AM_MAKEFLAGS) check \
++	  && $(MAKE) $(AM_MAKEFLAGS) install \
++	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
++	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
++	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
++	        distuninstallcheck \
++	  && chmod -R a-w "$$dc_install_base" \
++	  && ({ \
++	       (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
++	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
++	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
++	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
++	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
++	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
++	  && rm -rf "$$dc_destdir" \
++	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
++	  && rm -f $(distdir).tar.gz \
++	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
++	$(am__remove_distdir)
++	@echo "$(distdir).tar.gz is ready for distribution" | \
++	  sed 'h;s/./=/g;p;x;p;x'
++distuninstallcheck:
++	@cd $(distuninstallcheck_dir) \
++	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
++	   || { echo "ERROR: files left after uninstall:" ; \
++	        if test -n "$(DESTDIR)"; then \
++	          echo "  (check DESTDIR support)"; \
++	        fi ; \
++	        $(distuninstallcheck_listfiles) ; \
++	        exit 1; } >&2
++distcleancheck: distclean
++	@if test '$(srcdir)' = . ; then \
++	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
++	  exit 1 ; \
++	fi
++	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
++	  || { echo "ERROR: files left in build directory after distclean:" ; \
++	       $(distcleancheck_listfiles) ; \
++	       exit 1; } >&2
++check-am: all-am
++check: check-recursive
++all-am: Makefile config.h
++installdirs: installdirs-recursive
++installdirs-am:
++
++install: install-recursive
++install-exec: install-exec-recursive
++install-data: install-data-recursive
++uninstall: uninstall-recursive
++
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
++mostlyclean-generic:
++
++clean-generic:
++	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
++
++distclean-generic:
++	-rm -f $(CONFIG_CLEAN_FILES)
++
++maintainer-clean-generic:
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
++
++clean-am: clean-generic clean-libtool mostlyclean-am
++
++distclean: distclean-recursive
++	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
++	-rm -f Makefile
++distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
++	distclean-tags
++
++dvi: dvi-recursive
++
++dvi-am:
++
++info: info-recursive
++
++info-am:
++
++install-data-am:
++
++install-exec-am:
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
++
++maintainer-clean: maintainer-clean-recursive
++	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
++	-rm -rf $(top_srcdir)/autom4te.cache
++	-rm -f Makefile
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++pdf: pdf-recursive
++
++pdf-am:
++
++ps: ps-recursive
++
++ps-am:
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
++	clean-generic clean-libtool clean-recursive ctags \
++	ctags-recursive dist dist-all dist-gzip distcheck distclean \
++	distclean-generic distclean-hdr distclean-libtool \
++	distclean-recursive distclean-tags distcleancheck distdir \
++	distuninstallcheck dvi dvi-am dvi-recursive info info-am \
++	info-recursive install install-am install-data install-data-am \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
++	tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
++
++
++# This is just so that the linking is done early.
++config.h: $(linked_sources)
++
++linked_include_sources:
++	cd include; $(MAKE) link_sources
++	echo timestamp > linked_include_sources
++
++linked_client_sources:  @linked_client_targets@
++	cd client; $(MAKE) link_sources
++	echo timestamp > linked_client_sources
++
++linked_libmysql_sources:
++	cd libmysql; $(MAKE) link_sources
++	echo timestamp > linked_libmysql_sources
++
++linked_libmysql_r_sources: linked_libmysql_sources
++	cd libmysql_r; $(MAKE) link_sources
++	echo timestamp > linked_libmysql_r_sources
++
++linked_libmysqld_sources:
++	cd libmysqld; $(MAKE) link_sources
++	echo timestamp > linked_libmysqld_sources
++
++linked_libmysqldex_sources:
++	cd libmysqld/examples; $(MAKE) link_sources
++	echo timestamp > linked_libmysqldex_sources
++
++linked_netware_sources:
++	cd @netware_dir@; $(MAKE) link_sources
++	echo timestamp > linked_netware_sources
++
++#avoid recursive make calls in sql directory
++linked_server_sources:
++	cd sql; rm -f mini_client_errors.c;@LN_CP_F@ ../libmysql/errmsg.c mini_client_errors.c
++	echo timestamp > linked_server_sources
++
++# Create permission databases
++init-db:		all
++	$(top_builddir)/scripts/mysql_install_db
++
++bin-dist:		all
++	$(top_builddir)/scripts/make_binary_distribution @MAKE_BINARY_DISTRIBUTION_OPTIONS@
++
++# Remove BK's "SCCS" subdirectories from source distribution
++dist-hook:
++	rm -rf `find $(distdir) -type d -name SCCS`
++
++tags:
++	support-files/build-tags
++.PHONY:		init-db bin-dist
++
++# Test installation
++
++test:
++	cd mysql-test ; ./mysql-test-run
++# Tell versions [3.59,3.63) of GNU make to not export all variables.
++# Otherwise a system limit (for SysV at least) may be exceeded.
++.NOEXPORT:
--- mysql-dfsg-4.1-4.1.11a.orig/debian/control
+++ mysql-dfsg-4.1-4.1.11a/debian/control
@@ -0,0 +1,80 @@
+Source: mysql-dfsg-4.1
+Section: misc
+Priority: optional
+Maintainer: Christian Hammers <ch@debian.org>
+Uploaders: sean finney <seanius@debian.org>
+Build-Depends: libtool (>= 1.4.2-7), procps | hurd,  debhelper (>= 4.1.16), file (>= 3.28-1), libncurses5-dev (>= 5.0-6), perl (>= 5.6.0), libwrap0-dev (>= 7.6-8.3), zlib1g-dev (>= 1:1.1.3-5), libreadline4-dev, psmisc, po-debconf, chrpath, automake1.8, doxygen, tetex-bin (>= 2.0), tetex-base, tetex-extra, gs, dpatch, gawk
+Standards-Version: 3.6.1
+
+Package: libmysqlclient14
+Section: libs
+Architecture: any
+Depends: mysql-common-4.1 (>= ${Source-Version}) | mysql-common, ${shlibs:Depends}
+Recommends: libmysqlclient14-dev
+Replaces: mysql-client, mysql-gpl-client, mysql-devel
+Conflicts: libmysqlclient14-dev (<< ${Source-Version}), libmysqlclient6-dev, mysql-dev, mysql, mysql-base
+Description: mysql database client library
+ MySQL is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MySQL are speed, robustness and
+ ease of use.
+ .
+ This package includes the client library.
+
+Package: libmysqlclient14-dev
+Architecture: any
+Section: libdevel
+Depends: libmysqlclient14 (>= ${Source-Version}), zlib1g-dev
+Conflicts: libmysqlclient-dev, libmysqlclient12-dev, libmysqlclient10-dev, libmysqlclient9-dev, libmysqlclient6-dev, mysql-gpl-dev, mysql-dev, mysql-devel
+Replaces: libmysqlclient9-dev, libmysqlclient6, libmysqlclient6-dev, mysql-gpl-dev, mysql-dev, mysql-devel
+Description: mysql database development files
+ MySQL is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MySQL are speed, robustness and
+ ease of use.
+ .
+ This package includes development libraries and header files. 
+
+Package: mysql-common-4.1
+Section: misc
+Architecture: all
+Depends: ${shlibs:Depends}
+Conflicts: mysql-common
+Provides: mysql-common
+Replaces: mysql-common, libmysqlclient6
+Description: mysql database common files (e.g. /etc/mysql/my.cnf)
+ MySQL is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MySQL are speed, robustness and
+ ease of use.
+ .
+ This package includes files needed by all versions of the client library.
+
+Package: mysql-client-4.1
+Architecture: any
+Depends: debianutils (>=1.6), libdbi-perl, libdbd-mysql-perl (>= 1.2202), mysql-common-4.1 (>= ${Source-Version}), libmysqlclient14 (>= ${Source-Version}), ${perl:Depends}, ${shlibs:Depends}
+Provides: virtual-mysql-client, mysql-client
+Suggests: mysql-doc-4.1
+Conflicts: mysql-client, mysql-gpl-client, mysql-base
+Replaces: mysql-client, mysql-gpl-client, mysql-base, mysql-server
+Description: mysql database client binaries
+ MySQL is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MySQL are speed, robustness and
+ ease of use.
+ .
+ This package includes the client binaries.
+
+Package: mysql-server-4.1
+Architecture: any                                                               
+Depends: mysql-common-4.1 (>= ${Source-Version}), mysql-client-4.1 (>= ${Source-Version}), debconf (>= 1.2.9), libdbi-perl, perl (>= 5.6), ${shlibs:Depends}, adduser (>= 3.40), psmisc, passwd, mailx
+Conflicts: mysql-server
+Provides: mysql-server, virtual-mysql-server
+Replaces: mysql-server
+Description: mysql database server binaries                                     
+ MySQL is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MySQL are speed, robustness and
+ ease of use.
+ .
+ This package includes the server binaries.
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/templates.pot
+++ mysql-dfsg-4.1-4.1.11a/debian/po/templates.pot
@@ -0,0 +1,136 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-05-23 13:08+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "Important note for NIS/YP users!"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"To use mysql you must install an equivalent user and group to the following "
+"and ensure yourself that /var/lib/mysql has the right permissions (the uid/"
+"gid may be different)."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/etc/group:       mysql:x:101:"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Update Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid ""
+"Rarely, e.g. on new major versions, the privilege system is improved. To "
+"make use of it mysql_fix_privilege_tables must be executed manually. The "
+"script is not supposed to give any user more rights that he had before,"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Please also read http://www.mysql.com/doc/en/Upgrade.html"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "Install Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in place "
+"of /var/lib/mysql or /var/log/mysql gets accidently removed and have "
+"manually be restored."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"MySQL will only install if you have a non-numeric hostname that is "
+"resolvable via the /etc/hosts file. E.g. if the \"hostname\" command returns "
+"\"myhostname\" then there must be a line like \"10.0.0.1 myhostname\"."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"A new mysql user \"debian-sys-maint\" will be created. This mysql account is "
+"used in the start/stop and cron scripts. Don't delete."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"Please remember to set a PASSWORD for the MySQL root user! If you use a /"
+"root/.my.cnf, always write the \"user\" and the \"password\" lines in there, "
+"never only the password!"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "See /usr/share/doc/mysql-server-4.1/README.Debian for more information."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid "Remove the databases from all MySQL versions?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid ""
+"Should I remove the complete /var/lib/mysql directory tree which is used by "
+"all MySQL versions, not necessarily only the one you are about to purge?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid "Should MySQL start on boot?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid ""
+"The MySQL can start on boot time or only if you type '/etc/init.d/mysql "
+"start' manually. Select 'yes' here if you want it to start automatically."
+msgstr ""
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/ca.po
+++ mysql-dfsg-4.1-4.1.11a/debian/po/ca.po
@@ -0,0 +1,241 @@
+# mysql-dfsg (debconf) translation to Catalan.
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Aleix Badia i Bosch <abadia@ica.es> 2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mysql-dfsg-4.1\n"
+"POT-Creation-Date: 2005-05-23 13:08+0000\n"
+"PO-Revision-Date: 2004-01-31 19:20GMT\n"
+"Last-Translator: Aleix Badia i Bosch <abadia@ica.es>>\n"
+"Language-Team: Debian L10n Catalan <debian-l10n-catalan@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Report-Msgid-Bugs-To: \n"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "Important note for NIS/YP users!"
+msgstr "Nota important pels usuaris de NIS/YP"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+#, fuzzy
+msgid ""
+"To use mysql you must install an equivalent user and group to the following "
+"and ensure yourself that /var/lib/mysql has the right permissions (the uid/"
+"gid may be different)."
+msgstr ""
+"Per utilitzar la base de dades de MySQL heu d'afegir un usuari i grup "
+"equivalent al següent i assegurar-vos que el directori /var/lib/mysql tingui "
+"els permisos correctes."
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+msgstr ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/etc/group:       mysql:x:101:"
+msgstr "/etc/group:       mysql:x:101:"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+msgstr "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Update Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid ""
+"Rarely, e.g. on new major versions, the privilege system is improved. To "
+"make use of it mysql_fix_privilege_tables must be executed manually. The "
+"script is not supposed to give any user more rights that he had before,"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+#, fuzzy
+msgid "Please also read http://www.mysql.com/doc/en/Upgrade.html"
+msgstr "Feu una ullada al document: http://www.mysql.com/doc/en/Upgrade.html"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "Install Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in place "
+"of /var/lib/mysql or /var/log/mysql gets accidently removed and have "
+"manually be restored."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"MySQL will only install if you have a non-numeric hostname that is "
+"resolvable via the /etc/hosts file. E.g. if the \"hostname\" command returns "
+"\"myhostname\" then there must be a line like \"10.0.0.1 myhostname\"."
+msgstr ""
+"El MySQL només s'instal·la en cas de tenir un nom d'ordinador central que no "
+"sigui numèric  i que es pugui resoldre a través del fitxer /etc/hosts. Ex. "
+"si l'ordre \"hostname\" retorna \"myhostname\", llavors hi ha d'haver una "
+"línia com la següent \"10.0.0.1 myhostname\"."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"A new mysql user \"debian-sys-maint\" will be created. This mysql account is "
+"used in the start/stop and cron scripts. Don't delete."
+msgstr ""
+"Es crea un nou usuari de mysql \"debian-sys-maint\". S'utilitza per les "
+"seqüències d'inicialització i aturada del cron, no el suprimiu."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"Please remember to set a PASSWORD for the MySQL root user! If you use a /"
+"root/.my.cnf, always write the \"user\" and the \"password\" lines in there, "
+"never only the password!"
+msgstr ""
+"Recordeu posar una contrasenya al superusuari del MySQL. Si utilitzeu un "
+"fitxer /root/.my.cnf, escriviu sempre allà les línies \"user\" i \"password"
+"\".; mai només la contrasenya. Per a més informació feu una ullada a /usr/"
+"share/doc/mysql-server/README.Debian."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "See /usr/share/doc/mysql-server-4.1/README.Debian for more information."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid "Remove the databases from all MySQL versions?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid ""
+"Should I remove the complete /var/lib/mysql directory tree which is used by "
+"all MySQL versions, not necessarily only the one you are about to purge?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid "Should MySQL start on boot?"
+msgstr "Voleu que el MySQL s'iniciï a l'arrencada ?"
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid ""
+"The MySQL can start on boot time or only if you type '/etc/init.d/mysql "
+"start' manually. Select 'yes' here if you want it to start automatically."
+msgstr ""
+"El MySQL es pot executar a l'arrencada o només si executeu manualment '/etc/"
+"init.d/mysql start'. Seleccioneu 'sí' si voleu que s'inicialitzi "
+"automàticament."
+
+#, fuzzy
+#~ msgid ""
+#~ "Should I remove all databases below /var/lib/mysql as you are purging the "
+#~ "mysql-server package?"
+#~ msgstr ""
+#~ "Voleu suprimir totes les bases de dades en purgar el paquet mysql-server ?"
+
+#~ msgid ""
+#~ "Networking is disabled by default for security reasons. You can enable it "
+#~ "by commenting out the skip-networking option in /etc/mysql/my.cnf."
+#~ msgstr ""
+#~ "La xarxa està inhabilitada per defecte per a raons de seguretat. La podeu "
+#~ "habilitar descomentant l'opció de skip-networking del fitxer /etc/mysql/"
+#~ "my.cnf."
+
+#~ msgid "security and update notice"
+#~ msgstr "Avís de seguretat i actualització"
+
+#~ msgid "Please run mysql_fix_privilege_tables !"
+#~ msgstr "Executeu mysql_fix_privilege_tables"
+
+#~ msgid ""
+#~ "I will ensure secure permissions of /var/lib/mysql by replacing GIDs "
+#~ "other than root and mysql with mysql."
+#~ msgstr ""
+#~ "S'asseguren els permisos de seguretat de /var/lib/mysql canviant a mysql "
+#~ "tots els GIDs diferents a root i mysql."
+
+#~ msgid ""
+#~ "Instructions how to enable SSL support are in /usr/share/doc/mysql-server/"
+#~ msgstr ""
+#~ "Per habilitar el suport de SSL podeu seguir les instruccions de /usr/"
+#~ "share/doc/mysql-server/"
+
+#~ msgid "mysql_fix_privileges_tables will be executed"
+#~ msgstr "s'executa mysql_fix_privileges_tables"
+
+#~ msgid ""
+#~ "The latest MySQL versions have an enhanced, more fine grained, privilege "
+#~ "system. To make use of it, some new fields must be added to the tables "
+#~ "in  the \"mysql\" database. This is done by the "
+#~ "mysql_fix_privilege_tables script during this upgrade regardless of if "
+#~ "the server is currently running or not!"
+#~ msgstr ""
+#~ "Les últimes versions de MySQL tenen un sistema de privilegis més "
+#~ "elaborat. Per utilitzar-lo cal afegir nous camps a les taules de la base "
+#~ "de dades \"mysql\". Aquesta tasca la realitza la seqüència "
+#~ "mysql_fix_privilege_tables durant l'actualització independentment de si "
+#~ "el servidor s'està executant o no!"
+
+#~ msgid ""
+#~ "This script is not supposed to give any user more rights that he had "
+#~ "before, if you encounter such a case, please contact me."
+#~ msgstr ""
+#~ "Aquesta seqüència no assigna privilegis d'usuari diferents als que ja "
+#~ "tenia, en cas que us trobéssiu en aquesta situació, poseu-vos en contacte "
+#~ "amb mi."
+
+#~ msgid ""
+#~ "Should I remove everything below /var/lib/mysql when you purge the mysql-"
+#~ "server package with the \"dpkg --purge mysql-server\" command (i.e. "
+#~ "remove everything including the configuration) somewhen? (default is not)"
+#~ msgstr ""
+#~ "Voleu suprimir tots els continguts de /var/lib/mysql quan es purgui el "
+#~ "paquet mysql-server amb l'ordre \"dpkg --purge mysql-server\". (ex. "
+#~ "suprimir-ho tot inclòs la configuració) ? (per defecte no)"
+
+#~ msgid "Make MySQL reachable via network?"
+#~ msgstr "Voleu fer accessible el MySQL via xarxa ?"
+
+#~ msgid ""
+#~ "Should MySQL listen on a network reachable TCP port? This is not "
+#~ "necessary for use on a single computer and could be a security problem."
+#~ msgstr ""
+#~ "Voleu que el MySQL escolti a un port TCP accessible des de la xarxa ? "
+#~ "Aquesta opció no és imprescindible en ordinadors aïllats i podria "
+#~ "provocar un problema de seguretat."
+
+#~ msgid "Enable chroot mode?"
+#~ msgstr "Permetre el mode chroot ?"
+
+#~ msgid ""
+#~ "MySQL is able to jail itself into the /var/lib/mysql_jail directory so "
+#~ "that users cannot modify any files outside this directory. This improves "
+#~ "resistence against crackers, too, as they are not able to modify system "
+#~ "files."
+#~ msgstr ""
+#~ "El MySQL es pot executar en una entorn tancat al directori /var/lib/"
+#~ "mysql_jail perquè els usuaris no puguin modificar cap fitxer fora del "
+#~ "directori.Aquesta opció també augmenta la seguretat envers els crackers, "
+#~ "jaque no poden modificar els fitxers del sistema."
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/cs.po
+++ mysql-dfsg-4.1-4.1.11a/debian/po/cs.po
@@ -0,0 +1,175 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mysql-dfsg-4.1\n"
+"POT-Creation-Date: 2005-05-23 13:08+0000\n"
+"PO-Revision-Date: 2004-11-27 11:12+0100\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <provoz@debian.cz>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Report-Msgid-Bugs-To: \n"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "Important note for NIS/YP users!"
+msgstr "Dùle¾itá poznámka pro u¾ivatele NIS/YP!"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"To use mysql you must install an equivalent user and group to the following "
+"and ensure yourself that /var/lib/mysql has the right permissions (the uid/"
+"gid may be different)."
+msgstr ""
+"Abyste mohli mysql pou¾ívat, musíte do následujících souborù pøidat "
+"ekvivalentního u¾ivatele a skupinu a zajistit, ¾e /var/lib/mysql má správná "
+"práva (uid/gid se mohou li¹it)."
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+msgstr ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/etc/group:       mysql:x:101:"
+msgstr "/etc/group:       mysql:x:101:"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+msgstr "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Update Hints"
+msgstr "Poznámky k aktualizaci"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid ""
+"Rarely, e.g. on new major versions, the privilege system is improved. To "
+"make use of it mysql_fix_privilege_tables must be executed manually. The "
+"script is not supposed to give any user more rights that he had before,"
+msgstr ""
+"Obèas (t.j. v nových hlavních verzích) se vylep¹uje systém práv. Abyste jej "
+"vyu¾ili, musíte ruènì spustit mysql_fix_privilege_tables. Skript by nemìl "
+"u¾ivateli pøidìlit vìt¹í práva, ne¾ mìl doposud."
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Please also read http://www.mysql.com/doc/en/Upgrade.html"
+msgstr "Také si pøeètìte http://www.mysql.com/doc/en/Upgrade.html"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "Install Hints"
+msgstr "Poznámky k instalaci"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in place "
+"of /var/lib/mysql or /var/log/mysql gets accidently removed and have "
+"manually be restored."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"MySQL will only install if you have a non-numeric hostname that is "
+"resolvable via the /etc/hosts file. E.g. if the \"hostname\" command returns "
+"\"myhostname\" then there must be a line like \"10.0.0.1 myhostname\"."
+msgstr ""
+"MySQL se nainstaluje pouze v pøípadì, ¾e pou¾íváte NENUMERICKÉ jméno "
+"poèítaèe, které se dá pøelo¾it pøes soubor /etc/hosts. Napø. kdy¾ pøíkaz "
+"\"hostname\" vrátí \"diamond\", tak v /etc/hosts musí existovat obdobný "
+"øádek jako \"10.0.0.1 diamond\"."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"A new mysql user \"debian-sys-maint\" will be created. This mysql account is "
+"used in the start/stop and cron scripts. Don't delete."
+msgstr ""
+"Bude vytvoøen nový mysql u¾ivatel \"debian-sys-maint\". Tento mysql úèet se "
+"pou¾ívá ve startovacích, ukonèovacích a cronových skriptech. Nema¾te jej."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"Please remember to set a PASSWORD for the MySQL root user! If you use a /"
+"root/.my.cnf, always write the \"user\" and the \"password\" lines in there, "
+"never only the password!"
+msgstr ""
+"Nazapomeòte nastavit heslo pro úèet administrátora MySQL! Pou¾íváte-li /"
+"root/.my.cnf, v¾dy zde zadejte jak øádek \"user\", tak øádek \"password\". "
+"Nikdy zde nezadávejte jenom heslo! Více informací naleznete v /usr/share/doc/"
+"mysql-server/README.Debian."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "See /usr/share/doc/mysql-server-4.1/README.Debian for more information."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid "Remove the databases from all MySQL versions?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid ""
+"Should I remove the complete /var/lib/mysql directory tree which is used by "
+"all MySQL versions, not necessarily only the one you are about to purge?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid "Should MySQL start on boot?"
+msgstr "Má se MySQL spustit pøi startu systému?"
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid ""
+"The MySQL can start on boot time or only if you type '/etc/init.d/mysql "
+"start' manually. Select 'yes' here if you want it to start automatically."
+msgstr ""
+"MySQL se mù¾e spou¹tìt automaticky pøi startu systému, nebo ruènì pøíkazem '/"
+"etc/init.d/mysql start'. Odpovíte-li kladnì, bude se MySQL spou¹tìt "
+"automaticky."
+
+#~ msgid "Remove all databases?"
+#~ msgstr "Odstranit v¹echny databáze?"
+
+#~ msgid ""
+#~ "Should I remove all databases below /var/lib/mysql as you are purging the "
+#~ "mysql-server package?"
+#~ msgstr ""
+#~ "Proto¾e kompletnì ru¹íte balík mysql-server, tak se ptám: Mám odstranit "
+#~ "v¹echny databáze z /var/lib/mysql?"
+
+#~ msgid ""
+#~ "Networking is disabled by default for security reasons. You can enable it "
+#~ "by commenting out the skip-networking option in /etc/mysql/my.cnf."
+#~ msgstr ""
+#~ "Z bezpeènostní dùvodù je sí»ování implicitnì vypnuto. Mù¾ete je povolit "
+#~ "zakomentováním volby skip-networking v /etc/mysql/my.cnf."
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/tr.po
+++ mysql-dfsg-4.1-4.1.11a/debian/po/tr.po
@@ -0,0 +1,242 @@
+# Turkish translation of mysql-server.
+# This file is distributed under the same license as the mysql-server package.
+# GÃ¼rkan Aslan <gurkan@iaslan.com>, 2004
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: mysql-dfsg-4.1\n"
+"POT-Creation-Date: 2005-05-23 13:08+0000\n"
+"PO-Revision-Date: 2004-06-05 08:53+0300\n"
+"Last-Translator: GÃ¼rkan Aslan <gurkan@iaslan.com>\n"
+"Language-Team: Turkish <debian-l10n-turkish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Report-Msgid-Bugs-To: \n"
+"Plural-Forms:  nplurals=1; plural=0;\n"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "Important note for NIS/YP users!"
+msgstr "NIS/YP kullanÄ±cÄ±larÄ± iÃ§in Ã¶nemli not!"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"To use mysql you must install an equivalent user and group to the following "
+"and ensure yourself that /var/lib/mysql has the right permissions (the uid/"
+"gid may be different)."
+msgstr ""
+"Mysql'i kullanmak iÃ§in aÅŸaÄŸÄ±dakiyle eÅŸdeÄŸer bir kullanÄ±cÄ± ve grup "
+"tanÄ±mlamalÄ±, ve /var/lib/mysql izinlerinin uygun ÅŸekilde ayarlandÄ±ÄŸÄ±ndan "
+"emin olmalÄ±sÄ±nÄ±z (uid/gid farklÄ± olabilir)."
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+msgstr ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/etc/group:       mysql:x:101:"
+msgstr "/etc/group:       mysql:x:101:"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+msgstr "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Update Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid ""
+"Rarely, e.g. on new major versions, the privilege system is improved. To "
+"make use of it mysql_fix_privilege_tables must be executed manually. The "
+"script is not supposed to give any user more rights that he had before,"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+#, fuzzy
+msgid "Please also read http://www.mysql.com/doc/en/Upgrade.html"
+msgstr "LÃ¼tfen http://www.mysql.com/doc/en/Upgrade.html belgesini okuyun"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "Install Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in place "
+"of /var/lib/mysql or /var/log/mysql gets accidently removed and have "
+"manually be restored."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"MySQL will only install if you have a non-numeric hostname that is "
+"resolvable via the /etc/hosts file. E.g. if the \"hostname\" command returns "
+"\"myhostname\" then there must be a line like \"10.0.0.1 myhostname\"."
+msgstr ""
+"MySQL sadece /etc/hosts dosyasÄ± yoluyla Ã§Ã¶zÃ¼lebilir NUMERÄ°K OLMAYAN bir "
+"makine adÄ±na sahipseniz kurulacaktÄ±r. Ã–rneÄŸin, eÄŸer \"hostname\" komutu "
+"\"makinem\" ismini dÃ¶ndÃ¼rÃ¼yorsa, bu dosya iÃ§inde \"10.0.0.1 makinem\" gibi "
+"bir satÄ±r olmalÄ±dÄ±r."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"A new mysql user \"debian-sys-maint\" will be created. This mysql account is "
+"used in the start/stop and cron scripts. Don't delete."
+msgstr ""
+"Yeni mysql kullanÄ±cÄ±sÄ± \"debian-sys-maint\" yaratÄ±lacak. Bu hesap, baÅŸlangÄ±Ã§ "
+"betiklerinde ve cron iÃ§inde kullanÄ±lÄ±yor. Bu hesabÄ± silmeyin."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"Please remember to set a PASSWORD for the MySQL root user! If you use a /"
+"root/.my.cnf, always write the \"user\" and the \"password\" lines in there, "
+"never only the password!"
+msgstr ""
+"LÃ¼tfen MySQL root kullanÄ±cÄ±sÄ± iÃ§in bir PAROLA girmeyi unutmayÄ±n! EÄŸer /root/."
+"my.cnf kullanÄ±yorsanÄ±z, \"user\" ve \"password\" satÄ±rlarÄ±nÄ± her zaman "
+"buraya ekleyin, sadece parolayÄ± deÄŸil! Daha fazla bilgi iÃ§in /usr/share/doc/"
+"mysql-server/README.Debian dosyasÄ±nÄ± okuyun."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "See /usr/share/doc/mysql-server-4.1/README.Debian for more information."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid "Remove the databases from all MySQL versions?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid ""
+"Should I remove the complete /var/lib/mysql directory tree which is used by "
+"all MySQL versions, not necessarily only the one you are about to purge?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid "Should MySQL start on boot?"
+msgstr "MySQL aÃ§Ä±lÄ±ÅŸ sÄ±rasÄ±nda baÅŸlatÄ±lsÄ±n mÄ±?"
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid ""
+"The MySQL can start on boot time or only if you type '/etc/init.d/mysql "
+"start' manually. Select 'yes' here if you want it to start automatically."
+msgstr ""
+"MySQL aÃ§Ä±lÄ±ÅŸ sÄ±rasÄ±nda veya '/etc/init.d/mysql start' komutunu vermeniz "
+"halinde elle baÅŸlatÄ±labilir. EÄŸer aÃ§Ä±lÄ±ÅŸta otomatik olarak baÅŸlatÄ±lmasÄ±nÄ± "
+"istiyorsanÄ±z burada 'evet'i seÃ§in."
+
+#, fuzzy
+#~ msgid ""
+#~ "Should I remove all databases below /var/lib/mysql as you are purging the "
+#~ "mysql-server package?"
+#~ msgstr ""
+#~ "mysql-server paketi kaldÄ±rÄ±ldÄ±ktan sonra bÃ¼tÃ¼n veritabanlarÄ± silinsin mi?"
+
+#~ msgid ""
+#~ "Networking is disabled by default for security reasons. You can enable it "
+#~ "by commenting out the skip-networking option in /etc/mysql/my.cnf."
+#~ msgstr ""
+#~ "AÄŸ, Ã¶ntanÄ±mlÄ± olarak gÃ¼venlik gerekÃ§eleriyle devre dÄ±ÅŸÄ± bÄ±rakÄ±ldÄ±. Bu "
+#~ "Ã¶zelliÄŸi /etc/mysql/my.cnf dosyasÄ± iÃ§indeki \"skip-networking\" "
+#~ "seÃ§eneÄŸini kaldÄ±rarak etkinleÅŸtirebilirsiniz."
+
+#~ msgid "security and update notice"
+#~ msgstr "gÃ¼venlik ve gÃ¼ncelleme duyurusu"
+
+#~ msgid ""
+#~ "Should I remove everything below /var/lib/mysql when you purge the mysql-"
+#~ "server package with the \"dpkg --purge mysql-server\" command (i.e. "
+#~ "remove everything including the configuration) somewhen? (default is not)"
+#~ msgstr ""
+#~ "mysql-server paketini temizlemek iÃ§in \"dpkg --purge mysql-server\" "
+#~ "komutunu kullandÄ±ÄŸÄ±nÄ±zda (yani yapÄ±landÄ±rma dahil herÅŸeyi silmek) /var/"
+#~ "lib/mysql altÄ±ndaki herÅŸeyi sileyim mi? (Ã¶ntanÄ±mlÄ± cevap hayÄ±r'dÄ±r)."
+
+#~ msgid "Please run mysql_fix_privilege_tables !"
+#~ msgstr "LÃ¼tfen mysql_fix_privilege_tables komutunu Ã§alÄ±ÅŸtÄ±rÄ±n!"
+
+#~ msgid ""
+#~ "I will ensure secure permissions of /var/lib/mysql by replacing GIDs "
+#~ "other than root and mysql with mysql."
+#~ msgstr ""
+#~ "/var/lib/mysql'in izinlerinin gÃ¼venli olmasÄ±nÄ± saÄŸlamak amacÄ±yla, buna "
+#~ "ait GID'leri root ve mysql'den farklÄ± olacak ÅŸekilde deÄŸiÅŸtireceÄŸim."
+
+#~ msgid ""
+#~ "Instructions how to enable SSL support are in /usr/share/doc/mysql-server/"
+#~ msgstr ""
+#~ "SSL desteÄŸini nasÄ±l etkinleÅŸtirebileceÄŸinize iliÅŸkin talimatlar /usr/"
+#~ "share/doc/mysql-server/ iÃ§inde."
+
+#~ msgid "mysql_fix_privileges_tables will be executed"
+#~ msgstr "mysql_fix_privileges_tables Ã§alÄ±ÅŸtÄ±rÄ±lacak"
+
+#~ msgid ""
+#~ "The latest MySQL versions have an enhanced, more fine grained, privilege "
+#~ "system. To make use of it, some new fields must be added to the tables "
+#~ "in  the \"mysql\" database. This is done by the "
+#~ "mysql_fix_privilege_tables script during this upgrade regardless of if "
+#~ "the server is currently running or not!"
+#~ msgstr ""
+#~ "En son MySQL sÃ¼rÃ¼mleri zenginleÅŸtirilmiÅŸ, daha ayrÄ±ntÄ±landÄ±rÄ±lmÄ±ÅŸ bir "
+#~ "ayrÄ±calÄ±k (privilege) sistemine sahiptir. Yeni sistemi kullanmak iÃ§in, "
+#~ "\"mysql\" veritabanÄ±ndaki tablolara bazÄ± yeni alanlar eklenmelidir. Bu "
+#~ "iÅŸlem, sunucunun Ã§alÄ±ÅŸÄ±p Ã§alÄ±ÅŸmamasÄ±na baÄŸlÄ± olmaksÄ±zÄ±n "
+#~ "mysql_fix_privilege_tables betiÄŸi tarafÄ±ndan bu yÃ¼kseltme sÄ±rasÄ±nda "
+#~ "yapÄ±lÄ±r."
+
+#~ msgid ""
+#~ "This script is not supposed to give any user more rights that he had "
+#~ "before, if you encounter such a case, please contact me."
+#~ msgstr ""
+#~ "Bu betiÄŸin hiÃ§ bir kullanÄ±cÄ±ya Ã¶ncekinden daha fazla hak kazandÄ±rmadÄ±ÄŸÄ± "
+#~ "varsayÄ±lÄ±yor. EÄŸer bunun aksinde bir durumla karÅŸÄ±laÅŸÄ±rsanÄ±z, lÃ¼tfen "
+#~ "benimle baÄŸlantÄ±ya geÃ§in."
+
+#~ msgid "Make MySQL reachable via network?"
+#~ msgstr "MySQL network Ã¼zerinden ulaÅŸÄ±labilir olsun mu?"
+
+#~ msgid ""
+#~ "Should MySQL listen on a network reachable TCP port? This is not "
+#~ "necessary for use on a single computer and could be a security problem."
+#~ msgstr ""
+#~ "MySQL aÄŸ Ã¼zerinde ulaÅŸÄ±labilen bir TCP portunu dinlesin mi? Tek olan bir "
+#~ "bilgisayar iÃ§in bu ayar gerekli deÄŸildir ve bir gÃ¼venlik sorunu "
+#~ "oluÅŸturabilir."
+
+#~ msgid "Enable chroot mode?"
+#~ msgstr "chroot kipi etkinleÅŸtirilsin mi?"
+
+#~ msgid ""
+#~ "MySQL is able to jail itself into the /var/lib/mysql_jail directory so "
+#~ "that users cannot modify any files outside this directory. This improves "
+#~ "resistence against crackers, too, as they are not able to modify system "
+#~ "files."
+#~ msgstr ""
+#~ "MySQL kendini /var/lib/mysql_jail dizinine hapsederek kullanÄ±cÄ±larÄ±n bu "
+#~ "dizin dÄ±ÅŸÄ±ndaki hiÃ§ bir dosyayÄ± deÄŸiÅŸtirmemesini saÄŸlayabilir. Bu "
+#~ "dÃ¼zenleme, sistem dosyalarÄ±nÄ± deÄŸiÅŸtirmelerini engelleyeceÄŸinden, "
+#~ "cracker'lara karÅŸÄ± dayanÄ±klÄ±lÄ±ÄŸÄ± arttÄ±rÄ±r."
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/pt_BR.po
+++ mysql-dfsg-4.1-4.1.11a/debian/po/pt_BR.po
@@ -0,0 +1,251 @@
+# Brazilian Portuguese (pt_BR) debconf template translation for
+# Debian's mysql-dfsg source package.
+# Debian-BR Project <debian-l10n-portuguese@lists.debian.org>
+# André Luís Lopes, <andrelop@debian.org> , 2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mysql-dfsg-4.1\n"
+"POT-Creation-Date: 2005-05-23 13:08+0000\n"
+"PO-Revision-Date: 2004-08-07 15:32-0300\n"
+"Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
+"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Report-Msgid-Bugs-To: \n"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "Important note for NIS/YP users!"
+msgstr "Aviso importante para usuários NIS/YP !"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"To use mysql you must install an equivalent user and group to the following "
+"and ensure yourself that /var/lib/mysql has the right permissions (the uid/"
+"gid may be different)."
+msgstr ""
+"Para utilizar o MySQL você deve instalar um usuário e um grupo equivalentes "
+"ao usuário e grupo a seguir para se certificar de que o diretório /var/lib/"
+"mysql possua as permissões correctas (o uid/gid podem ser diferentes)."
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+msgstr ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/etc/group:       mysql:x:101:"
+msgstr "/etc/group:       mysql:x:101:"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+msgstr "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+#, fuzzy
+msgid "Update Hints"
+msgstr "Dicas de atualização"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+#, fuzzy
+msgid ""
+"Rarely, e.g. on new major versions, the privilege system is improved. To "
+"make use of it mysql_fix_privilege_tables must be executed manually. The "
+"script is not supposed to give any user more rights that he had before,"
+msgstr ""
+"Raramente, por exemplo, em novas versões maiores, o sistema de privilégios é "
+"melhorado. Para fazer uso disso, o script mysql_fix_privilege_tables deve "
+"ser executado manualmente. O script não atribuirá a nenhum usuário mais "
+"direitos do que os mesmos já possuíam anteriormente."
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Please also read http://www.mysql.com/doc/en/Upgrade.html"
+msgstr "Por favor, leia http://www.mysql.com/doc/en/Upgrade.html"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid "Install Hints"
+msgstr "Dicas de instalação"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in place "
+"of /var/lib/mysql or /var/log/mysql gets accidently removed and have "
+"manually be restored."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"MySQL will only install if you have a non-numeric hostname that is "
+"resolvable via the /etc/hosts file. E.g. if the \"hostname\" command returns "
+"\"myhostname\" then there must be a line like \"10.0.0.1 myhostname\"."
+msgstr ""
+"O MySQL será instalado somente caso você possua um nome de host NÃO NUMÉRICO "
+"que possa ser resolvido através do arquivo /etc/hosts, ou seja, caso o "
+"comando \"hostname\" retorne \"myhostname\", uma linha como \"10.0.0.1 "
+"myhostname\" deverá existir no arquivo /etc/hosts."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"A new mysql user \"debian-sys-maint\" will be created. This mysql account is "
+"used in the start/stop and cron scripts. Don't delete."
+msgstr ""
+"Um novo usuário MySQL de nome \"debian-sys-maint\" será criado. Essa conta "
+"MySQL é utilizada pelos scripts de inicialização/parada e pelos scripts "
+"cron. Não remova esse usuário."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"Please remember to set a PASSWORD for the MySQL root user! If you use a /"
+"root/.my.cnf, always write the \"user\" and the \"password\" lines in there, "
+"never only the password!"
+msgstr ""
+"Por favor, lembre-se de definir uma SENHA para o usuário root do MySQL ! "
+"Caso você utilize um arquivo /root/.my.cnf, sempre inclua as linhas \"user\" "
+"e \"password\" nesse arquivo, nunca somente a senha ! Consulte o arquivo /"
+"usr/share/doc/mysql-server/README.Debian para mais informações."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "See /usr/share/doc/mysql-server-4.1/README.Debian for more information."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid "Remove the databases from all MySQL versions?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid ""
+"Should I remove the complete /var/lib/mysql directory tree which is used by "
+"all MySQL versions, not necessarily only the one you are about to purge?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid "Should MySQL start on boot?"
+msgstr "O MySQL deve ser iniciado na inicialização da máquina ?"
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid ""
+"The MySQL can start on boot time or only if you type '/etc/init.d/mysql "
+"start' manually. Select 'yes' here if you want it to start automatically."
+msgstr ""
+"O MySQL pode ser iniciado automaticamente na inicialização da máquina ou "
+"apenas caso você use o comando '/etc/init.d/mysql start' manualmente. "
+"Seleccione 'sim' aqui caso você deseje que o MySQL seja iniciado "
+"automaticamente."
+
+#~ msgid "Remove all databases?"
+#~ msgstr "Remover todas as bases de dados ?"
+
+#~ msgid ""
+#~ "Should I remove all databases below /var/lib/mysql as you are purging the "
+#~ "mysql-server package?"
+#~ msgstr ""
+#~ "Todas as base de dados sob o diretório /var/lib/mysql devem ser removidas "
+#~ "quando você remover o pacote pacote mysql-server ?"
+
+#~ msgid ""
+#~ "Networking is disabled by default for security reasons. You can enable it "
+#~ "by commenting out the skip-networking option in /etc/mysql/my.cnf."
+#~ msgstr ""
+#~ "O suporte ao funcionamento em rede está desativado por padrão por "
+#~ "questões de segurança. Você poderá ativá-lo comentando a opção 'skip-"
+#~ "networking' no arquivo /etc/mysql/my.cnf."
+
+#~ msgid "security and update notice"
+#~ msgstr "aviso de segurança e actualização"
+
+#~ msgid ""
+#~ "Should I remove everything below /var/lib/mysql when you purge the mysql-"
+#~ "server package with the \"dpkg --purge mysql-server\" command (i.e. "
+#~ "remove everything including the configuration) somewhen? (default is not)"
+#~ msgstr ""
+#~ "Devo remover tudo abaixo de /var/lib/mysql quando fizer o purge do pacote "
+#~ "mysql-server com o comando \"dpkg --purge mysql-server\" (ou seja, "
+#~ "remover tudo incluíndo a configuração)? (o padrão é não remover)"
+
+#~ msgid "Make MySQL reachable via network?"
+#~ msgstr "Fazer com que o MySQL seja acessível via rede?"
+
+#~ msgid ""
+#~ "Should MySQL listen on a network reachable TCP port? This is not "
+#~ "necessary for use on a single computer and could be a security problem."
+#~ msgstr ""
+#~ "O MySQL deve aguardar ligações numa porta TCP acessível via rede? Isto "
+#~ "não é necessário para uso num único computador e pode ser um problema de "
+#~ "segurança."
+
+#~ msgid "Enable chroot mode?"
+#~ msgstr "Activar o modo chroot?"
+
+#~ msgid ""
+#~ "MySQL is able to jail itself into the /var/lib/mysql_jail directory so "
+#~ "that users cannot modify any files outside this directory. This improves "
+#~ "resistence against crackers, too, as they are not able to modify system "
+#~ "files."
+#~ msgstr ""
+#~ "O MySQL é capaz de se prender no diretório /var/lib/mysql_jail, assim os "
+#~ "utilizadores não poderão modificar ficheiros fora deste directório. Isto "
+#~ "aumenta também a resistência contra crackers, pois eles não poderão "
+#~ "modificar arquivos de sistema."
+
+#~ msgid "Please run mysql_fix_privilege_tables !"
+#~ msgstr "Por favor execute mysql_fix_privilege_tables !"
+
+#~ msgid ""
+#~ "I will ensure secure permissions of /var/lib/mysql by replacing GIDs "
+#~ "other than root and mysql with mysql."
+#~ msgstr ""
+#~ "Permissões seguras para o diretório /var/lib/mysql serão asseguradas "
+#~ "substituíndo GIDs diferentes de root e mysql por mysql."
+
+#~ msgid ""
+#~ "Instructions how to enable SSL support are in /usr/share/doc/mysql-server/"
+#~ msgstr ""
+#~ "Instruções sobre como activar o suporte de SSL estão disponíveis no "
+#~ "directório /usr/share/doc/mysql-server/."
+
+#, fuzzy
+#~ msgid "mysql_fix_privileges_tables should be executed"
+#~ msgstr "mysql_fix_privileges_tables será executado"
+
+#, fuzzy
+#~ msgid ""
+#~ "The latest MySQL versions have an enhanced, more fine grained, privilege "
+#~ "system. To make use of it, some new fields must be added to the tables "
+#~ "in  the \"mysql\" database. This will not happen automatically."
+#~ msgstr ""
+#~ "As últimas versões do MySQL possuem um sistema de privilégios melhorado e "
+#~ "mais refinado. Para utilizá-lo, alguns novos campos devem ser adicionados "
+#~ "as tabelas na base de dados \"mysql\". Isto é feito pelo script "
+#~ "mysql_fix_privileges_tables durante esta actualização independente do "
+#~ "servidor estar a correr ou não !"
+
+#~ msgid ""
+#~ "This script is not supposed to give any user more rights that he had "
+#~ "before, if you encounter such a case, please contact me."
+#~ msgstr ""
+#~ "Este script não deverá fornecer mais direitos a um utilizador além dos "
+#~ "quais ele já possua anteriormente. SE encontrar um caso desses, por favor "
+#~ "entre em contacto com o mantainer deste pacote Debian."
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/ru.po
+++ mysql-dfsg-4.1-4.1.11a/debian/po/ru.po
@@ -0,0 +1,252 @@
+# Russian messages:
+# Ilgiz Kalmetev <translator@ilgiz.pp.ru>, 2003
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: mysql-dfsg-4.1\n"
+"POT-Creation-Date: 2005-05-23 13:08+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=KOI8-R\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Report-Msgid-Bugs-To: \n"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "Important note for NIS/YP users!"
+msgstr "÷ÁÖÎÏÅ ÚÁÍÅÞÁÎÉÅ ÄÌÑ ÐÏÌØÚÏ×ÁÔÅÌÅÊ NIS/YP!"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"To use mysql you must install an equivalent user and group to the following "
+"and ensure yourself that /var/lib/mysql has the right permissions (the uid/"
+"gid may be different)."
+msgstr ""
+"þÔÏÂÙ ÉÓÐÏÌØÚÏ×ÁÔØ mysql, ÷Ù ÄÏÌÖÎÙ ÕÓÔÁÎÏ×ÉÔØ ÜË×É×ÁÌÅÎÔÎÙÅ ÐÏÌØÚÏ×ÁÔÅÌÑ É "
+"ÇÒÕÐÐÕ ËÁË ÕËÁÚÁÎÏ ÎÉÖÅ É ÕÂÅÄÉÔØÓÑ, ÞÔÏ /var/lib/mysql ÉÍÅÅÔ ÐÒÁ×ÉÌØÎÙÅ "
+"ÐÒÁ×Á (uid/gid ÍÏÇÕÔ ÏÔÌÉÞÁÔØÓÑ)."
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+msgstr ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/etc/group:       mysql:x:101:"
+msgstr "/etc/group:       mysql:x:101:"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+msgstr "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Update Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid ""
+"Rarely, e.g. on new major versions, the privilege system is improved. To "
+"make use of it mysql_fix_privilege_tables must be executed manually. The "
+"script is not supposed to give any user more rights that he had before,"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+#, fuzzy
+msgid "Please also read http://www.mysql.com/doc/en/Upgrade.html"
+msgstr "ðÏÖÁÌÕÊÓÔÁ, ÐÒÏÞÔÉÔÅ http://www.mysql.com/doc/en/Upgrade.html"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "Install Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in place "
+"of /var/lib/mysql or /var/log/mysql gets accidently removed and have "
+"manually be restored."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"MySQL will only install if you have a non-numeric hostname that is "
+"resolvable via the /etc/hosts file. E.g. if the \"hostname\" command returns "
+"\"myhostname\" then there must be a line like \"10.0.0.1 myhostname\"."
+msgstr ""
+"MySQL ÂÕÄÅÔ ÕÓÔÁÎÏ×ÌÅÎ ÔÏÌØËÏ × ÔÏÍ ÓÌÕÞÁÅ,  ÅÓÌÉ  ×ÁÛÁ  ÍÁÛÉÎÁ  ÉÍÅÅÔ "
+"îåþéóìï÷ïå ÉÍÑ ÈÏÓÔÁ, ËÏÔÏÒÏÅ ÍÏÖÎÏ ÐÅÒÅ×ÅÓÔÉ × ÞÉÓÌÏ×ÏÊ ×ÉÄ Ó ÐÏÍÏÝØÀ "
+"ÆÁÊÌÁ /etc/hosts. îÁÐÒÉÍÅÒ, ÅÓÌÉ ËÏÍÁÎÄÁ \"hostname\" ×ÏÚ×ÒÁÝÁÅÔ  ÓÔÒÏËÕ "
+"\"myhostname\", ÔÏ × ÆÁÊÌÅ ÄÏÌÖÎÁ ÂÙÔØ ÓÔÒÏËÁ \"10.0.0.1 myhostname\"."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"A new mysql user \"debian-sys-maint\" will be created. This mysql account is "
+"used in the start/stop and cron scripts. Don't delete."
+msgstr ""
+"âÕÄÅÔ ÓÏÚÄÁÎ ÎÏ×ÙÊ ÐÏÌØÚÏ×ÁÔÅÌØ mysql  \"debian-sys-maint\".  ïÎ ÎÕÖÅÎ × "
+"ÓÃÅÎÁÒÉÑÈ ÚÁÐÕÓËÁ/ÏÓÔÁÎÏ×Á É cron. îÅ ÕÄÁÌÑÊÔÅ ÅÇÏ."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"Please remember to set a PASSWORD for the MySQL root user! If you use a /"
+"root/.my.cnf, always write the \"user\" and the \"password\" lines in there, "
+"never only the password!"
+msgstr ""
+"îÅ ÚÁÂÙ×ÁÊÔÅ ÕÓÔÁÎÏ×ÉÔØ ðáòïìø ÄÌÑ ÓÕÐÅÒÐÏÌØÚÏ×ÁÔÅÌÑ  MySQL!  åÓÌÉ  ×Ù "
+"ÉÓÐÏÌØÚÕÅÔÅ  /root/.my.cnf,  ÔÏ  ×ÓÅÇÄÁ  ÐÏÍÅÝÁÊÔÅ  ×  ÎÅÇÏ ÏÂÅ ÓÔÒÏËÉ \"user"
+"\" É \"password\", Á ÎÅ ÏÄÎÕ ÔÏÌØËÏ ÓÔÒÏËÕ Ó ÐÁÒÏÌÅÍ!  óÍ.  ÄÏËÕÍÅÎÔ /usr/"
+"share/doc/mysql-server/README.Debian."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "See /usr/share/doc/mysql-server-4.1/README.Debian for more information."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid "Remove the databases from all MySQL versions?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid ""
+"Should I remove the complete /var/lib/mysql directory tree which is used by "
+"all MySQL versions, not necessarily only the one you are about to purge?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid "Should MySQL start on boot?"
+msgstr "úÁÐÕÓËÁÔØ MySQL ÐÒÉ ÚÁÇÒÕÚËÅ ÓÉÓÔÅÍÙ?"
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid ""
+"The MySQL can start on boot time or only if you type '/etc/init.d/mysql "
+"start' manually. Select 'yes' here if you want it to start automatically."
+msgstr ""
+"MySQL ÍÏÖÅÔ ÚÁÐÕÓËÁÔØÓÑ ÐÒÉ ÚÁÇÒÕÚËÅ ÓÉÓÔÅÍÙ, ÌÉÂÏ ÔÏÌØËÏ ÅÓÌÉ ×Ù ×ÒÕÞÎÕÀ "
+"××ÅÄÅÔÅ ËÏÍÁÎÄÕ '/etc/init.d/mysql start'. ÷ÙÂÅÒÉÔÅ 'ÄÁ', ÅÓÌÉ ÈÏÔÉÔÅ "
+"ÚÁÐÕÓËÁÔØ ÅÇÏ Á×ÔÏÍÁÔÉÞÅÓËÉ."
+
+#, fuzzy
+#~ msgid ""
+#~ "Should I remove all databases below /var/lib/mysql as you are purging the "
+#~ "mysql-server package?"
+#~ msgstr "õÄÁÌÑØÂ ×ÓÅ ÂÁÚÙ ÄÁÎÎÙÈ ÐÒÉ \"ÕÎÉÞÔÏÖÅÎÉÉ\" ÐÁËÅÔÁ mysql-server?"
+
+#~ msgid ""
+#~ "Networking is disabled by default for security reasons. You can enable it "
+#~ "by commenting out the skip-networking option in /etc/mysql/my.cnf."
+#~ msgstr ""
+#~ "äÏÓÔÕÐ  ÐÏ ÓÅÔÉ ÐÏ ÕÍÏÌÞÁÎÉÀ ÚÁÐÒÅÝÅÎ  ÐÏ  ÐÒÉÞÉÎÁÍ  ÂÅÚÏÐÁÓÎÏÓÔÉ.  ÷Ù "
+#~ "ÍÏÖÅÔÅ ÅÇÏ ÒÁÚÒÅÛÉÔØ,  ÒÁÓËÏÍÍÅÎÔÉÒÏ×Á×  ÏÐÃÉÀ skip-networking × ÆÁÊÌÅ /"
+#~ "etc/mysql/my.cnf."
+
+#~ msgid "security and update notice"
+#~ msgstr "úÁÍÅÞÁÎÉÑ ÐÏ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÏÂ ÏÂÎÏ×ÌÅÎÉÉ"
+
+#~ msgid ""
+#~ "Should I remove everything below /var/lib/mysql when you purge the mysql-"
+#~ "server package with the \"dpkg --purge mysql-server\" command (i.e. "
+#~ "remove everything including the configuration) somewhen? (default is not)"
+#~ msgstr ""
+#~ "îÕÖÎÏ  ÌÉ  ÕÄÁÌÑÔØ  ×ÓÅ  ÓÏÄÅÒÖÉÍÏÅ  ËÁÔÁÌÏÇÁ  /var/lib/mysql,  ËÏÇÄÁ "
+#~ "ÕÓÔÁÎÏ×ÌÅÎÎÙÊ ÐÁËÅÔ mysql-server ÕÎÉÞÔÏÖÁÅÔÓÑ ËÏÍÁÎÄÏÊ  \"dpkg --purge "
+#~ "mysql-server\" (Ô.Å. ËÏÍÁÎÄÏÊ \"ÕÄÁÌÉÔØ ×ÓÅ,  ×ËÌÀÞÁÑ  ÎÁÓÔÒÏÊËÉ\")?  ðÏ "
+#~ "ÕÍÏÌÞÁÎÉÀ ÎÅ ÕÄÁÌÑÔØ."
+
+#~ msgid "Make MySQL reachable via network?"
+#~ msgstr "òÁÚÒÅÛÉÔØ ÄÏÓÔÕÐ Ë MySQL ÐÏ ÓÅÔÉ?"
+
+#~ msgid ""
+#~ "Should MySQL listen on a network reachable TCP port? This is not "
+#~ "necessary for use on a single computer and could be a security problem."
+#~ msgstr ""
+#~ "äÏÌÖÅÎ ÌÉ MySQL ÐÒÉÎÉÍÁÔØ ÚÁÐÒÏÓÙ ÎÁ  ÓÏÅÄÉÎÅÎÉÅ  ÎÁ  TCP  ÐÏÒÔÕ?  üÔÏ "
+#~ "ÎÅÏÂÑÚÁÔÅÌØÎÏ, ÅÓÌÉ ËÌÉÅÎÔÙ MySQL  ÒÁÓÐÏÌÏÖÅÎÙ  ÎÁ ÔÏÍ ÖÅ ËÏÍÐØÀÔÅÒÅ É "
+#~ "ÍÏÖÅÔ ÐÒÉ×ÅÓÔÉ Ë ÐÒÏÂÌÅÍÁÍ ÂÅÚÏÐÁÓÎÏÓÔÉ."
+
+#~ msgid "Enable chroot mode?"
+#~ msgstr "òÁÂÏÔÁÔØ × ÒÅÖÉÍÅ chroot?"
+
+#~ msgid ""
+#~ "MySQL is able to jail itself into the /var/lib/mysql_jail directory so "
+#~ "that users cannot modify any files outside this directory. This improves "
+#~ "resistence against crackers, too, as they are not able to modify system "
+#~ "files."
+#~ msgstr ""
+#~ "MySQL ÍÏÖÅÔ ÒÁÂÏÔÁÔØ × \"ÐÅÓÏÞÎÉÃÅ\" × ËÁÔÁÌÏÇÅ /var/lib/mysql_jail, ÔÁË "
+#~ "ÞÔÏ ÐÏÌØÚÏ×ÁÔÅÌÉ ÎÅ ÓÍÏÇÕÔ ÉÚÍÅÎÑÔØ ÆÁÊÌÙ ×ÎÅ ÜÔÏÇÏ ËÁÔÁÌÏÇÁ. ôÁËÖÅ, ÜÔÏ "
+#~ "ÕÓÉÌÉ×ÁÅÔ ÚÁÝÉÔÕ ÐÒÏÔÉ× ×ÚÌÏÍÝÉËÏ×, ÐÏÓËÏÌØËÕ ÏÎÉ ÎÅ ÓÍÏÇÕÔ ÉÚÍÅÎÉÔØ "
+#~ "ÓÉÓÔÅÍÎÙÅ ÆÁÊÌÙ."
+
+#~ msgid "Please run mysql_fix_privilege_tables !"
+#~ msgstr "ðÏÖÁÌÕÊÓÔÁ, ÚÁÐÕÓÔÉÔÅ mysql_fix_privilege_tables !"
+
+#~ msgid ""
+#~ "I will ensure secure permissions of /var/lib/mysql by replacing GIDs "
+#~ "other than root and mysql with mysql."
+#~ msgstr ""
+#~ "ñ  ÂÕÄÕ  Õ×ÅÒÅÎ × ÂÅÚÏÐÁÓÎÏÓÔÉ ÐÒÁ×  ÄÏÓÔÕÐÁ  Ë  /var/lib/mysql,  ÅÓÌÉ "
+#~ "ÇÒÕÐÐÏ×ÙÅ  ÉÄÅÎÔÉÆÉËÁÔÏÒÙ,  ÎÅ  ÒÁ×ÎÙÅ  root ÉÌÉ mysql, ÂÕÄÕÔ ÚÁÍÅÎÅÎÙ ÎÁ "
+#~ "mysql."
+
+#~ msgid ""
+#~ "Instructions how to enable SSL support are in /usr/share/doc/mysql-server/"
+#~ msgstr ""
+#~ "éÎÓÔÒÕËÃÉÉ ÐÏ ×ËÌÀÞÅÎÉÀ ÐÏÄÄÅÒÖËÉ SSL ÎÁÈÏÄÑÔÓÑ × /usr/share/doc/mysql-"
+#~ "server/"
+
+#, fuzzy
+#~ msgid "mysql_fix_privileges_tables should be executed"
+#~ msgstr "ÂÕÄÅÔ ×ÙÐÏÌÎÅÎ mysql_fix_privileges_tables"
+
+#, fuzzy
+#~ msgid ""
+#~ "The latest MySQL versions have an enhanced, more fine grained, privilege "
+#~ "system. To make use of it, some new fields must be added to the tables "
+#~ "in  the \"mysql\" database. This will not happen automatically."
+#~ msgstr ""
+#~ "ðÏÓÌÅÄÎÉÅ ×ÅÒÓÉÉ MySQL ÉÍÅÀÔ ÒÁÓÛÉÒÅÎÎÕÀ, ÂÏÌÅÅ ÏÔÌÁÖÅÎÎÕÀ, ÓÉÓÔÅÍÕ ÐÒÁ×. "
+#~ "þÔÏÂÙ ÉÓÐÏÌØÚÏ×ÁÔØ ÅÅ, × ÔÁÂÌÉÃÙ ÂÁÚÙ ÄÁÎÎÙÈ \"mysql\" ÎÁÄÏ ÄÏÂÁ×ÉÔØ "
+#~ "ÎÅÓËÏÌØËÏ ÄÏÐÏÌÎÉÔÅÌØÎÙÈ ÐÏÌÅÊ. üÔÏ ÄÅÌÁÅÔÓÑ ÓÃÅÎÁÒÉÅÍ "
+#~ "mysql_fix_privilege_tables × ÔÅÞÅÎÉÅ ÄÁÎÎÏÇÏ ÏÂÎÏ×ÌÅÎÉÑ × ÚÁ×ÉÓÉÍÏÓÔÉ ÏÔ "
+#~ "ÔÏÇÏ, ÚÁÐÕÝÅÎ ÓÅÊÞÁÓ ÓÅÒ×ÅÒ ÉÌÉ ÎÅÔ!"
+
+#~ msgid ""
+#~ "This script is not supposed to give any user more rights that he had "
+#~ "before, if you encounter such a case, please contact me."
+#~ msgstr ""
+#~ "üÔÏÔ ÓÃÅÎÁÒÉÊ ÎÅ ÄÏÌÖÅÎ ÐÒÅÄÏÓÔÁ×ÌÑÔØ ÐÏÌØÚÏ×ÁÔÅÌÀ ÐÒÁ×Á ÂÏÌØÛÅ ÔÅÈ, "
+#~ "ËÏÔÏÒÙÅ ÏÎ ÉÍÅÌ ÄÏ ÜÔÏÇÏ, ÅÓÌÉ ÜÔÏ ÐÒÏÉÚÏÛÌÏ, ÔÏ ÓÏÏÂÝÉÔÅ ÍÎÅ."
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/fr.po
+++ mysql-dfsg-4.1-4.1.11a/debian/po/fr.po
@@ -0,0 +1,201 @@
+# translation of fr.po to French
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+# Christian Perrier <bubulle@debian.org>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mysql-dfsg-4.1\n"
+"POT-Creation-Date: 2005-05-23 13:08+0000\n"
+"PO-Revision-Date: 2005-05-09 17:55+0200\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Report-Msgid-Bugs-To: \n"
+"debian.org>\n"
+"X-Generator: KBabel 1.9.1\n"
+"Plural-Forms: Plural-Forms: nplurals=2; plural=n>1;\n"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "Important note for NIS/YP users!"
+msgstr "Note importante pour les utilisateurs NIS/YP"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"To use mysql you must install an equivalent user and group to the following "
+"and ensure yourself that /var/lib/mysql has the right permissions (the uid/"
+"gid may be different)."
+msgstr ""
+"Pour utiliser MySQL, vous devez créer un utilisateur et un groupe similaires "
+"à ce qui suit et vérifier que /var/lib/mysql possède les permissions "
+"appropriées (les identifiants numériques de groupe et d'utilisateur, uid et "
+"gid, peuvent être différents)."
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+msgstr ""
+"/etc/passwd :     mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/etc/group:       mysql:x:101:"
+msgstr "/etc/group :      mysql:x:101:"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+msgstr "/var/lib/mysql :  drwxr-xr-x   mysql    mysql"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Update Hints"
+msgstr "Informations sur les mises à jour"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid ""
+"Rarely, e.g. on new major versions, the privilege system is improved. To "
+"make use of it mysql_fix_privilege_tables must be executed manually. The "
+"script is not supposed to give any user more rights that he had before,"
+msgstr ""
+"De temps en temps, notamment avec les nouvelles versions majeures, le "
+"système de privilèges est amélioré. Pour l'activer, vous devez lancer vous-"
+"même la commande « mysql_fix_privilege_tables ». Le script n'est pas censé "
+"accorder de privilèges plus importants aux utilisateurs."
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Please also read http://www.mysql.com/doc/en/Upgrade.html"
+msgstr "Veuillez également lire http://www.mysql.com/doc/en/Upgrade.html."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "Install Hints"
+msgstr "Informations d'installation"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in place "
+"of /var/lib/mysql or /var/log/mysql gets accidently removed and have "
+"manually be restored."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"MySQL will only install if you have a non-numeric hostname that is "
+"resolvable via the /etc/hosts file. E.g. if the \"hostname\" command returns "
+"\"myhostname\" then there must be a line like \"10.0.0.1 myhostname\"."
+msgstr ""
+"MySQL ne pourra être installé que si votre nom d'hôte NON NUMÉRIQUE est "
+"établi par le fichier /etc/hosts. Par exemple, si la commande « hostname » "
+"renvoie « monnomdemachine », il doit exister une ligne du type « 10.0.0.1 "
+"monnomdemachine » dans /etc/hosts."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"A new mysql user \"debian-sys-maint\" will be created. This mysql account is "
+"used in the start/stop and cron scripts. Don't delete."
+msgstr ""
+"Un nouvel utilisateur de MySQL appelé « debian-sys-maint » sera créé. Il est "
+"utilisé par les scripts de cron et par ceux de démarrage et d'arrêt. IL est "
+"déconseillé de le supprimer."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"Please remember to set a PASSWORD for the MySQL root user! If you use a /"
+"root/.my.cnf, always write the \"user\" and the \"password\" lines in there, "
+"never only the password!"
+msgstr ""
+"Veuillez penser à définir un MOT DE PASSE pour l'utilisateur root MySQL. Si "
+"vous utilisez un fichier /root/.my.cnf, n'oubliez pas d'y placer les lignes "
+"« user » et « password », et jamais le mot de passe seul. Veuillez lire /usr/"
+"share/doc/mysql-server-4.1/README.Debian pour plus d'informations."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "See /usr/share/doc/mysql-server-4.1/README.Debian for more information."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid "Remove the databases from all MySQL versions?"
+msgstr ""
+"Faut-il supprimer les bases de données de toutes les versions de MySQL ?"
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid ""
+"Should I remove the complete /var/lib/mysql directory tree which is used by "
+"all MySQL versions, not necessarily only the one you are about to purge?"
+msgstr ""
+"Veuillez décider si le contenu de /var/lib/mysql doit être supprimé. "
+"Veuillez noter qu'il est utilisé par toutes les versions de MySQL et pas "
+"seulement celle que vous allez supprimer."
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid "Should MySQL start on boot?"
+msgstr "Faut-il lancer MySQL au démarrage ?"
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid ""
+"The MySQL can start on boot time or only if you type '/etc/init.d/mysql "
+"start' manually. Select 'yes' here if you want it to start automatically."
+msgstr ""
+"MySQL peut être lancé soit au démarrage, soit en tapant la commande « /etc/"
+"init.d/mysql start ». Choisissez cette option si vous voulez que MySQL soit "
+"lancé automatiquement."
+
+#~ msgid "Remove all databases?"
+#~ msgstr "Faut-il supprimer toutes les bases de données ?"
+
+#~ msgid ""
+#~ "Should I remove all databases below /var/lib/mysql as you are purging the "
+#~ "mysql-server package?"
+#~ msgstr ""
+#~ "Veuillez confirmer si toutes les bases de données doivent être effacées à "
+#~ "la purge du paquet mysql-server."
+
+#~ msgid ""
+#~ "Networking is disabled by default for security reasons. You can enable it "
+#~ "by commenting out the skip-networking option in /etc/mysql/my.cnf."
+#~ msgstr ""
+#~ "La connexion par réseau est désactivée par défaut pour des raisons de "
+#~ "sécurité. Vous pouvez l'activer en commentant l'option « skip-"
+#~ "networking » dans /etc/mysql/my.cnf."
+
+#~ msgid "security and update notice"
+#~ msgstr "Note de sécurité et de mise à jour"
+
+#~ msgid ""
+#~ "Should I remove everything below /var/lib/mysql when you purge the mysql-"
+#~ "server package with the \"dpkg --purge mysql-server\" command (i.e. "
+#~ "remove everything including the configuration) somewhen? (default is not)"
+#~ msgstr ""
+#~ "Veuillez décider si le contenu de /var/lib/mysql doit être effacé si vous "
+#~ "purgez le paquet mysql-server avec la commande « dpkg --purge mysql-"
+#~ "server » (purger un paquet consiste, après l'avoir enlevé, à aussi "
+#~ "effacer tous les fichiers qui le concernent, comme les fichiers de "
+#~ "configuration). Ce n'est pas le comportement par défaut."
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/de.po
+++ mysql-dfsg-4.1-4.1.11a/debian/po/de.po
@@ -0,0 +1,253 @@
+# translation of de.po to 
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+# Alwin Meschede <ameschede@gmx.de>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mysql-dfsg-4.1\n"
+"POT-Creation-Date: 2005-05-23 13:08+0000\n"
+"PO-Revision-Date: 2004-04-02 20:44+0200\n"
+"Last-Translator: Alwin Meschede <ameschede@gmx.de>\n"
+"Language-Team:  <gnome-de@gnome.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Report-Msgid-Bugs-To: \n"
+"X-Generator: KBabel 1.0.2\n"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "Important note for NIS/YP users!"
+msgstr "Wichtige Anmerkung für NIS/YP-Benutzer!"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"To use mysql you must install an equivalent user and group to the following "
+"and ensure yourself that /var/lib/mysql has the right permissions (the uid/"
+"gid may be different)."
+msgstr ""
+"Um mysql benutzen zu können, müssen Sie einen zum folgenden Eintrag "
+"äquivalenten Benutzer und Gruppe einrichten, und sich vergewissern, dass /"
+"var/lib/mysql die richtigen Rechte hat (die UID/GID dürfen sich "
+"unterscheiden)."
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+msgstr ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/etc/group:       mysql:x:101:"
+msgstr "/etc/group:       mysql:x:101:"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+msgstr "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Update Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid ""
+"Rarely, e.g. on new major versions, the privilege system is improved. To "
+"make use of it mysql_fix_privilege_tables must be executed manually. The "
+"script is not supposed to give any user more rights that he had before,"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+#, fuzzy
+msgid "Please also read http://www.mysql.com/doc/en/Upgrade.html"
+msgstr "Bitte lesen Sie: http://www.mysql.com/doc/en/Upgrade.html"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "Install Hints"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in place "
+"of /var/lib/mysql or /var/log/mysql gets accidently removed and have "
+"manually be restored."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"MySQL will only install if you have a non-numeric hostname that is "
+"resolvable via the /etc/hosts file. E.g. if the \"hostname\" command returns "
+"\"myhostname\" then there must be a line like \"10.0.0.1 myhostname\"."
+msgstr ""
+"MySQL kann nur auf Systemen mit nicht-numerischen Hostnamen installiert "
+"werden, wobei dieser Hostname über die Datei /etc/hosts aufgelöst werden "
+"können muss. Wenn z.B. das Kommando \"hostname\" den Namen \"meinhostname\" "
+"zurück liefert, dann sollte in /etc/hosts eine Zeile \"10.0.0.1 meinhostname"
+"\" oder ähnliches enthalten sein."
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"A new mysql user \"debian-sys-maint\" will be created. This mysql account is "
+"used in the start/stop and cron scripts. Don't delete."
+msgstr ""
+"Bei der Installation wird ein neuer User \"debian-sys-maint\" erzeugt, der "
+"in den Start/Stop- sowie in den Cron-Skripten verwendet wird. Löschen Sie "
+"ihn nicht!"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"Please remember to set a PASSWORD for the MySQL root user! If you use a /"
+"root/.my.cnf, always write the \"user\" and the \"password\" lines in there, "
+"never only the password!"
+msgstr ""
+"Es wird dringend empfohlen den MySQL root Benutzerzugang mit einem PASSWORT "
+"zu versehen! Wenn Sie ein /root/.my.cnf verwenden, schreiben Sie immer \"user"
+"\" und \"password\" Zeilen dort hinein, niemals nur das Passwort! Nährere "
+"Hinweise finden sich in /usr/share/doc/mysql-server/README.Debian"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "See /usr/share/doc/mysql-server-4.1/README.Debian for more information."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid "Remove the databases from all MySQL versions?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid ""
+"Should I remove the complete /var/lib/mysql directory tree which is used by "
+"all MySQL versions, not necessarily only the one you are about to purge?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid "Should MySQL start on boot?"
+msgstr "Soll MySQL automatisch beim booten starten?"
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid ""
+"The MySQL can start on boot time or only if you type '/etc/init.d/mysql "
+"start' manually. Select 'yes' here if you want it to start automatically."
+msgstr ""
+"Der MySQL-Daemon kann entweder beim Starten oder nur nach der Eingabe von '/"
+"etc/init.d/mysql start' gestartet werden. Hier 'ja' anwählen wenn MySQL "
+"automatisch starten soll."
+
+#, fuzzy
+#~ msgid ""
+#~ "Should I remove all databases below /var/lib/mysql as you are purging the "
+#~ "mysql-server package?"
+#~ msgstr ""
+#~ "Sollen beim löschen des mysql-server packetes mit \"purge\" auch die "
+#~ "Datenbanken gelöscht werden?"
+
+#~ msgid ""
+#~ "Networking is disabled by default for security reasons. You can enable it "
+#~ "by commenting out the skip-networking option in /etc/mysql/my.cnf."
+#~ msgstr ""
+#~ "Netzzugriff auf die Datenbank ist aus Sicherheitsgründen in der "
+#~ "Voreinstellung abgeschaltet. Es kann durch Auskommentierung der skip-"
+#~ "networking option in /etc/mysql/my.cnf wieder eingeschaltet werden."
+
+#~ msgid "security and update notice"
+#~ msgstr "Sicherheits- und Update-Hinweise"
+
+#~ msgid ""
+#~ "Should I remove everything below /var/lib/mysql when you purge the mysql-"
+#~ "server package with the \"dpkg --purge mysql-server\" command (i.e. "
+#~ "remove everything including the configuration) somewhen? (default is not)"
+#~ msgstr ""
+#~ "Beim löschen eines Packetes mit \"dpkg --purge mysql-server\" werden alle "
+#~ "Datein inklusive der Konfiguration gelöscht. Sollen bei diesem Vorgang "
+#~ "auch die Datenbanken gelöscht werden?"
+
+#~ msgid "Make MySQL reachable via network?"
+#~ msgstr "Soll MySQL über das Netzwerk erreichbar sein?"
+
+#~ msgid ""
+#~ "Should MySQL listen on a network reachable TCP port? This is not "
+#~ "necessary for use on a single computer and could be a security problem."
+#~ msgstr ""
+#~ "Der MySQL-Server kann über TCP/IP (Internet) angesprochen werden. Das ist "
+#~ "bei Einzelarbeitsplätzen nicht nötig und kann ein Sicherheitsproblem sein."
+
+#~ msgid "Enable chroot mode?"
+#~ msgstr "chroot Umgebung aktivieren?"
+
+#~ msgid ""
+#~ "MySQL is able to jail itself into the /var/lib/mysql_jail directory so "
+#~ "that users cannot modify any files outside this directory. This improves "
+#~ "resistence against crackers, too, as they are not able to modify system "
+#~ "files."
+#~ msgstr ""
+#~ "MySQL ist in der Lage sich selber in das /var/lib/mysql_jail Verzeichnis "
+#~ "\"einzusperren\" d.h. MySQL-Benutzer können keine Dateien ausserhalb "
+#~ "dieses Verzeichnisses ändern. Dies erhöht die Sicherheit gegen Cracker da "
+#~ "diese über MySQL ebenfalls keine Systemdateien ändern können."
+
+#~ msgid "Please run mysql_fix_privilege_tables !"
+#~ msgstr "Führen Sie mysql_fix_privilege_tables aus!"
+
+#~ msgid ""
+#~ "I will ensure secure permissions of /var/lib/mysql by replacing GIDs "
+#~ "other than root and mysql with mysql."
+#~ msgstr ""
+#~ "Es werden nun aus Sicherheitsgründen in /var/lib/mysql alle GID ungleich "
+#~ "\"mysql\" und \"root\" durch \"mysql\" ersetzt."
+
+#~ msgid ""
+#~ "Instructions how to enable SSL support are in /usr/share/doc/mysql-server/"
+#~ msgstr ""
+#~ "Anleitungen zur Verwendung von SSL befinden sich in /usr/share/doc/mysql-"
+#~ "server/"
+
+#, fuzzy
+#~ msgid "mysql_fix_privileges_tables should be executed"
+#~ msgstr "mysql_fix_privilege_tables wird ausgeführt werden"
+
+#, fuzzy
+#~ msgid ""
+#~ "The latest MySQL versions have an enhanced, more fine grained, privilege "
+#~ "system. To make use of it, some new fields must be added to the tables "
+#~ "in  the \"mysql\" database. This will not happen automatically."
+#~ msgstr ""
+#~ "Die neuesten MySQL-Versionen haben ein verbessertes, flexibleres Rechte-"
+#~ "System. Um es verwenden zu können, müssen einige neue Felder zu den "
+#~ "Tabellen der \"mysql\"-Datenbank hinzugefügt werden. Dies wird während "
+#~ "dieses Upgrades durch das Skript mysql_fix_privilege_tables erledigt, "
+#~ "unabhängig davon, ob der Server gerade läuft oder nicht!"
+
+#~ msgid ""
+#~ "This script is not supposed to give any user more rights that he had "
+#~ "before, if you encounter such a case, please contact me."
+#~ msgstr ""
+#~ "Dieses Skript sollte keinen Benutzer mehr Rechte geben, als er vorher "
+#~ "hatte, wenn Sie dennoch einen solchen Fall bemerken, kontaktieren Sie "
+#~ "mich bitte."
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/ja.po
+++ mysql-dfsg-4.1-4.1.11a/debian/po/ja.po
@@ -0,0 +1,178 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mysql-dfsg-4.1\n"
+"POT-Creation-Date: 2005-05-23 13:08+0000\n"
+"PO-Revision-Date: 2004-12-24 00:16+0900\n"
+"Last-Translator: Hideki Yamane <henrich@samba.gr.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Report-Msgid-Bugs-To: \n"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "Important note for NIS/YP users!"
+msgstr "NIS/YP ¥æ¡¼¥¶¤Ø¤Î½ÅÍ×¤ÊÃí°Õ!"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"To use mysql you must install an equivalent user and group to the following "
+"and ensure yourself that /var/lib/mysql has the right permissions (the uid/"
+"gid may be different)."
+msgstr ""
+"mysql ¤òÍøÍÑ¤¹¤ë¤Ë¤Ï °Ê²¼¤Î¥æ¡¼¥¶¤È¥°¥ë¡¼¥×¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢/var/lib/mysql "
+"¤¬Àµ¤·¤¤¸¢¸Â¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò³ÎÇ§¤¹¤ëÉ¬Í×¤¬¤¢¤ê¤Þ¤¹ (uid/gid ¤¬¤ª¤½¤é¤¯"
+"°ã¤¤¤Þ¤¹)¡£"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+msgstr ""
+"/etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/etc/group:       mysql:x:101:"
+msgstr "/etc/group:       mysql:x:101:"
+
+#. Description
+#: ../mysql-server-4.1.templates:3
+msgid "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+msgstr "/var/lib/mysql:   drwxr-xr-x   mysql    mysql"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Update Hints"
+msgstr "¹¹¿·¤Î¥Ò¥ó¥È"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid ""
+"Rarely, e.g. on new major versions, the privilege system is improved. To "
+"make use of it mysql_fix_privilege_tables must be executed manually. The "
+"script is not supposed to give any user more rights that he had before,"
+msgstr ""
+"¤Þ¤ì¤Ë¡¢¤Ä¤Þ¤ê¤Ï¿·¤·¤¤¥á¥¸¥ã¡¼¥Ð¡¼¥¸¥ç¥ó¤Ë¤ª¤¤¤Æ¡¢ÆÃ¸¢¥·¥¹¥Æ¥à¤¬²þÁ±¤µ¤ì¤Þ"
+"¤¹¡£¤³¤ì¤ò¹Ô¤¦¤Ë¤Ï¡¢mysql_fix_privilege_table ¤ò¼êÆ°¤Ç¼Â¹Ô¤¹¤ëÉ¬Í×¤¬¤¢¤ê¤Þ"
+"¤¹¡£¥¹¥¯¥ê¥×¥È¤Ï¡¢¤É¤Î¤è¤¦¤Ê¥æ¡¼¥¶¤ËÂÐ¤·¤Æ¤â¡¢°ÊÁ°¤ËÊÝ»ý¤·¤Æ¤¤¤¿°Ê¾å¤Î¸¢¸Â¤ò"
+"Í¿¤¨¤ë¤è¤¦¤Ë¤Ï¤Ê¤Ã¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#. Description
+#: ../mysql-server-4.1.templates:16
+msgid "Please also read http://www.mysql.com/doc/en/Upgrade.html"
+msgstr "http://www.mysql.com/doc/ja/Upgrade.html ¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "Install Hints"
+msgstr "¥¤¥ó¥¹¥È¡¼¥ë¤Î¥Ò¥ó¥È"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in place "
+"of /var/lib/mysql or /var/log/mysql gets accidently removed and have "
+"manually be restored."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"MySQL will only install if you have a non-numeric hostname that is "
+"resolvable via the /etc/hosts file. E.g. if the \"hostname\" command returns "
+"\"myhostname\" then there must be a line like \"10.0.0.1 myhostname\"."
+msgstr ""
+"MySQL ¤ò /etc/hosts ¥Õ¥¡¥¤¥ë·ÐÍ³¤Ç²ò·è¤Ç¤­¤ë¡Ö¿ô»ú¤Ç¤Ê¤¤¡×¥Û¥¹¥ÈÌ¾¤Î¾ì¹ç¤Î"
+"¤ß¡¢¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢\"hostname\" ¥³¥Þ¥ó¥É¤¬ \"myhostname\" ¤òÊÖ"
+"¤¹ºÝ¤Ë \"10.0.0.1 myhostname\" ¤È¤¤¤¦¹Ô¤¬ /etc/hosts ¥Õ¥¡¥¤¥ë¤ËÌµ¤±¤ì¤Ð¤Ê¤ê¤Þ"
+"¤»¤ó¡£"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid ""
+"A new mysql user \"debian-sys-maint\" will be created. This mysql account is "
+"used in the start/stop and cron scripts. Don't delete."
+msgstr ""
+"¿·µ¬¤Ë mysql ¥æ¡¼¥¶¤È¤·¤Æ \"debian-sys-maint\" ¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£¤³¤Î mysql ¥¢"
+"¥«¥¦¥ó¥È¤Ï start/stop »þ¤È cron ¥¹¥¯¥ê¥×¥È¤ÇÍøÍÑ¤µ¤ì¤Þ¤¹¡£¾Ã¤µ¤Ê¤¤¤Ç¤¯¤À¤µ"
+"¤¤¡£"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+#, fuzzy
+msgid ""
+"Please remember to set a PASSWORD for the MySQL root user! If you use a /"
+"root/.my.cnf, always write the \"user\" and the \"password\" lines in there, "
+"never only the password!"
+msgstr ""
+"MySQL ¤Î root ¥æ¡¼¥¶¤ËÂÐ¤·¤Æ PASSWORD ¤òÀßÄê¤¹¤ë¤Î¤òËº¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤! /"
+"root/.my.cnf ¤ò»È¤¦¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤À¤±¤Ç¤Ï¤Ê¤¯¡¢¤³¤Î¥Õ¥¡¥¤¥ëÃæ¤Î \"user\" "
+"¤È \"password\" ¹Ô¤òµ­½Ò¤·¤Æ¤¯¤À¤µ¤¤! ¤è¤ê¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï /usr/share/doc/"
+"mysql-server-4.1/README.Debian ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#. Description
+#: ../mysql-server-4.1.templates:25
+msgid "See /usr/share/doc/mysql-server-4.1/README.Debian for more information."
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid "Remove the databases from all MySQL versions?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:46
+msgid ""
+"Should I remove the complete /var/lib/mysql directory tree which is used by "
+"all MySQL versions, not necessarily only the one you are about to purge?"
+msgstr ""
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid "Should MySQL start on boot?"
+msgstr "MySQL ¤ò¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë³«»Ï¤·¤Þ¤¹¤«?"
+
+#. Description
+#: ../mysql-server-4.1.templates:53
+msgid ""
+"The MySQL can start on boot time or only if you type '/etc/init.d/mysql "
+"start' manually. Select 'yes' here if you want it to start automatically."
+msgstr ""
+"MySQL ¤Ï¥·¥¹¥Æ¥àµ¯Æ°»þ¤« '/etc/init.d/mysql start' ¤ò¼êÆ°¤ÇÆþÎÏ¤·¤¿¤È¤­¤Î¤ß¤Ë"
+"µ¯Æ°¤Ç¤­¤Þ¤¹¡£¼«Æ°Åª¤Ëµ¯Æ°¤µ¤»¤¿¤¤¾ì¹ç¤Ï¡¢¤³¤³¤Ç¡Ö¤Ï¤¤¡×¤òÁª¤ó¤Ç¤¯¤À¤µ¤¤¡£"
+
+#~ msgid "Remove all databases?"
+#~ msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¤¹¤Ù¤Æºï½ü¤·¤Þ¤¹¤«?"
+
+#~ msgid ""
+#~ "Should I remove all databases below /var/lib/mysql as you are purging the "
+#~ "mysql-server package?"
+#~ msgstr ""
+#~ "mysql-server ¥Ñ¥Ã¥±¡¼¥¸¤ò \"purge\" ¤¹¤ëºÝ¤Ë¡¢/var/lib/mysql °Ê²¼¤Ë¤¢¤ë"
+#~ "¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¤¹¤Ù¤Æºï½ü¤·¤Þ¤¹¤«?"
+
+#~ msgid ""
+#~ "Networking is disabled by default for security reasons. You can enable it "
+#~ "by commenting out the skip-networking option in /etc/mysql/my.cnf."
+#~ msgstr ""
+#~ "¥»¥­¥å¥ê¥Æ¥£¾å¤ÎÍýÍ³¤«¤éÉ¸½à¤Ç¤Ï¥Í¥Ã¥È¥ï¡¼¥¯µ¡Ç½¤¬Ìµ¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£/"
+#~ "etc/mysql/my.cnf ¤Î skip-networking ¥ª¥×¥·¥ç¥ó¤ò¥³¥á¥ó¥È¥¢¥¦¥È¤¹¤ë¤³¤È¤Ç¡¢"
+#~ "¤³¤ì¤òÍ­¸ú¤Ë¤Ç¤­¤Þ¤¹¡£"
--- mysql-dfsg-4.1-4.1.11a.orig/debian/po/POTFILES.in
+++ mysql-dfsg-4.1-4.1.11a/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] mysql-server-4.1.templates
--- mysql-dfsg-4.1-4.1.11a.orig/debian/watch
+++ mysql-dfsg-4.1-4.1.11a/debian/watch
@@ -0,0 +1,2 @@
+version=2
+ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/www.mysql.com/Downloads/MySQL-4.1/mysql-([\d\.]*).tar.gz debian uupdate
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-client-4.1.files
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-client-4.1.files
@@ -0,0 +1,36 @@
+usr/bin/myisam_ftdump
+usr/bin/mysql
+usr/bin/mysql_explain_log
+usr/bin/mysql_find_rows
+usr/bin/mysql_fix_extensions
+usr/bin/mysql_tableinfo
+usr/bin/mysql_waitpid
+usr/bin/mysqlaccess
+usr/bin/mysqladmin
+usr/bin/mysqlbug
+usr/bin/mysqlcheck
+usr/bin/mysqldump
+usr/bin/mysqldumpslow
+usr/bin/mysqlimport
+usr/bin/mysqlmanager
+usr/bin/mysqlmanager-pwgen
+usr/bin/mysqlmanagerc
+usr/bin/mysqlshow
+usr/share/man/man1/myisam_ftdump.1
+usr/share/man/man1/mysql.1
+usr/share/man/man1/mysql_explain_log.1
+usr/share/man/man1/mysql_find_rows.1
+usr/share/man/man1/mysql_fix_extensions.1
+usr/share/man/man1/mysql_tableinfo.1
+usr/share/man/man1/mysql_waitpid.1
+usr/share/man/man1/mysqlaccess.1
+usr/share/man/man1/mysqladmin.1
+usr/share/man/man1/mysqlbug.1
+usr/share/man/man1/mysqlcheck.1
+usr/share/man/man1/mysqldump.1
+usr/share/man/man1/mysqldumpslow.1
+usr/share/man/man1/mysqlimport.1
+usr/share/man/man1/mysqlmanager-pwgen.1
+usr/share/man/man1/mysqlmanager.1
+usr/share/man/man1/mysqlmanagerc.1
+usr/share/man/man1/mysqlshow.1
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14.docs
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14.docs
@@ -0,0 +1 @@
+EXCEPTIONS-CLIENT
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.README.Debian
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.README.Debian
@@ -0,0 +1,110 @@
+* MYSQL WON'T START OR STOP?:
+=============================
+You may never ever delete the special mysql user "debian-sys-maint". This
+user together with the credentials in /etc/mysql/debian.cnf are used by the
+init scripts to stop the server as they would require knowledge of the mysql
+root users password else.
+So in most of the times you can fix the situation by making sure that the
+debian.cnf file contains the right password, e.g. by setting a new one
+(remember to do a "flush privileges" then).
+
+* WHAT TO DO AFTER UPGRADES:
+============================
+ - running mysql_fix_privilege_tables to be able to make use of
+   possibly added new privilege columns. This script does not give
+   any use more rights.
+
+* WHAT TO DO AFTER INSTALLTION:
+===============================
+The MySQL manual describes certain steps to do at this stage in a separate
+chapter.  They are not necessary as the Debian packages does them
+automatically.
+
+The only thing that is left over for the admin is 
+ - setting the passwords
+ - creating new users and databases
+ - read the rest of this text
+
+* UPGRADING FROM 3.23:
+======================
+If /var/lib/mysql or /var/log/mysql were symlinks and you upgraded directly
+from 3.23 to 4.1 those are likely been removed due to a bug in dpkg.
+The directories you symlinked to are still present of course so you just have
+to re-create the symlinks. Be aware though that the database "mysql" has a
+different format now so you should run fix_mysql_privilege_tables and more
+important read the part "mysql won't start or stop?" at the top of this text
+as this problem will occur!
+
+* DOWNGRADING TO 4.0:
+=====================
+Unsupported. Period.
+But if you do and get problems or make interesting experiences, mail me, it
+might help others.
+Ok, if you really want, I would recommend to "mysqldump --opt" all tables,
+then purge 4.1, delete /var/lib/mysql, install 4.0 and insert the dumps.  Be
+carefull, though, with the "mysql" table, you might not simply overwrite that
+one as the password for the mysql "debian-sys-maint" user is stored in
+/etc/mysql/debian.cnf and needed by /etc/init.d/ to start mysql and check if
+it's alive. 
+
+* SSL/TLS SECURE NETWORKING:
+============================
+Please take a look at my SSL-MINI-HOWTO.txt which is in this directory, too.
+
+* NETWORKING:
+=============
+For security reasons, the Debian package has enabled networking only on the
+loopback device using "bind-address" in /etc/mysql/my.cnf.  Check with
+"netstat -tlnp" where it is listening. If your connection is aborted
+immediately see if "mysqld: all" or similar is in /etc/hosts.allow and read
+hosts_access(5).
+
+* WHERE IS THE DOCUMENTATION?:
+==============================
+As the documentation is under a different licence than the rest of MySQL it
+had to be separated into the mysql-doc package which is in the non-free
+branch of Debian. You can find the Changelogs/News there, too.
+
+* PASSWORDS:
+============
+It is strongly recommended to set a password for the mysql root user (which
+is NOT the same as the "normal" root user) with the command:
+ /usr/bin/mysqladmin -u root password 'enter-your-good-new-password-here'
+If you already had a password set add " -p " before "-u" to the line above.
+
+If you are tired to type the password in every time or want to automate your
+scripts you can store it in the file $HOME/.my.cnf. It should be chmod 0600
+(-rw------- username username .my.cnf) to ensure that nobody else can read
+it.  Every other configuration parameter can be stored there, too. You will
+find an example below and more information in the MySQL manual in
+/usr/share/doc/mysql-doc or www.mysql.com.
+
+ATTENTION: It is necessary, that a .my.cnf from root always contains a "user"
+line whereever there is a "password" line, else, the Debian maintenance
+scripts, that use /etc/mysql/debian.cnf, will use the username
+"debian-sys-maint" but the password that is in root's .my.cnf. Also note,
+that every change you make in the /root/.my.cnf will affect the mysql cron
+script, too.
+
+        # an example of $HOME/.my.cnf
+	[mysql]
+	user		= your-mysql-username
+	password	= enter-your-good-new-password-here
+
+	[mysqladmin]
+	user		= your-mysql-username
+	password 	= enter-your-good-new-password-here
+
+* BIG_ROWS FOR EVEN MORE ROWS IN A TABLE:
+=========================================
+If you ever run out of rows in a table there is the possibility of building
+the package with "-DBIG_ROWS" which, according to a MySQL employee on
+packagers@lists.mysql.com should leat to a 64bit row index (I guess > 2^32
+rows) but also to an aprox. 5% performance loss.
+
+* BERKELEYDB ENGINE:
+====================
+The use of the "CREATE TABLE ... TYPE=BDB" is now discouraged as BerkeleyDBs
+features are available in the better supported InnoDB engine and support for
+BerkeleyDB will probably cease with the release of MySQL 5.0 as I was told
+from MySQL. The syslog warning can be filtered by logcheck, see /etc/logcheck.
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.postrm
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.postrm
@@ -0,0 +1,80 @@
+#!/bin/bash -e
+
+. /usr/share/debconf/confmodule
+
+if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
+${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*"}
+
+MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
+
+# Try to stop the server in a sane way. If it does not success let the admin
+# do it himself. No database directories should be removed while the server
+# is running!
+stop_server() {
+  set +e
+  if [ -x /usr/sbin/invoke-rc.d ]; then
+    invoke-rc.d mysql stop
+  else
+    /etc/init.d/mysql stop
+  fi
+  errno=$?
+  set -e
+
+  if [ "$?" != 0 ]; then
+    echo "Trying to stop the MySQL server resulted in exitcode $?." 1>&2
+    echo "Stop it yourself and try again!" 1>&2
+    exit 1
+  fi
+}
+
+case "$1" in
+  purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    if [ -n "`$MYADMIN ping 2>/dev/null`" ]; then
+      stop_server
+      sleep 2
+    fi
+  ;;
+  *)
+    echo "postrm called with unknown argument '$1'" 1>&2
+    exit 1
+  ;;
+esac
+
+#
+# - Do NOT purge logs or data if another mysql-sever* package is installed (#307473)
+# - Remove the mysql user only after all his owned files are purged.
+#   
+if [ "$1" = "purge" -a ! \( -x /usr/sbin/mysqld -o -L /usr/sbin/mysqld \) ]; then
+  # we remove the mysql user only after all his owned files are purged
+  rm -f /var/log/mysql.{log,err}{,.0,.[1234567].gz}
+  rm -rf /var/log/mysql
+
+  db_input high mysql-server-4.1/postrm_remove_databases || true
+  db_go
+  db_get mysql-server-4.1/postrm_remove_databases || true
+  if [ "$RET" = "true" ]; then
+    # never remove the debian.cnf when the databases are still existing
+    # else we ran into big trouble on the next install!
+    rm -f /etc/mysql/debian.cnf
+    rm -rf /var/lib/mysql
+    rm -rf /var/run/mysqld
+    userdel mysql
+  fi
+
+  # (normally) Automatically added by dh_installinit
+  if [ "$1" = "purge" ] ; then
+        update-rc.d mysql remove >/dev/null || exit 0
+  fi
+  # (normally) End automatically added section
+fi
+
+# (normally) Automatically added by dh_installdebconf
+if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
+        . /usr/share/debconf/confmodule
+        db_purge
+fi
+# (normally) End automatically added section
+
+# no DEBHELPER here, "update-rc.d remove" fails if mysql-server-4.1 is installed
+
+exit 0
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.preinst
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.preinst
@@ -0,0 +1,119 @@
+#!/bin/bash -e
+#
+# summary of how this script can be called:
+#        * <new-preinst> install
+#        * <new-preinst> install <old-version>
+#        * <new-preinst> upgrade <old-version>
+#        * <old-preinst> abort-upgrade <new-version>
+#
+
+if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
+${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*"}
+
+export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
+MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
+DATADIR=/var/lib/mysql
+LOGDIR=/var/log/mysql
+UPGRADEDIR=/var/lib/mysql-upgrade
+
+# Try to stop the server in a sane way. If it does not success let the admin
+# do it himself. No database directories should be removed while the server
+# is running! Another mysqld in e.g. a different chroot is fine for us.
+stop_server() {
+    set +e
+    if [ -x /usr/sbin/invoke-rc.d ]; then
+      cmd="invoke-rc.d mysql stop"
+    else
+      cmd="/etc/init.d/mysql stop"
+    fi
+    $cmd
+    errno=$?
+    set -e
+   
+    # 0=ok, 100=no init script (fresh install)
+    if [ "$errno" != 0 -a "$errno" != 100 ]; then
+      echo "${cmd/ */} returned $errno" 1>&2
+      echo "There is a MySQL server running, but we failed in our attempts to stop it." 1>&2
+      echo "Stop it yourself and try again!" 1>&2
+      db_stop  	
+      exit 1
+    fi
+}
+
+################################ main() ##########################
+
+# to be sure
+stop_server
+
+# If we use NIS then errors should be tolerated. It's up to the
+# user to ensure that the mysql user is correctly setup.
+# Beware that there are two ypwhich one of them needs the 2>/dev/null!
+if test -n "`which ypwhich 2>/dev/null`"  &&  ypwhich >/dev/null 2>&1; then
+  set +e
+fi
+
+#
+# Now we have to ensure the following state:
+# /etc/passwd: mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false
+# /etc/group:  mysql:x:101:
+# 
+# Sadly there could any state be present on the system so we have to
+# modify everything carefully i.e. not doing a chown before creating
+# the user etc...
+#
+
+# creating mysql group if he isn't already there
+if ! getent group mysql >/dev/null; then
+ 	# Adding system group: mysql.
+	addgroup --system mysql >/dev/null
+fi
+
+# creating mysql user if he isn't already there
+if ! getent passwd mysql >/dev/null; then
+	# Adding system user: mysql.
+	adduser \
+	  --system \
+	  --ingroup mysql \
+	  --home $DATADIR \
+	  --gecos "MySQL Server" \
+	  --shell /bin/false \
+	  mysql  >/dev/null
+fi
+
+# end of NIS tolerance zone
+set -e
+
+# if there's a symlink, let's store where it's pointing, because otherwise
+# it's going to be lost in some situations
+for dir in DATADIR LOGDIR; do
+    checkdir=`eval echo "$"$dir`
+    if [ -L "$checkdir" ]; then
+	mkdir -p "$UPGRADEDIR"
+	cp -d "$checkdir" "$UPGRADEDIR/$dir.link"
+    fi
+done
+
+# creating mysql home directory
+if [ ! -d $DATADIR -a ! -L $DATADIR ]; then
+ 	mkdir $DATADIR
+fi
+
+# checking disc space
+if LC_ALL=C df --portability $DATADIR/. | tail -n 1 | awk '{ exit ($4>1000) }'; then
+  echo "ERROR: There's not enough space in $DATADIR/"
+  db_stop
+  exit 1
+fi
+
+# Since the home directory was created before putting the user into
+# the mysql group and moreover we cannot guarantee that the 
+# permissions were correctly *before* calling this script, we fix them now.
+# In case we use NIS and no mysql user is present then this script should
+# better fail now than later..
+chown mysql:mysql $DATADIR
+find $DATADIR -follow -not -group mysql -print0 \
+  | xargs -0 --no-run-if-empty chgrp mysql
+
+#DEBHELPER#
+
+exit 0
--- mysql-dfsg-4.1-4.1.11a.orig/debian/NEWS.Debian
+++ mysql-dfsg-4.1-4.1.11a/debian/NEWS.Debian
@@ -0,0 +1,5 @@
+mysql-dfsg-4.1 (4.1.7-4) unstable; urgency=medium
+
+  * Removed OpenSSL support. See changelog for reasons.
+
+ -- Christian Hammers <ch@debian.org>  Thu,  2 Dec 2004 22:02:28 +0100
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.docs
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.docs
@@ -0,0 +1 @@
+EXCEPTIONS-CLIENT
--- mysql-dfsg-4.1-4.1.11a.orig/debian/README.Maintainer
+++ mysql-dfsg-4.1-4.1.11a/debian/README.Maintainer
@@ -0,0 +1,138 @@
+###########################################################################
+# Here are some information that are only of interest for the current and #
+# following Debian maintainers of MySQL.                                  #
+###########################################################################
+
+This directory is hosted at svn://svn.debian.org/svn/mysql-dfsg-41/
+
+#
+# Preparing a new version
+#
+
+OLD=4.1.6
+NEW=4.1.7
+
+tar xzf mysql-$NEW.tar.gz
+mv mysql-$NEW mysql-dfsg-4.1-$NEW.orig
+rm -rf mysql-dfsg-4.1-$NEW.orig/Docs/
+tar czf mysql-dfsg-4.1_$NEW.orig.tar.gz mysql-dfsg-4.1-$NEW
+#
+# Updating GNU autoconf stuff ist no longer necessary as libtool is up to date now.
+# (>= libtool 1.4) according to #176829
+#
+# Check versions as "ACLOCAL=aclocal-1.8 autoreconf2.50" breaks "./missing"!
+# aclocal --version    # 1.8.x
+# automake --version   # 1.8.x
+# autoreconf --version # 2.5.x
+# Performe update.
+# libtoolize --force --copy
+# autoreconf
+
+#
+# Remarks to debconf / mysql_fix_privilege_tables
+#
+I like to show the "please run mysql_fix_priv_tables" depending on the
+current and new mysql version but I don't yet know who to get the last
+one in the mysql-server.config script! 
+Also I cannot use --bootstrap as it does not ignore errors :-(
+So I just show the message at install time for now.
+
+#
+# Remarks to dependencies
+#
+libwrap0-dev (>= 7.6-8.3)
+	According to bug report 114582 where where build problems on
+	IA-64/sid with at least two prior versions.
+psmisc
+	/usr/bin/killall in the initscript
+
+zlib1g in libmysqlclient-dev:	
+	"mysql_config --libs" ads "-lz"
+
+Build-Dep:
+
+debhelper (>=4.1.16):
+	See po-debconf(7).
+
+autoconf (>= 2.13-20), automake1.7
+	Try to get rid of them.
+
+doxygen, tetex-bin, tetex-extra, gs
+	for ndb/docs/*tex
+
+#
+# Remarks to the start scripts
+#
+
+## initscripts rely on mysqladmin from a different package
+We have the problem that "/etc/init.d/mysql stop" relies on mysqladmin which
+is in another package (mysql-client) and a passwordless access that's maybe
+only available if the user configured his /root/.my.cnf. Can this be a problem?
+* normal mode: not because the user is required to have it. Else:
+* purge/remove: not, same as normal mode
+* upgrade: not, same as normal mode
+* first install: not, it depends on mysql-client which at least is unpacked
+                 so mysqladmin is there (to ping). It is not yet configured
+		passwordles but if there's a server running then there's a
+                /root/.my.cnf. Anyways, we simply kill anything that's mysqld.
+
+## Passwordless access for the maintainer scripts
+Another issue is that the scripts needs passwordless access. To ensure this
+a debian-sys-maint user is configured which has process and shutdown privs.
+The file with the randomly (that's important!) generated password must be
+present as long as the databases remain installed because else a new install
+would have no access. This file should be used like:
+	mysqladmin --defaults-file=/etc/mysql/debian.cnf restart
+to avoid providing the password in plaintext on a commandline where it would 
+be visible to any user via the "ps" command.
+
+## When to start the daemon?
+We aim to give the admin full control on when MySQL is running.
+Issues to be faced here:
+OLD:
+        1. Debconf asks whether MySQL should be started on boot so update-rc.d is
+           only run if the answer has been yes. The admin is likely to forget
+           this decision but update-rc.d checks for an existing line in
+           /etc/runlevel.conf and leaves it intact.
+        2. On initial install, if the answer is yes, the daemon has to be started.
+        3. On upgrades it should only be started if it was already running, everything
+           else is confusing. Especiall relying on an debconf decision made month ago
+           is considered suboptimal. See bug #274264
+        Implementation so far:
+        prerm (called on upgrade before stopping the server): 
+          check for a running server and set flag if necessary
+        preinst (called on initial install and before unpacking when upgrading):
+          check for the debconf variable and set flag if necessary
+        postinst (called on initial install and after each upgrade after unpacking):
+          call update-rc.d if debconf says yes
+          call invoce-rc.d if the flag has been set
+        Problems remaining:
+          dpkg-reconfigure and setting mysql start on boot to yes did not start mysql
+          (ok "start on boot" literally does not mean "start now" so that might have been ok)
+NEW:
+        1. --- no debconf anymore for the sake of simplicity. We have runlevel.conf,
+           the admin should use it
+        2. On initial install the server is started.
+        3. On upgrades the server is started exactly if it was running before so the
+           runlevel configuration is irrelevant. It will be preserved by the mean of
+           update-rc.d's builtin check.
+        Implementation:
+        prerm (called on upgrade before stopping the server):
+          check for a running server and set flag if necessary
+        preinst (called on initial install and before unpacking when upgrading):
+          check for $1 beeing (initial) "install" and set flag
+        postinst (called on initial install and after each upgrade after unpacking):
+          call update-rc.d
+          call invoce-rc.d if the flag has been set
+
+
+#
+# Remarks to the 4.0 -> 4.1 transition
+#
+Packages that can be installed at the same time:
+	libmysqlclient12 vs. libmysqlclient14
+Packages that conflict:
+	mysql-common vs. mysql-common-4.1
+	libmysqlclient-dev vs. libmysqlclient14-dev
+	mysql-client vs. mysql-client-4.1
+	mysql-server vs. mysql-server-4.1
--- mysql-dfsg-4.1-4.1.11a.orig/debian/copyright.more
+++ mysql-dfsg-4.1-4.1.11a/debian/copyright.more
@@ -0,0 +1,60 @@
+#
+# Some random bits of interest.
+#
+
+#
+# Arjen about OpenSSL
+#
+http://bugs.mysql.com/?id=6924
+Updated by:       Arjen Lentz
+Date:             2005-11-05
+
+Linking with the client library is covered by the FLOSS exception which
+includes OpenSSL now. So that's clean. Indeed, the OpenSSL is not
+compliant with the FSF free software guidelines, however it *is*
+compliant with the OSI guidelines. And that's good enough for us.
+Christian is correct in saying that the author of a GPL app that links
+with MySQL may find themselves in a licensing headache (or may not
+realize that OpenSSL is involved) but that is their responsibility.
+The MySQL client can be linked with a number of other licenses, it
+would not be feasible for MySQL to take over the responsibility for
+"the next level" of how combinations of licenses work out. There are
+too many possibilities, and combinations of more just 2 licenses.
+
+
+#
+# Steve Langasek about OpenSSL vs libmysqlclient
+#
+Subject: Bug#291945: eleventh-hour transition for mysql-using packages related to apache
+Date: Sat, 12 Feb 2005 00:39:58 -0800
+From: Steve Langasek <vorlon@debian.org>
+
+> > > > that's great to hear!  i'm cc'ing the relevant wishlist bug i have open
+> > > > against mysql-server.  christian: any chance of getting an openssl enabled
+> > > > version of the mysql-client and mysql-server packages?
+
+> > > Yes, I will re-enable openssl in the next upload.
+
+> > Please make sure this does not introduce an openssl dependency to
+> > libmysqlclient itself; just because MySQL AB have granted a license
+> > exception for OpenSSL does not mean everyone who links to libmysqlclient
+> > has done so.
+
+> > I know of at least one GPL-without-exception package that is now using
+> > libmysqlclient12 in Debian.
+
+> Nice, so we should check that any linked GPL library directly (obviuolsy) or
+> indirectly (with N=1,2,3... levels of indirection) linked against
+> openssl adds the exception.
+
+No, we should simply not be linking libmysqlclient against OpenSSL.  The
+exemption was needed because there exists software that uses both
+libmysqlclient and libssl, but making libmysqlclient itself use libssl just
+because we now have the exemption will cause licensing problems for
+applications which currently do *not* depend on libssl.
+
+> This is a great reason to move asap all possible programs to gnutls,
+> indeed.
+
+There are plenty of reasons to move software to gnutls, but doing so is
+non-trivial.
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.mysql-server-41.cron.daily
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.mysql-server-41.cron.daily
@@ -0,0 +1,53 @@
+#!/bin/bash
+#
+# This script only rotates the binary logs. The normal logs are rotated
+# via /etc/logrotate.d/mysql-server.
+#
+# The number of binary logs that should be kept can be configured in
+#	/etc/mysql/debian-log-rotate.conf
+#
+set -e
+set -u
+
+###########################################################################
+
+M="mysql --defaults-file=/etc/mysql/debian.cnf"
+MA="mysqladmin --defaults-file=/etc/mysql/debian.cnf"
+tmp=`tempfile`;
+
+my_exit () {
+  rm $tmp
+  exit $1	  
+}
+
+test -x /usr/bin/mysqladmin || my_exit 0
+
+# Read config and see if we should rotate at all.
+. /etc/mysql/debian-log-rotate.conf
+if [ "$KEEP_BINARY_LOGS" -eq 0 ]; then
+  my_exit 0
+fi
+
+# Test if the server is up and running.
+if ! $MA --silent ping >/dev/null; then
+  my_exit 0
+fi
+
+# Retrieving list of file names. Can fail if no binary logs are in use.
+if ! echo 'SHOW MASTER LOGS;' | $M --skip-column-names >$tmp 2>&1; then
+  if grep -q 'You are not using binary logging' $tmp; then
+    my_exit 0
+  else
+    echo "Unknown problem retrieving MySQL master log filenames in $0."
+    cat $tmp
+    my_exit 1
+  fi
+fi
+
+# Test if we have enough log files to rotate and do so if.
+if [ `wc -l < $tmp` -gt $KEEP_BINARY_LOGS ]; then
+  filename=`tail -n $KEEP_BINARY_LOGS $tmp | head -n 1`
+  echo "PURGE MASTER LOGS TO '$filename';" | $M
+fi
+
+my_exit 0
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.lintian-overrides
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.lintian-overrides
@@ -0,0 +1,4 @@
+mysql-server-4.1: possible-bashism-in-maintainer-script postinst:81 'p{("a".."z","A".."Z",0..9)[int(rand(62))]}'
+mysql-server-4.1: possible-bashism-in-maintainer-script preinst:33 '${cmd/ */}'
+mysql-server-4.1: statically-linked-binary ./usr/bin/mysql_tzinfo_to_sql
+mysql-server-4.1: statically-linked-binary ./usr/sbin/mysqld
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-common-4.1.README.Debian
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-common-4.1.README.Debian
@@ -0,0 +1,20 @@
+[passwords]
+If you change the password of the root user (which is strongly recommended)
+you have to create a personal mysql config file in order to let cron run
+the /etc/cron.daily script without asking you for the password.
+The /root/.my.cnf file should be chmod 0600 (-rw------- root root .my.cnf)
+and have the following content:
+[mysqladmin]
+user            = root
+password        = <secret>
+
+[more than one process]
+Note that the shutdown script cannot use the pid number stored in
+/var/run, since it is for the first mysqld thread, but we need to kill
+the most recent thread to shutdown the server. The upstream developers
+are aware of this bug. When maintaining your database, you should use
+mysqladmin with your password to shutdown and reload the server rather
+than /etc/init.d/mysql.
+
+Scott Hanson               and          Christian Hammers
+<shanson@debian.org>                    <ch@debian.org>
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14-dev.examples
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14-dev.examples
@@ -0,0 +1 @@
+sql/udf_example.cc
--- mysql-dfsg-4.1-4.1.11a.orig/debian/old_patch__config_mutex.diff
+++ mysql-dfsg-4.1-4.1.11a/debian/old_patch__config_mutex.diff
@@ -0,0 +1,28 @@
+#
+# Prevents the use of NPLT when compiling under kernel 2.6
+# See http://bugs.mysql.com/6445 and http://bugs.debian.org/278638
+#
+--- old/configure.orig	2004-11-05 00:33:26.000000000 +0100
++++ new/configure	2004-11-04 23:47:07.000000000 +0100
+@@ -36578,7 +36578,8 @@
+ 
+ 
+       echo "CONFIGURING FOR BERKELEY DB"
+-      bdb_conf_flags="--disable-shared"
++      bdb_conf_flags="--disable-shared --with-mutex=x86/gcc-assembly"
++      echo "#42#DEBUG# bdb_conf_flags=$bdb_conf_flags"
+       if test $with_debug = "yes"
+       then
+         bdb_conf_flags="$bdb_conf_flags --enable-debug --enable-diagnostic"
+--- configure.in.orig	2004-12-27 17:47:09.000000000 +0100
++++ configure.in	2005-01-06 09:29:34.000000000 +0100
+@@ -2891,7 +2891,8 @@
+       AC_CONFIG_FILES(bdb/Makefile)
+ 
+       echo "CONFIGURING FOR BERKELEY DB" 
+-      bdb_conf_flags="--disable-shared"
++      bdb_conf_flags="--disable-shared --with-mutex=x86/gcc-assembly"
++      echo "#42#DEBUG# bdb_conf_flags=$bdb_conf_flags"
+       if test $with_debug = "yes"
+       then
+         bdb_conf_flags="$bdb_conf_flags --enable-debug --enable-diagnostic"
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.files
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.files
@@ -0,0 +1,70 @@
+etc/mysql/debian-start
+etc/mysql/debian-log-rotate.conf
+usr/bin/comp_err
+usr/bin/isamchk
+usr/bin/isamlog
+usr/bin/msql2mysql
+usr/bin/myisamchk
+usr/bin/myisamlog
+usr/bin/myisampack
+usr/bin/my_print_defaults
+usr/bin/mysqlbinlog
+usr/bin/mysql_convert_table_format
+usr/bin/mysql_create_system_tables
+usr/bin/mysqld_multi
+usr/bin/mysqld_safe
+usr/bin/mysql_fix_privilege_tables
+usr/bin/mysqlhotcopy
+usr/bin/mysql_install_db
+usr/bin/mysql_secure_installation
+usr/bin/mysql_setpermission
+usr/bin/mysqltest
+usr/bin/mysql_tzinfo_to_sql
+usr/bin/mysql_zap
+usr/bin/pack_isam
+usr/bin/perror
+usr/bin/replace
+usr/bin/resolveip
+usr/bin/resolve_stack_dump
+usr/bin/ndb_delete_all
+usr/bin/ndb_mgm
+usr/bin/ndb_show_tables
+usr/bin/ndb_desc
+usr/bin/ndb_restore
+usr/bin/ndb_waiter
+usr/bin/ndb_drop_index
+usr/bin/ndb_select_all
+usr/bin/ndb_drop_table
+usr/bin/ndb_select_count
+usr/sbin/mysqld
+usr/sbin/ndb_cpcd
+usr/sbin/ndbd
+usr/sbin/ndb_mgmd
+usr/share/doc/mysql-server-4.1/
+usr/share/lintian/overrides/
+usr/share/man/man1/comp_err.1
+usr/share/man/man1/isamchk.1
+usr/share/man/man1/isamlog.1
+usr/share/man/man1/msql2mysql.1
+usr/share/man/man1/myisamchk.1
+usr/share/man/man1/myisamlog.1
+usr/share/man/man1/myisampack.1
+usr/share/man/man1/my_print_defaults.1
+usr/share/man/man1/mysqlbinlog.1
+usr/share/man/man1/mysql_convert_table_format.1
+usr/share/man/man1/mysqld_multi.1
+usr/share/man/man1/mysqld_safe.1
+usr/share/man/man1/mysql_fix_privilege_tables.1
+usr/share/man/man1/mysqlhotcopy.1
+usr/share/man/man1/mysql_install_db.1
+usr/share/man/man1/mysql_secure_installation.1
+usr/share/man/man1/mysql_setpermission.1
+usr/share/man/man1/mysqltest.1
+usr/share/man/man1/mysql_zap.1
+usr/share/man/man1/pack_isam.1
+usr/share/man/man1/perror.1
+usr/share/man/man1/replace.1
+usr/share/man/man1/resolveip.1
+usr/share/man/man1/resolve_stack_dump.1
+usr/share/man/man8/mysqld.8
+usr/share/mysql/
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14-dev.dirs
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14-dev.dirs
@@ -0,0 +1,3 @@
+usr/include/
+usr/lib/
+
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14-dev.files
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14-dev.files
@@ -0,0 +1,6 @@
+usr/bin/mysql_config
+usr/include/*
+usr/lib/*.a
+usr/lib/*.la
+usr/lib/mysql
+usr/share/man/man1/mysql_config.1
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-common-4.1.postrm
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-common-4.1.postrm
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [ "$1" = "purge" ]; then
+  rmdir /etc/mysql 2>/dev/null || true
+fi
+
+#DEBHELPER#
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-client-4.1.dirs
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-client-4.1.dirs
@@ -0,0 +1,2 @@
+usr/bin/
+usr/share/man/man1/
--- mysql-dfsg-4.1-4.1.11a.orig/debian/changelog
+++ mysql-dfsg-4.1-4.1.11a/debian/changelog
@@ -0,0 +1,2276 @@
+mysql-dfsg-4.1 (4.1.11a-2woody1) woody-backports; urgency=high
+
+  * Recompiled for woody.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Mon, 23 May 2005 15:06:23 +0200
+
+mysql-dfsg-4.1 (4.1.11a-3) unstable; urgency=high
+
+  * Added patch from Piotr Roszatycki to compile the bundled db3 library
+    that is needed for the BerkeleyDB support with versioned symbols so
+    that mysqld no longer crashes when it gets linked together with the
+    Debian db3 version which happens when e.g. using libnss-db.
+    Closes: #308966
+
+ -- Christian Hammers <ch@debian.org>  Thu, 19 May 2005 01:41:14 +0200
+
+mysql-dfsg-4.1 (4.1.11a-2) unstable; urgency=high
+
+  * Okay, the hackery with /var/lib/dpkg/info/mysql-server.list will not
+    stand and is removed from the preinst of mysql-server.
+  * New workaround for the symlink problem that does not involve mucking
+    with dpkg's file lists is storing the symlinks in a temporary location
+    across upgrades.
+    As this sometimes fails since apt-get does not always call new.preinst
+    before old.postrm, some remarks were added to README.Debian and the
+    Debconf installation notes to minimize the inconvinience this causes.
+
+ -- sean finney <seanius@debian.org>  Sun, 15 May 2005 10:25:31 -0400
+
+mysql-dfsg-4.1 (4.1.11a-1) unstable; urgency=high
+
+  * Added the "a" to the version number to be able to upload a new
+    .orig.tar.gz file which now has the non-free Docs/ directory removed
+    as this has been forgotten in the 4.1.11 release (thanks to Goeran
+    Weinholt). Closes: #308691
+  * The Woody package listed /var/lib/mysql and /var/log/mysql in its
+    /var/lib/dpkg/info/mysql-server.list. These directories are often
+    replaced by symlinks to data partitions which triggers a dpkg bug
+    that causes these symlinks to be removed on upgrades. The new preinst
+    prevents this by removing the two lines from the .list file
+    (thanks to Andreas Barth and Jamin W. Collins). See dpkg bug #287978.
+  * Updated French Debconf translation (thanks to Christian Perrier).
+    Closes: #308353
+
+ -- Christian Hammers <ch@debian.org>  Thu, 12 May 2005 21:52:46 +0200
+
+mysql-dfsg-4.1 (4.1.11-3) unstable; urgency=high
+
+  * The "do you want to remove /var/lib/mysql when purging the package" flag
+    from old versions is removed once this package is beeing installed so
+    that purging an old Woody mysql-server package while having a
+    mysql-server-4.1 package installed can no longer lead to the removal of
+    all databases. Additionaly clarified the wording of this versions Debconf
+    template and added a check that skips this purge in the postrm script
+    if another mysql-server* package has /usr/sbin/mysqld installed.
+    (thanks to Adrian Bunk for spotting that problem) Closes: #307473
+  * Cronfile was not beeing installed as the filename was not in the
+    correct format for "dh_installcron --name" (thanks to Tomislav
+    Gountchev). Closes: #302712
+
+ -- Christian Hammers <ch@debian.org>  Sat, 23 Apr 2005 22:55:15 +0200
+
+mysql-dfsg-4.1 (4.1.11-2) unstable; urgency=low
+
+  * Sean Finney:
+    - don't freak out if we can't remove /etc/mysql during purge.
+    - debian/rules clean works again.
+  * Christian Hammers:
+    - Fixed typo in README.Debian (thanks to Joerg Rieger). Closes: #304897
+    - Completely removed the passwordless test user as it was not only
+      insecure but also lead to irritations as MySQL checks first the
+      permissions of this user and then those of a password having one.
+      See bug report from Hilko Bengen for details. Closes: #301741
+
+ -- Christian Hammers <ch@debian.org>  Sat, 16 Apr 2005 15:55:00 +0200
+
+mysql-dfsg-4.1 (4.1.11-1) unstable; urgency=low
+
+  * New upstream version. 
+  * Upstream fix for charset/collation problem. Closes: #282256
+  * Upstream fix for subselect crash. Closes: #297687
+  * Corrected minor issue in Debconf template regarding skip-networking
+    (thanks to Isaac Clerencia). Closes: #303417
+  * Made dependency to gawk unnecessary (thanks to Zoran Dzelajlija).
+    Closes: #302284
+  * Removed obsolete 50_innodb_mixlen.dpatch.
+  * Removed obsolete 51_CAN-2004-0957_db_grant_underscore.dpatch.
+
+ -- Christian Hammers <ch@debian.org>  Fri,  8 Apr 2005 00:23:53 +0200
+
+mysql-dfsg-4.1 (4.1.10a-7) unstable; urgency=low
+
+  * Sean Finney:
+    - fix for the mysteriously disappeared cronjob.  thanks to
+      Peter Palfrader <weasel@debian.org> for pointing out this omission.
+      (closes: #302712).
+
+ -- sean finney <seanius@debian.org>  Sat, 02 Apr 2005 16:54:13 -0500
+
+mysql-dfsg-4.1 (4.1.10a-6) unstable; urgency=high
+
+  * Sean Finney:
+    - the previous upload did not completely address the issue.  this one
+      should do so.  d'oh.
+
+ -- sean finney <seanius@debian.org>  Thu, 31 Mar 2005 03:35:50 +0000
+
+mysql-dfsg-4.1 (4.1.10a-5) unstable; urgency=high
+
+  * Sean Finney:
+    - the following security issue is addressed in this upload:
+      CAN-2004-0957 (grant privilege escalation on tables with underscores)
+      thanks to sergei at mysql for all his help with this.
+
+ -- sean finney <seanius@debian.org>  Wed, 30 Mar 2005 21:19:26 -0500
+
+mysql-dfsg-4.1 (4.1.10a-4) unstable; urgency=low
+
+  * Sean Finney:
+    - FTBFS fix for amd64/gcc-4.0.  Thanks to Andreas Jochens <aj@andaco.de>
+      for reporting this (closes: #301807).
+    - ANSI-compatible quoting fix in daily cron job.  thanks to 
+      Karl Hammar <karl@aspodata.se> for pointing out the problem in
+      the 4.0 branch.
+    - Added myself as a co-maintainer in the control file (closes: #295312).
+
+ -- sean finney <seanius@debian.org>  Tue, 29 Mar 2005 18:54:42 -0500
+
+mysql-dfsg-4.1 (4.1.10a-3) unstable; urgency=low
+
+  * BerkeleyDB is now disabled by default as its use is discouraged by MySQL.
+  * Added embedded server libraries as they finally do compile.
+    They are currently in libmysqlclient-dev as they are still 
+    experimental and only available as .a library (thanks to Keith Packard).
+    Closes: #297062
+  * Fixed obsolete "tail" syntax (thanks to Sven Mueller). Closes: #301413
+  * Added CAN numbers for the latest security bugfix upload.
+  * Updated manpage of mysqlmanager (thanks to Justin Pryzby). Closes: #299844
+  * Added comments to default configuration.
+
+ -- Christian Hammers <ch@debian.org>  Sun, 20 Mar 2005 17:40:18 +0100
+
+mysql-dfsg-4.1 (4.1.10a-2) unstable; urgency=low
+
+  * Disabled "--with-mysqld-ldflags=-all-static" as it causes sig11 crashes
+    if LDAP is used for groups in /etc/nsswitch.conf. Confirmed by Sean Finney
+    and Daniel Dehennin. Closes: #299382
+
+ -- Christian Hammers <ch@debian.org>  Mon, 14 Mar 2005 03:01:03 +0100
+
+mysql-dfsg-4.1 (4.1.10a-1) unstable; urgency=high
+
+  * SECURITY:
+    - The following security related updates are addressed: 
+      CAN-2005-0711 (temporary file creation with "CREATE TEMPORARY TABLE")
+      CAN-2005-0709 (arbitrary library injection in udf_init())
+      CAN-2005-0710 (arbitrary code execution via "CREATE FUNCTION")
+      Closes: #299029, #299031, #299065
+  * New Upstream Release.
+    - Fixes some server crash conditions.
+    - Upstream includes fix for TMPDIR overriding my.cnf tmpdir setting
+      Closes: #294347
+    - Fixes InnoDB error message. Closes: #298875
+    - Fixes resouce limiting. Closes: #285044
+  * Improved checking whether or not the server is alive in the init script
+    which should make it possible to run several mysqld instances in
+    different chroot environments. Closes: #297772
+  * Fixed cron script name as dots are not allowed (thanks to Michel
+    v/d Ven). Closes: #298447
+  * Added -O3 and --with-mysqld-ldflags=-all-static as MySQL recommends to
+    build the server binary statically in order to gain about 13% more
+    performance (thanks to Marcin Kowalski).
+  * Added patch to let mysqld_safe react to signals (thanks to Erich 
+    Schubert). Closes: #208364
+  * (Thanks to Sean Finney for doing a great share of work for this release!)
+
+ -- Christian Hammers <ch@debian.org>  Thu,  3 Mar 2005 02:36:39 +0100
+
+mysql-dfsg-4.1 (4.1.10-4) unstable; urgency=medium
+
+  * Fixed bug that prevented MySQL from starting after upgrades.
+    Closes: #297198, #296403
+  * Added comment about logging to syslog to the default my.cnf
+    and the logrotate script (thanks to Ryszard Lach). Closes: #295507
+
+ -- Christian Hammers <ch@debian.org>  Thu,  3 Mar 2005 00:28:02 +0100
+
+mysql-dfsg-4.1 (4.1.10-3) unstable; urgency=low
+
+  * Sean Finney: Cronjobs now exit silently when the server package
+    has been removed but not purged (thanks to Vineet Kumar).
+    Closes: #297404
+  * Fixed comments of /etc/mysql/debian-log-rotate.conf (thanks to
+    Philip Ross). Closes: #297467
+  * Made mysqld_safe reacting sane on signals (thanks to Erich Schubert).
+    Closes: #208364
+ 
+ -- Christian Hammers <ch@debian.org>  Tue,  1 Mar 2005 19:44:34 +0100
+
+mysql-dfsg-4.1 (4.1.10-2) unstable; urgency=low
+
+  * Converted to dpatch.
+  * debian/ is now maintained via Subversion on svn.debian.org. 
+
+ -- Christian Hammers <ch@debian.org>  Tue,  1 Mar 2005 02:16:36 +0100
+
+mysql-dfsg-4.1 (4.1.10-1) unstable; urgency=low
+
+  * New upstream version.
+  * Upstream fixed memleak bug. Closes: #205587
+  * Added debian/copyright.more for personal reference.
+  * Lowered default query cache size as suggested by Arjen from MySQL.
+  * Switched from log to log-bin as suggested by Arjen from MySQL.
+  * Fixed typo in my.cnf (thanks to Sebastian Feltel). Closes: #295247
+  * Replaced --defaults-extra-file by --defaults-file in Debian scripts
+    as former lets password/host etc be overwriteable by /root/.my.cnf.
+    Added socket to /etc/mysql/debian.cnf to let it work. (thanks to
+    SATOH Fumiyasu). Closes: #295170
+
+ -- Christian Hammers <ch@debian.org>  Tue, 15 Feb 2005 23:47:02 +0100
+
+mysql-dfsg-4.1 (4.1.9-4) unstable; urgency=low
+
+  * Improved the way mysqld is started and registered with update-rc.d
+    in cases where the admin modifies the runlevel configuration.
+    Most notably removed the debconf question whether or not mysql should
+    start on when booting. Closes: #274264
+  * Renamed configuration option old-passwords to the more preferred
+    naming convention old_passwords. Same for some others (thanks to
+    Patrice Pawlak). Closes: #293983
+
+ -- Christian Hammers <ch@debian.org>  Tue,  8 Feb 2005 02:21:18 +0100
+
+mysql-dfsg-4.1 (4.1.9-3) unstable; urgency=low
+
+  * Renamed ca_ES.po to ca.po to reach a broader audience (thanks to 
+    Christian Perrier). Closes: #293786 
+  * Expicitly disabled mysqlfs support as it has never been enabled by
+    configure during the autodetection but fails due to broken upstream
+    code when users try to build the package theirselves while having
+    liborbit-dev installed which triggers the mysqlfs autodetection
+    (thanks to Max Kellermann). Closes: #293431
+  * Added dependencies to gawk as one script does not work with original-awk
+    (thanks to Petr Ferschmann). Closes: #291634
+
+ -- Christian Hammers <ch@debian.org>  Sun,  6 Feb 2005 23:33:11 +0100
+
+mysql-dfsg-4.1 (4.1.9-2) unstable; urgency=high
+
+  * SECURITY:
+    For historical reasons /usr/share/mysql/ was owned and writable by
+    the user "mysql". This is a security problem as some scripts that
+    are run by root are in this directory and could be modified and used
+    by a malicious user who already has mysql privileges to gain full root
+    rights (thanks to Matt Brubeck). Closes: #293345
+  * Changed "skip-networking" to "bind-address 127.0.0.1" which is more
+    compatible and not less secure but maybe even more, as less people enable
+    networking for all interfaces (thanks to Arjen Lentz).
+  * Enabled InnoDB by default as recommended by Arjen Lentz from MySQL.
+  * Added remarks about hosts.allow to README.Debian (thanks to David
+    Chappell). Closes: #291300
+  * mysql-server-4.1 now provides mysql-server (thanks to Paul van den Berg).
+    Closes: #287735
+
+ -- Christian Hammers <ch@debian.org>  Wed,  2 Feb 2005 23:31:55 +0100
+
+mysql-dfsg-4.1 (4.1.9-1) unstable; urgency=low
+
+  * New upstream version.
+  * mysql-client-4.1 now provides "mysql-client" so that packages depending
+    on mysql-client (ca. 40) can now be used with MySQL-4.1, too.
+
+ -- Christian Hammers <ch@debian.org>  Sun, 23 Jan 2005 22:52:48 +0100
+
+mysql-dfsg-4.1 (4.1.8a-6) unstable; urgency=high
+
+  * SECURITY:
+    Javier Fernandez-Sanguino Pena from the Debian Security Audit Project
+    discovered a temporary file vulnerability in the mysqlaccess script of
+    MySQL that could allow an unprivileged user to let root overwrite
+    arbitrary files via a symlink attack and could also could unveil the
+    contents of a temporary file which might contain sensitive information.
+    (CAN-2005-0004, http://lists.mysql.com/internals/20600) Closes: #291122
+
+ -- Christian Hammers <ch@debian.org>  Tue, 18 Jan 2005 23:11:48 +0100
+
+mysql-dfsg-4.1 (4.1.8a-5) unstable; urgency=medium
+
+  * Fixed important upstream bug that causes from_unixtime(0) to return
+    NULL instead of "1970-01-01 00:00:00" which fails on NOT NULL columns.
+    Closes: #287792
+  * Fixes upstream bug in mysql_list_fields() . Closes: #282486
+  * Fixes bug that lead to double rotated logfiles when mysql-server 4.0
+    was previously installed (thanks to Olaf van der Spek). Closes: #289851
+  * Fixed typo in README.Debian (thanks to Mark Nipper). Closes: #289131
+  * Changed max_allowed_packet in my.cnf to 16M as in 4.0.x (thanks to
+    Olaf van der Spek). Closes: #289840
+  * Updated French debconf translation (thanks to Christian Perrier).
+    Closes: #287955
+
+ -- Christian Hammers <ch@debian.org>  Thu, 13 Jan 2005 01:29:05 +0100
+
+mysql-dfsg-4.1 (4.1.8a-4) unstable; urgency=low
+
+  * Broken patch again :-(
+
+ -- Christian Hammers <ch@debian.org>  Sun,  9 Jan 2005 23:47:55 +0100
+
+mysql-dfsg-4.1 (4.1.8a-3) unstable; urgency=low
+
+  * The mutex patch was a bit too x86 centric. This broke the alpha build.
+
+ -- Christian Hammers <ch@debian.org>  Sun,  9 Jan 2005 14:18:49 +0100
+
+mysql-dfsg-4.1 (4.1.8a-2) unstable; urgency=medium
+ 
+  * Some Makefiles that were patched by me got overwritten by the GNU
+    autotools, probably because I also patched ./configure. Fixed now,
+    the critical mutex patch is now back in again. Closes: #286961
+  * Added patch to make MySQL compile on ARM (thanks to Adam Majer).
+    Closes: #285071
+
+ -- Christian Hammers <ch@debian.org>  Thu,  6 Jan 2005 09:30:13 +0100
+
+mysql-dfsg-4.1 (4.1.8a-1) unstable; urgency=medium
+
+  * Upstream 4.1.8 had some problems in their GNU Autotools files so they
+    released 4.1.8a. Debian's 4.1.8 was fixed by running autoreconf but this
+    again overwrote MySQL changes to ltmain.sh which are supposed to fix some
+    problems on uncommon architectures (maybe the FTBFS on alpha, arm, m68k
+    and sparc?).
+  * libmysqlclient_r.so.14 from 4.1.8-3 also missed a link dependency to
+    libz which lead to unresolved symbols visible with "ldd -r" (thanks
+    to Laurent Bonnaud). Closes: #287573
+
+ -- Christian Hammers <ch@debian.org>  Wed, 29 Dec 2004 14:26:33 +0100
+
+mysql-dfsg-4.1 (4.1.8-3) unstable; urgency=low
+
+  * Fixed checking for error messages by forcing english language
+    output by adding LC_ALL=C to debian-start (thanks to Rene
+    Konasz) Closes: #285709
+  * Fixed bashisms in Debian scripts. Closes: #286863
+  * Updated Japanese Debconf translation (thanks to Hideki Yamane).
+    Closes: #287003
+  * Improved 4.0 to 4.1 upgrade if /var/lib/mysql is a symlink
+    (thanks to Thomas Lamy). Closes: #286560
+  * Added patch for FTBFS problem where no LinuxThreads can be found.
+    I don't know if this still applies but it should not hurt.
+    The patch is debian/patches/configure__AMD64-LinuxThreads-vs-NPTL.diff
+
+ -- Christian Hammers <ch@debian.org>  Sun, 26 Dec 2004 14:04:20 +0100
+
+mysql-dfsg-4.1 (4.1.8-2) unstable; urgency=low
+
+  * If /var/lib/mysql is a symlink then it is kept as such.
+  * Added the old-passwords option to the default my.cnf to stay
+    compatible to clients that are still compiled to libmysqlclient10
+    and libmysqlclient12 for licence reasons. 
+  * Adjusted tetex build-deps to ease backporting (thanks to Norbert
+    Tretkowski from backports.org).
+
+ -- Christian Hammers <ch@debian.org>  Tue, 21 Dec 2004 01:00:27 +0100
+
+mysql-dfsg-4.1 (4.1.8-1) unstable; urgency=medium
+
+  * New upstream version. Closes: #286175
+  * Added conflict to libmysqlclient-dev (thanks to Adam Majer).
+    Closes: #286538
+  * Added debconf-updatepo to debian/rules:clean.
+  * Updated Japanese Debconf translation (thanks to Hideki Yamane).
+    Closes: #285107
+  * Updated French Debconf translation (thanks to Christian Perrier).
+    Closes: #285977
+  * Renamed cz.po to cs.po (thanks to Miroslav Kure). Closes: #285438
+  * Aplied patch for changed server notice to debian-start (thanks to
+    Adam Majer). Closes: #286035
+  * Changed nice value in default my.cnf as nohup changed its behaviour
+    (thanks to Dariush Pietrzak). Closes: #285446
+  * Increased verbosity of preinst script in cases where it cannot stop
+    a running server (thanks to Jan Minar). Closes: #285982
+  * Splitted the code parts of /etc/mysql/debian-start to
+    /usr/share/mysql/debian-start.inc.sh (thanks to Jan Minar).
+    Closes: #285988
+
+ -- Christian Hammers <ch@debian.org>  Mon, 20 Dec 2004 00:33:21 +0100
+
+mysql-dfsg-4.1 (4.1.7-4) unstable; urgency=medium
+
+  * Removed OpenSSL support.
+    After a short discussion with MySQL, I decided to drop OpenSSL support as
+    1. MySQL started shipping their binaries without it, too and do not
+       seem to support it in favour of using a different library somewhen.
+    2. MySQL did not adjust their licence to grant permission to link
+       against OpenSSL.
+    3. Even if they did, third parties who use libmysqlclient.so often
+       do not realise licencing problems or even do not want OpenSSL.
+    (thanks to Jordi Mallach and the responders to MySQL bug #6924)
+    Closes: #283786
+  * debian/control: Improved depends and conflicts to mysql-4.0.
+
+ -- Christian Hammers <ch@debian.org>  Thu,  2 Dec 2004 22:02:28 +0100
+
+mysql-dfsg-4.1 (4.1.7-3) unstable; urgency=low
+
+  * Raised version to make it higher as the one in experimental. 
+
+ -- Christian Hammers <ch@debian.org>  Wed,  1 Dec 2004 21:09:20 +0100
+
+mysql-dfsg-4.1 (4.1.7-2) unstable; urgency=low
+
+  * Patched scripts/mysql_install_db so that it no longer creates a
+    passwordless test database during installation (thanks to Patrick
+    Schnorbus). Closes: #281158
+  * Added Czech debconf translation (thanks to Miroslav Kure).
+    Closes: #283222
+
+ -- Christian Hammers <ch@debian.org>  Wed,  1 Dec 2004 01:29:31 +0100
+
+mysql-dfsg-4.1 (4.1.7-1) unstable; urgency=low
+
+  * New upstream branch! 
+  * Adjusted debian/control to make this package suitable to get parallel
+    to version 4.0.x into unstable and sarge. The package names are
+    different so that "mysql-server" still defaults to the rock-stable
+    4.0 instead to this announced-to-be-stable 4.1.
+  * Added --with-mutex=i86/gcc-assemler to the Berkeley-DB configure
+    to prevent the use of NPLT threads when compiling under kernel 2.6
+    because the binaries are else not runable on kernel 2.4 hosts.
+    Closes: #278638, #274598 
+
+ -- Christian Hammers <ch@debian.org>  Sun, 31 Oct 2004 20:15:03 +0100
+
+mysql-dfsg (4.1.6-1) experimental; urgency=low
+
+  * New upstream version.
+  * Fixed symlinks in libmysqlclient-dev package. Closes: #277028
+  * This time I did not update the libtool files as they were pretty
+    up to date and I want to have a shorter diff file.
+
+ -- Christian Hammers <ch@debian.org>  Wed, 20 Oct 2004 00:07:58 +0200
+
+mysql-dfsg (4.1.5-3) experimental; urgency=low
+
+  * debian/postinst: mysql_install_db changed parameter from --IN-RPM
+    to --rpm which caused problems during installs. Closes: #276320
+
+ -- Christian Hammers <ch@debian.org>  Sat, 16 Oct 2004 20:36:46 +0200
+
+mysql-dfsg (4.1.5-2) experimental; urgency=low
+
+  * Activated support for ndb clustering (thanks to Kevin M. Rosenberg).
+    Closes: #275109
+
+ -- Christian Hammers <ch@debian.org>  Wed,  6 Oct 2004 01:58:00 +0200
+
+mysql-dfsg (4.1.5-1) experimental; urgency=low
+
+  * WARNING:
+    The upstream branch 4.1 is still considered BETA.
+    The Debian packages for 4.1 were done without big testing. If you miss
+    a new functionality or binary, contact me and I check add the relevant
+    configure option or include the program.
+  * New MAJOR upstream version.
+    Thanks to the great demand here's now the first MySQL 4.1 experimental
+    release. FEEDBACK IS WELCOME.
+  * 4.0->4.1 notes:
+    - debian/patches/alpha.diff could not be applied, I fix that later
+    - debian/patches/scripts__mysql_install_db.sh.diff was obsolete
+    - debian/patches/scripts__Makefile.in was neccessary due to a dependency
+      to the removed non-free Docs/ directory. Upstream has been contacted.
+    - Build-Deps: += automake1.7
+    - debian/rules: embedded servers examples did not compile, removed
+
+ -- Christian Hammers <ch@debian.org>  Sun, 26 Sep 2004 19:46:47 +0200
+
+mysql-dfsg (4.0.21-3) unstable; urgency=low
+
+  * Upstream tried to fix a security bug in mysqlhotcopy and broke it :-)
+    Applied a patch (see debian/patches) from Martin Pitt. Closes: #271632
+  * Between 4.0.20 and 4.0.21 the Debian specific changes in
+    /usr/bin/mysqld_safe that piped the error log to syslog got lost
+    and are now back again. 
+  * Fixed capitalization in debconf headings.
+  * Changed wording of the initscript status message to make heartbeat
+    happier. Closes: #271591
+
+ -- Christian Hammers <ch@debian.org>  Fri, 17 Sep 2004 18:42:25 +0200
+
+mysql-dfsg (4.0.21-2) unstable; urgency=medium
+
+  * The dependencies between mysql-client and libmysqlclient12 were
+    too loose, when upgrading only the client this can lead to non working
+    binaries due to relocation errors (thanks to Dominic Cleal).
+    Closes: #271803
+  * Fixed typo in mysqldump.1 manpage (thanks to Nicolas Francois).
+    Closes: #271334
+
+ -- Christian Hammers <ch@debian.org>  Wed, 15 Sep 2004 15:38:11 +0200
+
+mysql-dfsg (4.0.21-1) unstable; urgency=high
+
+  * SECURITY:
+    This upstream version fixes some security problems that might at least
+    allow a DoS attack on the server.
+    * Fixed an old bug in concurrent accesses to `MERGE' tables (even
+      one `MERGE' table and `MyISAM' tables), that could've resulted in
+      a crash or hang of the server. (Bug #2408)
+    * Fixed bug in privilege checking where, under some conditions, one
+      was able to grant privileges on the database, he has no privileges
+      on. (Bug #3933)
+    * Fixed crash in `MATCH ... AGAINST()' on a phrase search operator
+      with a missing closing double quote. (Bug #3870)
+    * Fixed potential memory overrun in `mysql_real_connect()' (which
+      required a compromised DNS server and certain operating systems).
+      (Bug #4017)
+  * New upstream version.
+    * Fixes bug that made x="foo" in WHERE sometimes the same as x="foo ".
+      Closes: #211618
+  * Updated Japanese Debconf translation (thanks to Hideki Yamane).
+    Closes: #271097
+
+ -- Christian Hammers <ch@debian.org>  Sat, 11 Sep 2004 23:15:44 +0200
+
+mysql-dfsg (4.0.20-14) unstable; urgency=low
+
+  * Dave Rolsky spottet that -DBIG_JOINS was not properly enabled.
+    It allowes joining 64 instead of an 32 tables to join.
+
+ -- Christian Hammers <ch@debian.org>  Thu,  9 Sep 2004 20:24:02 +0200
+
+mysql-dfsg (4.0.20-13) unstable; urgency=medium
+
+  * Fixed a bug in the initscript which caused the check for not properly
+    closed i.e. corrupt tables that is executed when the server starts
+    not to run in background as supposed.
+    Although the check does not repair anything on servers with several
+    thousand tables the script was reported to take some minutes which
+    is quite annoying. (Thanks to Jakob Goldbach). Closes: #270800
+
+ -- Christian Hammers <ch@debian.org>  Thu,  9 Sep 2004 17:11:05 +0200
+
+mysql-dfsg (4.0.20-12) unstable; urgency=medium
+
+  * Filter messages regarding table handles that do not support CHECK TABLE
+    in the script that checks for corrupted tables on every start which lead
+    to unnecessary mails (thanks to David Everly). Closes: #269811 
+  * Added a note to the corrupt-table-check mail which notes that a
+    false-positive is reported in the case that immediately after starting
+    the server a client starts using a table (thanks to Uwe Kappe).
+    Closes: #269985
+  * Added "quote-names" as default to the [mysqldump] section in
+    /etc/mysql/my.cnf as too many users stumble over dump files that
+    could not be read in again due to the valid use of reserved words
+    as table names. This has also be done by upstream in 4.1.1 and has
+    no known drawbacks. Closes: #269865
+  * Binary logs can now be rotated as well. Defaults to off, though, for
+    compatibilty reasons (thanks to Mark Ferlatte). Closes: #94230, #269110
+  * The mysql user "debian-sys-maint" now gets all possible rights which
+    makes binary logging possible and helps other package maintainer who
+    wants to use it to create package specific databases and users.
+  * Added example how to change daemon nice level via /etc/mysql/my.cnf
+  * Updated French debconf translations (thanks to Christian Perrier).
+    Closes: #265811
+  * Renamed options in the default config file that still had old names
+    (thanks to Yves Kreis). Closes: #266445
+  * Fixed spelling in debconf note.
+  * Added -l and -L to dh_shlibdeps.
+
+ -- Christian Hammers <ch@debian.org>  Fri,  3 Sep 2004 20:10:46 +0200
+
+mysql-dfsg (4.0.20-11) unstable; urgency=high
+
+  * SECURITY
+    This version fixes a security flaw in mysqlhotcopy which created
+    temporary files in /tmp which had predictable filenames and such
+    could be used for a tempfile run attack.
+    The issue has been recorded as CAN-2004-0457.
+
+ -- Christian Hammers <ch@debian.org>  Sat, 14 Aug 2004 18:27:19 +0200
+
+mysql-dfsg (4.0.20-10) unstable; urgency=low
+
+  * MySQL finally updated their copyright page and installed v1.5 of
+    the "Free/Libre and Open Source Software License (FLOSS) - Exception"
+    which will hopefully end the license hell they created by putting the
+    client libraries under GPL instead of LGPL which conflicts with PHP and
+    other software that used to link against MySQL.
+    The license text is not yet in any release MySQL version but visible
+    on their web site and copied into the debian/copyright file.
+    Special thanks to Zak Greant <zak@mysql.com> and the debian-legal list
+    for helping to solve this release critical problem.
+    Closes: #242449
+  * Updated Brazil debconf translation (thanks to Andre Luis Lopes).
+    Closes: #264233
+  * Updated Japanese debconf translation (thanks to Hideki Yamane).
+    Closes: #264620
+  * Fixed minor typo in debconf description (thanks to TROJETTE Mohammed
+    Adnene). Closes: #264840
+  * Improved init and preinst script which now detects stalled servers which
+    do no longer communicate but are present in the process list (thanks to
+    Henrik Johansson). Closes: #263215
+
+ -- Christian Hammers <ch@debian.org>  Mon,  9 Aug 2004 19:44:28 +0200
+
+mysql-dfsg (4.0.20-9) unstable; urgency=medium
+
+  * Partly reverted the last patch which gave the mysql-user
+    "debian-sys-maint" more rights as there are old versions of MySQL which
+    have fewer privlige columns. Now only those are set (thanks to Alan Tam).
+    Closes: #263111
+
+ -- Christian Hammers <ch@debian.org>  Tue,  3 Aug 2004 13:03:02 +0200
+
+mysql-dfsg (4.0.20-8) unstable; urgency=low
+
+  * The mysqlcheck that is started from the initscript will now be
+    backgrounded because it might else prevent the boot process to continue.
+    It also now notifies root by mail and syslog if a table is corrupt.
+  * The "debian-sys-maint" MySQL user now has almost full rights so that other
+    packages might use this account to create databases and user (thanks to
+    Andreas Barth). Closes: #262541
+  * Added paranoid rules for logcheck.
+
+ -- Christian Hammers <ch@debian.org>  Sun,  1 Aug 2004 21:00:55 +0200
+
+mysql-dfsg (4.0.20-8) unstable; urgency=low
+
+  * Upload stalled. Not released.
+
+ -- Christian Hammers <ch@debian.org>  Sun,  1 Aug 2004 20:27:55 +0200
+
+mysql-dfsg (4.0.20-7) unstable; urgency=medium
+
+  * Solved the upstream bug that error messages of the server are written
+    in a file that is then rotated away leaving mysqld logging effectively
+    to /dev/null. It now logs to a /usr/bin/logger process which puts the
+    messages into the syslog.
+    Modified files: /etc/init.d/mysql, /usr/bin/mysqld_safe and the 
+    logchecker files. Closes: #254070
+  * The initscript does no longer call mysqlcheck directly but via
+    /etc/mysql/debian-start which is a user customizable config script.
+  * Splitted the debconf "install and update notes" and only show them
+    when it is appropriate (thanks to Steve Langasek). Closes: #240515
+  * Added NEWS.Debian.
+  * Added hint to -DBIG_ROWS, which is currently not used, to README.Debian.
+  * Corrected typo in myisampack manpage (thanks to Marc Lehmann). 
+    Closes: #207090
+  * Added Catalan debconf translation (thanks to Aleix Badia i Bosch).
+    Closes: #236651
+
+ -- Christian Hammers <ch@debian.org>  Wed, 28 Jul 2004 01:41:51 +0200
+
+mysql-dfsg (4.0.20-6) unstable; urgency=low
+
+  * The build arch detected by configure was "pc-linux-gnu (i686)"
+    instead of "pc-linux-gnu (i386)". Was no problem AFAIK but
+    Adam Majer asked me to explicitly change it to i386. Closes: #261382
+  * Removed some unused shell scripts from /usr/share/mysql.
+  * Added lintian overrides.
+  * Removed rpath by using chrpath.
+
+ -- Christian Hammers <ch@debian.org>  Mon, 26 Jul 2004 00:17:12 +0200
+
+mysql-dfsg (4.0.20-5) unstable; urgency=medium
+
+  * The mysqlcheck in the init script is only called when the server
+    is really alive. Also, the mysql-user 'debian-sys-maint' now has
+    global select rights (thanks to Nathan Poznick). Closes: #261130 
+  * Moved the debconf question whether to remove the databases or not
+    from mysql-server.config to mysql-server.postrm so that it shows
+    up on purge time and not months earlier (thanks to Wouter Verhelst).
+    Closes: #251838
+
+ -- Christian Hammers <ch@debian.org>  Fri, 23 Jul 2004 22:41:13 +0200
+
+mysql-dfsg (4.0.20-4) unstable; urgency=low
+
+  * Added a "mysqlcheck -A --fast" to the 'start' section of the
+    init script to help admins detect corrupt tables after a server crash.
+    Currently it exists with an error message but leaves the server
+    running. Feedback appreciated!
+  * Made postinst script more robust by calling db_stop earlier and
+    so prevent pipe-deadlocks.
+  * Fixed minor typos in initscript (thanks to "C.Y.M."). Closes: 259518
+  * Added the undocumented "-DBIG_JOINS" that MySQL apparently uses in
+    their MAX binaries. It enables 62 instead of 30 tables in a "join".
+    (thanks to Dave Rolsky). Closes: #260843
+  * Added a "df --portability /var/lib/mysql/." check to the preinst
+    script as users experienced hard to kill hanging mysqlds in such
+    a situation (thanks to Vaidas Pilkauskas). Closes: #260306
+
+ -- Christian Hammers <ch@debian.org>  Fri, 23 Jul 2004 00:51:32 +0200
+
+mysql-dfsg (4.0.20-3) unstable; urgency=low
+
+  * Improved tolerance if the init script has been deleted (thanks to
+    Leonid Shulov for spotting the problem).
+  * Minor wording changes to README.Debian generalizing /root/ by $HOME
+    (thanks to Santiago Vila). Closes: #257725
+  * Added Japanese debconf translation (thanks to Hideki Yamane).
+    Closes: #256485
+  * Fixed commend in my.cnf regarding logfile directory (thanks to Jayen
+    Ashar). Closes: #253434
+  * Correted "ease to" by "ease of" in package description (thanks to
+    Johannes Berg). Closes: #253510 
+
+ -- Christian Hammers <ch@debian.org>  Fri,  9 Jul 2004 00:57:42 +0200
+
+mysql-dfsg (4.0.20-2) unstable; urgency=low
+
+  * Removed RPM .spec file from the included documentation as it is pretty
+    useless (thanks to Loic Minier).
+  * Added turkish debconf translation (thanks to Recai Oktas). Closes: #252802
+
+ -- Christian Hammers <ch@debian.org>  Sun,  6 Jun 2004 14:48:26 +0200
+
+mysql-dfsg (4.0.20-1) unstable; urgency=low
+
+  * New upstream version. 
+
+ -- Christian Hammers <ch@debian.org>  Mon, 31 May 2004 23:36:39 +0200
+
+mysql-dfsg (4.0.18-8) unstable; urgency=low
+
+  * Updated french translation (thanks to Christian Perrier). Closes: #246789
+
+ -- Christian Hammers <ch@debian.org>  Tue,  4 May 2004 23:26:54 +0200
+
+mysql-dfsg (4.0.18-7) unstable; urgency=low
+
+  * Added CVE ids for the recent security fixes.
+    4.0.18-4 is CAN-2004-0381 (mysqlbug) and
+    4.0.18-6 is CAN-2004-0388 (mysql_multi)
+
+ -- Christian Hammers <ch@debian.org>  Mon, 19 Apr 2004 18:32:03 +0200
+
+mysql-dfsg (4.0.18-6) unstable; urgency=medium
+
+  * SECURITY:
+    Fixed minor tempfile-run security problem in mysqld_multi.
+    Unprivileged users could create symlinks to files which were then
+    unknowingly overwritten by run when this script gets executed.
+    Upstream informed. Thanks to Martin Schulze for finding this.
+
+ -- Christian Hammers <ch@debian.org>  Wed,  7 Apr 2004 01:28:22 +0200
+
+mysql-dfsg (4.0.18-5) unstable; urgency=low
+
+  * Little improvements in debian scripts for last upload. 
+  * Added check to logrotate script for the case that a mysql
+    server is running but not be accessible with the username and
+    password from /etc/mysql/debian.conf (thanks to Jeffrey W. Baker).
+    Closes: 239421
+
+ -- Christian Hammers <ch@debian.org>  Sun,  4 Apr 2004 15:27:40 +0200
+
+mysql-dfsg (4.0.18-4) unstable; urgency=medium
+
+  * SECURITY: 
+    Aplied fix for unprobable tempfile-symlink security problem in 
+    mysqlbug reported by Shaun Colley on bugtraq on 2004-03-24.
+  * Updated french debconf translation (thanks to Christian Perrier).
+    Closes: #236878 
+  * Updated portugesian debconf translation (thanks to Nuno Senica).
+    Closes: #239168
+  * Updated german debconf translation (thanks to Alwin Meschede).
+    Closes: #241749
+  * Improved debconf template regarding fix_privileges_tables (thanks 
+    to Matt Zimmermann for suggestions). Closes: #219400
+  * Improved README.Debian regarding to password settings (thanks to
+    Yann Dirson). Closes: #241328
+
+ -- Christian Hammers <ch@debian.org>  Sat,  3 Apr 2004 19:52:15 +0200
+
+mysql-dfsg (4.0.18-3) unstable; urgency=medium
+
+  * Added Build-Depend to po-debconf to let it build everywhere.
+
+ -- Christian Hammers <ch@debian.org>  Wed, 31 Mar 2004 23:43:33 +0200
+
+mysql-dfsg (4.0.18-2) unstable; urgency=low
+
+  * Added a "2>/dev/null" to a "which" command as there are two
+    "which" versions in Debian of which one needs it. Closes: #235363
+
+ -- Christian Hammers <ch@debian.org>  Tue,  2 Mar 2004 23:31:28 +0100
+
+mysql-dfsg (4.0.18-1) unstable; urgency=low
+
+  * New upstream version.
+  * Should now compile and run on ia64 (thanks to Thorsten Werner and
+    David Mosberger-Tang). Closes: #226863 #228834 
+  * Converted init scripts to invoce-rc.d (thanks to Erich Schubert).
+    Closes: 232118 
+  * Secondlast upload changed logfile location. Closes: #182655
+  * Updated Brasilian translation (thanks to Andre Luis Lopes). Closes:
+    #219847
+
+ -- Christian Hammers <ch@debian.org>  Tue, 17 Feb 2004 23:44:58 +0100
+
+mysql-dfsg (4.0.17-2) unstable; urgency=low
+
+  * Improved manpage for mysqldumpslow.1 (thanks to Anthony DeRobertis).
+    Closes: #231039
+  * Improved stopping of crashed daemons in init script (thanks to
+    Matthias Urlichs). Closes: #230327
+
+ -- Christian Hammers <ch@debian.org>  Mon,  9 Feb 2004 21:54:29 +0100
+
+mysql-dfsg (4.0.17-1) unstable; urgency=low
+
+  * Made logging into /var/log/mysql/ the default. Closes: #225206
+ 
+  * New upstream version. Closes: #225028
+  * Turned on a 25MB query cache by default (thanks to Cyril Bouthors).
+    Closes: #226789
+  * Updated russian translation (thanks to Ilgiz Kalmetev). Closes: #219263
+  * Upstream fixes the problem that AND was not commutative (thanks for
+    Iain D Broadfoot for mentioning). Closes: #227927
+  * Fixed minor typo in my.cnf comments (thanks to James Renken). 
+    Closes: #221496
+  * Better documents regex. Closes: #214952
+  * Fixed minor germanism in debconf template (thanks to Marc Haber).
+    Closes: #224148
+  * Added explaining comment to my.cnf regarding quoted passwords 
+    (Thanks to Patrick von der Hagen). Closes: #224906
+  * Changed "find -exec" to "find -print0 | xargs -0" in preinst to
+    speed it up. Thanks to Cyril Bouthors. Closes: #220229
+
+ -- Christian Hammers <ch@debian.org>  Sun, 18 Jan 2004 16:16:25 +0100
+
+mysql-dfsg (4.0.16-2) unstable; urgency=low
+
+  * Tried to repair undefined weak symbols by adding a little Makefile
+    patch. Closes: #215973
+
+ -- Christian Hammers <ch@debian.org>  Mon, 27 Oct 2003 22:52:10 +0100
+
+mysql-dfsg (4.0.16-1) unstable; urgency=low
+
+  * New upstream release.
+    (Mostly little memory problems and other bugfixes it seems)
+  * Replaced "." by ":" in chown calls to comply with the env setting
+  	"_POSIX2_VERSION=2000112" (thanks to Robert Luberda). Closes: #217399
+  * Adjusted syntax in my.cnf to 4.x standard (thanks to Guillaume Plessis).
+    Closes: #217273
+  * Improved README.Debian password instructions (thanks to Levi Waldron).
+    Closes: #215046
+  * Improved NIS warning debconf-template (thanks to Jeff Breidenbach).
+    Closes: #215791
+  * Explicitly added libssl-dev to the libmysqlclient-dev package as it
+    is needed for mysql_config and the libmysqlclient package only depends
+    on libssl which has no unnumbered .so version (thanks to Simon Peter
+    and Davor Ocelic). Closes: #214436, #216162
+  * Added "-lwrap" to "mysql_config --libmysqld-libs" and filed it as
+    upstream bug #1650 (thanks to Noah Levitt). Closes: #214636
+
+ -- Christian Hammers <ch@debian.org>  Sat, 25 Oct 2003 01:09:27 +0200
+
+mysql-dfsg (4.0.15a-1) unstable; urgency=low
+
+  * Same package as 4.0.15-2 but I could not convince the Debian
+    installer to move the packages out of incoming.
+
+ -- Christian Hammers <ch@debian.org>  Tue,  7 Oct 2003 15:10:26 +0200
+
+mysql-dfsg (4.0.15-2) unstable; urgency=low
+
+  * Updated package description (thanks to Adrian Bunk). Closes: #210988 
+  * Fixed small typos in manpages (thanks to Nicolas Francois).
+    Closes: #211983
+  * More updates to package description (thanks to Matthias Lutz/ddtp).
+    Closes: #213456
+  * Updated standards to 3.6.1.
+  * Closes "new 4.0.15 available" bug. Closes: #213349
+  * Updated README.Debian with notes regarding the MySQL manual section
+    "2.4 Post-installation Setup and Testing" (thanks to Daniel B.).
+    Closes: #210841
+
+ -- Christian Hammers <ch@debian.org>  Fri,  3 Oct 2003 15:59:39 +0200
+
+mysql-dfsg (4.0.15-1) unstable; urgency=high
+
+  * SECURITY:
+    Users who are able to use the "ALTER TABLE" command on the "mysql"
+    database may be able to exploit this vulnerability to gain a shell with
+    the privileges of the mysql server (usually running as the 'mysql' user).
+    Closes: #210403
+  * Fixes small description typos (thanks to Oscar Jarkvik).
+  * Updated Brazilian Portuguese debconf translation. (thanks to Andre Luis
+    Lopes). Closes: 208030
+  * Replaced depricated '.' by ':' in chown (thanks to Matt Zimmerman).
+  * Fixed manpage typo (thanks to Marc Lehmann). Closes: #207090
+
+ -- Christian Hammers <ch@debian.org>  Fri,  3 Oct 2003 15:59:35 +0200
+
+mysql-dfsg (4.0.14-1) unstable; urgency=low
+
+  * New upstream version. 
+
+ -- Christian Hammers <ch@debian.org>  Sun, 24 Aug 2003 16:40:36 +0200
+
+mysql-dfsg (4.0.13-3) unstable; urgency=low
+
+  * Now start mysqld as default unless you choose not when configurig
+    with debconf priority low. So packages depending on the server when
+    installing can access it. Thanks Matt Zimmermann (Closes: #200277)
+  * Made mysql-server de-installable if the config and database files were
+    removed by hand before. Thanks to Ard van Breemen (Closes: #200304)
+
+ -- Christian Hammers <ch@debian.org>  Tue,  8 Jul 2003 22:30:40 +0200
+
+mysql-dfsg (4.0.13-2) unstable; urgency=low
+
+  * Added "nice" option for mysqld_safe to give mysqld a different priority.
+    Submitted to upstream as MySQL Bug #627. Closes: #192087
+  * Fixed possible unbound variable in init script. Closes: #194621
+  * Fixed french debconf translation (thx Christian Perrier) Closes: #194739
+  * Get rid of automake1.5 (for Eric Dorland). 
+
+ -- Christian Hammers <ch@debian.org>  Wed, 11 Jun 2003 18:58:32 +0200
+
+mysql-dfsg (4.0.13-1) unstable; urgency=medium
+
+  * New upstream version.
+    !!! Fixes a very bad natural join bug which justifies the urgency=medium.
+    !!! http://bugs.mysql.com/bug.php?id=291
+  * Fixed mysql_fix_privileges manpage (Frederic Briere) Closes: #191776
+  * preinst: "which" is more chatty normal executable than as builtin.
+    (Thanks to David B Harris). Closes: #188659
+
+ -- Christian Hammers <ch@debian.org>  Tue,  6 May 2003 22:03:45 +0200
+
+mysql-dfsg (4.0.12-3) unstable; urgency=medium
+
+  * Reincluded new way of creating my debian-sys-maint user from
+    an old release from experimental. Now works again with old
+    and new privilege table format. (Thanks to Vincent Danjean
+    for spotting the problem) Closes: #188201
+  * Reincluded hurd build dependency fix from 3.23 branch.
+    (Thanks to Robert Millan). Closes: #185929
+  * Fixed soname in libmysqlclient-dev.  Closes: #188160
+  * Remove /var/log/mysql/ when purging the package. Closes: #188064
+  * Removed /usr/share/doc/mysql/ from mysql-server. Closes: #188066
+  * Let group "adm" be able to read logfiles. Closes: #188067
+  * Do not call usermod on every upgrade. Closes: #188248
+    (Thanks to Philippe Troin for the last three)
+  * Fixed mysql-server.preinst so that it works on shells where 
+    which is a builtin, too. (Thanks to Erich Schubert) Closes: #181525
+
+ -- Christian Hammers <ch@debian.org>  Fri, 11 Apr 2003 11:32:45 +0200
+
+mysql-dfsg (4.0.12-2) unstable; urgency=low
+
+  *
+  * NEW MAJOR UPSTREAM RELEASE:
+  *
+    MySQL 4 has finally been declared as 'stable'. Hurray! Read changelogs.
+    Thanks to all testers, esp. Jose Luis Tallon, of the versions
+    that were in the "experimental" section before.
+  * Modified postinst script to run mysql_fix_privileges on every update.
+    IMPORTANT: Please report if this breaks anything, it is not supposed to.
+  * Wrote a SSL-MINI-HOWTO.txt!
+  * Added zlib1g-dev to libmysqlclient12-dev. Closes: 186656
+  * Changed section of libmysqlclient12-dev to libdevel.
+  * Added even more selfwritten manpages.
+  * Fixed typos.
+
+ -- Christian Hammers <ch@debian.org>  Sun,  6 Apr 2003 13:47:32 +0200
+
+mysql-dfsg (4.0.10.gamma-1) experimental; urgency=low
+
+  * New upstream version.
+  * They merged some of my patches from debian/patches. Whoa!
+  * This release should fix the error-logfile problem where mysqld
+    keeps the error.log open while logrotate removes it.
+
+ -- Christian Hammers <ch@debian.org>  Wed, 12 Feb 2003 22:39:48 +0100
+
+mysql-dfsg (4.0.9.gamma-1) experimental; urgency=low
+
+  * New upstream version. 
+  * Updated the GNU autoconf files to make building on MIPS work.
+    See bug #176829.
+
+ -- Christian Hammers <ch@debian.org>  Wed, 29 Jan 2003 22:07:44 +0100
+
+mysql-dfsg (4.0.8.gamma-1) experimental; urgency=low
+
+  * New upstream release. 
+  * Improved logging of init script. Closes: #174790
+  * We have now libmysqlclient.so.12 instead of .11.
+
+ -- Christian Hammers <ch@debian.org>  Thu,  9 Jan 2003 20:14:11 +0100
+
+mysql-dfsg (4.0.7.gamma-1) experimental; urgency=high
+
+  * SECURITY: This version fixes an upstream security release that is only
+              present in the 4.x branch which is currently only in the
+              experimental distribution and therefore will not get a DSA. 
+  * New upstream release.
+
+ -- Christian Hammers <ch@debian.org>  Sat, 28 Dec 2002 15:51:39 +0100
+
+mysql-dfsg (4.0.6.gamma-2) experimental; urgency=low
+
+  * Added --system to addgroup. Closes: #173866
+
+ -- Christian Hammers <ch@debian.org>  Sat, 21 Dec 2002 15:28:26 +0100
+
+mysql-dfsg (4.0.6.gamma-1) experimental; urgency=low
+
+  * New upstream version. Now Gamma!
+  * There are no longer changes to the .orig.tar.gz neccessary to make diff
+    happy. docs/ has still to be deleted, although, as it is non-free.
+  * Incorporated patches from unstable.
+  * Added mysqlmanager and a couple of other new scripts.
+  * Enabled libmysqld embedded server library.
+  * Enabled SSL and Virtual-IO support.
+    (CORBA based MySQL-FS seems to be not existing..)
+
+ -- Christian Hammers <ch@debian.org>  Fri, 20 Dec 2002 22:30:51 +0100
+
+mysql-dfsg (4.0.5a.beta-3) experimental; urgency=low
+
+  * Modified postinst to work with old and new mysql.user table format
+    and fixed spelling typo in postinst. Thanks to Roger Aich.
+  * Updated config.{guess,sub} to make the mipsel porters happy.
+    Thanks to Ryan Murray. Closes: #173553
+
+ -- Christian Hammers <ch@debian.org>  Wed, 18 Dec 2002 15:56:34 +0100
+
+mysql-dfsg (4.0.5a.beta-2) experimental; urgency=low
+
+  * Upstream removed option "--skip-gemini". So did I. Closes: 173142
+
+ -- Christian Hammers <ch@debian.org>  Tue, 17 Dec 2002 10:35:49 +0100
+
+mysql-dfsg (4.0.5a.beta-1) experimental; urgency=low
+
+  * First 4.x experimental package due to continuous user requests :-)
+    Please test and report!
+  * upstream: safe_mysqld has been renamed to mysqld_safe
+  * upstream: new library soname version libmysqlclient.so.11
+  * Renamed libmysqlclientXX-dev to libmysqlclient-dev as I don't plan to
+    support more than one development environment and this makes the 
+    dependencies easier.
+  * FIXME: Skipped parts of the debian/patches/alpha patch as the global.h 
+    is not existing.
+  * FIXME: How to get rid this? Old ltconfig patch already applied.
+    "lintian: binary-or-shlib-defines-rpath ./usr/bin/mysql /usr/lib/mysql"
+
+ -- Christian Hammers <ch@debian.org>  Sun,  1 Dec 2002 18:32:32 +0100
+
+mysql-dfsg (3.23.53-4) unstable; urgency=medium
+
+  * Fixed errno.h problem. Closes: #168533, #168535 
+
+ -- Christian Hammers <ch@debian.org>  Sun, 10 Nov 2002 18:32:08 +0100
+
+mysql-dfsg (3.23.53-3) unstable; urgency=medium
+
+  * Changed automake build-dep to unversioned automake1.4. Closes: #166391
+  * Fixed description. Closes: #167270
+    (Thanks to Soren Boll Overgaard)
+
+ -- Christian Hammers <ch@debian.org>  Tue,  5 Nov 2002 01:25:01 +0100
+ 
+mysql-dfsg (3.23.53-2) unstable; urgency=low
+
+  * Reverted user creation in init scripts. Closes: #166432
+    (Thanks to Birzan George Cristian) 
+
+ -- Christian Hammers <ch@debian.org>  Thu, 31 Oct 2002 15:36:25 +0100
+
+mysql-dfsg (3.23.53-1) unstable; urgency=low
+
+  * New upstream release. 
+
+ -- Christian Hammers <ch@debian.org>  Thu, 24 Oct 2002 23:04:16 +0200
+
+mysql-dfsg (3.23.52-3) unstable; urgency=low
+
+  * Substituted the first-install 'debian-sys-maint' user creation by
+    something ANSI SQL compliant. Closes: #163497
+    (Thanks to Karl Hammar)
+  * Tightend dependency to debhelper (>= 4.0.12) to be sure that
+    debconf-utils gets installed, too, as I use dh_installdebconf.
+  * Fixed upstream manpage bug in mysqldump.1. Closes: #159779
+    (Thanks to Colin Watson) 
+  * Added comment about MIN_WORD_LEN to mysql-server.README.Debian
+    (Thanks to Philipp Dreimann)
+  * Added a dependency for zlib1g-dev to libmysqlclient10-dev.
+    (Thanks to Jordi Mallach)
+
+ -- Christian Hammers <ch@debian.org>  Sun, 15 Sep 2002 17:14:44 +0200
+
+mysql-dfsg (3.23.52-2) unstable; urgency=low
+
+  * Fixed typo in preinst scripts.
+  * Removed bashism in init script.
+  * Fixed ambiguous debconf example. Closes: #158884
+
+ -- Christian Hammers <ch@debian.org>  Fri, 30 Aug 2002 00:51:29 +0200
+
+mysql-dfsg (3.23.52-1) unstable; urgency=low
+
+  * New upstream version. Closes: #157731
+  * Clearified the meaning of the debian-sys-maint special user in the
+    README.Debian file. Closes: #153702
+  * Wrote some words regarding the skip-networking in README.Debian.
+    Closes: #157038
+  * Added dependency to passwd. 
+  * Fixes typo and unnecessarily complication in is_mysql_alive().
+  * Added check for /etc/mysql/my.cnf in init script.
+
+ -- Christian Hammers <ch@debian.org>  Tue, 27 Aug 2002 01:53:32 +0200
+
+mysql-dfsg (3.23.51-4) unstable; urgency=low
+
+  * Added a compressed "nm mysqld" output to allow people to trace
+    core dumps with /usr/bin/resolve_stack_dump as suggested in the
+    INSTALL-SOURCE file. Thanks to atudor@labs.agilent.com for the hint.
+
+ -- Christian Hammers <ch@debian.org>  Wed, 24 Jul 2002 20:44:55 +0200
+
+mysql-dfsg (3.23.51-3) unstable; urgency=low
+
+  * Corrected copyright file: the MySQL client library is licenced under
+    the LGPL-2 not the GPL. From version 4.x it actually will be GPL this
+    is why parts of http://www.mysql.com/ already say so. Closes: #153591
+  * Corrected german translation.
+    Thanks to Roland Rosenfeld <roland@spinnaker.de>. Closes: #151903 
+
+ -- Christian Hammers <ch@debian.org>  Thu, 11 Jul 2002 20:32:28 +0200
+
+mysql-dfsg (3.23.51-2) unstable; urgency=low
+
+  * Improved NIS tolerance in preinst script. 
+
+ -- Christian Hammers <ch@debian.org>  Sun,  7 Jul 2002 04:43:28 +0200
+
+mysql-dfsg (3.23.51-1) unstable; urgency=medium
+
+  * New upstream version.
+  * I applied a patch that fixes a binary imcompatibility in
+    the shared libary libmysqlclient.so.10 between 3.23.50 and
+    some versions earlier. Upstream has been contacted and asked
+    for clarification. Closes: #149952
+  * Added support for NIS i.e. it shows a warning and fails if the
+    needed 'mysql' user does not exists but works if it does.
+    Closes: #143282, #147869
+  * Substituted $0 in init scripts by something really weird so that
+    "./S20mysql restart" works now, too. (BTW: S20? install file-rc!!!)
+    Closes: #148658
+  * Now postinst works even if /etc/init.d/mysql is removed. Closes: #151021
+  * Decided to leave "set +x" in postinst but wrote comment. Closes: #151022
+
+ -- Christian Hammers <ch@debian.org>  Sun,  7 Jul 2002 04:43:25 +0200
+
+mysql-dfsg (3.23.50-1) unstable; urgency=medium
+
+  * New upstream version.
+    Fixes a very annoying and important bug that lets all mysql programs
+    including perl scripts etc. segfault when using the read_default_group()
+    function. 3.23.50 is currently a pre-release and expected to be released
+    next week. I plan to propose it for woody as soon as its stability has
+    been proven. The following bug reports are all regarding this issue.
+    Closes: #144960, #145322, #136798, #138143,
+
+ -- Christian Hammers <ch@debian.org>  Sat, 18 May 2002 21:14:01 +0200
+
+mysql-dfsg (3.23.49x-1) unstable; urgency=low
+
+  * I had to split the package to seperate the manual as it is not GPL
+    like the rest of the software and docs but under a license that
+    e.g. forbids selling printed versions. 
+    .
+    The upstream authors were contacted a while ago but did not like to
+    change the situation.
+    .
+    The names of the resulting packages have not changed as the manual
+    already was in a seperate mysql-doc package due to it's size. 
+    The source packages are now splitted from one "mysql" to 
+    "mysql-dfsg" in main and "mysql-nonfree" in non-free.
+  * No code change! 
+    The "x" at the end of the version number ist just to be able to 
+    upload a new source package. ("a" was already taken by upstream 
+    for their binary upload correction)  
+
+ -- Christian Hammers <ch@debian.org>  Wed,  8 May 2002 02:01:41 +0200
+
+mysql (3.23.49-8) unstable; urgency=low
+
+  * Substituted $0 in init script to let e.g. "/etc# ./init.d/mysql restart"
+    works, too. Closes: #141555
+
+ -- Christian Hammers <ch@debian.org>  Sun,  7 Apr 2002 15:00:44 +0200
+
+mysql (3.23.49-7) unstable; urgency=low
+
+  * The Makefiles are totally broken for the --enable-local-infile
+    option. I now patched libmysql/libmysql.c#mysql_init() manually.
+    Closes: #138347 
+
+ -- Christian Hammers <ch@debian.org>  Fri, 29 Mar 2002 23:55:15 +0100
+
+mysql (3.23.49-6) unstable; urgency=low
+
+  * Moved mysqlcheck from server to client package. Closes: #139799
+  * Added manpage for mysqlhotcopy. Regarding: #87097 
+  * Added 'sharedscripts' directive to the logrotate script.
+  * Replaced grep by /usr/bin/getent to let the group/user checking work
+    on NIS/LDAP systems, too. Closes: #115677, #101529
+
+ -- Christian Hammers <ch@debian.org>  Fri, 22 Mar 2002 22:40:51 +0100
+
+mysql (3.23.49-5) unstable; urgency=low
+
+  * Added skip-innodb to default my.cnf.
+  * Enabled --enable-local-infile, it seems to be a new option that
+    defaults to disable a formerly enabled feaure. Closes: #137115
+
+ -- Christian Hammers <ch@debian.org>  Sat, 16 Mar 2002 00:29:10 +0100
+
+mysql (3.23.49-4) unstable; urgency=medium
+
+  * Recompiled against fixed libz.
+
+  * Enabled --enable-local-infile, it seems to be a new option that
+    defaults to disable a formerly enabled feaure. Closes: #137115
+  * Fixed README.compile_on_potato. Closes: #136529 
+  * Now a ext3 .jounal file in /var/lib/mysql does not prevent the
+    installation (happens when creating a jounal on an already mounted
+    partition). Closes: #137146
+
+ -- Christian Hammers <ch@debian.org>  Wed, 13 Mar 2002 13:34:24 +0100
+
+mysql (3.23.49-3) unstable; urgency=low
+
+  * Added Russian translation. Closes: #135846
+  * Fixed installation of .info documents. Closes: #135030
+
+ -- Christian Hammers <ch@debian.org>  Wed, 27 Feb 2002 23:36:35 +0100
+
+mysql (3.23.49-2) unstable; urgency=low
+
+  * Updated french translation and split template files. Closes: #134754 
+  * Fixed a small debian.cnf related bug in mysql-server.postinst.
+
+ -- Christian Hammers <ch@debian.org>  Tue, 19 Feb 2002 23:13:58 +0100
+
+mysql (3.23.49-1) unstable; urgency=low
+
+  * New upstream release.
+    (Mainly InnoDB related fixes)
+  * Exported a $HOME variable in the scripts so that /root/.my.cnf
+    is not read anymore. This will avoid problems when admins put 
+    only passwords but no usernames in this file. Closes: #132048
+  * New debian-sys-maint password algorithm (now ~96bit :-)) Closes: #133863
+  * Recreating debian-sys-main pwd on every install to help people who
+    accidently delete user or password files...
+  * Added /var/log/mysql so that user can put the binary logs in there as
+    mysql cannot write the .001 etc files itself in /var/log which is 
+    owned by root.
+
+ -- Christian Hammers <ch@debian.org>  Thu, 14 Feb 2002 22:17:45 +0100
+
+mysql (3.23.47-6) unstable; urgency=low
+
+  * Dropped a sentence about the new debian-sys-maint user in the
+    debconf note and updated the README.Debian.  Related: #132048
+  * Added more french translation. Closes: #132390 
+
+ -- Christian Hammers <ch@debian.org>  Wed,  6 Feb 2002 09:41:29 +0100
+
+mysql (3.23.47-5) unstable; urgency=low
+
+  * Fixed grammar error in template. Closes: #132238 
+  * Really fixed typo in logrotate script. Closes: #131711
+
+ -- Christian Hammers <ch@debian.org>  Tue,  5 Feb 2002 14:20:08 +0100
+
+mysql (3.23.47-4) unstable; urgency=medium
+
+  * Fixes typo in postinst that let init script fail. Closes: #131743
+  * Fixed bashism bug that failed on ash. Closes: #131697
+  * Fixed typo in logrotate script. Closes: #131711
+
+ -- Christian Hammers <ch@debian.org>  Thu, 31 Jan 2002 23:58:46 +0100
+
+mysql (3.23.47-3) unstable; urgency=low
+
+  * Added new Debian specific mysql user called 'debian-sys-maint' which
+    is used for pinging the server status, flushing the logs or shutting
+    down the server in maintenance scripts. The credentials of this user
+    are stored in the UID0-only readable file /etc/mysql/debian.cnf.
+    Closes: #129887, #130326, #99274
+  * Fixed unintended server startup at boottime. Closes: #122676, #130105
+  * New upstream fixes command line parsing bug: Closes: #128473
+  * Fixed manpage headers to let apropos work: Closes: #119122
+  * Added "status" options for /etc/init.d/mysql. Closes: #129020
+
+ -- Christian Hammers <ch@debian.org>  Sun, 27 Jan 2002 19:46:11 +0100
+
+mysql (3.23.47-2) unstable; urgency=low
+
+  * Enhanced init scripts by using mysqladmin instead of kill $pid.
+    Thanks to Aaron Brick. 
+
+ -- Christian Hammers <ch@debian.org>  Fri, 18 Jan 2002 01:42:23 +0100
+
+mysql (3.23.47-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated brazilian translation of debconf descriptions. Closes: #123332
+
+ -- Christian Hammers <ch@debian.org>  Sun,  6 Jan 2002 21:11:17 +0100
+
+mysql (3.23.46-3) unstable; urgency=low
+
+  * Fixed bug in postinst where a script was accidently called with
+    "bash -c <script> -IN_RPM" prevting the first argument to take effect
+    and then leading to failures on hosts with unresolvable hostnames.
+    Closes: #126147
+  * Small changes and comments in postinst. 
+
+ -- Christian Hammers <ch@debian.org>  Sat, 22 Dec 2001 14:03:02 +0100
+
+mysql (3.23.46-2) unstable; urgency=low
+
+  * Start/stop behaviour now configurable via debconf. Closes: #112174 
+
+ -- Christian Hammers <ch@debian.org>  Sun,  9 Dec 2001 21:38:54 +0100
+
+mysql (3.23.46-1) unstable; urgency=low
+
+  * New upstream release. 
+    Only few fixes, mainly innodb related. 
+
+ -- Christian Hammers <ch@debian.org>  Sun,  2 Dec 2001 03:08:48 +0100
+
+mysql (3.23.45-1) unstable; urgency=low
+
+  * New upstream version. 
+    Only few fixes, mainly innodb related. 
+  * Added debconf note regarding the skip-networking option.
+
+ -- Christian Hammers <ch@debian.org>  Sun, 25 Nov 2001 16:50:37 +0100
+
+mysql (3.23.44-2) unstable; urgency=low
+
+  * Finally removed debconf toggled "skip-networking" line add/remove 
+    code for /etc/mysql/my.cnf. I don't like editing a file that's tagged
+    as configuration file.
+    I disabled networking by default for security reasons. Better ideas?
+
+ -- Christian Hammers <ch@debian.org>  Fri, 16 Nov 2001 02:11:02 +0100
+
+mysql (3.23.44-1) unstable; urgency=low
+
+  * New upstream release.
+    - fixes replication bug (core dump)
+  * Made description better english :) Thanks to D. Welton. 
+
+ -- Christian Hammers <ch@debian.org>  Sun, 11 Nov 2001 15:44:07 +0100
+
+mysql (3.23.43-4) unstable; urgency=low
+
+  * Disabled statically linking. 
+
+ -- Christian Hammers <ch@debian.org>  Sat, 10 Nov 2001 03:15:56 +0100
+
+mysql (3.23.43-3) unstable; urgency=low
+
+  * Changed compiler settings after one user reported instabilities.
+    See #116631 for more information. 
+
+ -- Christian Hammers <ch@debian.org>  Tue, 30 Oct 2001 21:39:17 +0100
+
+mysql (3.23.43-2) unstable; urgency=low
+
+  * Patched sparc mutexes again. Closes: #113430 
+
+ -- Christian Hammers <ch@debian.org>  Sun,  7 Oct 2001 15:09:00 +0200
+
+mysql (3.23.43-1) unstable; urgency=low
+
+  * New upstream version.
+    - Fixed some unlikely(sic!) bugs and core dumps.
+    - Fixed a bug with BDB tables and UNIQUE columns that are NULL.
+    - [more minor bugs were fixed; see changelog]
+  * Adjusted build depends on libwrap0 for IA-64. Closes: #114582
+  * Added the mysqlcheck binary. Closes: #114490
+  * Fixed rules for arm architecture. Closes: #88186
+  * Renamed mysql_print_defaults to the original name my_print_defaults.
+    Isn't as descriptive but else I'd have to patch too much. Closes: #114492
+
+ -- Christian Hammers <ch@debian.org>  Fri,  5 Oct 2001 22:24:40 +0200
+
+mysql (3.23.42-2) unstable; urgency=low
+
+  * Applied patch for m68k compile. Closes: #112904 
+
+ -- Christian Hammers <ch@debian.org>  Sun, 23 Sep 2001 21:32:57 +0200
+
+mysql (3.23.42-1) unstable; urgency=low
+
+  * New upstream releae.
+    Fixes critical bug with InnoDB and large BLOBs. 
+
+ -- Christian Hammers <ch@debian.org>  Tue, 18 Sep 2001 22:25:47 +0200
+
+mysql (3.23.41-2) unstable; urgency=low
+
+  * Fixed shlibs.local problem. Closes: #111573 
+  * Replaced emacs by sensible-editor in mysqlbug.sh. Thanks Hans Ginzel.
+
+ -- Christian Hammers <ch@debian.org>  Sun,  9 Sep 2001 17:16:42 +0200
+
+mysql (3.23.41-1) unstable; urgency=low
+
+  * New upstream release
+  * Fixed build problem on ia64. Closes: #110624
+
+ -- Christian Hammers <ch@debian.org>  Tue, 14 Aug 2001 23:20:35 +0200
+
+mysql (3.23.40-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Christian Hammers <ch@debian.org>  Sun,  5 Aug 2001 19:46:18 +0200
+
+mysql (3.23.39-5) unstable; urgency=low
+
+  * Added debconf template for brazil. Closes: #106934, #106752 
+  * Tightened dependencies on debconf.
+  * Adjusted mysql.err permissions in logrotate script to 0600. Closes: #105672
+
+ -- Christian Hammers <ch@debian.org>  Mon, 30 Jul 2001 00:10:12 +0200
+
+mysql (3.23.39-4.1) unstable; urgency=low
+
+  * Maintainer-requested NMU.
+  * Fixing thread mutexes on Sparc and Alpha
+    (closes: Bug#101783)
+  * Added --enable-assembler for sparc.  This should
+    allow mysql on sparc to use assembler versions of
+    some string functions (read: should speed up a bit).
+
+ -- Christopher C. Chimelis <chris@debian.org>  Fri, 13 Jul 2001 15:09:30 -0400
+  
+mysql (3.23.39-4) unstable; urgency=low
+
+  * Porting fixes.
+
+ -- Christian Hammers <ch@debian.org>  Mon,  9 Jul 2001 17:56:54 +0200
+
+mysql (3.23.39-3.1) unstable; urgency=low
+
+  * NMU (for porting)
+  * Update config.sub and config.guess for hppa, sh & s390.
+  * Add --with-client-ldflags=-lstdc++ to configure line.  Closes: #100884
+
+ -- Matthew Wilcox <willy@debian.org>  Sun,  8 Jul 2001 19:26:59 -0600
+
+mysql (3.23.39-3) unstable; urgency=low
+
+  * Disabled berkeley-db on sparc again. Mutexes aren't working again :-( 
+
+ -- Christian Hammers <ch@debian.org>  Sat,  7 Jul 2001 18:30:08 +0200
+
+mysql (3.23.39-2) unstable; urgency=low
+
+  * Bugfixed the m68k mutex patch. Thanks to Michael Fedrowitz. Closes: #103145 
+  * Removed config.cache files in bdb/ and innobase/. Closes: #103143
+
+ -- Christian Hammers <ch@debian.org>  Wed,  4 Jul 2001 22:06:58 +0200
+
+mysql (3.23.39-1) unstable; urgency=low
+
+  * New upstream release. Minor bugfixes only. 
+
+ -- Christian Hammers <ch@debian.org>  Thu, 14 Jun 2001 13:53:03 +0200
+
+mysql (3.23.38-4) unstable; urgency=low
+
+  * Added logcheck files. Closes: #99131
+    (I can't let the usermod away since I don't know of an easy way to
+    retrive "passwd" information in a shell script considering that 
+    people use different storage methods like LDAP/NIS instead of passwd.)
+
+ -- Christian Hammers <ch@debian.org>  Fri,  8 Jun 2001 21:04:25 +0200
+
+mysql (3.23.38-3) unstable; urgency=low
+
+  * Explicit pointet to /root/.my.cnf to let /etc/init.d/mysql stop
+    work in sudo environments with $HOME!=/root work, too. Closes: #98324
+  * Removes empty /etc/mysql on purge. Closes: #98164
+
+ -- Christian Hammers <ch@debian.org>  Tue, 22 May 2001 10:13:06 +0200
+
+mysql (3.23.38-2) unstable; urgency=low
+
+  * Added depends to libdbd-mysql-perl for mysql-server. Closes: #94306
+
+ -- Christian Hammers <ch@debian.org>  Sat, 19 May 2001 19:43:26 +0200
+
+mysql (3.23.38-1) unstable; urgency=low
+
+  * New upstream release. 
+  * Added Build-Depends to procps. Closes: #96768
+
+ -- Christian Hammers <ch@debian.org>  Sun, 13 May 2001 17:30:15 +0200
+
+mysql (3.23.37-5) unstable; urgency=low
+
+  * Applied mutex patch for bdb support on m68k. 
+    Thanks to Michael Fedrowitz for the patch.
+
+ -- Christian Hammers <ch@debian.org>  Mon,  7 May 2001 12:30:40 +0200
+
+mysql (3.23.37-4) unstable; urgency=low
+
+  * Enable bdb support for m68k architecture.
+
+ -- Christian Hammers <ch@debian.org>  Sat,  5 May 2001 16:47:36 +0200
+
+mysql (3.23.37-3) unstable; urgency=low
+
+  * Added thread-safe client library. Thanks to Shane Wegner. Closes: #95441 
+
+ -- Christian Hammers <ch@debian.org>  Sat, 28 Apr 2001 09:45:00 -0400
+
+mysql (3.23.37-2) unstable; urgency=low
+
+  * Added sparc to the list of BDB supporting architectures after some
+    tests on vore.debian.org and mails with Ben Collons.
+
+ -- Christian Hammers <ch@debian.org>  Fri, 27 Apr 2001 09:30:09 -0400
+
+mysql (3.23.37-1) unstable; urgency=low
+
+  * New upstream version. 
+  * Added gemini table support.
+  * Does anybody know how to enable SSL?
+  * Fixed ARM compilation problem. Closes: #88186
+
+ -- Christian Hammers <ch@debian.org>  Sat, 21 Apr 2001 11:48:46 -0400
+
+mysql (3.23.36-2) unstable; urgency=low
+
+  * Added patch by Christopher C. Chimelis <chris@debian.org> to make
+    Berkeley db3 work again on Alpha architecture. Closes: #92787
+
+ -- Christian Hammers <ch@debian.org>  Tue,  3 Apr 2001 23:41:46 +0200
+
+mysql (3.23.36-1) unstable; urgency=high
+
+  * New upstream version.
+  * SECURITY FIX: One could place database tables outside the database
+    directory by using '..' in one of the mysql helper programs where the
+    table name was not checked correctly. This could lead to root compromise
+    if the server would be running as root else you could at least do bad
+    things as user mysql.
+  * upstream: Fixed bug when thread creation failed.
+  * upstream: Fixed problem in Innobase with non-latin1 charsets
+  * upstream: Fixed a core-dump bug when using very complex query with DISTINGT
+  * upstream: many others so called minor bugs...
+  * fixes bug in init script. Closes: #90257 
+    (this report was agains some older problem that has been fixed too in .33)
+
+ -- Christian Hammers <ch@debian.org>  Fri, 30 Mar 2001 02:55:12 +0200
+
+mysql (3.23.35-1) unstable; urgency=medium
+
+  * New upstream relase.
+  * Fixes problem in ORDER BY clause. People using 3.33.34 should upgrade!
+  * Includes innobase support.
+    (Hope this is not such a catastrophe like berkeley db...)
+
+ -- Christian Hammers <ch@debian.org>  Fri, 16 Mar 2001 23:30:30 +0100
+
+mysql (3.23.33-3) unstable; urgency=low
+
+  * Forgot #!/bin/sh at top of mysql-doc.postinst. Closes: #89801 
+
+ -- Christian Hammers <ch@vore.debian.org>  Thu, 15 Mar 2001 20:38:35 -0500
+
+mysql (3.23.33-2) unstable; urgency=low
+
+  * Added some missing scripts and manpages. Closes: #84068
+  * Added dependency to perl-5.6. Closes: #81942 
+  * Added french templates somewhen ago. Closes: #83790
+  * Added patch to get db3 working on Alpha. Closes: #86033
+    Thanks to Christopher C. Chimelis <chris@debian.org>. The patch
+    itself is included as debian/patch.alpha, too.
+
+ -- Christian Hammers <ch@debian.org>  Sun, 18 Feb 2001 06:40:40 +0100
+
+mysql (3.23.33-1) unstable; urgency=high
+
+  * Fixes two security bugs that allowes crashing the server and maybe
+    gaining the UID of the process that is linked against libmysqlclient!
+
+ -- Christian Hammers <ch@debian.org>  Tue, 13 Feb 2001 23:01:18 +0100
+
+mysql (3.23.32-1) unstable; urgency=low
+
+  * New upstream releaes.
+    (just minor fixes)
+  * Added french and german debconf templates. 
+
+ -- Christian Hammers <ch@debian.org>  Sun,  4 Feb 2001 17:27:07 +0100
+
+mysql (3.23.31-1) unstable; urgency=high
+
+  * New upstream release.
+  * Fixes security bug that was announced at BUGTRAQ mailing list.
+    (Disappointingly not by mysql.com!). And allows a buffer overflow
+    and therefore access to the mysql UID and all databases when already
+    having a valid account. Closes: #82881
+
+ -- Christian Hammers <ch@debian.org>  Sat, 20 Jan 2001 11:14:36 +0100
+
+mysql (3.23.30-2) unstable; urgency=low
+
+  * Recompiled with new dpkg-dev. 
+
+ -- Christian Hammers <ch@debian.org>  Sun, 14 Jan 2001 22:20:55 +0100
+
+mysql (3.23.30-1) unstable; urgency=low
+
+  * New upstream release. 
+
+ -- Christian Hammers <ch@debian.org>  Sun,  7 Jan 2001 22:10:18 +0100
+
+mysql (3.23.28-10) testing unstable; urgency=low
+
+  * I must upload to "testing" to get it into woody, right?! 
+
+ -- Christian Hammers <ch@debian.org>  Fri, 29 Dec 2000 14:43:57 +0100
+
+mysql (3.23.28-9) unstable; urgency=low
+
+  * Made it a replacement for libmysqlclient9. 
+
+ -- Christian Hammers <ch@westend.com>  Mon, 25 Dec 2000 19:15:04 +0100
+
+mysql (3.23.28-8) unstable; urgency=low
+
+  * Applied patch from a user to get the skip-networking option working!
+    Approved from a mysql employee but please test anyways.
+    This finally: Closes: #79672, #78634, #79660, #79658
+
+ -- Christian Hammers <ch@debian.org>  Sat, 16 Dec 2000 14:01:36 +0100
+
+mysql (3.23.28-6) unstable; urgency=medium
+
+  * Fixed error in postinst. Closes: #79392, #79400, #79451, #79550
+  * Added .info files again on user request. Closes: #78988, #75737 
+
+ -- Christian Hammers <ch@debian.org>  Wed, 13 Dec 2000 21:18:24 +0100
+
+mysql (3.23.28-5) unstable; urgency=low
+
+  * Fixed a stupid bug in mysql-server.postinst regarding the 
+    configuration of skip-networking. Closes: #78639, 78634
+  * Used patched bdb which hopefully enables mutexes on Alpha. Closes: #78197
+  * Added dependency to adduser. Closes: #76798
+
+ -- Christian Hammers <ch@debian.org>  Sun, 10 Dec 2000 16:55:48 +0100
+
+mysql (3.23.28-4) unstable; urgency=low
+
+  [never uploaded]
+  * Fixed a stupid bug in mysql-server.postinst regarding the 
+    configuration of skip-networking. Closes: #78639, 78634
+  * Used patched bdb which hopefully enables mutexes on Alpha. Closes: #78197
+
+ -- Christian Hammers <ch@debian.org>  Sun,  3 Dec 2000 17:49:44 +0100
+
+mysql (3.23.28-3) unstable; urgency=low
+
+  * This time really fixed m68k build error. Closes: #78235 
+
+ -- Christian Hammers <ch@debian.org>  Sun,  3 Dec 2000 15:02:55 +0100
+
+mysql (3.23.28-2) unstable; urgency=low
+
+  * Adjusted rules file to make it buildable on m86k. Closes: #78235 
+
+ -- Christian Hammers <ch@debian.org>  Fri,  1 Dec 2000 20:07:26 +0100
+
+mysql (3.23.28-1) unstable; urgency=low
+
+  * New upstream vesrion. Now gamma! 
+  * Changed umask of mysql.log making it o-rw
+  * Disabled listening on network reachable TCP ports by default due to
+    security considerations.
+
+ -- Christian Hammers <ch@debian.org>  Thu, 23 Nov 2000 20:12:50 +0100
+
+mysql (3.23.27-1) unstable; urgency=low
+
+  * New upstream version.
+  * Closes: #75711
+
+ -- Christian Hammers <ch@debian.org>  Sun, 29 Oct 2000 14:29:51 +0100
+
+mysql (3.23.25-4) unstable; urgency=low
+
+  * Recompiled to get rid of the dependency for zlib1 (libc5).
+    Closes: #74952, #74939
+
+ -- Christian Hammers <ch@debian.org>  Tue, 17 Oct 2000 14:34:52 +0200
+
+mysql (3.23.25-3.1) unstable; urgency=low
+
+  * Maintainer-approved NMU.
+  * Includes patch to fix and enable db3 support on Alpha.
+  * Enable support for thread mutexes in db3 on sparc
+    (it works after all, according to Ben Collins)
+  * Removed atomic_ functions for Alpha since they are no
+    longer supported in the current glibc in woody.
+  * Cleaned up rules file a bit.
+
+ -- Christopher C. Chimelis <chris@debian.org>  Sat, 14 Oct 2000 04:22:02 -0400
+
+mysql (3.23.25-3) unstable; urgency=low
+
+  * Upstream decided not to include my_config.h,my_dir.h into the installed
+    header files. As this file contains at least informative material
+    and more important is checked by several autoconf scripts I
+    included it by hand again.
+  * Made building of berkeley db conditional to architecture until
+    I get response whether it works on sparc/alpha now.
+
+ -- Christian Hammers <ch@debian.org>  Wed, 11 Oct 2000 23:58:38 +0200
+
+mysql (3.23.25-2) unstable; urgency=medium
+
+  * Last build went terrible wrong.. Here's the changelog again:
+  * New upstream release.
+  * Shared library version was raised from 9 to 10.
+    Maintainers of packets using libmysqlclient9 must recompile!
+
+ -- Christian Hammers <ch@debian.org>  Wed, 11 Oct 2000 01:16:34 +0200
+
+mysql (3.23.25-1) unstable; urgency=low
+
+  * New upstream release.
+  * Shared library version was raised from 9 to 10.
+    Maintainers of packets using libmysqlclient9 must recompile!
+
+ -- Christian Hammers <ch@debian.org>  Sat,  7 Oct 2000 18:21:51 +0200
+
+mysql (3.23.24-2) unstable; urgency=low
+
+  * Applied upstream patch regarding quoting of mysqldump.
+  * Updated to db-3.1.17-patched (from www.mysql.com)
+
+ -- Christian Hammers <ch@debian.org>  Fri, 15 Sep 2000 18:58:14 +0200
+
+mysql (3.23.24-1) unstable; urgency=medium
+
+  * New upstream version with some important fixes.
+  * upstream: Last version corrupted CHAR/VARCHAR/BLOB columns with 
+    chararacters above ASCII 128! Check and repair all these tables. 
+  * upstream: fixed small memory leak
+  * upstream: fixed problem with BDB tables and reading on unique
+              (not primary) key.
+  * Disabled BDB tables on all architectures except i386 due to many
+    bug reports (see #71206).  -> HELP APPRECIATED <-
+
+ -- Christian Hammers <ch@debian.org>  Tue, 12 Sep 2000 06:18:54 +0200
+
+mysql (3.23.23-2) unstable; urgency=low
+
+  * Strange... "nohup nice" gives differnet results and let therefore
+    crash safe_mysqld when starting up. Apparently it seems to be
+    kernel dependand. Now fixed by another conditional. This
+    more or less Closes: #71057
+  * This bug was reported (accidently) in the following identical reports:
+    Closes: #71253, #71254, #71257, #71258, #71259, #71262, #71266, #71267
+    Closes: #71268, #71271, #71275, #71277, #71278, #71283, #71291
+
+ -- Christian Hammers <ch@debian.org>  Sat,  9 Sep 2000 20:13:50 +0200
+
+mysql (3.23.23-1) unstable; urgency=low
+
+  * New upstream version. Feature freeze!
+  * Fixed source build problem. Closes: #70707 
+
+ -- Christian Hammers <ch@debian.org>  Thu, 31 Aug 2000 10:03:35 +0200
+
+mysql (3.23.22b-1) unstable; urgency=low
+
+  * Reorganised docs. Now we have several small html files instead of
+    one with almost 2M. Closes: 70431
+  * Removed pdf,ps and html from source package shrinked it about 3M
+    (therefore the .orig.tar.gz is called 3.23.22b!)
+  * -> Last upload failed due to problems at the FTP site so here the 
+    -> changelog again:
+  * Fixes memory leak, commit/rollback, reserved word "MASTER" ...
+  * Added Berkeley DB3 source code to the Debian diff to be able to
+    compile with bdb transaction support! (Great feature!!!)
+  * Upstream correction of error message. Closes: #68939
+  * Upstream correction of reserved word "source".
+
+ -- Christian Hammers <ch@debian.org>  Fri, 25 Aug 2000 19:21:24 +0200
+
+mysql (3.23.22-1) unstable; urgency=low
+
+  * New upstream version.
+  * Fixes memory leak, commit/rollback, reserved word "MASTER" ...
+  * Added Berkeley DB3 source code to the Debian diff to be able to
+    compile with bdb transaction support! (Great feature!!!)
+  * Upstream correction of error message. Closes: #68939
+  * Upstream correction of reserved word "source".
+
+ -- Christian Hammers <ch@debian.org>  Sun, 20 Aug 2000 09:05:48 +0200
+
+mysql (3.23.21-4) unstable; urgency=low
+
+  * Added libmysqlclient9.shlibs and shlibs.local file. Closes: #68669
+
+ -- Christian Hammers <ch@debian.org>  Wed,  9 Aug 2000 14:22:49 +0200
+
+mysql (3.23.21-3) unstable; urgency=low
+
+  * Let "/etc/init.d/mysql restart" wait until the pid has been
+    removed before (but max 6 seconds) before restarting. Closes: 65070
+  * Added build dependencies. 
+
+ -- Christian Hammers <ch@debian.org>  Sun, 30 Jul 2000 16:16:48 +0200
+
+mysql (3.23.21-2) unstable; urgency=low
+
+  * Typo in safe_mysqld prevents start.
+
+ -- Christian Hammers <ch@debian.org>  Sat, 29 Jul 2000 13:40:50 +0200
+
+mysql (3.23.21-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Christian Hammers <ch@debian.org>  Mon, 10 Jul 2000 22:54:17 +0200
+
+mysql (3.23.20-1) unstable; urgency=low
+
+  * MySQL finally got fully GPL'ed! This means that there is only one
+    souce package and only main/* binary packages from now on.
+  * Fixed symlink in libmysqlclient9-dev. Closes: 66452
+  * Apart from that the usual bug fixes for BETA software.
+
+ -- Christian Hammers <ch@debian.org>  Mon,  3 Jul 2000 20:05:38 +0200
+
+mysql-pd (3.23.16-1) unstable; urgency=low
+
+  * New upstream release. (Actually a brand new upstream branch!)
+  * Added mysql-common package as the configuration file can be used
+    by all versions of the mysql client library.
+    Did some more package reorganisations, too. See README.Debian file!
+  * libmysqlclient.so raised major version from 6 to 9.
+  * Minor beautifications in the debian/ directory.
+
+ -- Christian Hammers <ch@debian.org>  Sat, 27 May 2000 20:30:01 +0200
+
+mysql-gpl (3.22.30-2) frozen unstable; urgency=low
+
+  * Fixed path in libmysqlclient.la. Closes: #58875 
+
+ -- Christian Hammers <ch@debian.org>  Sat, 25 Jan 2020 20:27:29 -0700
+
+mysql-gpl (3.22.30-1) frozen unstable; urgency=low
+
+  * A small change in the libmysqlclient6 causes mysqladmin to print an
+    shared library error when displaying the defaults. Everything else
+    works fine so this error wasn't detected untill now. Closes: #58033
+  * TcX released a new MySQL version that includes another security patch,
+    this time against mysqlaccess. The author told me that it would be 
+    fine if I just included the new .c in this source since I don't want
+    go to 3.22.32 in frozen.
+  * ->Release Manager: Although the version number increased there is
+    no new coded except for the shared library. The rest is the same
+    as in mysql-server and mysql-client.
+
+ -- Christian Hammers <ch@debian.org>  Tue, 15 Feb 2000 23:26:54 +0100
+
+mysql-gpl (3.22.29-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Christian Hammers <ch@debian.org>  Thu,  6 Jan 2000 20:37:23 +0100
+
+mysql-gpl (3.22.27a-3) unstable; urgency=low
+
+  * Use system readline instead of bundled version. Closes: #50069 
+    Any objections ?
+
+ -- Christian Hammers <ch@debian.org>  Sun, 14 Nov 1999 18:09:48 +0100
+
+mysql-gpl (3.22.27a-2) unstable; urgency=low
+
+  * Now building mysql-gpl-doc in binary-indep. 
+
+ -- Christian Hammers <ch@debian.org>  Sat, 23 Oct 1999 04:22:36 +0200
+
+mysql-gpl (3.22.27a-1) unstable; urgency=low
+
+  * Adjusted version number to allow new orig.tar.gz.
+    The old seems broken :-( People reported compilation problems.
+  * Changed mysql-gpl-doc to "Architecture: all". 
+
+ -- Christian Hammers <ch@debian.org>  Sun, 17 Oct 1999 13:01:35 +0200
+
+mysql-gpl (3.22.27-1) unstable; urgency=low
+
+  * New upstream release. Fixes charset problem.
+
+ -- Christian Hammers <ch@debian.org>  Mon, 11 Oct 1999 18:01:40 +0200
+
+mysql-gpl (3.22.26a-1) unstable; urgency=low
+
+  * New upstream version. Just some small bug fixes.
+  * FHS compliance.
+
+ -- Christian Hammers <ch@debian.org>  Sun,  3 Oct 1999 10:16:14 +0200
+
+mysql-gpl (3.22.25-2) unstable; urgency=low
+
+  * Added conflict to all old mysql-dev packages. (fixes: #42966) 
+
+ -- Christian Hammers <ch@debian.org>  Sun, 15 Aug 1999 11:35:46 +0200
+
+mysql-gpl (3.22.25-1) unstable; urgency=low
+
+  * New upstream version. (We are waiting for 3.23.x !)
+  * Fixes some upstream small bugs.
+
+ -- Christian Hammers <ch@debian.org>  Sun, 18 Jul 1999 22:02:06 +0200
+
+mysql-gpl (3.22.23b-4) unstable; urgency=low
+
+  * Rebuild for new perl. 
+
+ -- Christian Hammers <ch@debian.org>  Thu,  8 Jul 1999 01:09:57 +0200
+
+mysql-gpl (3.22.23b-3) unstable; urgency=low
+
+  * libmysqlclient had the wrong socket path.
+
+ -- Christian Hammers <ch@debian.org>  Sun, 03 Jul 1999 23:13:30 +0200
+
+mysql-gpl (3.22.23b-2) unstable; urgency=low
+
+  * Missed one replace tag to an very old version of mysql-devel.
+
+ -- Christian Hammers <ch@debian.org>  Sun, 27 Jun 1999 19:13:30 +0200
+
+mysql-gpl (3.22.23b-1) unstable; urgency=low
+
+  * New upstream minor version.
+  * Cleaned up the dependencies a bit.
+
+ -- Christian Hammers <ch@debian.org>  Sun, 27 Jun 1999 19:13:30 +0200
+
+mysql-gpl (3.22.22-1) unstable; urgency=low
+
+  * New upstream version. (closes Bug#36493,37340)
+  * New maintainer upload.
+  * Package reorganisation: We prepare for the GPL'ed server which will
+  *  be released soon and make the structure more clear to the user.
+
+ -- Christian Hammers <ch@debian.org>  Mon,  3 May 1999 20:43:41 +0200
+
+mysql (3.22.21-1) unstable; urgency=low
+
+  * Never released. TcX was too fast :-)
+
+ -- Christian Hammers <ch@debian.org>  Tue, 20 Apr 1999 17:22:04 +0200
+
+mysql-freebits (3.21.33b-3) unstable; urgency=low
+
+  * Recompile with libncurses
+
+ -- Scott Hanson <shanson@debian.org>  Sat, 31 Oct 1998 15:04:39 +0100
+
+mysql-freebits (3.21.33b-2) unstable; urgency=low
+
+  * Recompile with libstdc++2.9 (fixes #27792)
+
+ -- Scott Hanson <shanson@debian.org>  Mon, 12 Oct 1998 18:47:25 +0200
+
+mysql-freebits (3.21.33b-1) unstable; urgency=low
+
+  * New upstream version (probably the last for 3.21)
+
+ -- Scott Hanson <shanson@debian.org>  Tue,  8 Sep 1998 18:59:37 +0200
+
+mysql-freebits (3.21.33-4) unstable; urgency=low
+
+  * Separate out non-free source files, move mysql-base, mysql-dev, and
+  *  mysql-doc to main distribution
+  * Locale files /usr/share/mysql/ now in server, not base; therefore...
+  * Add conflict to mysql-server <=3.21.33-3
+
+ -- Scott Hanson <shanson@debian.org>  Fri, 31 Jul 1998 19:16:08 +0200
+
+mysql (3.21.33-3) unstable; urgency=low
+
+  * Release to unstable with moved socket (fixes #24574)
+  * Add conflict to old libdbd-mysql-perl package
+
+ -- Scott Hanson <shanson@debian.org>  Wed, 22 Jul 1998 22:17:43 +0200
+
+mysql (3.21.33-2) experimental; urgency=low
+
+  * Move socket from /tmp to /var/run (see #24574) 
+  * Release to experimental, since this breaks everything statically
+  *  linked to libmysqlclient!
+
+ -- Scott Hanson <shanson@debian.org>  Wed, 15 Jul 1998 19:37:01 +0200
+
+mysql (3.21.33-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Scott Hanson <shanson@debian.org>  Sun, 12 Jul 1998 08:18:18 +0200
+
+mysql (3.21.32a-1) unstable; urgency=low
+
+  * New upstream release 
+  * Lintian bugs: ldconfig, missing manpage, call to perl5
+  * Lintian bug shlib-with-non-pic-code _not_ yet fixed 
+
+ -- Scott Hanson <shanson@debian.org>  Sat,  4 Jul 1998 07:57:13 +0200
+
+mysql (3.21.31-1) unstable frozen; urgency=low
+
+  * New upstream release for hamm and slink (bug fixes only)
+  * Fix unsecure use of temp file in mysqlbug (fixes #23606) 
+  * Added brief licensing information to control file
+
+ -- Scott Hanson <shanson@debian.org>  Tue, 16 Jun 1998 10:52:44 +0200
+
+mysql (3.21.30-3) unstable; urgency=low
+
+  * Restore missing shared library dependencies for mysql-server
+
+ -- Scott Hanson <shanson@debian.org>  Mon, 15 Jun 1998 07:51:58 +0200
+
+mysql (3.21.30-2) unstable; urgency=low
+
+  * Simplify debian/rules (fixes #17662)
+  * Edit manual.texi to add "Debian notes" to documentation
+  * Add note about passwords on command line (fixes #16471)
+  * Add note about getting privleges for users (fixes #22891)
+  * Correct "Possible license changes" heading (fixes #22711)
+  * Add uninstalled header files to /usr/doc/mysql-dev/examples (fixes #22627)
+  * Add udf_example.cc to /usr/doc/mysql-dev/examples (fixes #22710)
+
+ -- Scott Hanson <shanson@debian.org>  Sun,  7 Jun 1998 13:05:37 +0200
+
+mysql (3.21.30-1) unstable; urgency=low
+
+  * Stable upstream release
+
+ -- Scott Hanson <shanson@debian.org>  Tue, 12 May 1998 22:13:25 +0200
+
+mysql (3.21.29gamma-1) unstable; urgency=low
+
+  * New upstream release
+  * Do not create 'mysql' subdirectory for libs and headers (fixes #19020)
+  * Remove 'CXX=gcc' flag from configure (g++ now standard)
+      
+ -- Scott Hanson <shanson@debian.org>  Sun, 12 Apr 1998 18:38:03 +0200
+
+mysql (3.21.28gamma-1) unstable; urgency=low
+
+  * New upstream release
+  * Unstable-only release; hamm stays at 3.21.25 for now
+
+ -- Scott Hanson <shanson@debian.org>  Thu,  2 Apr 1998 21:33:51 +0200
+
+mysql (3.21.25gamma-3) unstable frozen; urgency=low
+
+  * Have mysql-base suggest perl >= 5.004 for mysqlaccess (fixes #19593)
+  * Fix shlibs to refer to mysql-base rather than the no-longer-existant mysql
+
+ -- Scott Hanson <shanson@debian.org>  Thu, 26 Mar 1998 18:22:59 +0100
+
+mysql (3.21.25gamma-2) unstable; urgency=low
+
+  * Restore libmysqlclient.so symlink to mysql-dev (fixes #19036)
+
+ -- Scott Hanson <shanson@debian.org>  Sun,  8 Mar 1998 10:46:43 +0100
+
+mysql (3.21.25gamma-1) unstable; urgency=low
+
+  * Check if running as root in init.d script (fixes #18577)
+  * New upstream release
+
+ -- Scott Hanson <shanson@debian.org>  Fri, 27 Feb 1998 20:01:30 +0100
+
+mysql (3.21.24gamma-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Scott Hanson <shanson@debian.org>  Mon, 23 Feb 1998 08:14:17 +0100
+
+mysql (3.21.23beta-3) unstable; urgency=low
+
+  * Squashed errors found by lintian
+
+ -- Scott Hanson <shanson@debian.org>  Tue, 17 Feb 1998 20:19:01 +0100
+
+mysql (3.21.23beta-2) unstable; urgency=low
+
+  * Fixed overlaps with old mysql package (fixes #17843)
+
+ -- Scott Hanson <shanson@debian.org>  Thu,  5 Feb 1998 22:55:00 +0100
+
+mysql (3.21.23beta-1) unstable; urgency=low
+
+  * New upstream release
+  * Fix include lines in mysql.h (fixes #17827)
+  * Move /usr/include/mysql to mysql-dev
+
+ -- Scott Hanson <shanson@debian.org>  Wed,  4 Feb 1998 19:59:14 +0100
+
+mysql (3.21.22beta-3) unstable; urgency=low
+
+  * Correct descriptions in control file (fixes #17698)
+  * Clean up output of shutdown script
+
+ -- Scott Hanson <shanson@debian.org>  Sat, 31 Jan 1998 19:04:29 +0100
+
+mysql (3.21.22beta-2) unstable; urgency=low
+
+  * Split out mysql-dev and mysql-bench subpackages
+
+ -- Scott Hanson <shanson@debian.org>  Wed, 28 Jan 1998 19:52:27 +0100
+
+mysql (3.21.22beta-1) unstable; urgency=low
+
+  * New upstream release 
+  
+ -- Scott Hanson <shanson@debian.org>  Wed, 28 Jan 1998 18:59:09 +0100
+
+mysql (3.21.21a.beta-2) unstable; urgency=low
+
+  * Compile with libpthreads from libc6-dev_2.0.6-3 rather than statically 
+    linking to patched libpthreads (see changes to 3.20.29-2)
+  
+ -- Scott Hanson <shanson@debian.org>  Sun, 25 Jan 1998 13:17:15 +0100
+
+mysql (3.21.21a.beta-1) unstable; urgency=low
+
+  * Put initial database, mysql_install_db, safe_mysqld, isamlog and 
+    isamchk in mysql-server 	
+  * Correct upstream release number so source packages are correctly built
+
+ -- Scott Hanson <shanson@debian.org>  Mon, 19 Jan 1998 07:52:48 +0100
+
+mysql (3.21.21.beta-1) unstable; urgency=low
+
+  * Use debhelper where possible in rules
+  * Split binary packages into mysql-base, mysql-client, mysql-doc	
+  * New upstream release
+
+ -- Scott Hanson <shanson@debian.org>  Thu, 15 Jan 1998 08:12:17 +0100
+
+mysql (3.21.19.beta-1) unstable; urgency=low
+
+  * Offer to set root password in mysql_install_db
+  * Kill `pidof mysqld` on shutdown rather than use mysqladmin
+  * New upstream version
+
+ -- Scott Hanson <shanson@debian.org>  Fri,  9 Jan 1998 20:06:35 +0100
+
+mysql (3.21.17a.beta-2) unstable; urgency=low
+
+  * Remove perl stuff (it's going back into libdbd-mysql-perl)
+  * Remove conflict with libdbd-mysql-perl
+  * Do not compress *html files (fixes #16314)
+
+ -- Scott Hanson <shanson@debian.org>  Tue, 30 Dec 1997 07:34:20 +0100
+
+mysql (3.21.17a.beta-1) unstable; urgency=low
+
+  * Add conflict to libdbd-mysql-perl
+  * Use --pid-file option to place pid file in /var/run rather than patching 
+  * Add install-info to postinst and postrm
+  * Add filename to message shown by mysql_install_db (fixes #16621)
+  * New upstream version
+
+ -- Scott Hanson <shanson@debian.org>  Sun, 21 Dec 1997 19:41:45 +0100
+
+mysql (3.20.32a-5) unstable; urgency=low
+
+  * Move mysqld to /usr/lib/mysql, per policy discussion
+  * Adjust makefiles so perl libs get installed 
+
+ -- Scott Hanson <shanson@debian.org>  Wed,  3 Dec 1997 22:37:45 +0100
+
+mysql (3.20.32a-4) unstable; urgency=low
+
+  * Move mysqld to /usr/sbin to comply with FSSTND
+
+ -- Scott Hanson <shanson@debian.org>  Mon,  3 Nov 1997 20:12:29 +0100
+
+mysql (3.20.32a-3) unstable; urgency=low
+
+  * Comment out tests in mysql_install_db... for real this time!
+
+ -- Scott Hanson <shanson@debian.org>  Mon,  3 Nov 1997 07:32:53 +0100
+
+mysql (3.20.32a-2) unstable; urgency=low
+
+  * Comment out tests in mysql_install_db (fixes #14304)
+
+ -- Scott Hanson <shanson@debian.org>  Sat,  1 Nov 1997 18:45:25 +0100
+
+mysql (3.20.32a-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Scott Hanson <shanson@debian.org>  Wed, 29 Oct 1997 07:11:42 +0100
+
+mysql (3.20.29-2) unstable; urgency=low
+ 
+  * New maintainer
+  * Statically link mysqld to patched glibc-2.0.5 libpthread 
+    (works around #13586; see README.debian.glibc-2.0.5)
+  * Conflict with libpthread0 (fixes #13448)
+  * Don't link libg++, avoiding problems with glibc libpthread 
+
+ -- Scott Hanson <shanson@debian.org>  Thu, 16 Oct 1997 19:25:23 +0200
+
+mysql (3.20.29-1) unstable; urgency=low
+
+  * New upstream version
+  * Recompiled with libc6
+  * Include mysql-faq_toc.html (fixes #10885)
+  * Reworked /etc/init.d/mysql script (thanks to Heiko)
+  * Remove file /usr/lib/libmysqlclient.so.4 when package is removed.
+  * Use absolute path specification for conffile
+  * Use /usr/bin/perl instead of /bin/perl (fixes #10654)
+  * Do not depend on mysql (fixes #12427)
+  * Installed missing manpage for Mysql perl module
+  * Don't use debstd anymore
+  * Pristine source
+  * Set section to `non-free/devel'
+  * Upgraded to standards version 2.3.0.0
+
+ -- Christian Schwarz <schwarz@debian.org>  Fri, 12 Sep 1997 02:12:58 +0200
+
+mysql (3.20.16beta-2) unstable; urgency=low
+
+  * Uses /usr/bin/perl instead of /bin/perl (fixes bug #9731)
+  * Don't run mysqld with --log option
+  * Don't install regex manual pages
+  * Suggest package mysql-manual
+  * Fixed typo in changelog
+  * Upgrade to policy 2.1.3.2
+
+ -- Christian Schwarz <schwarz@debian.org>  Sun, 11 May 1997 14:19:26 +0200
+
+mysql (3.20.16beta-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Christian Schwarz <schwarz@debian.org>  Sat, 12 Apr 1997 13:51:28 +0200
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.logcheck.ignore.server
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.logcheck.ignore.server
@@ -0,0 +1,11 @@
+/etc/init.d/mysql\[[0-9]+\]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists\!$
+/etc/init.d/mysql\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$
+/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$
+mysqld\[[0-9]+\]: $
+mysqld\[[0-9]+\]: /usr/sbin/mysqld: ready for connections\.$
+mysqld\[[0-9]+\]: .*/usr/sbin/mysqld: Shutdown Complete$
+mysqld\[[0-9]+\]: Version: '4.0.20-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306$
+mysqld\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$
+mysqld_safe\[[0-9]+\]: started$
+usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$
+usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.mysql-server.logrotate
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.mysql-server.logrotate
@@ -0,0 +1,33 @@
+# - I put everything in one block and added sharedscripts, so that mysql gets 
+#   flush-logs'd only once.
+#   Else the binary logs would automatically increase by n times every day.
+# - The error log is obsolete, messages go to syslog now.
+/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql.err /var/log/mysql/mysql.err /var/log/mysql/mysql-slow.log {
+	daily
+	rotate 7
+	missingok
+	create 640 mysql adm
+	compress
+	sharedscripts
+	postrotate
+		test -x /usr/bin/mysqladmin || exit 0
+
+		# If this fails, check debian.conf! 
+		export HOME=/etc/mysql/my.cnf
+		MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
+		if [ -z "`$MYADMIN ping 2>/dev/null`" ]; then
+		  # Really no mysqld or rather a missing debian-sys-maint user?
+		  # If this occurs and is not a error please report a bug.
+		  if ps cax | grep -q mysqld; then
+ 		    exit 1
+		  fi 
+		else
+		  $MYADMIN flush-logs
+		fi
+		errlogs=`ls /var/log/mysql.err* /var/log/mysql/mysql.err* 2>/dev/null`
+		if [ -n "$errlogs" ]; then 
+		  chown root:adm $errlogs
+		  chmod 640 $errlogs
+		fi
+	endscript
+}
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14.postinst
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14.postinst
@@ -0,0 +1,12 @@
+#!/bin/bash -e
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+# vim: ts=4
+
+
--- mysql-dfsg-4.1-4.1.11a.orig/debian/copyright
+++ mysql-dfsg-4.1-4.1.11a/debian/copyright
@@ -0,0 +1,305 @@
+The Debian package of MySQL was first debianzed on 1997-04-12 by Christian
+Schwarz <schwarz@debian.org> and ist maintained since 1999-04-20 by 
+Christian Hammers <ch@debian.org>.
+
+It can be downloaded from http://www.mysql.com/
+
+Copyright:
+
+There are quite a few different copyrights on the various parts of the
+MySQL distribution and http://www.mysql.com/ sometimes does not say which
+version is referred to :-(
+
+Below is a snapshot of the licenses currently used, if you are interested,
+please visit the http://www.mysql.com/ for the latest version!
+
+The manual had to be separated as it is not free in the sense of the
+Debian Free Software Guidelines (DFSG). 
+In spite of the fact that it is available as mysql-doc*.deb package 
+in our non-free archive and still actively maintained it is no longer
+considered as formal part of the Debian distribution!
+
+The Berkeley DB part has it's own license, it's at the bottom.
+
+You can find the GPL and LGPL licences in /usr/share/common-licenses/.
+
+-------------------------------------------------------------------------
+http://dev.mysql.com/doc/mysql/en/Copyright.html as of 2004-08-06:
+
+1.4.2 Copyrights and Licenses Used by MySQL
+
+   MySQL AB owns the copyright to the MySQL source code, the MySQL logos
+   and (registered) trademarks, and this manual. See section [45]1.3
+   Overview of MySQL AB. Several different licenses are relevant to the
+   MySQL distribution:
+    1. All the MySQL-specific source in the server, the mysqlclient
+       library and the client, as well as the GNU readline library, are
+       covered by the GNU General Public License. See section [46]G GNU
+       General Public License. The text of this license can be found as
+       the file `COPYING' in MySQL distributions.
+    2. The GNU getopt library is covered by the GNU Lesser General Public
+       License. See [47]http://www.fsf.org/licenses/.
+    3. Some parts of the source (the regexp library) are covered by a
+       Berkeley-style copyright.
+    4. Older versions of MySQL (3.22 and earlier) are subject to a
+       stricter license
+       ([48]http://www.mysql.com/products/licensing/mypl.html). See the
+       documentation of the specific version for information.
+    5. The MySQL Reference Manual is not distributed under a GPL-style
+       license. Use of the manual is subject to the following terms:
+          + Conversion to other formats is allowed, but the actual
+            content may not be altered or edited in any way.
+          + You may create a printed copy for your own personal use.
+          + For all other uses, such as selling printed copies or using
+            (parts of) the manual in another publication, prior written
+            agreement from MySQL AB is required.
+       Please send an email message to [49]docs@mysql.com for more
+       information or if you are interested in doing a translation.
+
+   For information about how the MySQL licenses work in practice, please
+   refer to section [50]1.4.3 MySQL Licenses and section [51]1.4.4 MySQL
+   AB Logos and Trademarks.
+
+  45. http://dev.mysql.com/doc/mysql/en/What_is_MySQL_AB.html
+  46. http://dev.mysql.com/doc/mysql/en/GPL_license.html
+  47. http://www.fsf.org/licenses/
+  48. http://www.mysql.com/products/licensing/mypl.html
+  49. mailto:docs@mysql.com
+  50. http://dev.mysql.com/doc/mysql/en/MySQL_licenses.html
+  51.  http://dev.mysql.com/doc/mysql/en/MySQL_AB_Logos_and_Trademarks.html
+
+
+1.4.3 MySQL Licenses
+
+   The MySQL software is released under the GNU General Public License
+   (GPL), which is probably the best known Open Source license. The
+   formal terms of the GPL license can be found at
+   [46]http://www.fsf.org/licenses/. See also
+   [47]http://www.fsf.org/licenses/gpl-faq.html and
+   [48]http://www.gnu.org/philosophy/enforcing-gpl.html.
+
+   Our GPL licensing is supported by an optional license exception that
+   enables many Free/Libre and Open Source Software (``FLOSS'')
+   applications to include the GPL-licensed MySQL client libraries
+   despite the fact that not all FLOSS licenses are compatible with the
+   GPL. For details, see
+   [49]http://www.mysql.com/products/licensing/foss-exception.html.
+
+	...
+
+  46. http://www.fsf.org/licenses/
+  47. http://www.fsf.org/licenses/gpl-faq.html
+  48. http://www.gnu.org/philosophy/enforcing-gpl.html
+  49. http://www.mysql.com/products/licensing/foss-exception.html
+
+
+   The MySQL AB Exception for Free/Libre and Open Source Software-only
+   Applications Using MySQL Client Libraries (the "FLOSS Exception").
+
+
+http://www.mysql.com/products/licensing/foss-exception.html as of 2004-08-06
+
+
+Exception Intent
+
+   We want specified Free/Libre and Open Source Software ("FLOSS")
+   applications to be able to use specified GPL-licensed MySQL client
+   libraries (the "Program") despite the fact that not all FLOSS licenses
+   are compatible with version 2 of the GNU General Public License (the
+   "GPL").
+
+Legal Terms and Conditions
+
+As a special exception to the terms and conditions of version 2.0 of the GPL:
+
+You are free to distribute a Derivative Work that is formed entirely from
+the Program and one or more works (each, a "FLOSS Work") licensed under one
+or more of the licenses listed below in section 1, as long as:
+
+   1. You obey the GPL in all respects for the Program and the Derivative
+      Work, except for identifiable sections of the Derivative Work which 
+      are not derived from the Program, and which can reasonably be considered
+      independent and separate works in themselves,
+   2. all identifiable sections of the Derivative Work which are not
+      derived from the Program, and which can reasonably be considered
+      independent and separate works in themselves,
+	 1. are distributed subject to one of the FLOSS licenses listed
+            below, and
+	 2. the object code or executable form of those sections are
+            accompanied by the complete corresponding machine-readable source
+            code for those sections on the same medium and under the same FLOSS
+            license as the corresponding object code or executable forms of those
+            sections, and
+         3. any works which are aggregated with the Program or with a Derivative
+            Work on a volume of a storage or distribution medium in accordance with
+            the GPL, can reasonably be considered independent and separate works in
+            themselves which are not derivatives of either the Program, a Derivative
+            Work or a FLOSS Work.
+
+If the above conditions are not met, then the Program may only be copied,
+modified, distributed or used under the terms and conditions of the GPL or
+another valid licensing option from MySQL AB.
+
+1. FLOSS License List
+
+License name					Version(s)/Copyright Date
+Academic Free License					2.0
+Apache Software License					1.0/1.1/2.0
+Apple Public Source License				2.0
+Artistic license					From Perl 5.8.0
+BSD license						"July 22 1999"
+Common Public License					1.0
+GNU Library or "Lesser" General Public License (LGPL)	2.0/2.1
+Jabber Open Source License				1.0
+MIT License (As listed in file MIT-License.txt)		-
+Mozilla Public License (MPL)				1.0/1.1
+Open Software License					2.0
+PHP License						3.0
+Python license (CNRI Python License)			-
+Python Software Foundation License			2.1.1
+Sleepycat License					"1999"
+W3C License						"2001"
+X11 License						"2001"
+Zlib/libpng License					-
+Zope Public License					2.0
+
+Due to the many variants of some of the above licenses, we require that any
+version follow the 2003 version of the Free Software Foundation's Free
+Software Definition (http://www.gnu.org/philosophy/free-sw.html) or version
+1.9 of the Open Source Definition by the Open Source Initiative
+(http://www.opensource.org/docs/definition.php).
+
+2. Definitions
+
+   1. Terms used, but not defined, herein shall have the meaning provided
+      in the GPL.
+   2. Derivative Work means a derivative work under copyright law.
+
+3. Applicability
+
+This FLOSS Exception applies to all Programs that contain a notice placed
+by MySQL AB saying that the Program may be distributed under the terms of
+this FLOSS Exception. If you create or distribute a work which is a
+Derivative Work of both the Program and any other work licensed under the
+GPL, then this FLOSS Exception is not available for that work; thus, you
+must remove the FLOSS Exception notice from that work and comply with the
+GPL in all respects, including by retaining all GPL notices. You may choose
+to redistribute a copy of the Program exclusively under the terms of the
+GPL by removing the FLOSS Exception notice from that copy of the Program,
+provided that the copy has never been modified by you or any third party.
+
+Version 1.5, 15 July 2004
+
+      
+---------------------------------------------------------------------------
+
+The Berkeley db-3.1.17-patched library which is partly included 
+(as long as it is not available as own Debian package) can be downloaded 
+at www.sleepycat.com. The following is it's license:
+
+/*-
+ * $Id: LICENSE,v 11.6 2000/02/14 02:59:37 bostic Exp $
+ */
+
+The following is the license that applies to this copy of the Berkeley DB
+software.  For a license to use the Berkeley DB software under conditions
+other than those described here, or to purchase support for this software,
+please contact Sleepycat Software at one of the following addresses:
+
+	Sleepycat Software	db@sleepycat.com
+	394 E. Riding Dr.	510-526-3972
+	Carlisle, MA 01741	877-SLEEPYCAT (toll-free, USA only)
+	USA
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+/*
+ * Copyright (c) 1990-2000
+ *	Sleepycat Software.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Redistributions in any form must be accompanied by information on
+ *    how to obtain complete source code for the DB software and any
+ *    accompanying software that uses the DB software.  The source code
+ *    must either be included in the distribution or be available for no
+ *    more than the cost of distribution plus a nominal fee, and must be
+ *    freely redistributable under reasonable conditions.  For an
+ *    executable file, complete source code means the source code for all
+ *    modules it contains.  It does not include source code for modules or
+ *    files that typically accompany the major components of the operating
+ *    system on which the executable file runs.
+ *
+ * THIS SOFTWARE IS PROVIDED BY SLEEPYCAT SOFTWARE ``AS IS'' AND ANY EXPRESS
+ * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
+ * NON-INFRINGEMENT, ARE DISCLAIMED.  IN NO EVENT SHALL SLEEPYCAT SOFTWARE
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
+ * Copyright (c) 1990, 1993, 1994, 1995
+ *	The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+/*
+ * Copyright (c) 1995, 1996
+ *	The President and Fellows of Harvard University.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY HARVARD AND ITS CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL HARVARD OR ITS CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
--- mysql-dfsg-4.1-4.1.11a.orig/debian/rules
+++ mysql-dfsg-4.1-4.1.11a/debian/rules
@@ -0,0 +1,296 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+export DH_COMPAT=4
+
+PACKAGE=mysql-dfsg-4.1
+
+include /usr/share/dpatch/dpatch.make
+
+PWD=$(shell pwd)
+TMP=$(PWD)/debian/tmp/
+
+ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEBVERSION = $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | sed 's/^.*-//' )
+
+ifeq ($(findstring $(ARCH),i386 sparc),$(ARCH))
+    USE_ASSEMBLER=--enable-assembler 
+endif
+
+ifeq ($(findstring $(ARCH), arm),$(ARCH))
+    FOMIT_FRAME_POINTER=
+else
+    FOMIT_FRAME_POINTER=-fomit-frame-pointer
+endif
+
+# trying to raise stability on i386. See #116631
+# don't use it on ia64
+ifeq ($(findstring $(ARCH),i386),$(ARCH))
+  FNO_EXCEPTIONS=-fno-exceptions
+endif
+
+# Disabled others until someone proves the opposide (these architecures
+# are lacking "thread mutex" support in db3. Problem known to upstream.
+ifeq ($(findstring $(ARCH),sparc alpha i386 m68k),$(ARCH))
+    USE_BDB=--with-berkeley-db
+endif
+
+# This causes seg11 crashes if LDAP is used for groups in /etc/nsswitch.conf
+# so it is disabled by default although, according to MySQL, it brings >10%
+# performance gain if enabled. See #299382.
+ifeq ($(STATIC_MYSQLD), 1)
+    USE_STATIC_MYSQLD=--with-mysqld-ldflags=-all-static
+endif
+		
+configure: patch configure-stamp
+configure-stamp:
+	@echo "RULES.configure-stamp"
+	dh_testdir
+
+	sh -c  'PATH=$${MYSQL_BUILD_PATH:-"/bin:/usr/bin"} \
+	    	CC=$${MYSQL_BUILD_CC:-gcc} \
+	    	CFLAGS=$${MYSQL_BUILD_CFLAGS:-"-DBIG_JOINS=1 -O3"} \
+	    	CXX=$${MYSQL_BUILD_CXX:-g++} \
+	    	CXXFLAGS=$${MYSQL_BUILD_CXXFLAGS:-"-DBIG_JOINS=1 -felide-constructors -fno-rtti -O3"} \
+	    ./configure \
+		--build=${DEB_BUILD_GNU_TYPE} \
+		--host=${DEB_HOST_GNU_TYPE} \
+		\
+		--prefix=/usr \
+	        --exec-prefix=/usr \
+	        --libexecdir=/usr/sbin \
+	        --datadir=/usr/share \
+	        --sysconfdir=/etc/mysql \
+	        --localstatedir=/var/lib/mysql \
+	        --includedir=/usr/include \
+	        --infodir=/usr/share/info \
+	        --mandir=/usr/share/man \
+		\
+		--with-server-suffix="-Debian_$(DEBVERSION)" \
+		\
+		--enable-shared \
+		--enable-static \
+		--enable-thread-safe-client \
+	        $(USE_ASSEMBLER) \
+		--enable-local-infile \
+		\
+		--with-raid \
+		--with-unix-socket-path=/var/run/mysqld/mysqld.sock \
+	       	--with-mysqld-user=mysql \
+		--with-libwrap \
+		$(USE_STATIC_MYSQLD) \
+		--with-client-ldflags=-lstdc++ \
+		--with-vio \
+		--without-openssl \
+	    	--without-docs \
+		--without-bench \
+		--without-readline \
+		--with-extra-charsets=all \
+		$(USE_BDB) \
+		--with-innodb \
+		\
+		--with-isam \
+		--with-archive-storage-engine \
+		--with-csv-storage-engine \
+		--without-embedded-server \
+		--with-ndbcluster \
+		--with-ndb-shm \
+		--without-ndb-sci \
+		--without-ndb-test \
+		--with-embedded-server \
+		--with-embedded-privilege-control \
+		--with-ndb-docs'
+		
+	#	--with-embedded-server \
+	#	--with-embedded-privilege-control \
+	#	--with-debug \
+	#	--with-mysqlfs 	 # does not build, no toplevel fs/ directory! Needs CORBA.
+	
+	# Better safe than sorry :)
+	@echo "#42#DEBUG# Grepping for selected bdb mutex:"
+	@if test -f bdb/build_unix/db_config.h && ! egrep define.*HAVE_MUTEX_.*_GCC_ASSEMBLY bdb/build_unix/db_config.h; then echo "MUTEX PATCH FORGOTTEN"; exit 1; fi
+
+	# Required by libdb_with_uniquename patch
+	sed 's/#define[[:space:]]__/#define /; /#define[[:space:]]getcwd getcwd_mysql/,/#define[[:space:]]vsnprintf vsnprintf_mysql/d' \
+		bdb/build_unix/db_int_def.h > bdb/build_unix/db_uniquename.h
+
+	touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure
+	dh_testdir
+
+	$(MAKE) 
+
+	touch build-stamp
+	
+
+clean: clean-patched unpatch
+	rm -rf debian/patched
+clean-patched:
+	@echo "RULES.clean-patched"
+	dh_testdir 
+	dh_testroot
+	rm -f configure-stamp
+	rm -f build-stamp
+	
+	-make distclean
+
+	# We like to see how long this is neccessary
+	@echo "CRUFT BEGIN" 
+	@find -type l -print0 | xargs --no-run-if-empty -0 rm -v
+	@find -name .deps -type d -print0 | xargs --no-run-if-empty -0 rm -rfv
+	@rm -vrf ndb/docs/.doxy* ndb/docs/*html ndb/docs/*pdf innobase/autom4te.cache
+	@for i in \
+	  readline/Makefile \
+	  sql-bench/Makefile \
+	  scripts/make_win_binary_distribution \
+	  scripts/mysql_explain_log \
+	  scripts/mysql_tableinfo \
+	  scripts/mysqlbug \
+	  sql/lex_hash.h \
+	  strings/ctype_autoconf.c \
+	  config.log \
+	  config.cache \
+	  ; \
+	do \
+	  rm -vf $$i; \
+	done
+	@echo "CRUFT END"
+
+	debconf-updatepo
+	dh_clean -v
+
+	
+install:
+install: build
+	@echo "RULES.install"
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# some self written manpages which hopefully
+	# gets overwritten sooner or later with upstreams
+	mkdir -p $(TMP)/usr/share/man/man1/
+	mkdir -p $(TMP)/usr/share/man/man8/
+	cp debian/additions/*.1 $(TMP)/usr/share/man/man1/
+	ln -s mysqlmanager.1 $(TMP)/usr/share/man/man1/mysqlmanager-pwgen.1
+	ln -s mysqlmanager.1 $(TMP)/usr/share/man/man1/mysqlmanagerc.1
+
+	# make install (trailing slash needed for innobase)
+	$(MAKE) install DESTDIR=$(TMP)/
+		
+	# After installing, remove rpath to make lintian happy.
+	find $(TMP) -print0 \
+		| xargs -0 --no-run-if-empty chrpath 2>&1 \
+		| fgrep RPATH= \
+		| cut -d: -f 1 \
+		| xargs chrpath -d
+
+	# libmysqlclient: move shared libraries
+	mv $(TMP)/usr/lib/mysql/* $(TMP)/usr/lib
+	perl -pi -e 's#/usr/lib/mysql#/usr/lib#' $(TMP)/usr/lib/libmysqlclient.la
+	perl -pi -e 's#/usr/lib/mysql#/usr/lib#' $(TMP)/usr/lib/libmysqlclient_r.la
+
+	# what was this good for?
+	# bah... how ugly
+	# mv $(PWD)/debian/libs/* $(TMP)/usr/lib/mysql/
+	# rmdir $(PWD)/debian/libs
+
+	# libmysqlclient-dev: forgotten header file since 3.23.25?
+	cp include/my_config.h $(TMP)/usr/include/mysql/
+	cp include/my_dir.h $(TMP)/usr/include/mysql/
+
+	# mysql-common: We now provide our own config file.
+	install -d $(TMP)/etc/mysql
+	install -m 0644 debian/additions/my.cnf $(TMP)/etc/mysql/my.cnf
+
+	pod2man scripts/mysqlhotcopy $(TMP)/usr/share/man/man1/mysqlhotcopy.1
+
+	# mysql-server
+	install -m 0755 scripts/mysqld_safe $(TMP)/usr/bin/mysqld_safe
+	mkdir -p $(TMP)/usr/share/doc/mysql-server-4.1/examples
+	mv $(TMP)/usr/share/mysql/*cnf 	    $(TMP)/usr/share/doc/mysql-server-4.1/examples/
+	mv $(TMP)/usr/share/man/man1/mysqld.1 $(TMP)/usr/share/man/man8/mysqld.8
+	rm $(TMP)/usr/share/mysql/*.spec
+	rm $(TMP)/usr/share/mysql/mi_test_all*
+	rm $(TMP)/usr/share/mysql/mysql-log-rotate
+	rm $(TMP)/usr/share/mysql/mysql.server
+	rm $(TMP)/usr/share/mysql/*install
+	rm $(TMP)/usr/share/mysql/*.plist
+	rm $(TMP)/usr/bin/make_win_*
+	nm -n sql/mysqld |gzip -9 > $(TMP)/usr/share/doc/mysql-server-4.1/mysqld.sym.gz
+	install -m 0644 debian/additions/SSL-MINI-HOWTO.txt $(TMP)/usr/share/doc/mysql-server-4.1/
+	install -m 0755 debian/additions/echo_stderr $(TMP)/usr/share/mysql/
+	install -m 0755 debian/additions/debian-start $(TMP)/etc/mysql/
+	install -m 0755 debian/additions/debian-start.inc.sh $(TMP)/usr/share/mysql/
+	install -m 0644 debian/additions/debian-log-rotate.conf $(TMP)/etc/mysql/
+	# lintian overrides
+	mkdir -p $(TMP)/usr/share/lintian/overrides/
+	cp debian/mysql-server-4.1.lintian-overrides $(TMP)/usr/share/lintian/overrides/mysql-server-4.1
+
+	dh_movefiles
+	
+# Build architecture-independent files here.
+binary-indep: build install
+	@echo "RULES.binary-indep"
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdebconf -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_installmenu -i
+	dh_installlogrotate -i
+	dh_installinit -i
+	dh_installcron -i 
+	dh_installman -i
+	dh_installinfo -i
+	dh_installlogcheck -i
+	dh_installchangelogs -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_perl -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+	
+# Build architecture-dependent files here.
+binary-arch: build install
+	@echo "RULES.binary-arch"
+	dh_testdir 
+	dh_testroot
+
+	dh_installdebconf -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_installmenu -a
+	dh_installlogrotate -a --name mysql-server
+	dh_installinit -a --init-script=mysql
+	dh_installcron -a --name mysql-server-41
+	dh_installman -a
+	dh_installinfo -a
+	dh_installlogcheck -a
+	dh_installchangelogs -a
+	dh_strip -a
+	dh_link -a	# .so muss nach .so.1.2.3 installier werden!
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_perl -a
+	dh_shlibdeps -a -l debian/libmysqlclient14/usr/lib -L libmysqlclient14
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary:	binary-indep binary-arch
+.PHONY: clean clean-patched configure build binary binary-indep binary-arch install patch unpatch
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-client-4.1.README.Debian
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-client-4.1.README.Debian
@@ -0,0 +1,4 @@
+FAQ:
+
+Q: My <tab> completition is gone, why?
+A: You have "no-auto-rehash" in the "[mysql]" section of /etc/mysql/my.cnf!
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14-dev.links
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14-dev.links
@@ -0,0 +1,2 @@
+usr/lib/libmysqlclient.so.14	usr/lib/libmysqlclient.so
+usr/lib/libmysqlclient_r.so.14	usr/lib/libmysqlclient_r.so
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.postinst
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.postinst
@@ -0,0 +1,184 @@
+#!/bin/bash -e
+
+. /usr/share/debconf/confmodule
+
+if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
+${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*"}
+ 
+export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
+
+# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
+ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"
+
+invoke() {
+  if [ -x /usr/sbin/invoke-rc.d ]; then
+    invoke-rc.d mysql $1
+  else
+    /etc/init.d/mysql $1
+  fi
+}
+
+# This is necessary because mysql_install_db removes the pid file in /var/run
+# and because changed configuration options should take effect immediately.
+# In case the server wasn't running at all it should be ok if the stop
+# script fails. I can't tell at this point because of the cleaned /var/run.
+set +e; invoke stop; set -e
+    
+case "$1" in
+  configure)
+    mysql_datadir=/usr/share/mysql
+    mysql_statedir=/var/lib/mysql
+    mysql_rundir=/var/run/mysqld
+    mysql_logdir=/var/log
+    mysql_cfgdir=/etc/mysql
+    mysql_newlogdir=/var/log/mysql
+    mysql_upgradedir=/var/lib/mysql-upgrade
+
+    # first things first, if the following symlink exists, it is a preserved
+    # copy the old data dir from a mysql upgrade that would have otherwise
+    # been replaced by an empty mysql dir.  this should restore it.
+    for dir in DATADIR LOGDIR; do
+	if [ "$dir" = "DATADIR" ]; then targetdir=$mysql_statedir; else targetdir=$mysql_newlogdir; fi
+	savelink="$mysql_upgradedir/$dir.link"
+        if [ -L "$savelink" ]; then
+	    # this should never even happen, but just in case...
+            if [ -d "$targetdir" -a ! -L "$targetdir" ]; then
+                mysql_tmp=`mktemp -d -t mysql-symlink-restore-XXXXXX`
+                echo "this is very strange!  see $mysql_tmp/README..." >&2
+                mv "$targetdir" "$mysql_tmp"
+                cat << EOF > "$mysql_tmp/README"
+
+if you're reading this, it's most likely because you had replaced /var/lib/mysql
+with a symlink, then upgraded to a new version of mysql, and then dpkg
+removed your symlink (see #182747 and others).  the mysql packages noticed
+that this happened, and as a workaround have restored it.  however, because
+/var/lib/mysql seems to have been re-created in the meantime, and because
+we don't want to rm -rf something we don't know as much about, we're going
+to leave this unexpected directory here.  if your database looks normal,
+and this is not a symlink to your database, you should be able to blow
+this all away.
+
+EOF
+            fi
+            mv "$savelink" "$targetdir"
+        fi
+	rmdir $mysql_upgradedir 2>/dev/null || true
+    done
+    
+    # Ensure the existence and right permissions for the database and
+    # log files.
+    if [ ! -d "$mysql_statedir"       -a ! -L "$mysql_statedir"       ]; then mkdir "$mysql_statedir"; fi
+    if [ ! -d "$mysql_statedir/mysql" -a ! -L "$mysql_statedir/mysql" ]; then mkdir "$mysql_statedir/mysql"; fi
+    if [ ! -d "$mysql_statedir/test"  -a ! -L "$mysql_statedir/test"  ]; then mkdir "$mysql_statedir/test"; fi
+    if [ ! -d "$mysql_newlogdir"      -a ! -L "$mysql_newlogdir"      ]; then mkdir "$mysql_newlogdir"; fi
+    # When creating an ext3 jounal on an already mounted filesystem like e.g.
+    # /var/lib/mysql, you get a .journal file that is not modifyable by chown.
+    # The mysql_datadir must not be writable by the mysql user under any
+    # circumstances as it contains scripts that are executed by root.
+    set +e
+    chown -R 0.0 $mysql_datadir
+    chown -R mysql $mysql_statedir
+    chown -R mysql $mysql_rundir
+    chown -R mysql:adm $mysql_newlogdir;	chmod 2750 $mysql_newlogdir;
+    for i in log err; do
+      touch             $mysql_logdir/mysql.$i
+      chown mysql:adm   $mysql_logdir/mysql.$i
+      chmod 0640        $mysql_logdir/mysql.$i
+    done
+    set -e
+
+    # This is important to avoid dataloss when there is a removed
+    # mysql-server version from Woody lying around which used the same
+    # data directory and then somewhen gets purged by the admin.
+    db_set mysql-server/postrm_remove_database false || true
+
+    # So that mysql-server (4.0) can check if it's safe to install.
+    touch $mysql_statedir/debian-4.1.flag
+
+    # initiate databases. Output is not allowed by debconf :-(
+    # Debian: beware of the bashisms... 
+    # Debian: can safely run on upgrades with existing databases 
+    set +e
+    /bin/bash /usr/bin/mysql_install_db --rpm 2>&1 | $ERR_LOGGER
+    if [ "$?" != "0" ]; then
+      echo "ATTENTION: An error has occured. More info is in the syslog!"
+    fi
+    set -e
+    
+    ## On every reconfiguration the maintenance user is recreated.
+    #
+    # - It is easier to regenerate the password every time but as people
+    #   use fancy rsync scripts and file alteration monitors, the existing
+    #   password is used and existing files not touched.
+    # - The mysqld statement is like that in mysql_install_db because the
+    #   server is not already running. This has some implications:
+    # 	- The amount of newlines and semicolons in the query is important!
+    #   - GRANT is not possible with --skipt-grant-tables and "INSERT
+    #     (user,host..) VALUES" is not --ansi compliant
+    # - The echo is just for readability. ash's buildin has no "-e" so use /bin/echo.
+    # - The Super_priv, Show_db_priv, Create_tmp_table_priv and Lock_tables_priv
+    #   may not be present as old Woody 3.23 databases did not have it and the
+    #   admin might not already have run mysql_fix_privilege_tables which adds them.
+    #   As the binlog cron scripts to need at least the Super_priv, I do first
+    #   the old query which always succeeds and then the new which may or may not.
+
+    # recreate the credentials file
+    dc=$mysql_cfgdir/debian.cnf; 
+    if [ -e "$dc" ]; then
+        pass="`sed -n 's/password *= *// p' $dc`"
+    else
+	pass=`perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..16)'`;
+        if [ ! -d "$mysql_cfgdir" ]; then install -o 0 -g 0 -m 0755 -d $mysql_cfgdir; fi
+        cat /dev/null > $dc
+        echo "# Automatically generated for Debian scripts. DO NOT TOUCH!" >>$dc
+        echo "[client]"                                                    >>$dc
+        echo "host     = localhost"                                        >>$dc
+        echo "user     = debian-sys-maint"                                 >>$dc
+        echo "password = $pass"                                            >>$dc
+        echo "socket   = $mysql_rundir/mysqld.sock"                        >>$dc
+    fi
+    # If this dir chmod go+w then the admin did it. But this file should not.
+    chown 0:0 $dc
+    chmod 0600 $dc
+
+    # update privilege tables
+    MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables  --skip-bdb  --skip-innodb "
+    password_column_fix_query=`/bin/echo -e \
+	"USE mysql\n" \
+	"ALTER TABLE user CHANGE password Password varchar(41) collate utf8_bin NOT NULL default ''"`;
+    replace_query=`/bin/echo -e \
+	"USE mysql\n" \
+	"REPLACE INTO user SET " \
+	"  host='localhost', user='debian-sys-maint', password=password('$pass'), " \
+	"  Select_priv='Y', Insert_priv='Y', Update_priv='Y', Delete_priv='Y', " \
+	"  Create_priv='Y', Drop_priv='Y', Reload_priv='Y', Shutdown_priv='Y', " \
+	"  Process_priv='Y',  File_priv='Y', Grant_priv='Y', References_priv='Y', " \
+	"  Index_priv='Y', Alter_priv='Y' __EXTRA_PRIVS__"`;
+    extra_privs=`/bin/echo -e \
+	", Show_db_priv='Y' " \
+	", Super_priv='Y' " \
+	", Create_tmp_table_priv='Y' " \
+	", Lock_tables_priv='Y' " \
+	", Execute_priv='Y' " \
+	", Repl_slave_priv='Y' " \
+	", Repl_client_priv='Y' "`;
+    echo "$password_column_fix_query"                             | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
+    echo "$replace_query" | sed "s/__EXTRA_PRIVS__//"             | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
+    set +e
+    echo "$replace_query" | sed "s/__EXTRA_PRIVS__/$extra_privs/" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
+    set -e
+  ;;
+
+  abort-upgrade|abort-remove|abort-configure)
+  ;;
+
+  *)
+    echo "postinst called with unknown argument '$1'" 1>&2
+    exit 1
+  ;;
+esac
+
+db_stop # in case invoke failes
+#DEBHELPER#
+
+exit 0
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-common-4.1.files
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-common-4.1.files
@@ -0,0 +1 @@
+etc/mysql/my.cnf
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.prerm
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.prerm
@@ -0,0 +1,8 @@
+#!/bin/bash -e
+
+. /usr/share/debconf/confmodule
+
+if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
+${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*"}
+
+#DEBHELPER#
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/myisamlog.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/myisamlog.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+myisamlog \- MySQL helper script.
+.SH SYNOPSIS
+myisamlog [options]
+.SH DESCRIPTION
+Function unknown. Mail to ch@debian.org.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/my.cnf
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/my.cnf
@@ -0,0 +1,119 @@
+#
+# The MySQL database server configuration file.
+#
+# You can copy this to one of:
+# - "/etc/mysql/my.cnf" to set global options,
+# - "/var/lib/mysql/my.cnf" to set server-specific options or
+# - "~/.my.cnf" to set user-specific options.
+# 
+# One can use all long options that the program supports.
+# Run program with --help to get a list of available options and with
+# --print-defaults to see which it would actually understand and use.
+#
+# For explanations see
+# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
+
+# This will be passed to all mysql clients
+# It has been reported that passwords should be enclosed with ticks/quotes
+# escpecially if they contain "#" chars...
+# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
+[client]
+port		= 3306
+socket		= /var/run/mysqld/mysqld.sock
+
+# Here is entries for some specific programs
+# The following values assume you have at least 32M ram
+
+# This was formally known as [safe_mysqld]. Both versions are currently parsed.
+[mysqld_safe]
+socket		= /var/run/mysqld/mysqld.sock
+nice		= 0
+
+[mysqld]
+#
+# * Basic Settings
+#
+user		= mysql
+pid-file	= /var/run/mysqld/mysqld.pid
+socket		= /var/run/mysqld/mysqld.sock
+port		= 3306
+basedir		= /usr
+datadir		= /var/lib/mysql
+tmpdir		= /tmp
+language	= /usr/share/mysql/english
+skip-external-locking
+#
+# For compatibility to other Debian packages that still use
+# libmysqlclient10 and libmysqlclient12.
+old_passwords	= 1
+#
+# Instead of skip-networking the default is now to listen only on
+# localhost which is more compatible and is not less secure.
+bind-address		= 127.0.0.1
+#
+# * Fine Tuning
+#
+key_buffer		= 16M
+max_allowed_packet	= 16M
+thread_stack		= 128K
+#
+# * Query Cache Configuration
+#
+query_cache_limit	= 1048576
+query_cache_size        = 16777216
+query_cache_type        = 1
+#
+# * Logging and Replication
+#
+# Both location gets rotated by the cronjob.
+# Be aware that this log type is a performance killer.
+#log		= /var/log/mysql.log
+#log		= /var/log/mysql/mysql.log
+#
+# Error logging goes to syslog. This is a Debian improvement :)
+#
+# Here you can see queries with especially long duration
+#log-slow-queries	= /var/log/mysql/mysql-slow.log
+#
+# The following can be used as easy to replay backup logs or for replication.
+#server-id		= 1
+log-bin			= /var/log/mysql/mysql-bin.log
+# See /etc/mysql/debian-log-rotate.conf for the number of files kept.
+max_binlog_size         = 104857600
+#binlog-do-db		= include_database_name
+#binlog-ignore-db	= include_database_name
+#
+# * BerkeleyDB
+#
+# According to an MySQL employee the use of BerkeleyDB is now discouraged
+# and support for it will probably cease in the next versions.
+skip-bdb
+#
+# * InnoDB
+#
+# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
+# Read the manual for more InnoDB related options. There are many!
+#
+# * Security Features
+#
+# Read the manual, too, if you want chroot!
+# chroot = /var/lib/mysql/
+#
+# If you want to enable SSL support (recommended) read the manual or my
+# HOWTO in /usr/share/doc/mysql-server/SSL-MINI-HOWTO.txt.gz
+# ssl-ca=/etc/mysql/cacert.pem
+# ssl-cert=/etc/mysql/server-cert.pem
+# ssl-key=/etc/mysql/server-key.pem
+
+
+
+[mysqldump]
+quick
+quote-names
+max_allowed_packet	= 16M
+
+[mysql]
+#no-auto-rehash	# faster start of mysql but no tab completition
+
+[isamchk]
+key_buffer		= 16M
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_convert_table_format.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_convert_table_format.1
@@ -0,0 +1,17 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysql_convert_table_format \- MySQL table converter.
+.SH SYNOPSIS
+mysql_convert_table_format [options]
+.SH DESCRIPTION
+Conversion of a MySQL tables to other table types.
+If no tables has been specifed, all tables in the database will be converted.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/msql2mysql.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/msql2mysql.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+msql2mysql \- MySQL importer for msql style data.
+.SH SYNOPSIS
+msql2mysql [options]
+.SH DESCRIPTION
+This program imports old msql database files.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/myisamchk.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/myisamchk.1
@@ -0,0 +1,17 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+myisamchk \- Checks MySQL myisam type databases. 
+.SH SYNOPSIS
+myisamchk [options]
+.SH DESCRIPTION
+Description, check and repair of ISAM tables.
+Used without options all tables on the command will be checked for errors
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_waitpid.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_waitpid.1
@@ -0,0 +1,20 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysql_waitpid \- Waits a specified amount of seconds for a PID to terminate.
+.SH SYNOPSIS
+mysql_waitpid [options] <pid> <seconds>
+.SH DESCRIPTION
+Description: Waits for a program, which program id is #pid, to
+terminate within #time seconds. If the program terminates within
+this time, or if the #pid no longer exists, value 0 is returned.
+Otherwise 1 is returned. Both #pid and #time must be positive
+integer arguments.
+
+See mysql_waitpid for options.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_explain_log.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_explain_log.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysql_explain_log \- Explains queries from binary logs.
+.SH SYNOPSIS
+mysql_explain_log [options]
+.SH DESCRIPTION
+Read logfile from STDIN an try to EXPLAIN all SELECT statements. All UPDATE statements are rewritten to an EXPLAIN SELECT statement. The results of the EXPLAIN statement are collected and counted. All results with type=ALL are collected in an separete list. Results are printed to STDOUT.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/fill_help_tables.sql
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/fill_help_tables.sql
@@ -0,0 +1,99 @@
+delete from help_topic;
+delete from help_category;
+delete from help_keyword;
+delete from help_relation;
+
+insert into help_category (help_category_id,name,parent_category_id) values (0,"Point properties",24),(1,"Column Types",12),(2,"Geometry constructors",24),(3,"Data Definition",12),(4,"Comparison operators",16),(5,"WKB",24),(6,"MBR",24),(7,"Polygon properties",24),(8,"Encryption Functions",16),(9,"GeometryCollection properties",24),(10,"Numeric Functions",16),(11,"String Functions",16),(12,"Contents",-1),(13,"Geometry properties",24),(14,"Control flow functions",16);
+insert into help_category (help_category_id,name,parent_category_id) values (15,"Date and Time Functions",16),(16,"Functions",12),(17,"WKT",24),(18,"Miscellaneous Functions",16),(19,"Administration",12),(20,"Information Functions",16),(21,"LineString properties",24),(22,"Functions and Modifiers for Use with GROUP BY Clauses",16),(23,"Transactions",12),(24,"Geographic features",12),(25,"Geometry relations",24),(26,"Data Manipulation",12),(27,"Logical operators",16),(28,"Bit Functions",16);
+
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (0,11,"ASCII","   ASCII(@var{str})\nReturns the numeric value of the leftmost character of the string\n@var{str}. Returns 0 if @var{str} is the empty string.  Returns\nNULL if @var{str} is NULL.\nASCII() works for characters with numeric values from 0 to\n255.\n","mysql> SELECT ASCII('2');\n        -> 50\nmysql> SELECT ASCII(2);\n        -> 50\nmysql> SELECT ASCII('dx');\n        -> 100"),(1,11,"LOAD_FILE","   LOAD_FILE(@var{file_name})\nReads the file and returns the file contents as a string.  The file\nmust be located on the server, you must specify the full pathname to the\nfile, and you must have the FILE privilege.  The file must\nbe readable by all and be smaller than max_allowed_packet bytes.\n\nIf the file doesn't exist or cannot be read because one of the preceding\nconditions is not satisfied, the function returns NULL.\n","mysql> UPDATE @var{tbl_name}\n           SET @var{blob_column}=LOAD_FILE('/tmp/picture')\n           WHERE id=1;"),(2,11,"OCTETLENGTH","   OCTET_LENGTH(@var{str})\n\nOCTET_LENGTH() is a synonym for LENGTH().\n",""),(3,11,"INSTR","   INSTR(@var{str},@var{substr})\nReturns the position of the first occurrence of substring @var{substr} in\nstring @var{str}. This is the same as the two-argument form of\nLOCATE(), except that the arguments are swapped.\n","mysql> SELECT INSTR('foobarbar', 'bar');\n        -> 4\nmysql> SELECT INSTR('xbar', 'foobar');\n        -> 0"),(4,4,"IN","   @var{expr} IN (@var{value},...)\nReturns 1 if @var{expr} is any of the values in the IN list,\nelse returns 0.  If all values are constants, they are\nevaluated according to the type of @var{expr} and sorted. The search for the\nitem then is done using a binary search. This means IN is very quick\nif the IN value list consists entirely of constants.  If @var{expr}\nis a case-sensitive string expression, the string comparison is performed in\ncase-sensitive fashion.\n","mysql> SELECT 2 IN (0,3,5,'wefwf');\n        -> 0\nmysql> SELECT 'wefwf' IN (0,3,5,'wefwf');\n        -> 1"),(5,15,"CURRENT_TIME","   CURRENT_TIME\n   CURRENT_TIME()\n\nCURRENT_TIME and CURRENT_TIME() are synonyms for\nCURTIME().\n",""),(6,6,"MBRCONTAINS","   MBRContains(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not the Minimum Bounding Rectangle of\n@var{g1} contains the Minimum Bounding Rectangle of @var{g2}.\n","mysql> SET @g1 = GeomFromText('Polygon((0 0,0 3,3 3,3 0,0 0))');\nmysql> SET @g2 = GeomFromText('Point(1 1)');\nmysql> SELECT MBRContains(@g1,@g2), MBRContains(@g2,@g1);\n----------------------+----------------------+\n| MBRContains(@g1,@g2) | MBRContains(@g2,@g1) |\n+----------------------+----------------------+\n|                    1 |                    0 |\n+----------------------+----------------------+"),(7,15,"DATE FUNCTION","   DATE(@var{expr})\n\nExtracts the date part of the date or datetime expression @var{expr}.\n","mysql> SELECT DATE('2003-12-31 01:02:03');\n        -> '2003-12-31'"),(8,19,"MERGE","\n@menu\n* MERGE table problems::        MERGE Table Problems\n@end menu\n\nThe MERGE storage engine was introduced in MySQL 3.23.25. It\nis also known as the MRG_MyISAM engine. The code is now reasonably\nstable.\n\nA MERGE table is a collection of identical MyISAM tables that\ncan be used as one.  ``Identical'' means that all tables have\nidentical column and index information.  You can't merge tables in which the\ncolumns are listed in a different order, don't have exactly the same columns, or\nhave the indexes in different order.  However, any or all of the tables can be\ncompressed with @command{myisampack}.\nSee also : [myisampack, , @command{myisampack]}.\nDifferences in table options such as AVG_ROW_LENGTH, MAX_ROWS,\nor PACK_KEYS do not matter.\n","mysql> CREATE TABLE t1 (\n    ->    a INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n    ->    message CHAR(20));\nmysql> CREATE TABLE t2 (\n    ->    a INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n    ->    message CHAR(20));\nmysql> INSERT INTO t1 (message) VALUES ('Testing'),('table'),('t1');\nmysql> INSERT INTO t2 (message) VALUES ('Testing'),('table'),('t2');\nmysql> CREATE TABLE total (\n    ->    a INT NOT NULL AUTO_INCREMENT,\n    ->    message CHAR(20), INDEX(a))\n    ->    TYPE=MERGE UNION=(t1,t2) INSERT_METHOD=LAST;"),(9,25,"WITHIN","   Within(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not @var{g1} is spatially within\n@var{g2}.\n",""),(10,5,"MLINEFROMWKB","   MLineFromWKB(@var{wkb}[,@var{srid}])\n   MultiLineStringFromWKB(@var{wkb}[,@var{srid}])\nConstructs a MULTILINESTRING value using its WKB representation and SRID.\n",""),(11,11,"TRIM","   TRIM([{BOTH | LEADING | TRAILING} [@var{remstr}] FROM] @var{str})\n   TRIM(@var{remstr} FROM] @var{str})\nReturns the string @var{str} with all @var{remstr} prefixes and/or suffixes\nremoved. If none of the specifiers BOTH, LEADING, or\nTRAILING is given, BOTH is assumed. If @var{remstr} is optional\nand not specified, spaces are removed.\n","mysql> SELECT TRIM('  bar   ');\n        -> 'bar'\nmysql> SELECT TRIM(LEADING 'x' FROM 'xxxbarxxx');\n        -> 'barxxx'\nmysql> SELECT TRIM(BOTH 'x' FROM 'xxxbarxxx');\n        -> 'bar'\nmysql> SELECT TRIM(TRAILING 'xyz' FROM 'barxxyz');\n        -> 'barx'"),(12,11,"LPAD","   LPAD(@var{str},@var{len},@var{padstr})\nReturns the string @var{str}, left-padded with the string @var{padstr}\nto a length of @var{len} characters. If @var{str} is longer\nthan @var{len}, the return value is shortened to @var{len} characters.\n","mysql> SELECT LPAD('hi',4,'??');\n        -> '??hi'\nmysql> SELECT LPAD('hi',1,'??');\n        -> 'h'"),(13,1,"TINYBLOB","   TINYBLOB\n   TINYTEXT\n\nA BLOB or TEXT column with a maximum length of 255 (2^8\n@minus{} 1)\ncharacters.\n",""),(14,24,"SPATIAL","MySQL can create spatial indexes using syntax similar to that for creating\nregular indexes, but extended with the SPATIAL keyword.\nSpatial columns that are indexed currently must be declared NOT NULL.\nThe following examples demonstrate how to create spatial indexes.\n\n\n   With CREATE TABLE:\n\nmysql> CREATE TABLE geom (g GEOMETRY NOT NULL, SPATIAL INDEX(g));\n\n   With ALTER TABLE:\n\nmysql> ALTER TABLE geom ADD SPATIAL INDEX(g);\n\n   With CREATE INDEX:\n\nmysql> CREATE SPATIAL INDEX sp_index ON geom (g);\n\n\nTo drop spatial indexes, use ALTER TABLE or DROP INDEX:\n\n\n   With ALTER TABLE:\n\nmysql> ALTER TABLE geom DROP INDEX g;\n\n   With DROP INDEX:\n\nmysql> DROP INDEX sp_index ON geom;\n\n\nExample: Suppose that a table geom contains more than 32,000 geometries,\nwhich are stored in the column g of type GEOMETRY.\nThe table also has an AUTO_INCREMENT column fid for storing\nobject ID values.\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (15,26,"KILL","Each connection to @command{mysqld} runs in a separate thread.  You can see\nwhich threads are running with the SHOW PROCESSLIST statement and kill\na thread with the KILL thread_id statement.\n\nAs of MySQL 5.0.0, KILL allows the optional CONNECTION or\nQUERY modifiers:\n\n\n --- KILL CONNECTION is the same as KILL with no modifier:\nIt terminates the connection associated with the given @var{thread_id}.\n\n --- KILL QUERY terminates the statement that the connection currently\nis executing, but leaves the connection intact.\n\n\nIf you have the PROCESS privilege, you can see all threads.\nIf you have the SUPER privilege, you can kill all threads and\nstatements.  Otherwise, you can see and kill only your own threads and\nstatements.\n\nYou can also use the @command{mysqladmin processlist} and @command{mysqladmin kill}\ncommands to examine and kill threads.\n\nNote: You currently cannot use KILL with the Embedded MySQL\nServer library, because the embedded server merely runs inside the threads\nof the host application, it does not create connection threads of its own.\n","KILL [CONNECTION | QUERY] @var{thread_id}"),(16,11,"BIT_LENGTH","   BIT_LENGTH(@var{str})\nReturns the length of the string @var{str} in bits.\n","mysql> SELECT BIT_LENGTH('text');\n        -> 32"),(17,24,"GEOMETRY","MySQL provides a standard way of creating spatial columns for\ngeometry types, for example, with CREATE TABLE or ALTER TABLE.\nCurrently, spatial columns are supported only for MyISAM tables.\n","mysql> CREATE TABLE geom (g GEOMETRY);\nQuery OK, 0 rows affected (0.02 sec)"),(18,26,"INSERT INTO","INSERT inserts new rows into an existing table.  The INSERT ...\nVALUES and INSERT ... SET forms of the statement insert rows based\non explicitly specified values.  The INSERT ... SELECT form inserts\nrows selected from another table or tables.  The INSERT ... VALUES\nform with multiple value lists is supported in MySQL 3.22.5 or\nlater.  The INSERT ... SET syntax is supported in MySQL\n3.22.10 or later.\nINSERT ... SELECT is discussed further in\nSee also : [INSERT SELECT,  , INSERT SELECT].\n","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE]\n    [INTO] @var{tbl_name} [(@var{col_name},...)]\n    VALUES ({@var{expr} | DEFAULT},...),(...),...\n    [ ON DUPLICATE KEY UPDATE @var{col_name}=@var{expr}, ... ]"),(19,23,"SAVEPOINT","SAVEPOINT identifier\nROLLBACK TO SAVEPOINT identifier\n\nStarting from MySQL 4.0.14 and 4.1.1, InnoDB supports the SQL statements\nSAVEPOINT and ROLLBACK TO SAVEPOINT.\n",""),(20,26,"PURGE","","PURGE MASTER LOGS TO 'mysql-bin.010';\nPURGE MASTER LOGS BEFORE '2003-04-02 22:46:26';"),(21,19,"CHECK","CHECK TABLE works only on MyISAM and InnoDB tables. On\nMyISAM tables, This is the same thing as running @command{myisamchk\n--medium-check @var{tbl_name}} on the table.\n\nIf you don't specify any option, MEDIUM is used.\n","CHECK TABLE @var{tbl_name} [, @var{tbl_name}] ... [@var{option}] ...\n\n@var{option} = {QUICK | FAST | MEDIUM | EXTENDED | CHANGED}"),(22,15,"WEEKDAY","   WEEKDAY(@var{date})\nReturns the weekday index for\n@var{date} (0 = Monday, 1 = Tuesday, ... 6 = Sunday).\n","mysql> SELECT WEEKDAY('1998-02-03 22:23:00');\n        -> 1\nmysql> SELECT WEEKDAY('1997-11-05');\n        -> 2"),(23,6,"MBREQUAL","   MBREqual(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not the Minimum Bounding Rectangles of\nthe two geometries @var{g1} and @var{g2} are the same.\n",""),(24,11,"BINARY","   BINARY\nThe BINARY operator casts the string following it to a binary string.\nThis is an easy way to force a column comparison to be done byte by byte\nrather than character by character. This causes the comparison to be\ncase sensitive even\nif the column isn't defined as BINARY or BLOB.\nBINARY also causes trailing spaces to be significant.\n","mysql> SELECT 'a' = 'A';\n        -> 1\nmysql> SELECT BINARY 'a' = 'A';\n        -> 0\nmysql> SELECT 'a' = 'a ';\n        -> 1\nmysql> SELECT BINARY 'a' = 'a ';\n        -> 0"),(25,22,"STDDEV","   STD(@var{expr})\n   STDDEV(@var{expr})\nReturns the standard deviation of @var{expr} (the square root of\nVARIANCE()). This is an extension to standard SQL. The STDDEV()\nform of this function is provided for Oracle compatibility.\n",""),(26,10,"SIN","   SIN(@var{X})\nReturns the sine of @var{X}, where @var{X} is given in radians.\n","mysql> SELECT SIN(PI());\n        -> 0.000000"),(27,1,"CHAR","   [NATIONAL] CHAR(@var{M}) [BINARY | ASCII | UNICODE]\n\nA fixed-length string that is always right-padded with spaces to the\nspecified length when stored.  @var{M} represents the column length.  The\nrange of @var{M} is 0 to 255 characters (1 to 255 prior to MySQL 3.23).\n\nNote: Trailing spaces are removed when CHAR values are\nretrieved.\n\nFrom MySQL 4.1.0, a CHAR column with a length specification greater\nthan 255 is converted to the smallest TEXT type that can hold values\nof the given length.  For example, CHAR(500) is converted to\nTEXT, and CHAR(200000) is converted to MEDIUMTEXT.\nThis is a compatibility feature.  However, this conversion causes the\ncolumn to become a variable-length column, and also affects trailing-space\nremoval.\n\nCHAR is shorthand for CHARACTER.\nNATIONAL CHAR (or its equivalent short form, NCHAR) is the\nstandard SQL way to define that a CHAR column should use the default\ncharacter set.  This is the default in MySQL.\n\nThe BINARY attribute causes sorting and comparisons to be\ncase sensitive.\n\nFrom MySQL 4.1.0 on, the ASCII attribute can be specified. It\nassigns the latin1 character set to a CHAR column.\n\nFrom MySQL 4.1.1 on, the UNICODE attribute can be specified. It\nassigns the ucs2 character set to a CHAR column.\n\nMySQL allows you to create a column of type CHAR(0). This is mainly\nuseful when you have to be compliant with some old applications that depend\non the existence of a column but that do not actually use the value.  This\nis also quite nice when you need a column that can take only two values: A\nCHAR(0) column that is not defined as NOT NULL occupies only\none bit and can take only the values NULL and '' (the empty\nstring).\n\n   CHAR\nThis is a synonym for CHAR(1).\n",""),(28,10,"SQRT","   SQRT(@var{X})\nReturns the non-negative square root of @var{X}.\n","mysql> SELECT SQRT(4);\n        -> 2.000000\nmysql> SELECT SQRT(20);\n        -> 4.472136"),(29,10,"ROUND","   ROUND(@var{X})\n   ROUND(@var{X},@var{D})\nReturns the argument @var{X}, rounded to the nearest integer.\nWith two arguments, returns @var{X} rounded to @var{D} decimals.\nIf @var{D} is negative, the integer part of the number is zeroed out.\n","mysql> SELECT ROUND(-1.23);\n        -> -1\nmysql> SELECT ROUND(-1.58);\n        -> -2\nmysql> SELECT ROUND(1.58);\n        -> 2\nmysql> SELECT ROUND(1.298, 1);\n        -> 1.3\nmysql> SELECT ROUND(1.298, 0);\n        -> 1\nmysql> SELECT ROUND(23.298, -1);\n        -> 20");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (30,11,"CONCAT","   CONCAT(@var{str1},@var{str2},...)\nReturns the string that results from concatenating the arguments.  Returns\nNULL if any argument is NULL.  May have one or more arguments.\nA numeric argument is converted to its equivalent string form.\n","mysql> SELECT CONCAT('My', 'S', 'QL');\n        -> 'MySQL'\nmysql> SELECT CONCAT('My', NULL, 'QL');\n        -> NULL\nmysql> SELECT CONCAT(14.3);\n        -> '14.3'"),(31,15,"CURRENT_TIMESTAMP","   CURRENT_TIMESTAMP\n   CURRENT_TIMESTAMP()\n\nCURRENT_TIMESTAMP and CURRENT_TIMESTAMP() are synonyms for\nNOW().\n",""),(32,27,"!","   NOT\n   !\nLogical NOT.\nEvaluates to 1 if the operand is 0,\nto 0 if the operand is non-zero,\nand NOT NULL returns NULL.\n","mysql> SELECT NOT 10;\n        -> 0\nmysql> SELECT NOT 0;\n        -> 1\nmysql> SELECT NOT NULL;\n        -> NULL\nmysql> SELECT ! (1+1);\n        -> 0\nmysql> SELECT ! 1+1;\n        -> 1"),(33,4,"GREATEST","   GREATEST(@var{value1},@var{value2},...)\nWith two or more arguments, returns the largest (maximum-valued) argument.\nThe arguments are compared using the same rules as for LEAST().\n","mysql> SELECT GREATEST(2,0);\n        -> 2\nmysql> SELECT GREATEST(34.0,3.0,5.0,767.0);\n        -> 767.0\nmysql> SELECT GREATEST('B','A','C');\n        -> 'C'"),(34,11,"LOWER","   LOWER(@var{str})\nReturns the string @var{str} with all characters changed to lowercase\naccording to the current character set mapping (the default is ISO-8859-1\nLatin1).\n","mysql> SELECT LOWER('QUADRATICALLY');\n        -> 'quadratically'"),(35,10,"%","   MOD(@var{N},@var{M})\n   @var{N} % @var{M}\n   @var{N} MOD @var{M}\nModulo (like the % operator in C).\nReturns the remainder of @var{N} divided by @var{M}.\n","mysql> SELECT MOD(234, 10);\n        -> 4\nmysql> SELECT 253 % 7;\n        -> 1\nmysql> SELECT MOD(29,9);\n        -> 2\nmysql> SELECT 29 MOD 9;\n        -> 2"),(36,28,"&","   &\nBitwise AND:\n","mysql> SELECT 29 & 15;\n        -> 13"),(37,15,"DAYNAME","   DAYNAME(@var{date})\nReturns the name of the weekday for @var{date}.\n","mysql> SELECT DAYNAME('1998-02-05');\n        -> 'Thursday'"),(38,10,"- UNARY","   -\nUnary minus. Changes the sign of the argument.\n","mysql> SELECT - 2;\n        -> -2"),(39,26,"CHANGE MASTER TO","\nCHANGE MASTER TO master_def [, master_def] ...\n\nmaster_def:\n      MASTER_HOST = '@var{host_name}'\n    | MASTER_USER = '@var{user_name}'\n    | MASTER_PASSWORD = '@var{password}'\n    | MASTER_PORT = @var{port_num}\n    | MASTER_CONNECT_RETRY = @var{count}\n    | MASTER_LOG_FILE = '@var{master_log_name}'\n    | MASTER_LOG_POS = @var{master_log_pos}\n    | RELAY_LOG_FILE = '@var{relay_log_name}'\n    | RELAY_LOG_POS = @var{relay_log_pos}\n    | MASTER_SSL = {0|1}\n    | MASTER_SSL_CA = '@var{ca_file_name}'\n    | MASTER_SSL_CAPATH = '@var{ca_directory_name}'\n    | MASTER_SSL_CERT = '@var{cert_file_name}'\n    | MASTER_SSL_KEY = '@var{key_file_name}'\n    | MASTER_SSL_CIPHER = '@var{cipher_list}'\n\nChanges the parameters that the slave server uses for connecting to and\ncommunicating with the master server.\n\nMASTER_USER, MASTER_PASSWORD, MASTER_SSL,\nMASTER_SSL_CA, MASTER_SSL_CAPATH, MASTER_SSL_CERT,\nMASTER_SSL_KEY, and MASTER_SSL_CIPHER provide information for\nthe slave about how to connect to its master.\n\nThe relay log options (RELAY_LOG_FILE and RELAY_LOG_POS) are\navailable beginning with MySQL 4.0.\n\nThe SSL options\n(MASTER_SSL,\nMASTER_SSL_CA,\nMASTER_SSL_CAPATH,\nMASTER_SSL_CERT,\nMASTER_SSL_KEY,\nand\nMASTER_SSL_CIPHER)\nare available beginning with MySQL 4.1.1.\nYou can change these options even on slaves that are compiled without SSL\nsupport. They are saved to the *master.info file, but is ignored\nuntil you use a server that has SSL support enabled.\n\nIf you don't specify a given parameter, it keeps its old\nvalue, except as indicated in the following discussion. For example, if the password to connect to your MySQL master has\nchanged, you just need to issue these statements\nto tell the slave about the new password:\n\nmysql> STOP SLAVE; -- if replication was running\nmysql> CHANGE MASTER TO MASTER_PASSWORD='new3cret';\nmysql> START SLAVE; -- if you want to restart replication\n\nThere is no need to specify the parameters that do\nnot change (host, port, user, and so forth).\n\nMASTER_HOST and MASTER_PORT are the hostname (or IP address) of\nthe master host and its TCP/IP port. Note that if MASTER_HOST is\nequal to localhost, then, like in other parts of MySQL, the port\nmay be ignored (if Unix socket files can be used, for example).\n\nIf you specify MASTER_HOST or MASTER_PORT,\nthe slave assumes that the master server is different than\nbefore (even if you specify a host or port value that is\nthe same as the current value.) In this case, the old values for the master\nbinary log name and position are considered no longer applicable, so if you\ndo not specify MASTER_LOG_FILE and MASTER_LOG_POS in the\nstatement, MASTER_LOG_FILE='' and MASTER_LOG_POS=4 are\nsilently appended to it. \n\nMASTER_LOG_FILE and MASTER_LOG_POS are the coordinates\nat which the slave I/O thread should begin reading from the master the\nnext time the thread starts.\nIf you specify either of them, you can't specify RELAY_LOG_FILE or\nRELAY_LOG_POS.\nIf neither of MASTER_LOG_FILE or MASTER_LOG_POS are\nspecified, the slave uses the last coordinates of the /slave SQL thread/\nbefore CHANGE MASTER was issued. This ensures that\nreplication has no discontinuity, even if the slave SQL thread was late\ncompared to the slave I/O thread, when you just want to change, say, the\npassword to use. This safe behavior was introduced starting from MySQL\n4.0.17 and 4.1.1. (Before these versions, the coordinates used were \nthe last coordinates of the slave I/O thread before CHANGE MASTER\nwas issued. This caused the SQL thread to possibly lose some events\nfrom the master, thus breaking replication.)\n\nCHANGE MASTER /deletes all relay log files/ and starts\na new one, unless you specify RELAY_LOG_FILE or\nRELAY_LOG_POS. In that case, relay logs are kept;\nas of MySQL 4.1.1 the relay_log_purge global variable\nis set silently to 0.\n\nCHANGE MASTER TO updates the contents of the *master.info and\n*relay-log.info files.\n\nCHANGE MASTER is useful for setting up a slave when you have\nthe snapshot of the master and have recorded the log and the offset\ncorresponding to it.  After loading the snapshot into the slave, you\ncan run CHANGE MASTER TO MASTER_LOG_FILE='@var{log_name_on_master',\nMASTER_LOG_POS=@var{log_offset_on_master}} on the slave.\n\nExamples:\n\nmysql> CHANGE MASTER TO\n    ->     MASTER_HOST='master2.mycompany.com',\n    ->     MASTER_USER='replication',\n    ->     MASTER_PASSWORD='bigs3cret',\n    ->     MASTER_PORT=3306,\n    ->     MASTER_LOG_FILE='master2-bin.001',\n    ->     MASTER_LOG_POS=4,\n    ->     MASTER_CONNECT_RETRY=10;\n\nmysql> CHANGE MASTER TO\n    ->     RELAY_LOG_FILE='slave-relay-bin.006',\n    ->     RELAY_LOG_POS=4025;\n",""),(40,10,"*","   *\nMultiplication:\n","mysql> SELECT 3*5;\n        -> 15\nmysql> SELECT 18014398509481984*18014398509481984.0;\n        -> 324518553658426726783156020576256.0\nmysql> SELECT 18014398509481984*18014398509481984;\n        -> 0"),(41,11,"RTRIM","   RTRIM(@var{str})\nReturns the string @var{str} with trailing space characters removed.\n","mysql> SELECT RTRIM('barbar   ');\n        -> 'barbar'"),(42,10,"+","   +\nAddition:\n","mysql> SELECT 3+5;\n        -> 8"),(43,4,"COALESCE","   COALESCE(@var{value},...)\nReturns the first non-NULL value in the list.\n","mysql> SELECT COALESCE(NULL,1);\n        -> 1\nmysql> SELECT COALESCE(NULL,NULL,NULL);\n        -> NULL"),(44,26,"SHOW MASTER STATUS","SHOW MASTER STATUS\n\nProvides status information on the binary log files of the master.\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (45,10,"LOG","   LOG(@var{X})\n   LOG(@var{B},@var{X})\nIf called with one parameter, this function returns the natural logarithm\nof @var{X}.\n","mysql> SELECT LOG(2);\n        -> 0.693147\nmysql> SELECT LOG(-2);\n        -> NULL"),(46,10,"/","   /\nDivision:\n","mysql> SELECT 3/5;\n        -> 0.60"),(47,19,"RESET SLAVE","RESET SLAVE\n\nMakes the slave forget its replication position in the master's binary logs.\nThis statement is meant to be used for a clean start: It deletes the\n*master.info and *relay-log.info files, all the relay logs,\nand starts a new relay log.\n\nNote: All relay logs are deleted, even if they have not been\ntotally executed by the slave SQL thread.  (This is a condition likely to\nexist on a replication slave if you have issued a STOP SLAVE\nstatement or if the slave is highly loaded.)\n\nConnection information stored in the *master.info file is immediately\nreset using any values specified in the corresponding startup options.\nThis information includes values such as master host, master port, master\nuser, and master password.  If the slave SQL thread was in the middle of\nreplicating temporary tables when it was stopped, and RESET SLAVE\nis issued, these replicated temporary tables are deleted on the slave.\n\nThis statement was named FLUSH SLAVE before MySQL 3.23.26.\n",""),(48,25,"INTERSECTS","   Intersects(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not @var{g1} spatially intersects\n@var{g2}.\n",""),(49,28,"<<","   <<\nShifts a longlong (BIGINT) number to the left.\n","mysql> SELECT 1 << 2;\n        -> 4"),(50,11,"REPEAT","   REPEAT(@var{str},@var{count})\nReturns a string consisting of the string @var{str} repeated @var{count}\ntimes. If @var{count <= 0}, returns an empty string. Returns NULL if\n@var{str} or @var{count} are NULL.\n","mysql> SELECT REPEAT('MySQL', 3);\n        -> 'MySQLMySQLMySQL'"),(51,4,"<=","   <=\nLess than or equal:\n","mysql> SELECT 0.1 <= 2;\n        -> 1"),(52,26,"LOAD TABLE FROM MASTER","LOAD TABLE @var{tbl_name} FROM MASTER\n\nTransfers a copy of the table from master to the slave. This statement is\nimplemented mainly for debugging of LOAD DATA FROM MASTER.\nIt requires that the account used for connecting to the master server has the\nRELOAD and SUPER privileges on the master and the\nSELECT privilege on the master table to load.\nOn the slave side, the user that issues LOAD TABLE FROM MASTER should\nhave privileges to drop and create the table.\n\nThe conditions for LOAD DATA FROM MASTER apply here, too. For\nexample, LOAD TABLE FROM MASTER works only for MyISAM tables.\nThe timeout notes for LOAD DATA FROM MASTER apply as well.\n",""),(53,15,"TIME_FORMAT","   TIME_FORMAT(@var{time},@var{format})\nThis is used like the DATE_FORMAT() function, but the\n@var{format} string may contain only those format specifiers that handle\nhours, minutes, and seconds.  Other specifiers produce a NULL value or\n0.\n",""),(54,11,"CHAR_LENGTH","   CHAR_LENGTH(@var{str})\n\nReturns the length of the string @var{str}, measured in characters.\nA multi-byte character counts as a single character.\nThis means that for a string containing five two-byte characters,\nLENGTH() returns 10, whereas CHAR_LENGTH() returns\n5.\n",""),(55,8,"PASSWORD","","mysql> SELECT PASSWORD('badpwd');\n        -> '7f84554057dd964b'"),(56,4,"<","   <\nLess than:\n","mysql> SELECT 2 < 2;\n        -> 0"),(57,4,"=","   =\nEqual:\n","mysql> SELECT 1 = 0;\n        -> 0\nmysql> SELECT '0' = 0;\n        -> 1\nmysql> SELECT '0.0' = 0;\n        -> 1\nmysql> SELECT '0.01' = 0;\n        -> 0\nmysql> SELECT '.01' = 0.01;\n        -> 1"),(58,4,">","   >\nGreater than:\n","mysql> SELECT 2 > 2;\n        -> 0"),(59,13,"ISEMPTY","   IsEmpty(@var{g})\nReturns 1 if the geometry value @var{g} is the empty geometry, 0 if it is not\nempty, and @minus{}1 if the argument is NULL.\nIf the geometry is empty, it represents the empty point set.\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (60,10,"ABS","   ABS(@var{X})\nReturns the absolute value of @var{X}.\n","mysql> SELECT ABS(2);\n        -> 2\nmysql> SELECT ABS(-32);\n        -> 32"),(61,11,"LCASE","   LCASE(@var{str})\n\nLCASE() is a synonym for LOWER().\n",""),(62,19,"SHOW","\nSET allows you to set variables and options.\n\nSHOW has many forms that provide information about databases,\ntables, columns, or status information about the server.\nThis section describes those following:\n\nSHOW [FULL] COLUMNS FROM @var{tbl_name} [FROM @var{db_name}] [LIKE '@var{pattern}']\nSHOW CREATE DATABASE @var{db_name}\nSHOW CREATE TABLE @var{tbl_name}\nSHOW DATABASES [LIKE '@var{pattern}']\nSHOW [STORAGE] ENGINES\nSHOW ERRORS [LIMIT [@var{offset},] @var{row_count}]\nSHOW GRANTS FOR @var{user}\nSHOW INDEX FROM @var{tbl_name} [FROM @var{db_name}]\nSHOW INNODB STATUS\nSHOW [BDB] LOGS\nSHOW PRIVILEGES\nSHOW [FULL] PROCESSLIST\nSHOW STATUS [LIKE '@var{pattern}']\nSHOW TABLE STATUS [FROM @var{db_name}] [LIKE '@var{pattern}']\nSHOW [OPEN] TABLES [FROM @var{db_name}] [LIKE '@var{pattern}']\nSHOW [GLOBAL | SESSION] VARIABLES [LIKE '@var{pattern}']\nSHOW WARNINGS [LIMIT [@var{offset},] @var{row_count}]\n\nIf the syntax for a given SHOW statement includes a LIKE\n'@var{pattern'} part, '@var{pattern'} is a string that can contain the SQL %\nand _ wildcard characters.\nThe pattern is useful for restricting statement output to matching values.\n",""),(63,15,"CURTIME","   CURTIME()\n\nReturns the current time as a value in 'HH:MM:SS' or HHMMSS\nformat, depending on whether the function is used in a string or numeric\ncontext.\n","mysql> SELECT CURTIME();\n        -> '23:50:26'\nmysql> SELECT CURTIME() + 0;\n        -> 235026"),(64,1,"TYPE SET","   SET('@var{value1}','@var{value2}',...)\n\nA set.  A string object that can have zero or more values, each of which must\nbe chosen from the list of values '@var{value1'}, '@var{value2'},\n... A SET column can have a maximum of 64 members.\nSET values are represented internally as integers.\n  \n",""),(65,26,"SHOW BINLOG","SHOW BINLOG EVENTS\n   [IN '@var{log_name}'] [FROM @var{pos}] [LIMIT [@var{offset},] @var{row_count}]\n\nShows the events in the binary log. \nIf you do not specify 'log_name', the first binary log will be displayed.\n",""),(66,3,"RENAME TABLE","RENAME TABLE @var{tbl_name} TO @var{new_tbl_name}\n    [, @var{tbl_name2} TO @var{new_tbl_name2}] ...\n\nThis statement renames one or more tables.  It was added in MySQL 3.23.23.\n\nThe rename operation is done atomically, which means that no other thread\ncan access any of the tables while the rename is running. For example,\nif you have an existing table old_table, you can create another\ntable new_table that has the same structure but is empty, and then\nreplace the existing table with the empty one as follows:\n","CREATE TABLE @var{new_table} (...);\nRENAME TABLE @var{old_table} TO @var{backup_table}, @var{new_table} TO @var{old_table};"),(67,11,"SUBSTRING_INDEX","   SUBSTRING_INDEX(@var{str},@var{delim},@var{count})\nReturns the substring from string @var{str} before @var{count}\noccurrences of the delimiter @var{delim}.\nIf @var{count} is positive, everything to the left of the final delimiter\n(counting from the left) is returned.\nIf @var{count} is negative, everything to the right of the final delimiter\n(counting from the right) is returned.\n","mysql> SELECT SUBSTRING_INDEX('www.mysql.com', '.', 2);\n        -> 'www.mysql'\nmysql> SELECT SUBSTRING_INDEX('www.mysql.com', '.', -2);\n        -> 'mysql.com'"),(68,15,"LOCALTIME","   LOCALTIME\n   LOCALTIME()\n\nLOCALTIME and LOCALTIME() are synonyms for\nNOW().\n",""),(69,0,"X","   X(@var{p})\nReturns the X-coordinate value for the point @var{p} as a double-precision\nnumber.\n","mysql> SELECT X(GeomFromText('Point(56.7 53.34)'));\n+--------------------------------------+\n| X(GeomFromText('Point(56.7 53.34)')) |\n+--------------------------------------+\n|                                 56.7 |\n+--------------------------------------+"),(70,19,"START SLAVE","START SLAVE [@var{thread_type} [, @var{thread_type}] ... ]\nSTART SLAVE [SQL_THREAD] UNTIL\n    MASTER_LOG_FILE = '@var{log_name}', MASTER_LOG_POS = @var{log_pos}\nSTART SLAVE [SQL_THREAD] UNTIL\n    RELAY_LOG_FILE = '@var{log_name}', RELAY_LOG_POS = @var{log_pos}\n\nthread_type: IO_THREAD | SQL_THREAD\n\nSTART SLAVE with no options starts both of the slave threads.\nThe I/O thread reads queries from the master server and stores them in the\nrelay log.  The SQL thread reads the relay log and executes the\nqueries.\nSTART SLAVE requires the SUPER privilege.\n\nIf START SLAVE succeeds in starting the slave threads, it\nreturns without any error. However, even in that case, it might be that the slave\nthreads start and then later stop (for example, because they don't manage to\nconnect to the master or read its binary logs, or some other\nproblem). START SLAVE will not warn you about this. You must\ncheck your slave's error log for error messages generated by\nthe slave threads, or check that they are running fine with SHOW\nSLAVE STATUS.\n",""),(71,26,"SHOW MASTER LOGS","SHOW MASTER LOGS\n\nLists the binary log files on the master. This statement is used as part of\nthe procedure described in [PURGE MASTER LOGS] for determining which logs\ncan be purged.\n",""),(72,0,"Y","   Y(@var{p})\nReturns the Y-coordinate value for the point @var{p} as a double-precision\nnumber.\n","mysql> SELECT Y(GeomFromText('Point(56.7 53.34)'));\n+--------------------------------------+\n| Y(GeomFromText('Point(56.7 53.34)')) |\n+--------------------------------------+\n|                                53.34 |\n+--------------------------------------+"),(73,10,"DIV","Integer division.\nSimilar to FLOOR() but safe with BIGINT values.\n","mysql> SELECT 5 DIV 2;\n        -> 2"),(74,8,"ENCRYPT","   ENCRYPT(@var{str}[,@var{salt}])\nEncrypt @var{str} using the Unix crypt() system call. The\n@var{salt} argument should be a string with two characters.\n(As of MySQL 3.22.16, @var{salt} may be longer than two characters.)\n","mysql> SELECT ENCRYPT('hello');\n        -> 'VxuFAJXVARROc'");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (75,19,"BACKUP TABLE","Note: This statement is deprecated. We are working on a better\nreplacement for it that will provide online backup capabilities.\nIn the meantime, the @command{mysqlhotcopy} script can be used instead.\n\nBACKUP TABLE copies to the backup directory the minimum number of\ntable files needed to restore the table, after flushing any buffered changes\nto disk. The statement works only for MyISAM tables.  It copies the\n*.frm definition  and *.MYD data files. The *.MYI\nindex file can be rebuilt from those two files.\nThe directory should be specified as a full pathname.\n","BACKUP TABLE @var{tbl_name} [, @var{tbl_name}] ... TO '@var{/path/to/backup/directory}'"),(76,28,"^","   ^\nBitwise XOR:\n","mysql> SELECT 1 ^ 1;\n        -> 0\nmysql> SELECT 1 ^ 0;\n        -> 1\nmysql> SELECT 11 ^ 3;\n        -> 8"),(77,15,"TIMESTAMPDIFF FUNCTION","","mysql> SELECT TIMESTAMPDIFF(MONTH,'2003-02-01','2003-05-01');\n        -> 3\nmysql> SELECT TIMESTAMPDIFF(YEAR,'2002-05-01','2001-01-01');\n        -> -1"),(78,1,"BLOB TYPE TEXT BLOB","   BLOB\n   TEXT\n\nA BLOB or TEXT column with a maximum length of 65,535 (2^16\n@minus{}1)\ncharacters.\n",""),(79,26,"INSERT SELECT","INSERT [LOW_PRIORITY] [IGNORE] [INTO] @var{tbl_name} [(@var{column_list})]\n    SELECT ...\n\nWith INSERT ... SELECT, you can quickly insert many rows\ninto a table from one or many tables.\n","INSERT INTO tbl_temp2 (fld_id)\n    SELECT tbl_temp1.fld_order_id\n    FROM tbl_temp1 WHERE tbl_temp1.fld_order_id > 100;"),(80,26,"HANDLER","The HANDLER statement provides direct access to table storage engine\ninterfaces.  It is available for MyISAM tables as MySQL 4.0.0 and\nInnoDB tables as of MySQL 4.0.3.\n","HANDLER @var{tbl_name} OPEN [ AS @var{alias} ]\nHANDLER @var{tbl_name} READ @var{index_name} { = | >= | <= | < } (@var{value1},@var{value2},...)\n    [ WHERE @var{where_condition} ] [LIMIT ... ]\nHANDLER @var{tbl_name} READ @var{index_name} { FIRST | NEXT | PREV | LAST }\n    [ WHERE @var{where_condition} ] [LIMIT ... ]\nHANDLER @var{tbl_name} READ { FIRST | NEXT }\n    [ WHERE @var{where_condition} ] [LIMIT ... ]\nHANDLER @var{tbl_name} CLOSE"),(81,15,"LOCALTIMESTAMP","   LOCALTIMESTAMP\n   LOCALTIMESTAMP()\n\nLOCALTIMESTAMP and LOCALTIMESTAMP() are synonyms for\nNOW().\n",""),(82,1,"SMALLINT","   SMALLINT[(@var{M})] [UNSIGNED] [ZEROFILL]\n\nA small integer. The signed range is -32768 to 32767. The\nunsigned range is 0 to 65535.\n",""),(83,18,"RELEASE_LOCK","   RELEASE_LOCK(@var{str})\nReleases the lock named by the string @var{str} that was obtained with\nGET_LOCK(). Returns 1 if the lock was released, 0 if the\nlock wasn't locked by this thread (in which case the lock is not released),\nand NULL if the named lock didn't exist.  The lock will not exist if\nit was never obtained by a call to GET_LOCK() or if it already has\nbeen released.\n\nThe DO statement is convenient to use with RELEASE_LOCK().\nSee also : [DO,  , DO].\n",""),(84,10,"LOG2","   LOG2(@var{X})\nReturns the base-2 logarithm of @var{X}.\n","mysql> SELECT LOG2(65536);\n        -> 16.000000\nmysql> SELECT LOG2(-100);\n        -> NULL"),(85,5,"POLYFROMWKB","   PolyFromWKB(@var{wkb}[,@var{srid}])\n   PolygonFromWKB(@var{wkb}[,@var{srid}])\nConstructs a POLYGON value using its WKB representation and SRID.\n",""),(86,5,"GEOMCOLLFROMWKB","   GeomCollFromWKB(@var{wkb}[,@var{srid}])\n   GeometryCollectionFromWKB(@var{wkt}[,@var{srid}])\nConstructs a GEOMETRYCOLLECTION value using its WKB representation and SRID.\n",""),(87,15,"FROM_UNIXTIME","   FROM_UNIXTIME(@var{unix_timestamp})\n   FROM_UNIXTIME(@var{unix_timestamp},@var{format})\nReturns a representation of the @var{unix_timestamp} argument as a value in\n'YYYY-MM-DD HH:MM:SS' or YYYYMMDDHHMMSS format, depending on\nwhether the function is used in a string or numeric context.\n\nmysql> SELECT FROM_UNIXTIME(875996580);\n        -> '1997-10-04 22:23:00'\nmysql> SELECT FROM_UNIXTIME(875996580) + 0;\n        -> 19971004222300\n\nIf @var{format} is given, the result is formatted according to the\n@var{format} string. @var{format} may contain the same specifiers as\nthose listed in the entry for the DATE_FORMAT() function.\n","mysql> SELECT FROM_UNIXTIME(UNIX_TIMESTAMP(),\n    ->                      '%Y %D %M %h:%i:%s %x');\n        -> '2003 6th August 06:22:58 2003'"),(88,15,"SUBTIME","   SUBTIME(@var{expr},@var{expr2})\n\n\nSUBTIME() subtracts @var{expr2} from @var{expr} and returns the result.\n@var{expr} is a time or datetime expression, and @var{expr2} is a time\nexpression.\n","mysql> SELECT SUBTIME('1997-12-31 23:59:59.999999',\n    ->                '1 1:1:1.000002');\n        -> '1997-12-30 22:58:58.999997'\nmysql> SELECT SUBTIME('01:00:00.999999', '02:00:00.999998');\n        -> '-00:59:59.999999'"),(89,1,"DOUBLE","   DOUBLE[(@var{M},@var{D})] [UNSIGNED] [ZEROFILL]\n\nA normal-size (double-precision) floating-point number.\nAllowable values are -1.7976931348623157E+308 to\n-2.2250738585072014E-308, 0, and\n2.2250738585072014E-308 to 1.7976931348623157E+308.  If\nUNSIGNED is specified, negative values are disallowed.\n@var{M} is the display width and @var{D} is the number of decimals.\nDOUBLE without arguments or FLOAT(@var{p)} (where\n@var{p} is in the\nrange from 25 to 53) stands for a double-precision floating-point number.\n\n   DOUBLE PRECISION[(@var{M},@var{D})] [UNSIGNED] [ZEROFILL]\n   REAL[(@var{M},@var{D})] [UNSIGNED] [ZEROFILL]\n\nThese are synonyms for DOUBLE.\nException: If the server SQL mode includes the REAL_AS_FLOAT option,\nREAL is a synonym for FLOAT rather than DOUBLE.\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (90,10,"LN","   LN(@var{X})\nReturns the natural logarithm of @var{X}.\n","mysql> SELECT LN(2);\n        -> 0.693147\nmysql> SELECT LN(-2);\n        -> NULL"),(91,6,"MBRTOUCHES","   MBRTouches(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not the Minimum Bounding Rectangles of\nthe two geometries @var{g1} and @var{g2} touch.\n",""),(92,20,"LAST_INSERT_ID","   LAST_INSERT_ID()\n   LAST_INSERT_ID(@var{expr})\nReturns the last automatically generated value that was inserted into\nan AUTO_INCREMENT column.\n","mysql> SELECT LAST_INSERT_ID();\n        -> 195"),(93,3,"ALTER VIEW","This statement changes the definition of an existing view.\n@var{select_statement} is as for CREATE VIEW.\nSee also : [CREATE VIEW,  , CREATE VIEW].\n","ALTER VIEW @var{view_name} [(@var{column_list})] AS @var{select_statement}"),(94,2,"MULTIPOINT","   MultiPoint(@var{pt1},@var{pt2},...)\nConstructs a WKB MultiPoint value using WKB Point arguments.\nIf any argument is not a WKB Point, the return value is NULL.\n",""),(95,11,"CONCAT_WS","   CONCAT_WS(@var{separator},@var{str1},@var{str2},...)\n\nCONCAT_WS() stands for CONCAT With Separator and is a special form of\nCONCAT().  The first argument is the separator for the rest of the\narguments.\nThe separator is added between the strings to be concatenated.\nThe separator can be a string as can the rest of the\narguments. If the separator is NULL, the result is NULL.\nThe function skips any NULL values after the\nseparator argument.\n","mysql> SELECT CONCAT_WS(',','First name','Second name','Last Name');\n        -> 'First name,Second name,Last Name'\nmysql> SELECT CONCAT_WS(',','First name',NULL,'Last Name');\n        -> 'First name,Last Name'"),(96,26,"LOAD DATA","The LOAD DATA INFILE statement reads rows from a text file into a\ntable at a very high speed.\nFor more information about the efficiency of INSERT versus\nLOAD DATA INFILE and speeding up LOAD DATA INFILE,\n[Insert speed].\n\nYou can also load data files by using the @command{mysqlimport} utility; it\noperates by sending a LOAD DATA INFILE statement to the server.  The\n--local option causes @command{mysqlimport} to read data files from the\nclient host.  You can specify the --compress option to get better\nperformance over slow networks if the client and server support the\ncompressed protocol.\nSee also : [mysqlimport,  , @command{mysqlimport]}.\n\nIf you specify the LOW_PRIORITY keyword, execution of the\nLOAD DATA statement is delayed until no other clients are reading\nfrom the table.\n\nIf you specify the CONCURRENT keyword with a MyISAM table that\nsatisfies the condition for concurrent inserts (that is, it contains no free\nblocks in the middle),\nthen other threads can retrieve data from the table while LOAD DATA\nis executing. Using this option affects the performance of LOAD DATA\na bit, even if no other thread is using the table at the same time.\n\nIf the LOCAL keyword is specified, it is\ninterpreted with respect to the client end of the connection:\n\n\n --- If LOCAL is specified, the file is read by the client program on the\nclient host and sent to the server.\n\n --- If LOCAL is not specified, the\nfile must be located on the server host and is read directly by the server.\n\n\nLOCAL is available in MySQL 3.22.6 or later.\n\nFor security reasons, when reading text files located on the server, the\nfiles must either reside in the database directory or be readable by all.\nAlso, to use LOAD DATA INFILE on server files, you must have the\nFILE privilege.\n","LOAD DATA [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE '@var{file_name}.txt'\n    [REPLACE | IGNORE]\n    INTO TABLE @var{tbl_name}\n    [FIELDS\n        [TERMINATED BY '\\t']\n        [[OPTIONALLY] ENCLOSED BY '']\n        [ESCAPED BY '\\\\' ]\n    ]\n    [LINES \n        [STARTING BY '']    \n        [TERMINATED BY '\\n']\n    ]\n    [IGNORE @var{number} LINES]\n    [(@var{col_name},...)]"),(97,10,"TRUNCATE","   TRUNCATE(@var{X},@var{D})\nReturns the number @var{X}, truncated to @var{D} decimals.  If @var{D}\nis 0, the result will have no decimal point or fractional part.\nIf @var{D} is negative, the integer part of the number is zeroed out.\n","mysql> SELECT TRUNCATE(1.223,1);\n        -> 1.2\nmysql> SELECT TRUNCATE(1.999,1);\n        -> 1.9\nmysql> SELECT TRUNCATE(1.999,0);\n        -> 1\nmysql> SELECT TRUNCATE(-1.999,1);\n        -> -1.9\nmysql> SELECT TRUNCATE(122,-2);\n       -> 100"),(98,10,"FLOOR","   FLOOR(@var{X})\nReturns the largest integer value not greater than @var{X}.\n","mysql> SELECT FLOOR(1.23);\n        -> 1\nmysql> SELECT FLOOR(-1.23);\n        -> -2"),(99,15,"GET_FORMAT","   GET_FORMAT(DATE|TIME|DATETIME, 'EUR'|'USA'|'JIS'|'ISO'|'INTERNAL')\nReturns a format string. This function is useful in combination with the \nDATE_FORMAT() and the STR_TO_DATE() functions.\nThe three possible values for the first argument \nand the five possible values for the second argument result in 15 possible \nformat strings (for the specifiers used, see the table in the \nDATE_FORMAT() function description).\n     Function Call 	 Result\n   GET_FORMAT(DATE,'USA') 	 '%m.%d.%Y'\n   GET_FORMAT(DATE,'JIS') 	 '%Y-%m-%d'\n   GET_FORMAT(DATE,'ISO') 	 '%Y-%m-%d'\n   GET_FORMAT(DATE,'EUR') 	 '%d.%m.%Y'\n   GET_FORMAT(DATE,'INTERNAL') 	 '%Y%m%d'\n   GET_FORMAT(DATETIME,'USA') 	 '%Y-%m-%d-%H.%i.%s'\n   GET_FORMAT(DATETIME,'JIS') 	 '%Y-%m-%d %H:%i:%s'\n   GET_FORMAT(DATETIME,'ISO') 	 '%Y-%m-%d %H:%i:%s'\n   GET_FORMAT(DATETIME,'EUR') 	 '%Y-%m-%d-%H.%i.%s'\n   GET_FORMAT(DATETIME,'INTERNAL') 	 '%Y%m%d%H%i%s'\n   GET_FORMAT(TIME,'USA') 	 '%h:%i:%s %p'\n   GET_FORMAT(TIME,'JIS') 	 '%H:%i:%s'\n   GET_FORMAT(TIME,'ISO') 	 '%H:%i:%s'\n   GET_FORMAT(TIME,'EUR') 	 '%H.%i.%S'\n   GET_FORMAT(TIME,'INTERNAL') 	 '%H%i%s'\n  \nISO format is ISO 9075, not ISO 8601.\n\nAs of MySQL 4.1.4, TIMESTAMP can also be used;\nGET_FORMAT() returns the same values as for DATETIME.\n","mysql> SELECT DATE_FORMAT('2003-10-03',GET_FORMAT(DATE,'EUR'));\n        -> '03.10.2003'\nmysql> SELECT STR_TO_DATE('10.31.2003',GET_FORMAT(DATE,'USA'));\n        -> 2003-10-31\n@c Following is commented out because not yet implemented\n@c mysql> SET DATE_FORMAT=GET_FORMAT(DATE, 'USA'); SELECT '2003-10-31';\n@c         -> 10-31-2003"),(100,11,"LOCATE","   LOCATE(@var{substr},@var{str})\n   LOCATE(@var{substr},@var{str},@var{pos})\n\nThe first syntax\nreturns the position of the first occurrence of substring @var{substr}\nin string @var{str}.\nThe second syntax\nreturns the position of the first occurrence of substring @var{substr} in\nstring @var{str}, starting at position @var{pos}.\nReturns 0 if @var{substr} is not in @var{str}.\n",""),(101,4,">=","   >=\nGreater than or equal:\n","mysql> SELECT 2 >= 2;\n        -> 1"),(102,28,">>","   >>\nShifts a longlong (BIGINT) number to the right.\n","mysql> SELECT 4 >> 2;\n        -> 1"),(103,10,"CEILING","   CEILING(@var{X})\n   CEIL(@var{X})\nReturns the smallest integer value not less than @var{X}.\n","mysql> SELECT CEILING(1.23);\n        -> 2\nmysql> SELECT CEIL(-1.23);\n        -> -1"),(104,14,"IFNULL","   IFNULL(@var{expr1},@var{expr2})\nIf @var{expr1} is not NULL, IFNULL() returns @var{expr1},\nelse it returns @var{expr2}.  IFNULL() returns a numeric or string\nvalue, depending on the context in which it is used.\n","mysql> SELECT IFNULL(1,0);\n        -> 1\nmysql> SELECT IFNULL(NULL,10);\n        -> 10\nmysql> SELECT IFNULL(1/0,10);\n        -> 10\nmysql> SELECT IFNULL(1/0,'yes');\n        -> 'yes'");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (105,28,"|","   |\nBitwise OR:\n","mysql> SELECT 29 | 15;\n        -> 31"),(106,13,"ISSIMPLE","   IsSimple(@var{g})\n\nCurrently, this function is a placeholder and should not be used.\nIf implemented, its behavior will be as described in the next paragraph.\n\nReturns 1 if the geometry value @var{g} has no anomalous geometric points,\nsuch as self-intersection or self-tangency. IsSimple() returns 0 if the\nargument is not simple, and @minus{}1 if it is NULL.\n\nThe description of each instantiable geometric class given earlier in\nthe chapter includes the specific conditions that cause an instance of\nthat class to be classified as not simple.\n",""),(107,17,"MLINEFROMTEXT","   MLineFromText(@var{wkt}[,@var{srid}])\n   MultiLineStringFromText(@var{wkt}[,@var{srid}])\nConstructs a MULTILINESTRING value using its WKT representation and SRID.\n",""),(108,3,"CREATE VIEW","This statement creates a new view, or replaces an existing one if the\nOR REPLACE clause is given. The @var{select_statement} is a\nSELECT statement that provides the definition of the view.\nThe optional column list can be given to define explicit names for the\nview columns.\n\nWITH CHECK OPTION, if given, is parsed and ignored.\n",""),(109,11,"CHAR FUNCTION","   CHAR(@var{N},...)\nCHAR() interprets the arguments as integers and returns a string\nconsisting of the characters given by the code values of those\nintegers. NULL values are skipped.\n","mysql> SELECT CHAR(77,121,83,81,'76');\n        -> 'MySQL'\nmysql> SELECT CHAR(77,77.3,'77.3');\n        -> 'MMM'"),(110,10,"DEGREES","   DEGREES(@var{X})\nReturns the argument @var{X}, converted from radians to degrees.\n","mysql> SELECT DEGREES(PI());\n        -> 180.000000"),(111,28,"~","   ~\nInvert all bits.\n","mysql> SELECT 5 & ~1;\n        -> 4"),(112,15,"ADDDATE","   ADDDATE(@var{date},INTERVAL @var{expr} @var{type})\n   ADDDATE(@var{expr},@var{days})\n\nWhen invoked with the INTERVAL form of the second argument,\nADDDATE() is a synonym for DATE_ADD().  The related\nfunction SUBDATE() is a synonym for DATE_SUB().\nFor information on the INTERVAL argument, see the\ndiscussion for DATE_ADD().\n\nmysql> SELECT DATE_ADD('1998-01-02', INTERVAL 31 DAY);\n        -> '1998-02-02'\nmysql> SELECT ADDDATE('1998-01-02', INTERVAL 31 DAY);\n        -> '1998-02-02'\n\nAs of MySQL 4.1.1, the second syntax is allowed, where @var{expr} is a date\nor datetime expression and @var{days} is the number of days to be added to\n@var{expr}.\n\nmysql> SELECT ADDDATE('1998-01-02', 31);\n        -> '1998-02-02'\n",""),(113,25,"OVERLAPS","   Overlaps(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not @var{g1} spatially overlaps\n@var{g2}.\nThe term /spatially overlaps/ is used if two\ngeometries intersect and their intersection results in a geometry of the\nsame dimension but not equal to either of the given geometries.\n",""),(114,25,"EQUALS","   Equals(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not @var{g1} is spatially equal to\n@var{g2}.\n",""),(115,10,"ACOS","   ACOS(@var{X})\nReturns the arc cosine of @var{X}, that is, the value whose cosine is\n@var{X}. Returns NULL if @var{X} is not in the range -1 to\n1.\n","mysql> SELECT ACOS(1);\n        -> 0.000000\nmysql> SELECT ACOS(1.0001);\n        -> NULL\nmysql> SELECT ACOS(0);\n        -> 1.570796"),(116,11,"LEFT","   LEFT(@var{str},@var{len})\nReturns the leftmost @var{len} characters from the string @var{str}.\n","mysql> SELECT LEFT('foobarbar', 5);\n        -> 'fooba'"),(117,26,"RESET MASTER","RESET MASTER\n\nDeletes all binary logs listed in the index file,\nresets the binary log index file to be empty, and creates a new binary log\nfile.\n\nThis statement was named FLUSH MASTER before MySQL 3.23.26.\n",""),(118,11,"LENGTH","   LENGTH(@var{str})\nReturns the length of the string @var{str}, measured in bytes.\nA multi-byte character counts as multiple bytes.\nThis means that for a string containing five two-byte characters,\nLENGTH() returns 10, whereas CHAR_LENGTH() returns\n5.\n","mysql> SELECT LENGTH('text');\n        -> 4"),(119,11,"LTRIM","   LTRIM(@var{str})\nReturns the string @var{str} with leading space characters removed.\n","mysql> SELECT LTRIM('  barbar');\n        -> 'barbar'");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (120,4,"NOT BETWEEN","   @var{expr} NOT BETWEEN @var{min} AND @var{max}\nThis is the same as NOT (@var{expr BETWEEN @var{min} AND @var{max})}.\n",""),(121,1,"NUMERIC","   DECIMAL[(@var{M}[,@var{D}])] [UNSIGNED] [ZEROFILL]\n\nAn unpacked fixed-point number.  Behaves like a CHAR column;\n``unpacked'' means the number is stored as a string, using one character for\neach digit of the value.  @var{M} is the total number of digits and\n@var{D} is the number of decimals.  The decimal point and (for negative\nnumbers) the - sign are not counted in @var{M}, although space for\nthem is reserved. If @var{D} is 0, values have no decimal point or\nfractional part.  The maximum range of DECIMAL values is the same as\nfor DOUBLE, but the actual range for a given DECIMAL column\nmay be constrained by the choice of @var{M} and @var{D}.  If\nUNSIGNED is specified, negative values are disallowed.\n\nIf @var{D} is omitted, the default is 0.  If @var{M} is omitted, the\ndefault is 10.\n\nPrior to MySQL 3.23, the @var{M} argument must be large enough to\ninclude the space needed for the sign and the decimal point.\n\n   DEC[(@var{M}[,@var{D}])] [UNSIGNED] [ZEROFILL]\n   NUMERIC[(@var{M}[,@var{D}])] [UNSIGNED] [ZEROFILL]\n   FIXED[(@var{M}[,@var{D}])] [UNSIGNED] [ZEROFILL]\n\nThese are synonyms for DECIMAL.\n\nThe FIXED synonym was added in MySQL 4.1.0 for compatibility\nwith other servers.\n",""),(122,10,"ATAN2","   ATAN(@var{Y},@var{X})\n   ATAN2(@var{Y},@var{X})\nReturns the arc tangent of the two variables @var{X} and @var{Y}. It is\nsimilar to calculating the arc tangent of @var{Y / @var{X}}, except that the\nsigns of both arguments are used to determine the quadrant of the\nresult.\n","mysql> SELECT ATAN(-2,2);\n        -> -0.785398\nmysql> SELECT ATAN2(PI(),0);\n        -> 1.570796"),(123,26,"RESET","The RESET statement is used to clear the state of various server\noperations. It also acts as a stronger\nversion of the FLUSH statement.  See also : [FLUSH, , FLUSH].\n","RESET @var{reset_option} [, @var{reset_option}] ..."),(124,17,"MPOLYFROMTEXT","   MPolyFromText(@var{wkt}[,@var{srid}])\n   MultiPolygonFromText(@var{wkt}[,@var{srid}])\nConstructs a MULTIPOLYGON value using its WKT representation and SRID.\n",""),(125,23,"START TRANSACTION","By default, MySQL runs with autocommit mode enabled. This means that\nas soon as you execute a statement that updates (modifies) a table,\nMySQL stores the update on disk.\n\nIf you are using transaction-safe tables (like InnoDB or BDB),\nyou can disable autocommit mode with the following statement:\n\nSET AUTOCOMMIT=0;\n\nAfter disabling autocommit mode by setting the AUTOCOMMIT variable to\nzero, you must use COMMIT to store your changes to disk or\nROLLBACK if you want to ignore the changes you have made since\nthe beginning of your transaction.\n\nIf you want to disable autocommit mode for a single series of\nstatements, you can use the START TRANSACTION statement:\n","START TRANSACTION;\nSELECT @A:=SUM(salary) FROM table1 WHERE type=1;\nUPDATE table2 SET summary=@A WHERE type=1;\nCOMMIT;"),(126,15,"DAYOFMONTH","   DAYOFMONTH(@var{date})\nReturns the day of the month for @var{date}, in the range 1 to\n31.\n","mysql> SELECT DAYOFMONTH('1998-02-03');\n        -> 3"),(127,10,"RAND","   RAND()\n   RAND(@var{N})\nReturns a random floating-point value in the range from 0 to 1.0.\nIf an integer argument @var{N} is specified, it is used as the seed value\n(producing a repeatable sequence).\n","mysql> SELECT RAND();\n        -> 0.9233482386203\nmysql> SELECT RAND(20);\n        -> 0.15888261251047\nmysql> SELECT RAND(20);\n        -> 0.15888261251047\nmysql> SELECT RAND();\n        -> 0.63553050033332\nmysql> SELECT RAND();\n        -> 0.70100469486881"),(128,11,"CONV","   CONV(@var{N},@var{from_base},@var{to_base})\nConverts numbers between different number bases.  Returns a string\nrepresentation of the number @var{N}, converted from base @var{from_base}\nto base @var{to_base}.  Returns NULL if any argument is NULL.\nThe argument @var{N} is interpreted as an integer, but may be specified as\nan integer or a string.  The minimum base is 2 and the maximum base is\n36.  If @var{to_base} is a negative number, @var{N} is regarded as a\nsigned number.  Otherwise, @var{N} is treated as unsigned.  CONV() works\nwith 64-bit precision.\n","mysql> SELECT CONV('a',16,2);\n        -> '1010'\nmysql> SELECT CONV('6E',18,8);\n        -> '172'\nmysql> SELECT CONV(-17,10,-18);\n        -> '-H'\nmysql> SELECT CONV(10+'10'+'10'+0xa,10,10);\n        -> '40'"),(129,11,"REPLACE","   REPLACE(@var{str},@var{from_str},@var{to_str})\nReturns the string @var{str} with all occurrences of the string\n@var{from_str} replaced by the string @var{to_str}.\n","mysql> SELECT REPLACE('www.mysql.com', 'w', 'Ww');\n        -> 'WwWwWw.mysql.com'"),(130,1,"FLOAT","   FLOAT(@var{p}) [UNSIGNED] [ZEROFILL]\n\nA floating-point number.  @var{p} represents the precision. It can be from\n0 to 24 for a single-precision floating-point number and from 25 to 53 for a\ndouble-precision floating-point number. These types are like the FLOAT\nand DOUBLE types described immediately following.  FLOAT(p)\nhas the same range as the corresponding FLOAT and DOUBLE\ntypes, but the display size and number of decimals are undefined.\n\nAs of MySQL 3.23, this is a true floating-point value.  In\nearlier MySQL versions, FLOAT(@var{p)} always has two decimals.\n\nThis syntax is provided for ODBC compatibility.\n\nUsing FLOAT might give you some unexpected problems because\nall calculations in MySQL are done with double precision.\nSee also : [No matching rows].\n\n   FLOAT[(@var{M},@var{D})] [UNSIGNED] [ZEROFILL]\n\nA small (single-precision) floating-point number.  Allowable values are\n-3.402823466E+38 to -1.175494351E-38, 0,\nand 1.175494351E-38 to 3.402823466E+38.  If\nUNSIGNED is specified, negative values are disallowed.  @var{M}\nis the display width and @var{D} is the number of decimals.  FLOAT\nwithout arguments or FLOAT(@var{p)} (where @var{p} is in the range from\n0 to 24) stands for a single-precision floating-point number.\n",""),(131,1,"ENUM","   ENUM('@var{value1}','@var{value2}',...)\n\nAn enumeration.  A string object that can have only one value, chosen\nfrom the list of values '@var{value1'}, '@var{value2'}, ...,\nNULL or the special '' error value.  An ENUM column can\nhave a maximum of 65,535 distinct values.\nENUM values are represented internally as integers.\n",""),(132,21,"STARTPOINT","   StartPoint(@var{ls})\nReturns the Point that is the start point of the LineString value\n@var{ls}.\n","mysql> SET @ls = 'LineString(1 1,2 2,3 3)';\nmysql> SELECT AsText(StartPoint(GeomFromText(@ls)));\n+---------------------------------------+\n| AsText(StartPoint(GeomFromText(@ls))) |\n+---------------------------------------+\n| POINT(1 1)                            |\n+---------------------------------------+"),(133,17,"GEOMFROMTEXT","   GeomFromText(@var{wkt}[,@var{srid}])\n   GeometryFromText(@var{wkt}[,@var{srid}])\nConstructs a geometry value of any type using its WKT representation and SRID.\n",""),(134,18,"INET_NTOA","   INET_NTOA(@var{expr})\nGiven a numeric network address (4 or 8 byte), returns the dotted-quad\nrepresentation of the address as a string.\n","mysql> SELECT INET_NTOA(3520061480);\n        -> '209.207.224.40'");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (135,20,"COLLATION","   COLLATION(@var{str})\nReturns the collation for the character set of the string argument.\n","mysql> SELECT COLLATION('abc');\n        -> 'latin1_swedish_ci'\nmysql> SELECT COLLATION(_utf8'abc');\n        -> 'utf8_general_ci'"),(136,4,"!=","   <>\n   !=\nNot equal:\n","mysql> SELECT '.01' <> '0.01';\n        -> 1\nmysql> SELECT .01 <> '0.01';\n        -> 0\nmysql> SELECT 'zapp' <> 'zappp';\n        -> 1"),(137,11,"RPAD","   RPAD(@var{str},@var{len},@var{padstr})\nReturns the string @var{str}, right-padded with the string @var{padstr}\nto a length of @var{len} characters. If @var{str} is longer\nthan @var{len}, the return value is shortened to @var{len} characters.\n","mysql> SELECT RPAD('hi',5,'?');\n        -> 'hi???'\nmysql> SELECT RPAD('hi',1,'?');\n        -> 'h'"),(138,1,"DATE","A date.  The supported range is '1000-01-01' to '9999-12-31'.\nMySQL displays DATE values in 'YYYY-MM-DD' format, but\nallows you to assign values to DATE columns using either strings or\nnumbers.\n",""),(139,21,"ENDPOINT","   EndPoint(@var{ls})\nReturns the Point that is the end point of the LineString value\n@var{ls}.\n","mysql> SET @ls = 'LineString(1 1,2 2,3 3)';\nmysql> SELECT AsText(EndPoint(GeomFromText(@ls)));\n+-------------------------------------+\n| AsText(EndPoint(GeomFromText(@ls))) |\n+-------------------------------------+\n| POINT(3 3)                          |\n+-------------------------------------+"),(140,5,"POINTFROMWKB","   PointFromWKB(@var{wkb}[,@var{srid}])\nConstructs a POINT value using its WKB representation and SRID.\n",""),(141,11,"CHARACTER_LENGTH","   CHARACTER_LENGTH(@var{str})\n\nCHARACTER_LENGTH() is a synonym for CHAR_LENGTH().\n",""),(142,15,"DAYOFYEAR","   DAYOFYEAR(@var{date})\nReturns the day of the year for @var{date}, in the range 1 to\n366.\n","mysql> SELECT DAYOFYEAR('1998-02-03');\n        -> 34"),(143,11,"EXPORT_SET","   EXPORT_SET(@var{bits},@var{on},@var{off}[,@var{separator}[,@var{number_of_bits}]])\nReturns a string in which for every bit set in the value @var{bits}, you\nget an @var{on} string and for every reset bit you get an @var{off}\nstring.  Bits in @var{bits} are examined from right to left (from low-order\nto high-order bits). Strings are added to the result from left to right,\nseparated by the @var{separator} string (default ,). The number of\nbits examined is given by @var{number_of_bits} (default 64).\n","mysql> SELECT EXPORT_SET(5,'Y','N',',',4);\n        -> 'Y,N,Y,N'\nmysql> SELECT EXPORT_SET(6,'1','0',',',10);\n        -> '0,1,1,0,0,0,0,0,0,0'"),(144,11,"LIKE","   @var{expr} LIKE @var{pat} [ESCAPE '@var{escape-char}']\nPattern matching using\nSQL simple regular expression comparison. Returns 1 (TRUE) or 0\n(FALSE).  If either @var{expr} or @var{pat} is NULL, the result is\nNULL.\n\nWith LIKE you can use the following two wildcard characters\nin the pattern:\n\n     Character 	 Description\n   % 	 Matches any number of characters, even zero characters\n   _ 	 Matches exactly one character\n  \n","mysql> SELECT 'David!' LIKE 'David_';\n        -> 1\nmysql> SELECT 'David!' LIKE '%D%v%';\n        -> 1"),(145,1,"MEDIUMBLOB","   MEDIUMBLOB\n   MEDIUMTEXT\n\nA BLOB or TEXT column with a maximum length of 16,777,215\n(2^24 @minus{} 1) characters.\n",""),(146,11,"MAKE_SET","   MAKE_SET(@var{bits},@var{str1},@var{str2},...)\nReturns a set value (a string containing substrings separated by ,\ncharacters) consisting of the strings that have the corresponding bit in\n@var{bits} set.  @var{str1} corresponds to bit 0, @var{str2} to bit 1,\nand so on.  NULL values in @var{str1}, @var{str2}, ...\nare not appended to the result.\n","mysql> SELECT MAKE_SET(1,'a','b','c');\n        -> 'a'\nmysql> SELECT MAKE_SET(1 | 4,'hello','nice','world');\n        -> 'hello,world'\nmysql> SELECT MAKE_SET(1 | 4,'hello','nice',NULL,'world');\n        -> 'hello'\nmysql> SELECT MAKE_SET(0,'a','b','c');\n        -> ''"),(147,20,"USER","   USER()\n\nReturns the current MySQL username and hostname.\n","mysql> SELECT USER();\n        -> 'davida@localhost'"),(148,19,"GRANT TYPES","For the GRANT and REVOKE statements, priv_type can be\nspecified as any of the following:\n\n     Privilege 	 Meaning\n   ALL [PRIVILEGES] 	 Sets all simple privileges except GRANT OPTION\n   ALTER  	 Allows use of ALTER TABLE\n   CREATE 	 Allows use of CREATE TABLE\n   CREATE TEMPORARY TABLES 	 Allows use of CREATE TEMPORARY TABLE\n   CREATE VIEW 	 Allows use of CREATE VIEW\n   DELETE 	 Allows use of DELETE\n   DROP 	 Allows use of DROP TABLE\n   EXECUTE 	 Allows the user to run stored procedures (MySQL 5.0)\n   FILE 	 Allows use of SELECT ... INTO OUTFILE and LOAD DATA INFILE\n   INDEX 	 Allows use of CREATE INDEX and DROP INDEX\n   INSERT 	 Allows use of INSERT\n   LOCK TABLES 	 Allows use of LOCK TABLES on tables for which you have the SELECT privilege\n   PROCESS 	 Allows use of SHOW FULL PROCESSLIST\n   REFERENCES 	 Not yet implemented\n   RELOAD 	 Allows use of FLUSH\n   REPLICATION CLIENT 	 Allows the user to ask where the slave or master servers are\n   REPLICATION SLAVE 	 Needed for replication slaves (to read binary log events from the master)\n   SELECT 	 Allows use of SELECT\n   SHOW DATABASES 	 SHOW DATABASES shows all databases\n   SHOW VIEW 	 Allows use of SHOW CREATE VIEW\n   SHUTDOWN 	 Allows use of @command{mysqladmin shutdown}\n   SUPER 	 Allows use of CHANGE MASTER, KILL,\nPURGE MASTER LOGS, and SET GLOBAL statements, the @command{mysqladmin debug} command; allows you to connect (once) even if max_connections is reached\n   UPDATE 	 Allows use of UPDATE\n   USAGE 	 Synonym for ``no privileges''\n   GRANT OPTION 	 Allows privileges to be granted\n  \n",""),(149,26,"UNION","UNION is used to combine the result from many SELECT\nstatements into one result set.  UNION is available from MySQL 4.0.0\non.\n\nSelected columns listed in corresponding positions of each SELECT\nstatement should have the same type. (For example, the first column selected\nby the first statement should have the same type as the first column selected\nby the other statements.) The column names used in\nthe first SELECT statement are used as the column names for the\nresults returned.\n","SELECT ...\nUNION [ALL | DISTINCT]\nSELECT ...\n  [UNION [ALL | DISTINCT]\n   SELECT ...]");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (150,1,"BLOB","A BLOB is a binary large object that can hold a variable amount of\ndata.  The four BLOB types, TINYBLOB, BLOB,\nMEDIUMBLOB, and LONGBLOB, differ only in the maximum length of\nthe values they can hold.\n",""),(151,1,"DATETIME","A date and time combination.  The supported range is '1000-01-01\n00:00:00' to '9999-12-31 23:59:59'.  MySQL displays\nDATETIME values in 'YYYY-MM-DD HH:MM:SS' format, but allows you\nto assign values to DATETIME columns using either strings or numbers.\n",""),(152,25,"RELATED","   Related(@var{g1},@var{g2},@var{pattern_matrix})\nReturns 1 or 0 to indicate whether or not the spatial relationship specified\nby @var{pattern_matrix} exists between @var{g1} and @var{g2}.\nReturns @minus{}1 if the arguments are NULL.\nThe pattern matrix is a string. Its specification will be noted here if this\nfunction is implemented.\n",""),(153,10,"EXP","   EXP(@var{X})\nReturns the value of e (the base of natural logarithms) raised to\nthe power of @var{X}.\n","mysql> SELECT EXP(2);\n        -> 7.389056\nmysql> SELECT EXP(-2);\n        -> 0.135335"),(154,18,"INET_ATON","   INET_ATON(@var{expr})\nGiven the dotted-quad representation of a network address as a string,\nreturns an integer that represents the numeric value of the address.\nAddresses may be 4- or 8-byte addresses.\n","mysql> SELECT INET_ATON('209.207.224.40');\n        -> 3520061480"),(155,5,"GEOMFROMWKB","   GeomFromWKB(@var{wkb}[,@var{srid}])\n   GeometryFromWKB(@var{wkt}[,@var{srid}])\nConstructs a geometry value of any type using its WKB representation and SRID.\n",""),(156,25,"DISJOINT","   Disjoint(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not @var{g1} is spatially disjoint\nfrom (does not intersect) @var{g2}.\n",""),(157,3,"CREATE DATABASE","CREATE DATABASE creates a database with the given name.  \nTo use CREATE DATABASE, you need the CREATE privilege on the\ndatabase.\n","CREATE DATABASE [IF NOT EXISTS] @var{db_name}\n    [@var{create_specification} [, @var{create_specification}] ...]\n\n@var{create_specification}:\n    [DEFAULT] CHARACTER SET @var{charset_name}\n  | [DEFAULT] COLLATE @var{collation_name}"),(158,10,"COS","   COS(@var{X})\nReturns the cosine of @var{X}, where @var{X} is given in radians.\n","mysql> SELECT COS(PI());\n        -> -1.000000"),(159,10,"CRC32","   CRC32(@var{expr})\nComputes a cyclic redundancy check value and returns a 32-bit unsigned value.\nThe result is NULL if the argument is NULL.\nThe argument is expected be a string and will be treated as one if it is not.\n","mysql> SELECT CRC32('MySQL');\n        -> 3259397556"),(160,2,"GEOMETRYCOLLECTION","   GeometryCollection(@var{g1},@var{g2},...)\nConstructs a WKB GeometryCollection. If any argument is not a\nwell-formed WKB representation of a geometry, the return value is\nNULL.\n",""),(161,18,"FORMAT","   FORMAT(@var{X},@var{D})\nFormats the number @var{X} to a format like '#,###,###.##', rounded\nto @var{D} decimals, and returns the result as a string.\nIf @var{D} is 0, the result will have no\ndecimal point or fractional part.\n","mysql> SELECT FORMAT(12332.123456, 4);\n        -> '12,332.1235'\nmysql> SELECT FORMAT(12332.1,4);\n        -> '12,332.1000'\nmysql> SELECT FORMAT(12332.2,0);\n        -> '12,332'"),(162,11,"COMPRESS","   COMPRESS(@var{string_to_compress})\nCompresses a string. This function requires MySQL to have been compiled\nwith a compression library such as zlib. Otherwise, the return\nvalue is always NULL. The compressed string can be uncompressed with\nUNCOMPRESS().\n","mysql> SELECT LENGTH(COMPRESS(REPEAT('a',1000)));\n        -> 21\nmysql> SELECT LENGTH(COMPRESS(''));\n        -> 0\nmysql> SELECT LENGTH(COMPRESS('a'));\n        -> 13\nmysql> SELECT LENGTH(COMPRESS(REPEAT('a',16)));\n        -> 15"),(163,10,"COT","   COT(@var{X})\nReturns the cotangent of @var{X}.\n","mysql> SELECT COT(12);\n        -> -1.57267341\nmysql> SELECT COT(0);\n        -> NULL"),(164,15,"FROM_DAYS","   FROM_DAYS(@var{N})\nGiven a daynumber @var{N}, returns a DATE value.\n","mysql> SELECT FROM_DAYS(729669);\n        -> '1997-10-07'");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (165,4,"INTERVAL","   INTERVAL(@var{N},@var{N1},@var{N2},@var{N3},...)\nReturns 0 if @var{N} < @var{N1}, 1 if @var{N} < @var{N2}\nand so on or -1 if @var{N} is NULL. All arguments are treated\nas integers.  It is required that @var{N1} < @var{N2} < @var{N3} < \n... < @var{Nn} for this function to work correctly. This is because\na binary search is used (very fast).\n","mysql> SELECT INTERVAL(23, 1, 15, 17, 30, 44, 200);\n        -> 3\nmysql> SELECT INTERVAL(10, 1, 10, 100, 1000);\n        -> 2\nmysql> SELECT INTERVAL(22, 23, 30, 44, 200);\n        -> 0"),(166,19,"GRANT","The GRANT and REVOKE statements allow system administrators to\ncreate MySQL user accounts and to grant rights to and revoke them from\naccounts.  GRANT and REVOKE are implemented in MySQL 3.22.11\nor later. For earlier MySQL versions, these statements do nothing.\n\nMySQL account information is stored in the tables of the mysql\ndatabase. This database and the access control system are discussed\nextensively in [MySQL Database Administration], which you should consult\nfor additional details.\n\nPrivileges can be granted at four levels:\n\n   Global level\nGlobal privileges apply to all databases on a given server. These privileges\nare stored in the mysql.user table.\nGRANT ALL ON *.* and\nREVOKE ALL ON *.* grant and revoke only global privileges.\n\n   Database level\nDatabase privileges apply to all tables in a given database. These privileges\nare stored in the mysql.db and mysql.host tables.\nGRANT ALL ON @var{db_name.*} and\nREVOKE ALL ON @var{db_name.*} grant and revoke only database privileges.\n\n   Table level\nTable privileges apply to all columns in a given table. These privileges are\nstored in the mysql.tables_priv table.\nGRANT ALL ON @var{db_name.tbl_name} and\nREVOKE ALL ON @var{db_name.tbl_name} grant and revoke only table privileges.\n\n   Column level\nColumn privileges apply to single columns in a given table. These privileges are\nstored in the mysql.columns_priv table.\nWhen using REVOKE, you must specify the same columns that were granted.\n  \n","GRANT @var{priv_type} [(@var{column_list})] [, @var{priv_type} [(@var{column_list})]] ...\n    ON {@var{tbl_name} | * | *.* | @var{db_name}.*}\n    TO @var{user} [IDENTIFIED BY [PASSWORD] '@var{password}']\n        [, @var{user} [IDENTIFIED BY [PASSWORD] '@var{password}']] ...\n    [REQUIRE\n        NONE |\n        [{SSL| X509}]\n        [CIPHER '@var{cipher}' [AND]]\n        [ISSUER '@var{issuer}' [AND]]\n        [SUBJECT '@var{subject}']]\n    [WITH [GRANT OPTION | MAX_QUERIES_PER_HOUR @var{count} |\n                          MAX_UPDATES_PER_HOUR @var{count} |\n                          MAX_CONNECTIONS_PER_HOUR @var{count}]]"),(167,26,"INSERT DELAYED","The DELAYED option for the INSERT statement is a\nMySQL extension to standard SQL that is very useful if you have clients\nthat can't wait for the INSERT to complete.  This is a common\nproblem when you use MySQL for logging and you also\nperiodically run SELECT and UPDATE statements that take a\nlong time to complete.  DELAYED was introduced in MySQL\n3.22.15.\n\nWhen a client uses INSERT DELAYED, it gets an okay from the server at\nonce, and the row is queued to be inserted when the table is not in use by\nany other thread.\n\nAnother major benefit of using INSERT DELAYED is that inserts\nfrom many clients are bundled together and written in one block. This is much\nfaster than doing many separate inserts.\n\nThere are some constraints on the use of DELAYED:\n\n\n --- INSERT DELAYED works only with MyISAM and ISAM\ntables.\nAs of MySQL 4.0.14, it also works with InnoDB tables.\nFor MyISAM tables, if there are no free blocks in the middle of the\ndata file, concurrent SELECT and INSERT statements are supported.\nUnder these circumstances, you very seldom need to use INSERT\nDELAYED with MyISAM. See also : [MyISAM].\n\n --- INSERT DELAYED should be used only for INSERT statements that\nspecify value lists. This is enforced as of MySQL 4.0.18.  The server ignores\nDELAYED for INSERT DELAYED ... SELECT statements.\n\n --- The server ignores\nDELAYED for INSERT DELAYED ... ON DUPLICATE UPDATE statements.\n\n --- Because the statement returns immediately before the rows are inserted,\nyou cannot use LAST_INSERT_ID() to get the AUTO_INCREMENT\nvalue the statement might generate.\n\n --- DELAYED rows are not visible to SELECT statements until they\nactually have been inserted.\n","INSERT DELAYED ..."),(168,15,"WEEK","   WEEK(@var{date}[,@var{mode}])\nThe function returns the week number for @var{date}.  The two-argument form\nof WEEK() allows you to specify whether the week starts on Sunday or\nMonday and whether the return value should be in the range from 0 to\n53 or from 1 to 52. If the @var{mode} argument is\nomitted, the value of the default_week_format system variable is\nused (or 0 before MySQL 4.0.14).\nSee also : [Server system variables].\n\nThe following table describes how the @var{mode} argument works:\n\n     Value 	 Meaning\n   0 	 Week starts on Sunday; return value range is 0 to\n53; week 1 is the first week that starts in this year\n   1 	 Week starts on Monday; return value range is 0 to\n53; week 1 is the first week that has more than three days in this year\n   2 	 Week starts on Sunday; return value range is 1 to\n53; week 1 is the first week that starts in this year\n   3 	 Week starts on Monday; return value range is 1 to\n53; week 1 is the first week that has more than three days in this year\n   4 	 Week starts on Sunday; return value range is 0 to\n53; week 1 is the first week that has more than three days in this year\n   5 	 Week starts on Monday; return value range is 0 to\n53; week 1 is the first week that starts in this year\n   6 	 Week starts on Sunday; return value range is 1 to\n53; week 1 is the first week that has more than three days in this year\n   7 	 Week starts on Monday; return value range is 1 to\n53; week 1 is the first week that starts in this year\n  \n\nThe @var{mode} value of 3 can be used as of MySQL 4.0.5.\nValues of 4 and above can be used as of MySQL 4.0.17.\n","mysql> SELECT WEEK('1998-02-20');\n        -> 7\nmysql> SELECT WEEK('1998-02-20',0);\n        -> 7\nmysql> SELECT WEEK('1998-02-20',1);\n        -> 8\nmysql> SELECT WEEK('1998-12-31',1);\n        -> 53"),(169,15,"TO_DAYS","   TO_DAYS(@var{date})\nGiven a date @var{date}, returns a daynumber (the number of days since year\n0).\n","mysql> SELECT TO_DAYS(950501);\n        -> 728779\nmysql> SELECT TO_DAYS('1997-10-07');\n        -> 729669"),(170,19,"CHECKSUM","\nReports a table checksum.\n\nIf QUICK is specified, the live table checksum is reported if it is\navailable, or NULL otherwise.  This is very fast.  A live checksum\nis enabled by specifying the CHECKSUM=1 table option, currently\nsupported only for MyISAM tables.\nSee also : [CREATE TABLE,  , CREATE TABLE].\n\nIn EXTENDED mode the whole table is read row by row and the checksum\nis calculated. This can be very slow for large tables.\n\nBy default, if neither QUICK nor EXTENDED is specified, MySQL\nreturns a live checksum if the table storage engine supports it and scans\nthe table otherwise.\n\nThis statement is implemented in MySQL 4.1.1.\n\n\n  @subsubsection OPTIMIZE TABLE Syntax\n\n\n\n\nOPTIMIZE [LOCAL | NO_WRITE_TO_BINLOG] TABLE @var{tbl_name} [, @var{tbl_name}] ...\n\nOPTIMIZE TABLE should be used if you have deleted a large part of a\ntable or if you have made many changes to a table with variable-length rows\n(tables that have VARCHAR, BLOB, or TEXT columns).\nDeleted records are maintained in a linked list and subsequent INSERT\noperations reuse old record positions. You can use OPTIMIZE TABLE to\nreclaim the unused space and to defragment the data file.\n","CHECKSUM TABLE @var{tbl_name} [, @var{tbl_name}] ... [ QUICK | EXTENDED ]"),(171,15,"TIME FUNCTION","   TIME(@var{expr})\n\nExtracts the time part of the time or datetime expression @var{expr}.\n","mysql> SELECT TIME('2003-12-31 01:02:03');\n        -> '01:02:03'\nmysql> SELECT TIME('2003-12-31 01:02:03.000123');\n        -> '01:02:03.000123'"),(172,11,"RLIKE","   @var{expr} REGEXP @var{pat}\n   @var{expr} RLIKE @var{pat}\nPerforms a pattern match of a string expression @var{expr} against a pattern\n@var{pat}.  The pattern can be an extended regular expression.\nThe syntax for regular expressions is discussed in\n[Regexp].  Returns 1 if @var{expr} matches @var{pat}, otherwise\nreturns 0.  If either @var{expr} or @var{pat} is NULL,\nthe result is NULL.  RLIKE is a synonym for REGEXP,\nprovided for\nmSQL compatibility. Note: Because MySQL uses the C escape\nsyntax in strings (for example, \\n to represent newline), you must double any \\ that\nyou use in your REGEXP strings.  As of MySQL 3.23.4,\nREGEXP is not case sensitive for normal (not binary) strings.\n","mysql> SELECT 'Monty!' REGEXP 'm%y%%';\n        -> 0\nmysql> SELECT 'Monty!' REGEXP '.*';\n        -> 1\nmysql> SELECT 'new*\\n*line' REGEXP 'new\\\\*.\\\\*line';\n        -> 1\nmysql> SELECT 'a' REGEXP 'A', 'a' REGEXP BINARY 'A';\n        -> 1  0\nmysql> SELECT 'a' REGEXP '^[a-d]';\n        -> 1"),(173,15,"PERIOD_ADD","   PERIOD_ADD(@var{P},@var{N})\nAdds @var{N} months to period @var{P} (in the format YYMM or\nYYYYMM). Returns a value in the format YYYYMM.\nNote that the period argument @var{P} is /not/ a date value.\n","mysql> SELECT PERIOD_ADD(9801,2);\n        -> 199803"),(174,20,"FOUND_ROWS","\nA SELECT statement may include a LIMIT clause to restrict the\nnumber of rows the server returns to the client.\nIn some cases, it is desirable to know how many rows the statement would have\nreturned without the LIMIT, but without running the statement again.\nTo get this row count, include a SQL_CALC_FOUND_ROWS option in the\nSELECT statement, then invoke FOUND_ROWS() afterward:\n","mysql> SELECT SQL_CALC_FOUND_ROWS * FROM @var{tbl_name}\n    -> WHERE id > 100 LIMIT 10;\nmysql> SELECT FOUND_ROWS();"),(175,17,"POINTFROMTEXT","   PointFromText(@var{wkt}[,@var{srid}])\nConstructs a POINT value using its WKT representation and SRID.\n",""),(176,22,"BIT_AND","   BIT_AND(@var{expr})\nReturns the bitwise AND of all bits in @var{expr}. The calculation is\nperformed with 64-bit (BIGINT) precision.\n","mysql> SELECT order.custid, customer.name, MAX(payments)\n    ->        FROM order,customer\n    ->        WHERE order.custid = customer.custid\n    ->        GROUP BY order.custid;"),(177,15,"MICROSECOND","   MICROSECOND(@var{expr})\n\nReturns the microseconds from the time or datetime expression @var{expr} as a\nnumber in the range from 0 to 999999.\n","mysql> SELECT MICROSECOND('12:00:00.123456');\n        -> 123456\nmysql> SELECT MICROSECOND('1997-12-31 23:59:59.000010');\n        -> 10"),(178,4,"IS NULL","   IS NULL\n   IS NOT NULL\nTests whether a value is or is not NULL.\n","mysql> SELECT 1 IS NULL, 0 IS NULL, NULL IS NULL;\n        -> 0, 0, 1\nmysql> SELECT 1 IS NOT NULL, 0 IS NOT NULL, NULL IS NOT NULL;\n        -> 1, 1, 0"),(179,17,"WKT DEFINITION","The Well-Known Text (WKT) representation of Geometry is designed to\nexchange geometry data in ASCII form.\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (180,26,"SET SQL_LOG_BIN","SET SQL_LOG_BIN = {0|1}\n\nDisables or enables binary logging for the current connection \n(SQL_LOG_BIN is a session variable)\nif the client connects using an account that has the SUPER privilege.\nThe statement is refused with an error if the client does not have that\nprivilege. (Before MySQL 4.1.2, the statement was simply ignored in that case.)\n",""),(181,22,"AVG","   AVG(@var{expr})\nReturns the average value of @var{expr}.\n","mysql> SELECT student_name, AVG(test_score)\n    ->        FROM student\n    ->        GROUP BY student_name;"),(182,15,"SEC_TO_TIME","   SEC_TO_TIME(@var{seconds})\nReturns the @var{seconds} argument, converted to hours, minutes, and seconds,\nas a value in 'HH:MM:SS' or HHMMSS format, depending on whether\nthe function is used in a string or numeric context.\n","mysql> SELECT SEC_TO_TIME(2378);\n        -> '00:39:38'\nmysql> SELECT SEC_TO_TIME(2378) + 0;\n        -> 3938"),(183,1,"LONGBLOB","   LONGBLOB\n   LONGTEXT\n\nA BLOB or TEXT column with a maximum length of 4,294,967,295 or\n4GB (2^32 @minus{} 1) characters.  Up to MySQL\n3.23, the client/server protocol and MyISAM tables had a limit\nof 16MB per communication packet / table row. From MySQL 4.0, the maximum\nallowed length of LONGBLOB or LONGTEXT columns depends on the\nconfigured maximum packet size in the client/server protocol and available\nmemory.\n",""),(184,25,"CROSSES","   Crosses(@var{g1},@var{g2})\nReturns 1 if @var{g1} spatially crosses @var{g2}.\nReturns NULL if g1 is a Polygon or a MultiPolygon,\nor if @var{g2} is a Point or a MultiPoint.\nOtherwise, returns 0.\n\nThe term /spatially crosses/ denotes a spatial relation between two given\ngeometries that has the following properties:\n\n\n --- The two geometries intersect\n\n --- Their intersection results in a geometry that has\na dimension that is one less than the maximum dimension of the two given\ngeometries\n\n --- Their intersection is not equal to either of the two given geometries\n",""),(185,21,"GLENGTH","   GLength(@var{ls})\nReturns as a double-precision number the length of the LineString\nvalue @var{ls} in its associated spatial reference.\n","mysql> SET @ls = 'LineString(1 1,2 2,3 3)';\nmysql> SELECT GLength(GeomFromText(@ls));\n+----------------------------+\n| GLength(GeomFromText(@ls)) |\n+----------------------------+\n|            2.8284271247462 |\n+----------------------------+"),(186,27,"XOR","   XOR\nLogical XOR.\nReturns NULL if either operand is NULL.\nFor non-NULL operands, evaluates to 1 if an odd number\nof operands is non-zero,\notherwise 0 is returned.\n","mysql> SELECT 1 XOR 1;\n        -> 0\nmysql> SELECT 1 XOR 0;\n        -> 1\nmysql> SELECT 1 XOR NULL;\n        -> NULL\nmysql> SELECT 1 XOR 1 XOR 1;\n        -> 1"),(187,9,"NUMGEOMETRIES","   NumGeometries(@var{gc})\nReturns the number of geometries in the GeometryCollection value\n@var{gc}.\n","mysql> SET @gc = 'GeometryCollection(Point(1 1),LineString(2 2, 3 3))';\nmysql> SELECT NumGeometries(GeomFromText(@gc));\n+----------------------------------+\n| NumGeometries(GeomFromText(@gc)) |\n+----------------------------------+\n|                                2 |\n+----------------------------------+"),(188,17,"MPOINTFROMTEXT","   MPointFromText(@var{wkt}[,@var{srid}])\n   MultiPointFromText(@var{wkt}[,@var{srid}])\nConstructs a MULTIPOINT value using its WKT representation and SRID.\n",""),(189,15,"ADDTIME","   ADDTIME(@var{expr},@var{expr2})\n\n\nADDTIME() adds @var{expr2} to @var{expr} and returns the result.\n@var{expr} is a time or datetime expression, and @var{expr2} is a time\nexpression.\n","mysql> SELECT ADDTIME('1997-12-31 23:59:59.999999',\n    ->                '1 1:1:1.000002');\n        -> '1998-01-02 01:01:01.000001'\nmysql> SELECT ADDTIME('01:00:00.999999', '02:00:00.999998');\n        -> '03:00:01.999997'"),(190,7,"AREA","   Area(@var{poly})\nReturns as a double-precision number the area of the Polygon value\n@var{poly}, as measured in its spatial reference system.\n","mysql> SET @poly = 'Polygon((0 0,0 3,3 0,0 0),(1 1,1 2,2 1,1 1))';\nmysql> SELECT Area(GeomFromText(@poly));\n+---------------------------+\n| Area(GeomFromText(@poly)) |\n+---------------------------+\n|                         4 |\n+---------------------------+"),(191,15,"MINUTE","   MINUTE(@var{time})\nReturns the minute for @var{time}, in the range 0 to 59.\n","mysql> SELECT MINUTE('98-02-03 10:05:03');\n        -> 5"),(192,10,"PI","   PI()\nReturns the value of PI. The default number of decimals displayed is five, but\nMySQL internally uses the full double-precision value for PI.\n","mysql> SELECT PI();\n        -> 3.141593\nmysql> SELECT PI()+0.000000000000000000;\n        -> 3.141592653589793116"),(193,6,"MBROVERLAPS","   MBROverlaps(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not the Minimum Bounding Rectangles of\nthe two geometries @var{g1} and @var{g2} overlap.\n",""),(194,1,"INT","   INT[(@var{M})] [UNSIGNED] [ZEROFILL]\n\nA normal-size integer. The signed range is -2147483648 to\n2147483647.  The unsigned range is 0 to 4294967295.\n\n   INTEGER[(@var{M})] [UNSIGNED] [ZEROFILL]\n\nThis is a synonym for INT.\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (195,4,"BETWEEN AND","   @var{expr} BETWEEN @var{min} AND @var{max}\nIf @var{expr} is greater than or equal to @var{min} and @var{expr} is\nless than or equal to @var{max}, BETWEEN returns 1,\notherwise it returns 0.  This is equivalent to the expression\n(@var{min <= @var{expr} AND @var{expr} <= @var{max})} if all the arguments are of the\nsame type. Otherwise type conversion takes place according to the rules\ndescribed at the beginning of this section, but applied to all the three\narguments. Note: Before MySQL\n4.0.5, arguments were converted to the type of @var{expr} instead.\n","mysql> SELECT 1 BETWEEN 2 AND 3;\n        -> 0\nmysql> SELECT 'b' BETWEEN 'a' AND 'c';\n        -> 1\nmysql> SELECT 2 BETWEEN 2 AND '3';\n        -> 1\nmysql> SELECT 2 BETWEEN 2 AND 'x-3';\n        -> 0"),(196,11,"SPACE","   SPACE(@var{N})\nReturns a string consisting of @var{N} space characters.\n","mysql> SELECT SPACE(6);\n        -> '      '"),(197,15,"MAKEDATE","   MAKEDATE(@var{year},@var{dayofyear})\n\nReturns a date, given year and day-of-year values.\n@var{dayofyear} must be greater than 0 or the result will be NULL.\n","mysql> SELECT MAKEDATE(2001,31), MAKEDATE(2001,32);\n        -> '2001-01-31', '2001-02-01'\nmysql> SELECT MAKEDATE(2001,365), MAKEDATE(2004,365);\n        -> '2001-12-31', '2004-12-30'\nmysql> SELECT MAKEDATE(2001,0);\n        -> NULL"),(198,27,"||","   OR\n   ||\nLogical OR.\nEvaluates to 1 if any operand is non-zero,\nto NULL if any operand is NULL,\notherwise 0 is returned.\n","mysql> SELECT 1 || 1;\n        -> 1\nmysql> SELECT 1 || 0;\n        -> 1\nmysql> SELECT 0 || 0;\n        -> 0\nmysql> SELECT 0 || NULL;\n        -> NULL\nmysql> SELECT 1 || NULL;\n        -> 1"),(199,16,"TRUE FALSE","TRUE and FALSE added as alias for 1 and 0, respectively.\n",""),(200,15,"WEEKOFYEAR","   WEEKOFYEAR(@var{date})\n\nReturns the calendar week of the date as a number in the\nrange from 1 to 53.\n","mysql> SELECT WEEKOFYEAR('1998-02-20');\n        -> 8"),(201,10,"RADIANS","   RADIANS(@var{X})\nReturns the argument @var{X}, converted from degrees to radians.\n","mysql> SELECT RADIANS(90);\n        -> 1.570796"),(202,4,"ISNULL","   ISNULL(@var{expr})\nIf @var{expr} is NULL, ISNULL() returns 1, otherwise\nit returns 0.\n","mysql> SELECT ISNULL(1+1);\n        -> 0\nmysql> SELECT ISNULL(1/0);\n        -> 1"),(203,7,"EXTERIORRING","   ExteriorRing(@var{poly})\nReturns the exterior ring of the Polygon value @var{poly}\nas a LineString.\n","mysql> SET @poly =\n    -> 'Polygon((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1))';\nmysql> SELECT AsText(ExteriorRing(GeomFromText(@poly)));\n+-------------------------------------------+\n| AsText(ExteriorRing(GeomFromText(@poly))) |\n+-------------------------------------------+\n| LINESTRING(0 0,0 3,3 3,3 0,0 0)           |\n+-------------------------------------------+"),(204,24,"GEOMETRY HIERARCHY","Geometry is the base class. It's an abstract class.\nThe instantiable subclasses of Geometry are restricted to zero-, one-,\nand two-dimensional geometric objects that exist in\ntwo-dimensional coordinate space. All instantiable geometry classes are\ndefined so that valid instances of a geometry class are topologically closed\n(that is, all defined geometries include their boundary).\n\nThe base Geometry class has subclasses for Point,\nCurve, Surface, and GeometryCollection:\n\n\n --- Point represents zero-dimensional objects.\n\n --- Curve represents one-dimensional objects, and has subclass\nLineString, with sub-subclasses Line and LinearRing.\n\n --- Surface is designed for two-dimensional objects and\nhas subclass Polygon.\n\n --- GeometryCollection\nhas specialized zero-, one-, and two-dimensional collection classes named\nMultiPoint, MultiLineString, and MultiPolygon\nfor modeling geometries corresponding to collections of\nPoints, LineStrings, and Polygons, respectively.\nMultiCurve and MultiSurface are introduced as abstract superclasses\nthat generalize the collection interfaces to handle Curves and Surfaces.\n\n\nGeometry, Curve, Surface, MultiCurve,\nand MultiSurface are defined as non-instantiable classes.\nThey define a common set of methods for their subclasses and\nare included for extensibility.\n\nPoint, LineString, Polygon, GeometryCollection,\nMultiPoint, MultiLineString, and\nMultiPolygon are instantiable classes.\n",""),(205,2,"POINT","   Point(@var{x},@var{y})\nConstructs a WKB Point using its coordinates.\n",""),(206,26,"SHOW SLAVE HOSTS","SHOW SLAVE HOSTS\n\nDisplays a list of slaves currently registered with the master. \nAny slave not started with the --report-host=slave_name \noption will not be visible in that list.\n",""),(207,26,"EXPLAIN","The EXPLAIN statement can be used either as a synonym for\nDESCRIBE or as a way to obtain information about how MySQL will execute\na SELECT statement:\n\n --- The EXPLAIN @var{tbl_name} syntax is synonymous with DESCRIBE @var{tbl_name}\nor\nSHOW COLUMNS FROM @var{tbl_name}.\n --- When you precede a SELECT statement with the keyword EXPLAIN,\nMySQL explains how it would process the SELECT, providing\ninformation about how tables are joined and in which order.\n","EXPLAIN @var{tbl_name}"),(208,15,"NOW","   NOW()\n\nReturns the current date and time as a value in 'YYYY-MM-DD HH:MM:SS'\nor YYYYMMDDHHMMSS format, depending on whether the function is used in\na string or numeric context.\n","mysql> SELECT NOW();\n        -> '1997-12-15 23:50:26'\nmysql> SELECT NOW() + 0;\n        -> 19971215235026"),(209,11,"UNHEX","   UNHEX(@var{str})\n\nDoes the opposite of HEX(@var{str)}. That is, it interprets each pair of\nhexadecimal digits in the argument as a number and converts it to the\ncharacter represented by the number. The resulting characters are returned as\na binary string.\n","mysql> SELECT UNHEX('4D7953514C');\n        -> 'MySQL'\nmysql> SELECT 0x4D7953514C;\n        -> 'MySQL'\nmysql> SELECT UNHEX(HEX('string'));\n        -> 'string'\nmysql> SELECT HEX(UNHEX('1267'));\n        -> '1267'");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (210,15,"UTC_TIMESTAMP","   UTC_TIMESTAMP\n   UTC_TIMESTAMP()\nReturns the current UTC date and time as a value in 'YYYY-MM-DD HH:MM:SS'\nor YYYYMMDDHHMMSS format, depending on whether the function is used in\na string or numeric context.\n","mysql> SELECT UTC_TIMESTAMP(), UTC_TIMESTAMP() + 0;\n        -> '2003-08-14 18:08:04', 20030814180804"),(211,7,"NUMINTERIORRINGS","   NumInteriorRings(@var{poly})\nReturns the number of interior rings in the Polygon value @var{poly}.\n","mysql> SET @poly =\n    -> 'Polygon((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1))';\nmysql> SELECT NumInteriorRings(GeomFromText(@poly));\n+---------------------------------------+\n| NumInteriorRings(GeomFromText(@poly)) |\n+---------------------------------------+\n|                                     1 |\n+---------------------------------------+"),(212,8,"AES_DECRYPT","   AES_ENCRYPT(@var{str},@var{key_str})\n   AES_DECRYPT(@var{crypt_str},@var{key_str})\nThese functions allow encryption and decryption of data using the official\nAES (Advanced Encryption Standard) algorithm, previously known as \"Rijndael.\"\nEncoding with a 128-bit key length is used, but you can extend it up to\n256 bits by modifying the source. We chose 128 bits because it is much\nfaster and it is usually secure enough.\n\nThe input arguments may be any length. If either argument is NULL,\nthe result of this function is also NULL.\n\nBecause AES is a block-level algorithm, padding is used to encode uneven length\nstrings and so the result string length may be calculated as\n16*(trunc(@var{string_length/16)+1)}.\n\nIf AES_DECRYPT() detects invalid data or incorrect padding, it\nreturns NULL. However, it is possible for AES_DECRYPT()\nto return a non-NULL value (possibly garbage) if the input data or\nthe key is invalid.\n\nYou can use the AES functions to store data in an encrypted form by\nmodifying your queries:\n","INSERT INTO t VALUES (1,AES_ENCRYPT('text','password'));"),(213,8,"MD5","   MD5(@var{str})\nCalculates an MD5 128-bit checksum for the string. The value is returned\nas a string of 32 hex digits,\nor NULL if the argument was NULL.\nThe return value can, for example, be used as a hash key.\n","mysql> SELECT MD5('testing');\n        -> 'ae2b1fca515949e5d54fb22b8ed95575'"),(214,26,"DELETE","DELETE deletes rows from @var{tbl_name} that satisfy the condition\ngiven by @var{where_definition}, and returns the number of records deleted.\n\nIf you issue a DELETE statement with no WHERE clause, all\nrows are deleted.  A faster way to do this, when you don't want to know\nthe number of deleted rows, is to use TRUNCATE TABLE.\nSee also : [TRUNCATE,  , TRUNCATE].\n","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM @var{tbl_name}\n       [WHERE @var{where_definition}]\n       [ORDER BY ...]\n       [LIMIT @var{row_count}]"),(215,15,"CONVERT_TZ","   CONVERT_TZ(@var{dt},@var{from_tz},@var{to_tz})\n\nCONVERT_TZ()\nconverts a datetime value @var{dt} from time zone given by @var{from_tz}\nto the time zone given by @var{to_tz} and returns the resulting value.\nTime zones may be specified as described in [Time zone support].\nThis function returns NULL if the arguments are invalid.\n","mysql> SELECT CONVERT_TZ('2004-01-01 12:00:00','GMT','MET');\n        -> '2004-01-01 13:00:00'\nmysql> SELECT CONVERT_TZ('2004-01-01 12:00:00','+00:00','-07:00');\n        -> '2004-01-01 05:00:00'"),(216,26,"SHOW CREATE VIEW","This statement shows a CREATE VIEW statement that will create\nthe given view.\n","SHOW CREATE VIEW @var{view_name}"),(217,13,"DIMENSION","   Dimension(@var{g})\nReturns the inherent dimension of the geometry value @var{g}. The result\ncan be @minus{}1, 0, 1, or 2. (The meaning of these values is given in\n[GIS class geometry].)\n","mysql> SELECT Dimension(GeomFromText('LineString(1 1,2 2)'));\n+------------------------------------------------+\n| Dimension(GeomFromText('LineString(1 1,2 2)')) |\n+------------------------------------------------+\n|                                              1 |\n+------------------------------------------------+"),(218,1,"TIME","   TIME\n\nA time.  The range is '-838:59:59' to '838:59:59'.\nMySQL displays TIME values in 'HH:MM:SS' format, but\nallows you to assign values to TIME columns using either strings or\nnumbers.\n",""),(219,15,"LAST_DAY","   LAST_DAY(@var{date})\n\nTakes a date or datetime value and returns the corresponding value for the\nlast day of the month.  Returns NULL if the argument is invalid.\n","mysql> SELECT LAST_DAY('2003-02-05');\n        -> '2003-02-28'\nmysql> SELECT LAST_DAY('2004-02-05');\n        -> '2004-02-29'\nmysql> SELECT LAST_DAY('2004-01-01 01:01:01');\n        -> '2004-01-31'\nmysql> SELECT LAST_DAY('2003-03-32');\n        -> NULL"),(220,13,"ENVELOPE","   Envelope(@var{g})\nReturns the Minimum Bounding Rectangle (MBR) for the geometry value @var{g}.\nThe result is returned as a Polygon value.\n\nmysql> SELECT AsText(Envelope(GeomFromText('LineString(1 1,2 2)')));\n+-------------------------------------------------------+\n| AsText(Envelope(GeomFromText('LineString(1 1,2 2)'))) |\n+-------------------------------------------------------+\n| POLYGON((1 1,2 1,2 2,1 2,1 1))                        |\n+-------------------------------------------------------+\n\nThe polygon is defined by the corner points of the bounding box:\n\nPOLYGON((MINX MINY, MAXX MINY, MAXX MAXY, MINX MAXY, MINX MINY))\n",""),(221,2,"POLYGON","   Polygon(@var{ls1},@var{ls2},...)\nConstructs a WKB Polygon value from a number of WKB LineString\narguments. If any argument does not represent the WKB of a LinearRing\n(that is, not a closed and simple LineString) the return value\nis NULL.\n",""),(222,4,"NOT IN","   @var{expr} NOT IN (@var{value},...)\nThis is the same as NOT (@var{expr IN (@var{value},...))}.\n",""),(223,11,"INSERT","   INSERT(@var{str},@var{pos},@var{len},@var{newstr})\nReturns the string @var{str}, with the substring beginning at position\n@var{pos} and @var{len} characters long replaced by the string\n@var{newstr}.\n","mysql> SELECT INSERT('Quadratic', 3, 4, 'What');\n        -> 'QuWhattic'"),(224,15,"PERIOD_DIFF","   PERIOD_DIFF(@var{P1},@var{P2})\nReturns the number of months between periods @var{P1} and @var{P2}.\n@var{P1} and @var{P2} should be in the format YYMM or YYYYMM.\nNote that the period arguments @var{P1} and @var{P2} are /not/\ndate values.\n","mysql> SELECT PERIOD_DIFF(9802,199703);\n        -> 11");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (225,25,"DISTANCE","   Distance(@var{g1},@var{g2})\nReturns as a double-precision number\nthe shortest distance between any two points in the two geometries.\n",""),(226,11,"ELT","   ELT(@var{N},@var{str1},@var{str2},@var{str3},...)\nReturns @var{str1} if @var{N} = 1, @var{str2} if @var{N} =\n2, and so on.  Returns NULL if @var{N} is less than 1\nor greater than the number of arguments.  ELT() is the complement of\nFIELD().\n","mysql> SELECT ELT(1, 'ej', 'Heja', 'hej', 'foo');\n        -> 'ej'\nmysql> SELECT ELT(4, 'ej', 'Heja', 'hej', 'foo');\n        -> 'foo'"),(227,20,"ROW_COUNT","   ROW_COUNT()\n\nROW_COUNT() returns the number of rows updated, inserted, or deleted\nby the preceding statement.  This is the same as the row count that the\n@command{mysql} client displays and the value from the\nmysql_affected_rows() C API function.\n","mysql> INSERT INTO t VALUES(1),(2),(3);\nQuery OK, 3 rows affected (0.00 sec)\nRecords: 3  Duplicates: 0  Warnings: 0\n\nmysql> SELECT ROW_COUNT();\n+-------------+\n| ROW_COUNT() |\n+-------------+\n|           3 |\n+-------------+\n1 row in set (0.00 sec)\n\nmysql> DELETE FROM t WHERE i IN(1,2);\nQuery OK, 2 rows affected (0.00 sec)\n\nmysql> SELECT ROW_COUNT();\n+-------------+\n| ROW_COUNT() |\n+-------------+\n|           2 |\n+-------------+\n1 row in set (0.00 sec)"),(228,22,"COUNT","   COUNT(@var{expr})\nReturns a count of the number of non-NULL values in the rows\nretrieved by a SELECT statement.\n","mysql> SELECT student.student_name,COUNT(*)\n    ->        FROM student,course\n    ->        WHERE student.student_id=course.student_id\n    ->        GROUP BY student_name;"),(229,26,"PURGE MASTER LOGS BEFORE TO","PURGE {MASTER | BINARY} LOGS TO '@var{log_name}'\nPURGE {MASTER | BINARY} LOGS BEFORE '@var{date}'\n\nDeletes all the binary logs listed in the log\nindex that are strictly prior to the specified log or date.\nThe logs also are removed from the list recorded in the log index file,\nso that the given log becomes the first. \n",""),(230,19,"SET PASSWORD","","SET PASSWORD = PASSWORD('@var{some password}')\nSET PASSWORD FOR @var{user} = PASSWORD('@var{some password}')"),(231,3,"DROP DATABASE","DROP DATABASE drops all tables in the database and deletes the\ndatabase.  Be /very/ careful with this statement!\nTo use DROP DATABASE, you need the DROP privilege on the\ndatabase.\n\nIn MySQL 3.22 or later, you can use the keywords IF EXISTS\nto prevent an error from occurring if the database doesn't exist.\n","DROP DATABASE [IF EXISTS] @var{db_name}"),(232,22,"MIN MAX","   MIN(@var{expr})\n   MAX(@var{expr})\nReturns the minimum or maximum value of @var{expr}.  MIN() and\nMAX() may take a string argument; in such cases they return the\nminimum or maximum string value. See also : [MySQL indexes].\n","mysql> SELECT student_name, MIN(test_score), MAX(test_score)\n    ->        FROM student\n    ->        GROUP BY student_name;"),(233,22,"COUNT DISTINCT","   COUNT(DISTINCT @var{expr},[@var{expr}...])\nReturns a count of the number of different non-NULL values.\n","mysql> SELECT COUNT(DISTINCT results) FROM student;"),(234,6,"MBRDISJOINT","   MBRDisjoint(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not the Minimum Bounding Rectangles of\nthe two geometries @var{g1} and @var{g2} are disjoint (do not intersect).\n",""),(235,10,"LOG10","   LOG10(@var{X})\nReturns the base-10 logarithm of @var{X}.\n","mysql> SELECT LOG10(2);\n        -> 0.301030\nmysql> SELECT LOG10(100);\n        -> 2.000000\nmysql> SELECT LOG10(-100);\n        -> NULL"),(236,15,"SYSDATE","   SYSDATE()\n\nSYSDATE() is a synonym for NOW().\n",""),(237,15,"TIMESTAMP FUNCTION","   TIMESTAMP(@var{expr})\n   TIMESTAMP(@var{expr},@var{expr2})\n\nWith one argument, returns the date or datetime expression @var{expr}\nas a datetime value.\nWith two arguments, adds the time expression @var{expr2} to the\ndate or datetime expression @var{expr} and returns a datetime value.\n","mysql> SELECT TIMESTAMP('2003-12-31');\n        -> '2003-12-31 00:00:00'\nmysql> SELECT TIMESTAMP('2003-12-31 12:00:00','12:00:00');\n        -> '2004-01-01 00:00:00'"),(238,16,"FUNCTION","A user-defined function (UDF) is a way to extend MySQL with a new\nfunction that works like native (built in) MySQL function such as\nABS() and CONCAT().\n\nAGGREGATE is a new option for MySQL 3.23.  An\nAGGREGATE function works exactly like a native MySQL\nGROUP function like SUM or COUNT().\n\nCREATE FUNCTION saves the function's name, type, and shared library\nname in the mysql.func system table.  You must have the\nINSERT and DELETE privileges for the mysql database\nto create and drop functions.\n","CREATE [AGGREGATE] FUNCTION function_name RETURNS {STRING|REAL|INTEGER}\n       SONAME shared_library_name\n\nDROP FUNCTION function_name"),(239,5,"LINEFROMWKB","   LineFromWKB(@var{wkb}[,@var{srid}])\n   LineStringFromWKB(@var{wkb}[,@var{srid}])\nConstructs a LINESTRING value using its WKB representation and SRID.\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (240,9,"GEOMETRYN","   GeometryN(@var{gc},@var{n})\nReturns the @var{n}-th geometry in the GeometryCollection value\n@var{gc}.  Geometry numbers begin at 1.\n","mysql> SET @gc = 'GeometryCollection(Point(1 1),LineString(2 2, 3 3))';\nmysql> SELECT AsText(GeometryN(GeomFromText(@gc),1));\n+----------------------------------------+\n| AsText(GeometryN(GeomFromText(@gc),1)) |\n+----------------------------------------+\n| POINT(1 1)                             |\n+----------------------------------------+"),(241,27,"&&","   AND\n   &&\nLogical AND.\nEvaluates to 1 if all operands are non-zero and not NULL,\nto 0 if one or more operands are 0,\notherwise NULL is returned.\n","mysql> SELECT 1 && 1;\n        -> 1\nmysql> SELECT 1 && 0;\n        -> 0\nmysql> SELECT 1 && NULL;\n        -> NULL\nmysql> SELECT 0 && NULL;\n        -> 0\nmysql> SELECT NULL && 0;\n        -> 0"),(242,8,"ENCODE","   ENCODE(@var{str},@var{pass_str})\nEncrypt @var{str} using @var{pass_str} as the password.\nTo decrypt the result, use DECODE().\n\nThe result is a binary string of the same length as @var{str}.\nIf you want to save it in a column, use a BLOB column type.\n",""),(243,10,"ATAN","   ATAN(@var{X})\nReturns the arc tangent of @var{X}, that is, the value whose tangent is\n@var{X}.\n","mysql> SELECT ATAN(2);\n        -> 1.107149\nmysql> SELECT ATAN(-2);\n        -> -1.107149"),(244,10,"POWER","   POW(@var{X},@var{Y})\n   POWER(@var{X},@var{Y})\nReturns the value of @var{X} raised to the power of @var{Y}.\n","mysql> SELECT POW(2,2);\n        -> 4.000000\nmysql> SELECT POW(2,-2);\n        -> 0.250000"),(245,18,"MASTER_POS_WAIT","   MASTER_POS_WAIT(@var{log_name},@var{log_pos}[,@var{timeout}])\n\nThis function is useful for control of master/slave synchronization.\nIt blocks until the slave has read and applied all updates up to the specified\nposition in the master log.\nThe return value is the number of log events it had to wait for to get to\nthe specified position.  The function returns NULL if the slave SQL thread\nis not started, the slave's master information is not initialized, the\narguments are incorrect, or an error occurs. It returns -1 if the\ntimeout has been exceeded. If the slave SQL thread stops while\nMASTER_POS_WAIT() is waiting, the function returns NULL.\nIf the slave is already past the specified position, the function returns\nimmediately.\n","SELECT MASTER_POS_WAIT('@var{master_log_file}', @var{master_log_pos})"),(246,3,"DROP INDEX","DROP INDEX drops the index named @var{index_name} from the table\n@var{tbl_name}.  In MySQL 3.22 or later, DROP INDEX is mapped to an\nALTER TABLE statement to drop the index.  See also : [ALTER TABLE, ,\nALTER TABLE].  DROP INDEX doesn't do anything prior to MySQL\n3.22.\n","DROP INDEX @var{index_name} ON @var{tbl_name}"),(247,20,"CONNECTION_ID","   CONNECTION_ID()\nReturns the connection ID (thread ID) for the connection.\nEvery connection has its own unique ID.\n","mysql> SELECT CONNECTION_ID();\n        -> 23786"),(248,3,"ALTER DATABASE","\nALTER DATABASE allows you to change the overall characteristics of a\ndatabase.  These characteristics are stored in the *db.opt file in the\ndatabase directory.\nTo use ALTER DATABASE, you need the ALTER privilege on the\ndatabase.\n","ALTER DATABASE @var{db_name}\n    @var{alter_specification} [, @var{alter_specification}] ...\n\n@var{alter_specification}:\n    [DEFAULT] CHARACTER SET @var{charset_name}\n  | [DEFAULT] COLLATE @var{collation_name}"),(249,26,"JOIN","MySQL supports the following JOIN syntaxes for the\n@var{table_references} part of SELECT statements and multiple-table\nDELETE and UPDATE statements:\n\n@var{table_reference}, @var{table_reference}\n@var{table_reference} [INNER | CROSS] JOIN @var{table_reference} [@var{join_condition}]\n@var{table_reference} STRAIGHT_JOIN @var{table_reference}\n@var{table_reference} LEFT [OUTER] JOIN @var{table_reference} [@var{join_condition}]\n@var{table_reference} NATURAL [LEFT [OUTER]] JOIN @var{table_reference}\n{ OJ @var{table_reference} LEFT OUTER JOIN @var{table_reference}\n    ON @var{conditional_expr} }\n@var{table_reference} RIGHT [OUTER] JOIN @var{table_reference} [@var{join_condition}]\n@var{table_reference} NATURAL [RIGHT [OUTER]] JOIN @var{table_reference}\n\n@var{table_reference} is defined as:\n\n@var{tbl_name} [[AS] @var{alias}]\n    [[USE INDEX (@var{key_list})]\n      | [IGNORE INDEX (@var{key_list})]\n      | [FORCE INDEX (@var{key_list})]]\n\n@var{join_condition} is defined as:\n\nON @var{conditional_expr} | USING (@var{column_list})\n","mysql> SELECT table1.* FROM table1\n    ->        LEFT JOIN table2 ON table1.id=table2.id\n    ->        WHERE table2.id IS NULL;"),(250,2,"MULTIPOLYGON","   MultiPolygon(@var{poly1},@var{poly2},...)\nConstructs a WKB MultiPolygon value from a set of WKB Polygon\narguments.\nIf any argument is not a WKB Polygon, the rerurn value is NULL.\n",""),(251,26,"LOAD DATA FROM MASTER","LOAD DATA FROM MASTER\n\nTakes a snapshot of the master and copies it to the slave.  It updates the\nvalues of MASTER_LOG_FILE and MASTER_LOG_POS so that the slave\nwill start replicating from the correct position. Any table and database\nexclusion rules specified with the --replicate-*-do-* and\n--replicate-*-ignore-* options are honored.\n--replicate-rewrite-db is /not/ taken into account (because one user\ncould, with this option, set up a non-unique mapping such as\n--replicate-rewrite-db=db1->db3 and\n--replicate-rewrite-db=db2->db3, which would confuse the slave when\nit loads the master's tables).\n\nUse of this statement is subject to the following conditions:\n\n\n --- It works only with MyISAM tables.\n\n --- It acquires a global read lock on the master while taking the snapshot,\nwhich prevents updates on the master during the load operation.\n\n\nIn the future, it is planned to make this statement work with\nInnoDB tables and to remove the need for a global read lock by using\nnon-blocking online backup.\n\nIf you are loading big tables, you might have to increase the values\nof net_read_timeout and net_write_timeout\non both your master and slave servers.\nSee also : [Server system variables].\n\nNote that LOAD DATA FROM MASTER does /not/ copy any\ntables from the mysql database.  This makes it easy to have\ndifferent users and privileges on the master and the slave.\n\nThe LOAD DATA FROM MASTER statement\nrequires the replication account that is used to connect to the master\nto have the RELOAD and SUPER privileges on the master and the\nSELECT privilege for all master tables you want to load. All\nmaster tables for which the user does not have the SELECT privilege are\nignored by LOAD DATA FROM MASTER. This is because the\nmaster will hide them from the user: LOAD DATA FROM MASTER calls\nSHOW DATABASES to know the master databases to load, but\nSHOW DATABASES returns only databases for which the user has\nsome privilege.\nSee [Show database info].\nOn the slave's side, the user that issues LOAD DATA FROM MASTER should\nhave grants to drop and create the databases and tables that are copied.\n",""),(252,16,"CHAR BYTE","CHAR BYTE is an alias for CHAR BINARY.\n",""),(253,13,"SRID","   SRID(@var{g})\nReturns an integer indicating the Spatial Reference System ID for the geometry\nvalue @var{g}.\n","mysql> SELECT SRID(GeomFromText('LineString(1 1,2 2)',101));\n+-----------------------------------------------+\n| SRID(GeomFromText('LineString(1 1,2 2)',101)) |\n+-----------------------------------------------+\n|                                           101 |\n+-----------------------------------------------+"),(254,15,"DATE OPERATIONS","   DATE_ADD(@var{date},INTERVAL @var{expr} @var{type})\n   DATE_SUB(@var{date},INTERVAL @var{expr} @var{type})\n\nThese functions perform date arithmetic.\n@var{date} is a DATETIME or DATE value specifying the starting\ndate.  @var{expr} is an expression specifying the interval value to be added\nor subtracted from the starting date.  @var{expr} is a string; it may start\nwith a - for negative intervals.  @var{type} is a keyword indicating\nhow the expression should be interpreted.\n","mysql> SELECT '1997-12-31 23:59:59' + INTERVAL 1 SECOND;\n        -> '1998-01-01 00:00:00'\nmysql> SELECT INTERVAL 1 DAY + '1997-12-31';\n        -> '1998-01-01'\nmysql> SELECT '1998-01-01' - INTERVAL 1 SECOND;\n        -> '1997-12-31 23:59:59'\nmysql> SELECT DATE_ADD('1997-12-31 23:59:59',\n    ->                 INTERVAL 1 SECOND);\n        -> '1998-01-01 00:00:00'\nmysql> SELECT DATE_ADD('1997-12-31 23:59:59',\n    ->                 INTERVAL 1 DAY);\n        -> '1998-01-01 23:59:59'\nmysql> SELECT DATE_ADD('1997-12-31 23:59:59',\n    ->                 INTERVAL '1:1' MINUTE_SECOND);\n        -> '1998-01-01 00:01:00'\nmysql> SELECT DATE_SUB('1998-01-01 00:00:00',\n    ->                 INTERVAL '1 1:1:1' DAY_SECOND);\n        -> '1997-12-30 22:58:59'\nmysql> SELECT DATE_ADD('1998-01-01 00:00:00',\n    ->                 INTERVAL '-1 10' DAY_HOUR);\n        -> '1997-12-30 14:00:00'\nmysql> SELECT DATE_SUB('1998-01-02', INTERVAL 31 DAY);\n        -> '1997-12-02'\nmysql> SELECT DATE_ADD('1992-12-31 23:59:59.000002',\n    ->            INTERVAL '1.999999' SECOND_MICROSECOND);\n        -> '1993-01-01 00:00:01.000001'");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (255,5,"MPOLYFROMWKB","   MPolyFromWKB(@var{wkb}[,@var{srid}])\n   MultiPolygonFromWKB(@var{wkb}[,@var{srid}])\nConstructs a MULTIPOLYGON value using its WKB representation and SRID.\n",""),(256,26,"FLUSH","You should use the FLUSH statement if you want to clear some of the\ninternal caches MySQL uses.  To execute FLUSH, you must have\nthe RELOAD privilege.\n","FLUSH [LOCAL | NO_WRITE_TO_BINLOG] @var{flush_option} [, @var{flush_option}] ..."),(257,18,"IS_USED_LOCK","   IS_USED_LOCK(@var{str})\nChecks whether the lock named @var{str} is in use (that is, locked).\nIf so, it returns the connection identifier of the client that holds\nthe lock.\nOtherwise, it returns NULL.\n",""),(258,20,"SESSION_USER","   SESSION_USER()\n\nSESSION_USER() is a synonym for USER().\n",""),(259,1,"BIGINT","   BIGINT[(@var{M})] [UNSIGNED] [ZEROFILL]\nA large integer. The signed range is -9223372036854775808 to\n9223372036854775807. The unsigned range is 0 to\n18446744073709551615.\n",""),(260,15,"DAY","   DAY(@var{date})\n\nDAY() is a synonym for DAYOFMONTH().\nIt is available as of MySQL 4.1.1.\n",""),(261,11,"MATCH AGAINST","As of MySQL 3.23.23, MySQL has support for full-text indexing\nand searching.  A full-text index in MySQL is an index of type\nFULLTEXT.  FULLTEXT indexes are used with MyISAM tables\nonly and can be created from CHAR, VARCHAR,\nor TEXT columns at CREATE TABLE time or added later with\nALTER TABLE or CREATE INDEX.  For large datasets, it will be\nmuch faster to load your data into a table that has no FULLTEXT\nindex, then create the index with ALTER TABLE (or\nCREATE INDEX).  Loading data into a table that already has a\nFULLTEXT index could be significantly slower.\n","mysql> SELECT id, body, MATCH (title,body) AGAINST\n    -> ('Security implications of running MySQL as root') AS score\n    -> FROM articles WHERE MATCH (title,body) AGAINST\n    -> ('Security implications of running MySQL as root');\n+----+-------------------------------------+-----------------+\n| id | body                                | score           |\n+----+-------------------------------------+-----------------+\n|  4 | 1. Never run mysqld as root. 2. ... | 1.5219271183014 |\n|  6 | When configured properly, MySQL ... | 1.3114095926285 |\n+----+-------------------------------------+-----------------+\n2 rows in set (0.00 sec)"),(262,3,"DROP TABLE","DROP TABLE removes one or more tables. You must have the DROP\nprivilege for each table. All table data and the table\ndefinition are /removed/, so /be careful/ with this statement!\n\nIn MySQL 3.22 or later, you can use the keywords IF EXISTS\nto prevent an error from occurring for tables that don't exist.  As of\nMySQL 4.1, a NOTE is generated for each non-existent table when\nusing IF EXISTS.\nSee also : [SHOW WARNINGS].\n\nRESTRICT and CASCADE are allowed to make porting easier.\nFor the moment, they do nothing.\n\nNote: DROP TABLE automatically commits the current\nactive transaction, unless you are using MySQL 4.1 or higher and the\nTEMPORARY keyword.\n","DROP [TEMPORARY] TABLE [IF EXISTS]\n    @var{tbl_name} [, @var{tbl_name}] ...\n    [RESTRICT | CASCADE]"),(263,26,"SELECT","SELECT is used to retrieve rows selected from one or more tables.\nSupport for UNION statements and subqueries is available as of MySQL\n4.0 and 4.1, respectively.\nSee [UNION,  , UNION] and [Subqueries].\n\n --- Each @var{select_expr} indicates a column you want to retrieve.\n\n --- @var{table_references} indicates the table or tables from which to retrieve rows.\nIts syntax is described in [JOIN,  , JOIN].\n\n --- @var{where_definition} consists of the keyword WHERE followed by\nan expression that indicates the condition or conditions that rows\nmust satisfy to be selected.\n\n\nSELECT can also be used to retrieve rows computed without reference to\nany table.  \n","SELECT\n    [ALL | DISTINCT | DISTINCTROW ]\n      [HIGH_PRIORITY]\n      [STRAIGHT_JOIN]\n      [SQL_SMALL_RESULT] [SQL_BIG_RESULT] [SQL_BUFFER_RESULT]\n      [SQL_CACHE | SQL_NO_CACHE] [SQL_CALC_FOUND_ROWS]\n    @var{select_expr}, ...\n    [INTO OUTFILE '@var{file_name}' @var{export_options}\n      | INTO DUMPFILE '@var{file_name}']\n    [FROM @var{table_references}\n      [WHERE @var{where_definition}]\n      [GROUP BY {@var{col_name} | @var{expr} | @var{position}}\n        [ASC | DESC], ... [WITH ROLLUP]]\n      [HAVING @var{where_definition}]\n      [ORDER BY {@var{col_name} | @var{expr} | @var{position}}\n        [ASC | DESC] , ...]\n      [LIMIT {[@var{offset},] @var{row_count} | @var{row_count} OFFSET @var{offset}}]\n      [PROCEDURE @var{procedure_name}(@var{argument_list})]\n      [FOR UPDATE | LOCK IN SHARE MODE]]"),(264,15,"HOUR","   HOUR(@var{time})\nReturns the hour for @var{time}. The range of the return value will be\n0 to 23 for time-of-day values.\n","mysql> SELECT HOUR('10:05:03');\n        -> 10"),(265,20,"COERCIBILITY","   COERCIBILITY(@var{str})\nReturns the collation coercibility value of the string argument.\n","mysql> SELECT COERCIBILITY('abc' COLLATE latin1_swedish_ci);\n        -> 0\nmysql> SELECT COERCIBILITY('abc');\n        -> 3\nmysql> SELECT COERCIBILITY(USER());\n        -> 2"),(266,5,"MPOINTFROMWKB","   MPointFromWKB(@var{wkb}[,@var{srid}])\n   MultiPointFromWKB(@var{wkb}[,@var{srid}])\nConstructs a MULTIPOINT value using its WKB representation and SRID.\n",""),(267,18,"DEFAULT","   DEFAULT(@var{col_name})\nReturns the default value for a table column.\n","mysql> UPDATE t SET i = DEFAULT(i)+1 WHERE id < 100;"),(268,20,"CHARSET","   CHARSET(@var{str})\nReturns the character set of the string argument.\n","mysql> SELECT CHARSET('abc');\n        -> 'latin1'\nmysql> SELECT CHARSET(CONVERT('abc' USING utf8));\n        -> 'utf8'\nmysql> SELECT CHARSET(USER());\n        -> 'utf8'"),(269,26,"DO","DO executes the expressions but doesn't return any results.  This is\nshorthand for SELECT @var{expr, ...}, but has the advantage that it's\nslightly faster when you don't care about the result.\n\nDO is useful mainly with functions that have side effects, such as\nRELEASE_LOCK().\n","DO @var{expr} [, @var{expr}] ...");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (270,15,"MONTHNAME","   MONTHNAME(@var{date})\nReturns the full name of the month for @var{date}.\n","mysql> SELECT MONTHNAME('1998-02-05');\n        -> 'February'"),(271,25,"TOUCHES","   Touches(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not @var{g1} spatially touches\n@var{g2}. Two geometries /spatially touch/ if the interiors of\nthe geometries do not intersect, but the boundary of one of the geometries\nintersects either the boundary or the interior of the other.\n",""),(272,3,"ALTER TABLE","ALTER TABLE allows you to change the structure of an existing table.\nFor example, you can add or delete columns, create or destroy indexes, change\nthe type of existing columns, or rename columns or the table itself.  You can\nalso change the comment for the table and type of the table.\n","ALTER [IGNORE] TABLE @var{tbl_name}\n    @var{alter_specification} [, @var{alter_specification}] ...\n\n@var{alter_specification}:\n    ADD [COLUMN] @var{column_definition} [FIRST | AFTER @var{col_name} ]\n  | ADD [COLUMN] (@var{column_definition},...)\n  | ADD INDEX [@var{index_name}] [@var{index_type}] (@var{index_col_name},...)\n  | ADD [CONSTRAINT [@var{symbol}]]\n        PRIMARY KEY [@var{index_type}] (@var{index_col_name},...)\n  | ADD [CONSTRAINT [@var{symbol}]]\n        UNIQUE [@var{index_name}] [@var{index_type}] (@var{index_col_name},...)\n  | ADD [FULLTEXT|SPATIAL] [@var{index_name}] (@var{index_col_name},...)\n  | ADD [CONSTRAINT [@var{symbol}]]\n        FOREIGN KEY [@var{index_name}] (@var{index_col_name},...)\n        [@var{reference_definition}]\n  | ALTER [COLUMN] @var{col_name} {SET DEFAULT @var{literal} | DROP DEFAULT}\n  | CHANGE [COLUMN] @var{old_col_name} @var{column_definition}\n        [FIRST|AFTER @var{col_name}]\n  | MODIFY [COLUMN] @var{column_definition} [FIRST | AFTER @var{col_name}]\n  | DROP [COLUMN] @var{col_name}\n  | DROP PRIMARY KEY\n  | DROP INDEX @var{index_name}\n  | DROP FOREIGN KEY @var{fk_symbol}\n  | DISABLE KEYS\n  | ENABLE KEYS\n  | RENAME [TO] @var{new_tbl_name}\n  | ORDER BY @var{col_name}\n  | CONVERT TO CHARACTER SET @var{charset_name} [COLLATE @var{collation_name}]\n  | [DEFAULT] CHARACTER SET @var{charset_name} [COLLATE @var{collation_name}]\n  | DISCARD TABLESPACE\n  | IMPORT TABLESPACE\n  | @var{table_options}"),(273,11,"HEX","   HEX(@var{N_or_S})\n\nIf @var{N_OR_S} is a number, returns a string representation of the hexadecimal\nvalue of @var{N}, where @var{N} is a longlong (BIGINT) number.\nThis is equivalent to CONV(N,10,16).\n\nFrom MySQL 4.0.1 and up,\nif @var{N_OR_S} is a string, returns a hexadecimal string of @var{N_OR_S}\nwhere each character in @var{N_OR_S} is converted to two hexadecimal digits.\n","mysql> SELECT HEX(255);\n        -> 'FF'\nmysql> SELECT 0x616263;\n        -> 'abc'\nmysql> SELECT HEX('abc');\n        -> 616263"),(274,11,"RIGHT","   RIGHT(@var{str},@var{len})\nReturns the rightmost @var{len} characters from the string @var{str}.\n","mysql> SELECT RIGHT('foobarbar', 4);\n        -> 'rbar'"),(275,1,"TIMESTAMP","   TIMESTAMP[(@var{M})]\n\nA timestamp.  The range is '1970-01-01 00:00:00' to partway through the\nyear 2037.\n\nA TIMESTAMP column is useful for recording the date and time of an\nINSERT or UPDATE operation. The first TIMESTAMP column\nin a table is automatically set to the date and time of the most recent\noperation if you don't assign it a value yourself.  You can also set any\nTIMESTAMP column to the current date and time by assigning it a\nNULL value.\n\nFrom MySQL 4.1 on, TIMESTAMP is returned as a string with the format\n'YYYY-MM-DD HH:MM:SS'. If you want to obtain the value as a number,\nyou should add +0 to the timestamp column. Different timestamp\ndisplay widths are not supported.\n\nIn MySQL 4.0 and earlier, TIMESTAMP values are displayed in\nYYYYMMDDHHMMSS, YYMMDDHHMMSS, YYYYMMDD, or YYMMDD\nformat, depending on whether @var{M} is 14 (or missing), 12,\n8, or 6, but allows you to assign values to TIMESTAMP\ncolumns using either strings or numbers.\nThe @var{M} argument affects only how a TIMESTAMP column is displayed,\nnot storage.  Its values always are stored using four bytes each.\nFrom MySQL 4.0.12, the --new option can be used\nto make the server behave as in MySQL 4.1.\n\nNote that TIMESTAMP(@var{M)} columns where @var{M} is 8 or 14 are reported to\nbe numbers, whereas other TIMESTAMP(@var{M)} columns are reported to be\nstrings.  This is just to ensure that you can reliably dump and restore\nthe table with these types.\n",""),(276,15,"MAKETIME","   MAKETIME(@var{hour},@var{minute},@var{second})\n\nReturns a time value calculated from the @var{hour}, @var{minute}, and\n@var{second} arguments.\n","mysql> SELECT MAKETIME(12,15,30);\n        -> '12:15:30'"),(277,7,"INTERIORRINGN","   InteriorRingN(@var{poly},@var{n})\nReturns the @var{n}-th interior ring for the Polygon value\n@var{poly} as a LineString.\nRing numbers begin at 1.\n","mysql> SET @poly =\n    -> 'Polygon((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1))';\nmysql> SELECT AsText(InteriorRingN(GeomFromText(@poly),1));\n+----------------------------------------------+\n| AsText(InteriorRingN(GeomFromText(@poly),1)) |\n+----------------------------------------------+\n| LINESTRING(1 1,1 2,2 2,2 1,1 1)              |\n+----------------------------------------------+"),(278,15,"STR_TO_DATE","   STR_TO_DATE(@var{str},@var{format})\nThis is the reverse function of the DATE_FORMAT() function. It takes a \nstring @var{str} and a format string @var{format}.\nSTR_TO_DATE() returns a DATETIME value if the format\nstring contains both date and time parts, or a DATE or TIME\nvalue if the string contains only date or time parts.\n\nThe date, time, or datetime values contained in @var{str} should be given \nin the format indicated by @var{format}. For the specifiers that can be \nused in @var{format}, see the table in the DATE_FORMAT() function \ndescription. All other characters are just taken verbatim, thus not being \ninterpreted.\nIf @var{str} contains an illegal date, time, or datetime value, \nSTR_TO_DATE() returns NULL.\n","@c next example commented out until format string becomes optional\n@c mysql> SELECT STR_TO_DATE('2003-10-03');\n@c         -> 2003-10-03 00:00:00\nmysql> SELECT STR_TO_DATE('03.10.2003 09.20',\n    ->                    '%d.%m.%Y %H.%i');\n        -> '2003-10-03 09:20:00'\nmysql> SELECT STR_TO_DATE('10arp', '%carp');\n        -> '0000-10-00 00:00:00'\nmysql> SELECT STR_TO_DATE('2003-15-10 00:00:00',\n    ->                    '%Y-%m-%d %H:%i:%s');\n        -> NULL"),(279,28,"BIT_COUNT","   BIT_COUNT(@var{N})\nReturns the number of bits that are set in the argument @var{N}.\n","mysql> SELECT BIT_COUNT(29);\n        -> 4"),(280,10,"TAN","   TAN(@var{X})\nReturns the tangent of @var{X}, where @var{X} is given in radians.\n","mysql> SELECT TAN(PI()+1);\n        -> 1.557408"),(281,2,"MULTILINESTRING","   MultiLineString(@var{ls1},@var{ls2},...)\nConstructs a WKB MultiLineString value using using WKB LineString\narguments.  If any argument is not a WKB LineString, the return\nvalue is NULL.\n",""),(282,19,"STOP SLAVE","STOP SLAVE [@var{thread_type} [, @var{thread_type}] ... ]\n\nthread_type: IO_THREAD | SQL_THREAD\n\nStops the slave threads.\nSTOP SLAVE requires the SUPER privilege.\n\nLike START SLAVE, as of MySQL 4.0.2, this statement\nmay be used with the IO_THREAD and SQL_THREAD options to name\nthe thread or threads to stop.\n",""),(283,15,"UTC_DATE","   UTC_DATE\n   UTC_DATE()\nReturns the current UTC date as a value in 'YYYY-MM-DD' or\nYYYYMMDD format, depending on whether the function is used in a\nstring or numeric context.\n","mysql> SELECT UTC_DATE(), UTC_DATE() + 0;\n        -> '2003-08-14', 20030814"),(284,3,"CREATE INDEX","In MySQL 3.22 or later, CREATE INDEX is mapped to an\nALTER TABLE statement to create indexes.\nSee also : [ALTER TABLE, , ALTER TABLE].\nThe CREATE INDEX statement doesn't do anything prior\nto MySQL 3.22.\n","CREATE [UNIQUE|FULLTEXT|SPATIAL] INDEX @var{index_name} [@var{index_type}]\n    ON @var{tbl_name} (@var{index_col_name},...)\n\n@var{index_col_name}:\n    @var{col_name} [(@var{length})] [ASC | DESC]");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (285,11,"UNCOMPRESSED_LENGTH","   UNCOMPRESSED_LENGTH(@var{compressed_string})\nReturns the length of a compressed string before compression.\n","mysql> SELECT UNCOMPRESSED_LENGTH(COMPRESS(REPEAT('a',30)));\n        -> 30"),(286,1,"AUTO_INCREMENT","The AUTO_INCREMENT attribute can be used to generate a unique\nidentity for new rows:\n","CREATE TABLE animals (\n             id MEDIUMINT NOT NULL AUTO_INCREMENT,\n             name CHAR(30) NOT NULL,\n             PRIMARY KEY (id)\n             );\nINSERT INTO animals (name) VALUES ('dog'),('cat'),('penguin'),\n                                  ('lax'),('whale'),('ostrich');\nSELECT * FROM animals;"),(287,8,"OLD_PASSWORD","   OLD_PASSWORD(@var{str})\n\n\nOLD_PASSWORD() is available as of MySQL 4.1, when the implementation of\nPASSWORD() was changed to improve security. OLD_PASSWORD()\nreturns the value of the pre-4.1 implementation of PASSWORD().\n[Password hashing].\n\n   PASSWORD(@var{str})\nCalculates and returns a password string from the plaintext password\n@var{str}, or NULL if the argument was NULL. This is\nthe function that is used for encrypting MySQL passwords for storage\nin the Password column of the user grant table.\n",""),(288,11,"STRCMP","   STRCMP(@var{expr1},@var{expr2})\nSTRCMP()\nreturns 0 if the strings are the same, -1 if the first\nargument is smaller than the second according to the current sort order,\nand 1 otherwise.\n","mysql> SELECT STRCMP('text', 'text2');\n        -> -1\nmysql> SELECT STRCMP('text2', 'text');\n        -> 1\nmysql> SELECT STRCMP('text', 'text');\n        -> 0"),(289,13,"BOUNDARY","   Boundary(@var{g})\nReturns a geometry that is the closure of the combinatorial boundary of the\ngeometry value @var{g}.\n",""),(290,15,"DATEDIFF","   DATEDIFF(@var{expr},@var{expr2})\n\n\nDATEDIFF() returns the number of days between the start date\n@var{expr} and the end date @var{expr2}.\n@var{expr} and @var{expr2} are date or date-and-time expressions.\nOnly the date parts of the values are used in the calculation.\n","mysql> SELECT DATEDIFF('1997-12-31 23:59:59','1997-12-30');\n        -> 1\nmysql> SELECT DATEDIFF('1997-11-30 23:59:59','1997-12-31');\n        -> -31"),(291,1,"TINYINT","   TINYINT[(@var{M})] [UNSIGNED] [ZEROFILL]\n\nA very small integer. The signed range is -128 to 127. The\nunsigned range is 0 to 255.\n\n   BIT\n   BOOL\n   BOOLEAN\nThese are synonyms for TINYINT(1).\nThe BOOLEAN synonym was added in MySQL 4.1.0.\nA value of zero is considered false. Non-zero values are considered true.\n\nIn the future,\nfull boolean type handling will be introduced in accordance with standard SQL.\n",""),(292,19,"SET GLOBAL SQL_SLAVE_SKIP_COUNTER","SET GLOBAL SQL_SLAVE_SKIP_COUNTER = @var{n}\n\nSkip the next @var{n} events from the master. This is\nuseful for recovering from replication stops caused by a statement.\n\nThis statement is valid only when the slave thread is not running.\nOtherwise, it produces an error.\n\nBefore MySQL 4.0, omit the GLOBAL keyword from the statement.\n",""),(293,8,"DES_ENCRYPT","   DES_ENCRYPT(@var{str}[,(@var{key_num}|@var{key_str})])\n\nEncrypts the string with the given key using the Triple-DES algorithm.\nOn error, this function returns NULL.\n\nNote that this function works only if MySQL has been configured with\nSSL support. See also : [Secure connections].\n\nThe encryption key to use is chosen based on the second argument to\nDES_ENCRYPT(), if one was given:\n\n     Argument 	 Description\n   No argument 	\nThe first key from the DES key file is used.\n   @var{key_num} 	\nThe given key number (0-9) from the DES key file is used.\n   @var{key_str} 	\nThe given key string is used to encrypt @var{str}.\n  \n\nThe key file can be specified with the --des-key-file server option.\n\nThe return string is a binary string where the first character\nis CHAR(128 | key_num).\n\nThe 128 is added to make it easier to recognize an encrypted key.\nIf you use a string key, @var{key_num} will be 127.\n\nThe string length for the result will be\n@var{new_len = @var{orig_len} + (8-(@var{orig_len} % 8))+1}.\n","@var{key_num} @var{des_key_str}"),(294,15,"QUARTER","   QUARTER(@var{date})\nReturns the quarter of the year for @var{date}, in the range 1\nto 4.\n","mysql> SELECT QUARTER('98-04-01');\n        -> 2"),(295,20,"DATABASE","   DATABASE()\nReturns the default (current) database name.\n","mysql> SELECT DATABASE();\n        -> 'test'"),(296,3,"CREATE TABLE","CREATE TABLE creates a table with the given name.\nYou must have the CREATE privilege for the table.\n\nRules for allowable table names are given in [Legal names].  \nBy default, the table is created in the current database.  \nAn error occurs if the table already exists, if there is no current database,\nor if the database does not exist.\n","CREATE [TEMPORARY] TABLE [IF NOT EXISTS] @var{tbl_name}\n    [(@var{create_definition},...)]\n    [@var{table_options}] [@var{select_statement}]"),(297,11,"BIN","   BIN(@var{N})\nReturns a string representation of the binary value of @var{N}, where\n@var{N} is a longlong (BIGINT) number.  This is equivalent to\nCONV(@var{N,10,2)}.  Returns NULL if @var{N} is NULL.\n","mysql> SELECT BIN(12);\n        -> '1100'"),(298,10,"SIGN","   SIGN(@var{X})\nReturns the sign of the argument as -1, 0, or 1, depending\non whether @var{X} is negative, zero, or positive.\n","mysql> SELECT SIGN(-32);\n        -> -1\nmysql> SELECT SIGN(0);\n        -> 0\nmysql> SELECT SIGN(234);\n        -> 1"),(299,15,"TIME_TO_SEC","   TIME_TO_SEC(@var{time})\nReturns the @var{time} argument, converted to seconds.\n","mysql> SELECT TIME_TO_SEC('22:23:00');\n        -> 80580\nmysql> SELECT TIME_TO_SEC('00:39:38');\n        -> 2378");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (300,15,"TIMESTAMPADD FUNCTION","","mysql> SELECT TIMESTAMPADD(MINUTE,1,'2003-01-02');\n        -> '2003-01-02 00:01:00'\nmysql> SELECT TIMESTAMPADD(WEEK,1,'2003-01-02');\n        -> '2003-01-09'"),(301,11,"REVERSE","   REVERSE(@var{str})\nReturns the string @var{str} with the order of the characters reversed.\n","mysql> SELECT REVERSE('abc');\n        -> 'cba'"),(302,4,"<=>","   <=>\nNULL-safe equal.\nThis operator performs an equality comparison like the = operator, but\nreturns 1 rather than NULL if both operands are NULL,\nand 0 rather than NULL if one operand is NULL.\n","mysql> SELECT 1 <=> 1, NULL <=> NULL, 1 <=> NULL;\n        -> 1, 1, 0\nmysql> SELECT 1 = 1, NULL = NULL, 1 = NULL;\n        -> 1, NULL, NULL"),(303,11,"SUBSTRING","   SUBSTRING(@var{str},@var{pos})\n   SUBSTRING(@var{str} FROM @var{pos})\n   SUBSTRING(@var{str},@var{pos},@var{len})\n   SUBSTRING(@var{str} FROM @var{pos} FOR @var{len})\n\nThe forms without a @var{len} argument\nreturn a substring from string @var{str} starting at position @var{pos}.\nThe forms with a @var{len} argument\nreturn a substring @var{len} characters long from string @var{str},\nstarting at position @var{pos}.\nThe forms that use FROM are standard SQL syntax.\n","mysql> SELECT SUBSTRING('Quadratically',5);\n        -> 'ratically'\nmysql> SELECT SUBSTRING('foobarbar' FROM 4);\n        -> 'barbar'\nmysql> SELECT SUBSTRING('Quadratically',5,6);\n        -> 'ratica'"),(304,14,"NULLIF","   NULLIF(@var{expr1},@var{expr2})\nReturns NULL if @var{expr1 = @var{expr2}} is true, else returns @var{expr1}.\nThis is the same as CASE WHEN @var{expr1 = @var{expr2} THEN NULL ELSE @var{expr1} END}.\n","mysql> SELECT NULLIF(1,1);\n        -> NULL\nmysql> SELECT NULLIF(1,2);\n        -> 1"),(305,25,"CONTAINS","   Contains(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not @var{g1} completely contains\n@var{g2}.\n",""),(306,15,"CURRENT_DATE","   CURRENT_DATE\n   CURRENT_DATE()\n\nCURRENT_DATE and CURRENT_DATE() are synonyms for\nCURDATE().\n",""),(307,22,"VARIANCE","   VARIANCE(@var{expr})\nReturns the standard variance of @var{expr} (considering rows as the\nwhole population, not as a sample; so it has the number of rows as\ndenominator). This is an extension to \nstandard SQL, available only in MySQL 4.1 or later.\n",""),(308,26,"UPDATE","The UPDATE statement updates columns in existing table rows with new values.\nThe SET clause indicates which columns to modify and the values\nthey should be given.  The WHERE clause, if given, specifies\nwhich rows should be updated.  Otherwise, all rows are updated. If the\nORDER BY clause is specified, the rows will be updated in the\norder that is specified. The LIMIT clause places a limit on the number\nof rows that can be updated.\n\nThe UPDATE statement supports the following modifiers:\n\n\n --- If you specify the LOW_PRIORITY keyword, execution of the\nUPDATE is delayed until no other clients are reading from the table.\n\n --- If you specify the IGNORE keyword, the update statement will not\nabort even if duplicate-key errors occur during the update.  Rows for which\nconflicts occur are not updated.\n","UPDATE [LOW_PRIORITY] [IGNORE] @var{tbl_name}\n    SET @var{col_name1}=@var{expr1} [, @var{col_name2}=@var{expr2} ...]\n    [WHERE @var{where_definition}]\n    [ORDER BY ...]\n    [LIMIT @var{row_count}]"),(309,15,"TIMESTAMPDIFF","   TIMESTAMPDIFF(@var{interval},@var{datetime_expr1},@var{datetime_expr2})\n\nReturns the integer difference between the date or datetime expressions\n@var{datetime_expr1} and\n@var{datetime_expr2}. The unit for the result is given by the\n@var{interval} argument. The legal values for @var{interval} are the same as\nthose listed in the description of the TIMESTAMPADD() function.\n",""),(310,11,"FIND_IN_SET","   FIND_IN_SET(@var{str},@var{strlist})\nReturns a value 1 to @var{N} if the string @var{str} is in the string list\n@var{strlist} consisting of @var{N} substrings. A string list is a string\ncomposed of substrings separated by , characters. If the first\nargument is a constant string and the second is a column of type SET,\nthe FIND_IN_SET() function is optimized to use bit arithmetic.\nReturns 0 if @var{str} is not in @var{strlist} or if @var{strlist}\nis the empty string.  Returns NULL if either argument is NULL.\nThis function will not work properly if the first argument contains a comma\n(,) character.\n","mysql> SELECT FIND_IN_SET('b','a,b,c,d');\n        -> 2"),(311,15,"YEARWEEK","Returns year and week for a date.  The @var{start} argument works exactly\nlike the @var{start} argument to WEEK().  The year in the\nresult may be\ndifferent from the year in the date argument for the first and the last\nweek of the year.\n","mysql> SELECT YEARWEEK('1987-01-01');\n        -> 198653"),(312,26,"SET","SET sets different types of variables that affect the operation of the\nserver or your client. It can be used to assign values to user variables or\nsystem variables.\n","SET @var{variable_assignment} [, @var{variable_assignment}] ...\n\n@var{variable_assignment}:\n      @var{user_var_name} = @var{expr}\n    | [GLOBAL | SESSION] @var{system_var_name} = @var{expr}\n    | @@[global. | session.]@var{system_var_name} = @var{expr}"),(313,11,"SOUNDEX","   SOUNDEX(@var{str})\nReturns a soundex string from @var{str}. Two strings that sound almost the\nsame should have identical soundex strings. A standard soundex string\nis four characters long, but the SOUNDEX() function returns an\narbitrarily long string. You can use SUBSTRING() on the result to get\na standard soundex string.  All non-alphabetic characters are ignored in the\ngiven string. All international alphabetic characters outside the A-Z range\nare treated as vowels.\n","mysql> SELECT SOUNDEX('Hello');\n        -> 'H400'\nmysql> SELECT SOUNDEX('Quadratically');\n        -> 'Q36324'"),(314,18,"IS_FREE_LOCK","   IS_FREE_LOCK(@var{str})\nChecks whether the lock named @var{str} is free to use (that is, not locked).\nReturns 1 if the lock is free (no one is using the lock),\n0 if the lock is in use, and\nNULL on errors (such as incorrect arguments).\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (315,11,"UPPER","   UPPER(@var{str})\nReturns the string @var{str} with all characters changed to uppercase\naccording to the current character set mapping (the default is ISO-8859-1\nLatin1).\n","mysql> SELECT UPPER('Hej');\n        -> 'HEJ'"),(316,19,"FLUSH QUERY CACHE","You can defragment the query cache to better utilize its memory\nwith the FLUSH QUERY CACHE statement.\nThe statement does not remove any queries from the cache.\n\nThe RESET QUERY CACHE statement removes all query results from the\nquery cache.  The FLUSH TABLES statement also does this.\n",""),(317,3,"DROP VIEW","DROP VIEW removes one or more views. You must have the DROP\nprivilege for each view.\n\nYou can use the keywords IF EXISTS to prevent an error from occurring\nfor views that don't exist.  When this clause is given, a NOTE is\ngenerated for each non-existent view.\nSee also : [SHOW WARNINGS].\n\nRESTRICT and CASCADE, if given, are parsed and ignored.\n","DROP VIEW [IF EXISTS]\n    @var{view_name} [, @var{view_name}] ...\n    [RESTRICT | CASCADE]"),(318,20,"CURRENT_USER","   CURRENT_USER()\nReturns the username and hostname combination that the current session was authenticated\nas. This value corresponds to the MySQL account that determines your\naccess privileges. It can be different from the value of USER().\n","mysql> SELECT USER();\n        -> 'davida@localhost'\nmysql> SELECT * FROM mysql.user;\nERROR 1044: Access denied for user ''@'localhost' to\ndatabase 'mysql'\nmysql> SELECT CURRENT_USER();\n        -> '@localhost'"),(319,15,"DAYOFWEEK","   DAYOFWEEK(@var{date})\nReturns the weekday index\nfor @var{date} (1 = Sunday, 2 = Monday, ..., 7 =\nSaturday).  These index values correspond to the ODBC standard.\n","mysql> SELECT DAYOFWEEK('1998-02-03');\n        -> 3"),(320,26,"LOAD INDEX","The LOAD INDEX INTO CACHE statement preloads a table index into the\nkey cache to which it has been assigned by an explicit CACHE INDEX\nstatement, or into the default key cache otherwise.  LOAD INDEX INTO\nCACHE is used only for MyISAM tables.\n\nThe IGNORE LEAVES modifier causes only blocks for the non-leaf\nnodes of the index to be preloaded.\n","LOAD INDEX INTO CACHE\n  @var{tbl_index_list} [, @var{tbl_index_list}] ...\n\n@var{tbl_index_list}:\n  @var{tbl_name}\n    [[INDEX|KEY] (@var{index_name}[, @var{index_name}] ...)]\n    [IGNORE LEAVES]"),(321,26,"TRUNCATE TABLE","TRUNCATE TABLE empties a table completely.\nLogically, this is equivalent to a DELETE statement that deletes all\nrows, but there are practical differences under some circumstances.\n\nFor InnoDB, TRUNCATE TABLE is mapped to\nDELETE, so there is no difference. For other storage engines,\nTRUNCATE TABLE differs from DELETE FROM ...\nin the following ways from MySQL 4.0 and up:\n\n --- Truncate operations drop and re-create the table, which is much faster\nthan deleting rows one by one.\n --- Truncate operations are not transaction-safe; you will get an error if\nyou have an active transaction or an active table lock.\n --- The number of deleted rows is not returned.\n --- As long as the table definition file *@var{tbl_name.frm} is\nvalid, the table can be re-created as an empty table with TRUNCATE\nTABLE, even if the data or index files have become corrupted.\n --- The table handler does not remember the last used AUTO_INCREMENT\nvalue, but starts counting from the beginning.  This is true even for\nMyISAM, which normally does not reuse sequence values.\n\nIn MySQL 3.23, TRUNCATE TABLE is mapped to\nCOMMIT; DELETE FROM @var{tbl_name}, so it behaves like DELETE.\nSee also : [DELETE,  , DELETE].\n\nTRUNCATE TABLE is an Oracle SQL extension.\nThis statement was added in MySQL 3.23.28, although from 3.23.28\nto 3.23.32, the keyword TABLE must be omitted.\n","TRUNCATE TABLE @var{tbl_name}"),(322,1,"MEDIUMINT","   MEDIUMINT[(@var{M})] [UNSIGNED] [ZEROFILL]\n\nA medium-size integer. The signed range is -8388608 to\n8388607. The unsigned range is 0 to 16777215.\n",""),(323,11,"UCASE","   UCASE(@var{str})\n\nUCASE() is a synonym for UPPER().\n",""),(324,21,"ISCLOSED","   IsClosed(@var{ls})\nReturns 1 if the LineString value @var{ls} is closed\n(that is, its StartPoint() and EndPoint() values are the same).\nReturns 0 if @var{ls} is not closed, and @minus{}1 if it is NULL.\n","mysql> SET @ls = 'LineString(1 1,2 2,3 3)';\nmysql> SELECT IsClosed(GeomFromText(@ls));\n+-----------------------------+\n| IsClosed(GeomFromText(@ls)) |\n+-----------------------------+\n|                           0 |\n+-----------------------------+"),(325,1,"YEAR TYPE","   YEAR[(2|4)]\n\nA year in two-digit or four-digit format. The default is four-digit format.\nIn four-digit format, the\nallowable values are 1901 to 2155, and 0000.\nIn two-digit format, the allowable values are\n70 to 69, representing years from\n1970 to 2069.  MySQL displays YEAR values in\nYYYY format, but allows you to assign values to YEAR columns\nusing either strings or numbers. The YEAR type is unavailable prior\nto MySQL 3.22.\n",""),(326,15,"SECOND","   SECOND(@var{time})\nReturns the second for @var{time}, in the range 0 to 59.\n","mysql> SELECT SECOND('10:05:03');\n        -> 3"),(327,11,"POSITION","   POSITION(@var{substr} IN @var{str})\n\nPOSITION(@var{substr IN @var{str})} is a synonym for LOCATE(@var{substr,@var{str})}.\n","mysql> SELECT LOCATE('bar', 'foobarbar');\n        -> 4\nmysql> SELECT LOCATE('xbar', 'foobar');\n        -> 0\nmysql> SELECT LOCATE('bar', 'foobarbar',5);\n        -> 7"),(328,19,"CONSTRAINT","The syntax of a foreign key constraint definition in InnoDB looks like\nthis:\n\n[CONSTRAINT @var{symbol}] FOREIGN KEY [@var{id}] (@var{index_col_name}, ...)\n    REFERENCES @var{tbl_name} (@var{index_col_name}, ...)\n    [ON DELETE {RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT}]\n    [ON UPDATE {RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT}]\n","CREATE TABLE product (category INT NOT NULL, id INT NOT NULL,\n                      price DECIMAL,\n                      PRIMARY KEY(category, id)) TYPE=INNODB;\nCREATE TABLE customer (id INT NOT NULL,\n                      PRIMARY KEY (id)) TYPE=INNODB;\nCREATE TABLE product_order (no INT NOT NULL AUTO_INCREMENT,\n                      product_category INT NOT NULL,\n                      product_id INT NOT NULL,\n                      customer_id INT NOT NULL,\n                      PRIMARY KEY(no),\n                      INDEX (product_category, product_id),\n                      FOREIGN KEY (product_category, product_id)\n                        REFERENCES product(category, id)\n                        ON UPDATE CASCADE ON DELETE RESTRICT,\n                      INDEX (customer_id),\n                      FOREIGN KEY (customer_id)\n                        REFERENCES customer(id)) TYPE=INNODB;"),(329,22,"SUM","   SUM(@var{expr})\nReturns the sum of @var{expr}.  If the return set has no rows,\nSUM() returns NULL.\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (330,19,"REPAIR","REPAIR TABLE repairs a possibly corrupted table.\nBy default,\nit has the same effect as @command{myisamchk --recover @var{tbl_name}}.\nREPAIR TABLE works only on MyISAM tables.\n","REPAIR [LOCAL | NO_WRITE_TO_BINLOG] TABLE\n    @var{tbl_name} [, @var{tbl_name}] ... [QUICK] [EXTENDED] [USE_FRM]"),(331,11,"ORD","   ORD(@var{str})\nIf the leftmost character of the string @var{str} is a multi-byte character,\nreturns the code for that character, calculated from the numeric values\nof its constituent bytes using this formula:\n\n  (1st byte code)\n+ (2nd byte code * 256)\n+ (3rd byte code * 256^2) ...\n\nIf the leftmost character is not a multi-byte character, ORD()\nreturns the same value as the ASCII() function.\n","mysql> SELECT ORD('2');\n        -> 50"),(332,21,"POINTN","   PointN(@var{ls},@var{n})\nReturns the @var{n}-th point in the Linestring value @var{ls}.\nPoint numbers begin at 1.\n","mysql> SET @ls = 'LineString(1 1,2 2,3 3)';\nmysql> SELECT AsText(PointN(GeomFromText(@ls),2));\n+-------------------------------------+\n| AsText(PointN(GeomFromText(@ls),2)) |\n+-------------------------------------+\n| POINT(2 2)                          |\n+-------------------------------------+"),(333,1,"VARCHAR","   [NATIONAL] VARCHAR(@var{M}) [BINARY]\n\nA variable-length string.  @var{M} represents the maximum column length.\nThe range of @var{M} is 0 to 255 characters (1 to 255 prior to MySQL 4.0.2).\n\nNote: Trailing spaces are removed when VARCHAR values are\nstored, which differs from the standard SQL specification.\n\nFrom MySQL 4.1.0 on, a VARCHAR column with a length specification\ngreater than 255 is converted to the smallest TEXT type that can hold\nvalues of the given length.  For example, VARCHAR(500) is converted\nto TEXT, and VARCHAR(200000) is converted to\nMEDIUMTEXT.  This is a compatibility feature.\nHowever, this conversion affects trailing-space removal.\n\nVARCHAR is shorthand for CHARACTER VARYING.\n\nThe BINARY attribute causes sorting and comparisons to be\ncase sensitive.\n",""),(334,14,"CASE","   CASE @var{value} WHEN [@var{compare-value}] THEN @var{result} [WHEN [@var{compare-value}] THEN @var{result} ...] [ELSE @var{result}] END\n   CASE WHEN [@var{condition}] THEN @var{result} [WHEN [@var{condition}] THEN @var{result} ...] [ELSE @var{result}] END\n\nThe first version returns the @var{result} where\n@var{value=@var{compare-value}}. The second version returns the result for\nthe first condition that is true. If there was no matching result\nvalue, the result after ELSE is returned, or NULL if there is no\nELSE part.\n","mysql> SELECT CASE 1 WHEN 1 THEN 'one'\n    ->     WHEN 2 THEN 'two' ELSE 'more' END;\n        -> 'one'\nmysql> SELECT CASE WHEN 1>0 THEN 'true' ELSE 'false' END;\n        -> 'true'\nmysql> SELECT CASE BINARY 'B'\n    ->     WHEN 'a' THEN 1 WHEN 'b' THEN 2 END;\n        -> NULL"),(335,6,"MBR DEFINITION","Every geometry occupies some position in space. The exterior of\na geometry is all space not occupied by the geometry. The interior\nis the space occupied by the geometry. The boundary is the\ninterface between the geometry's interior and exterior.\n\n --- Its MBR (Minimum Bounding Rectangle), or Envelope.\nThis is the bounding geometry, formed by the minimum and maximum (X,Y)\ncoordinates:\n","((MINX MINY, MAXX MINY, MAXX MAXY, MINX MAXY, MINX MINY))"),(336,11,"MID","   MID(@var{str},@var{pos},@var{len})\n\nMID(@var{str,@var{pos},@var{len})} is a synonym for\nSUBSTRING(@var{str,@var{pos},@var{len})}.\n",""),(337,6,"MBRINTERSECTS","   MBRIntersects(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not the Minimum Bounding Rectangles of\nthe two geometries @var{g1} and @var{g2} intersect.\n",""),(338,11,"NOT LIKE","   @var{expr} NOT LIKE @var{pat} [ESCAPE '@var{escape-char}']\n\nThis is the same as NOT (@var{expr LIKE @var{pat} [ESCAPE '@var{escape-char}'])}.\n",""),(339,8,"DES_DECRYPT","   DES_DECRYPT(@var{crypt_str}[,@var{key_str}])\n\nDecrypts a string encrypted with DES_ENCRYPT().\nOn error, this function returns NULL.\n\nNote that this function works only if MySQL has been configured with\nSSL support. See also : [Secure connections].\n\nIf no @var{key_str} argument is given, DES_DECRYPT() examines\nthe first byte of the encrypted string to determine the DES key number\nthat was used to encrypt the original string, and then reads the key\nfrom the DES key file to decrypt the message.  For this to work,\nthe user must have the SUPER privilege. The key file can be specified\nwith the --des-key-file server option.\n\nIf you pass this function a @var{key_str} argument, that string\nis used as the key for decrypting the message.\n\nIf the @var{crypt_str} argument doesn't look like an encrypted string,\nMySQL will return the given @var{crypt_str}.\n",""),(340,11,"OCT","   OCT(@var{N})\nReturns a string representation of the octal value of @var{N}, where\n@var{N} is a longlong (BIGINT)number.  This is equivalent to\nCONV(N,10,8).\nReturns NULL if @var{N} is NULL.\n","mysql> SELECT OCT(12);\n        -> '14'"),(341,18,"GET_LOCK","   GET_LOCK(@var{str},@var{timeout})\nTries to obtain a lock with a name given by the string @var{str}, with a\ntimeout of @var{timeout} seconds.  Returns 1 if the lock was obtained\nsuccessfully, 0 if the attempt timed out (for example, because another\nclient has already locked the name), or NULL if an error\noccurred (such as running out of memory or the thread was killed with\n@command{mysqladmin kill}).  If you have a lock obtained with GET_LOCK(),\nit is released when you execute\nRELEASE_LOCK(), execute a new GET_LOCK(), or your connection\nterminates (either normally or abnormally).\n\nThis function can be used to implement application locks or to\nsimulate record locks.  Names are locked on a server-wide basis.\nIf a name has been locked by one client, GET_LOCK() blocks\nany request by another client for a lock with the same name. This\nallows clients that agree on a given lock name to use the name to\nperform cooperative advisory locking.\n","mysql> SELECT GET_LOCK('lock1',10);\n        -> 1\nmysql> SELECT IS_FREE_LOCK('lock2');\n        -> 1\nmysql> SELECT GET_LOCK('lock2',10);\n        -> 1\nmysql> SELECT RELEASE_LOCK('lock2');\n        -> 1\nmysql> SELECT RELEASE_LOCK('lock1');\n        -> NULL"),(342,5,"ASBINARY","   AsBinary(@var{g})\nConverts a value in internal geometry format to its WKB representation\nand returns the binary result.\n","SELECT AsBinary(g) FROM geom;"),(343,15,"YEAR","   YEAR(@var{date})\nReturns the year for @var{date}, in the range 1000 to 9999.\n","mysql> SELECT YEAR('98-02-03');\n        -> 1998"),(344,20,"BENCHMARK","   BENCHMARK(@var{count},@var{expr})\nThe BENCHMARK() function executes the expression @var{expr}\nrepeatedly @var{count} times.  It may be used to time how fast MySQL\nprocesses the expression.  The result value is always 0.  The intended\nuse is from within the @command{mysql} client, which reports query execution times:\n","mysql> SELECT BENCHMARK(1000000,ENCODE('hello','goodbye'));\n+----------------------------------------------+\n| BENCHMARK(1000000,ENCODE('hello','goodbye')) |\n+----------------------------------------------+\n|                                            0 |\n+----------------------------------------------+\n1 row in set (4.74 sec)");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (345,11,"CAST","The CAST() and CONVERT() functions can be used to take a\nvalue of one type and produce a value of another type.\n\nThe @var{type} can be one of the following values:\n\n --- BINARY\n --- CHAR\n --- DATE\n --- DATETIME\n --- SIGNED [INTEGER]\n --- TIME\n --- UNSIGNED [INTEGER]\n\nBINARY produces a binary string. See the entry for the BINARY\noperator in this section for a description of how this affects comparisons.\n\nCAST() and CONVERT() are available as of MySQL 4.0.2.\nThe CHAR conversion type is available as of 4.0.6.\nThe USING form of CONVERT() is available as of 4.1.0.\n\nCAST() and CONVERT(... USING ...) are standard SQL syntax.\nThe non-USING form of CONVERT() is ODBC syntax.\n\nCONVERT() with USING is used to convert data between different\ncharacter sets.  In MySQL, transcoding names are the same as the\ncorresponding character set names.  For example, this statement converts\nthe string 'abc' in the server's default character set to the\ncorresponding string in the utf8 character set:\n\nSELECT CONVERT('abc' USING utf8);\n\n  \n\nThe cast functions are useful when you want to create a column with\na specific type in a CREATE ... SELECT statement:\n","SELECT @var{enum_col} FROM @var{tbl_name} ORDER BY CAST(@var{enum_col} AS CHAR);"),(346,26,"CACHE INDEX","The CACHE INDEX statement assigns table indexes to a specific key\ncache. It is used only for MyISAM tables.\n\nThe following statement assigns indexes from the tables t1,\nt2, and t3 to the key cache named hot_cache:\n\nmysql> CACHE INDEX t1, t2, t3 IN hot_cache;\n+---------+--------------------+----------+----------+\n| Table   | Op                 | Msg_type | Msg_text |\n+---------+--------------------+----------+----------+\n| test.t1 | assign_to_keycache | status   | OK       |\n| test.t2 | assign_to_keycache | status   | OK       |\n| test.t3 | assign_to_keycache | status   | OK       |\n+---------+--------------------+----------+----------+\n","CACHE INDEX\n  @var{tbl_index_list} [, @var{tbl_index_list}] ...\n  IN @var{key_cache_name}\n\n@var{tbl_index_list}:\n  @var{tbl_name} [[INDEX|KEY] (@var{index_name}[, @var{index_name}] ...)]"),(347,17,"LINEFROMTEXT","   LineFromText(@var{wkt}[,@var{srid}])\n   LineStringFromText(@var{wkt}[,@var{srid}])\nConstructs a LINESTRING value using its WKT representation and SRID.\n",""),(348,17,"GEOMCOLLFROMTEXT","   GeomCollFromText(@var{wkt}[,@var{srid}])\n   GeometryCollectionFromText(@var{wkt}[,@var{srid}])\nConstructs a GEOMETRYCOLLECTION value using its WKT representation and SRID.\n",""),(349,17,"ASTEXT","   AsText(@var{g})\nConverts a value in internal geometry format to its WKT representation\nand returns the string result.\n","mysql> SELECT AsText(g) FROM geom;\n+-------------------------+\n| AsText(p1)              |\n+-------------------------+\n| POINT(1 1)              |\n| LINESTRING(0 0,1 1,2 2) |\n+-------------------------+"),(350,20,"VERSION","   VERSION()\nReturns a string that indicates the MySQL server version.\n","mysql> SELECT VERSION();\n        -> '4.1.3-beta-log'"),(351,6,"MBRWITHIN","   MBRWithin(@var{g1},@var{g2})\nReturns 1 or 0 to indicate whether or not the Minimum Bounding Rectangle\nof @var{g1} is within the Minimum Bounding Rectangle of @var{g2}.\n","mysql> SET @g1 = GeomFromText('Polygon((0 0,0 3,3 3,3 0,0 0))');\nmysql> SET @g2 = GeomFromText('Polygon((0 0,0 5,5 5,5 0,0 0))');\nmysql> SELECT MBRWithin(@g1,@g2), MBRWithin(@g2,@g1);\n+--------------------+--------------------+\n| MBRWithin(@g1,@g2) | MBRWithin(@g2,@g1) |\n+--------------------+--------------------+\n|                  1 |                  0 |\n+--------------------+--------------------+"),(352,15,"TIMESTAMPADD","   TIMESTAMPADD(@var{interval},@var{int_expr},@var{datetime_expr})\n\nAdds the integer expression @var{int_expr} to the date or datetime expression\n@var{datetime_expr}. The unit for @var{int_expr} is given by the\ninterval argument, which should be one of the following values:\nFRAC_SECOND,\nSECOND,\nMINUTE,\nHOUR,\nDAY,\nWEEK,\nMONTH,\nQUARTER,\nor\nYEAR.\n\nThe @var{interval} value may be specified using one of keywords as shown,\nor with a prefix of SQL_TSI_. For example, DAY or\nSQL_TSI_DAY both are legal.\n",""),(353,4,"LEAST","   LEAST(@var{value1},@var{value2},...)\nWith two or more arguments, returns the smallest (minimum-valued) argument.\nThe arguments are compared using the following rules.\n\n --- If the return value is used in an INTEGER context or all arguments\nare integer-valued, they are compared as integers.\n\n --- If the return value is used in a REAL context or all arguments are\nreal-valued, they are compared as reals.\n\n --- If any argument is a case-sensitive string, the arguments are compared\nas case-sensitive strings.\n\n --- In other cases, the arguments are compared as case-insensitive strings.\n","mysql> SELECT LEAST(2,0);\n        -> 0\nmysql> SELECT LEAST(34.0,3.0,5.0,767.0);\n        -> 3.0\nmysql> SELECT LEAST('B','A','C');\n        -> 'A'"),(354,11,"FIELD","   FIELD(@var{str},@var{str1},@var{str2},@var{str3},...)\nReturns the index of @var{str} in the @var{str1}, @var{str2},\n@var{str3}, ... list.\nReturns 0 if @var{str} is not found.\nFIELD() is the complement of ELT().\n","mysql> SELECT FIELD('ej', 'Hej', 'ej', 'Heja', 'hej', 'foo');\n        -> 2\nmysql> SELECT FIELD('fo', 'Hej', 'ej', 'Heja', 'hej', 'foo');\n        -> 0"),(355,15,"CURDATE","   CURDATE()\n\nReturns the current date as a value in 'YYYY-MM-DD' or YYYYMMDD\nformat, depending on whether the function is used in a string or numeric\ncontext.\n","mysql> SELECT CURDATE();\n        -> '1997-12-15'\nmysql> SELECT CURDATE() + 0;\n        -> 19971215"),(356,15,"UTC_TIME","   UTC_TIME\n   UTC_TIME()\nReturns the current UTC time as a value in 'HH:MM:SS' or HHMMSS\nformat, depending on whether the function is used in a string or numeric\ncontext.\n","mysql> SELECT UTC_TIME(), UTC_TIME() + 0;\n        -> '18:07:53', 180753"),(357,19,"SHOW SLAVE STATUS","SHOW SLAVE STATUS\n\nProvides status information on\nessential parameters of the slave threads. If you issue this statement using\nthe\n@command{mysql} client, you can use a \\G statement terminator rather than\nsemicolon to get a more readable vertical layout:\n\nmysql> SHOW SLAVE STATUS\\G\n*************************** 1. row ***************************\n       Slave_IO_State: Waiting for master to send event\n          Master_Host: localhost\n          Master_User: root\n          Master_Port: 3306\n        Connect_Retry: 3\n      Master_Log_File: gbichot-bin.005\n  Read_Master_Log_Pos: 79\n       Relay_Log_File: gbichot-relay-bin.005\n        Relay_Log_Pos: 548\nRelay_Master_Log_File: gbichot-bin.005\n     Slave_IO_Running: Yes\n    Slave_SQL_Running: Yes\n      Replicate_Do_DB:\n  Replicate_Ignore_DB:\n           Last_Errno: 0\n           Last_Error:\n         Skip_Counter: 0\n  Exec_Master_Log_Pos: 79\n      Relay_Log_Space: 552\n      Until_Condition: None\n       Until_Log_File:\n        Until_Log_Pos: 0\n   Master_SSL_Allowed: No\n   Master_SSL_CA_File:\n   Master_SSL_CA_Path:\n      Master_SSL_Cert:\n    Master_SSL_Cipher:\n       Master_SSL_Key:\nSeconds_Behind_Master: 8\n",""),(358,11,"SOUNDS LIKE","   @var{expr1} SOUNDS LIKE @var{expr2}\n\nThis is the same as SOUNDEX(@var{expr1) = SOUNDEX(@var{expr2})}. It is\navailable only in MySQL 4.1 or later. \n",""),(359,19,"DESCRIBE","{DESCRIBE | DESC} @var{tbl_name} [@var{col_name} | @var{wild}]\n\nDESCRIBE provides information about a table's columns.  It is a\nshortcut for SHOW COLUMNS FROM.\n","");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (360,15,"MONTH","   MONTH(@var{date})\nReturns the month for @var{date}, in the range 1 to 12.\n","mysql> SELECT MONTH('1998-02-03');\n        -> 2"),(361,19,"ANALYZE","This statement analyzes and stores the key distribution for a table.\nDuring the analysis, the table is locked with a read lock.  This works on\nMyISAM and BDB tables and (as of MySQL 4.0.13) InnoDB\ntables. For MyISAM tables, this\nstatement is equivalent to using @command{myisamchk -a}.\n\nMySQL uses the stored key distribution to decide the order in which\ntables should be joined when you perform a join on something other than a\nconstant.\n","ANALYZE [LOCAL | NO_WRITE_TO_BINLOG] TABLE @var{tbl_name} [, @var{tbl_name}] ..."),(362,8,"DECODE","   DECODE(@var{crypt_str},@var{pass_str})\nDecrypts the encrypted string @var{crypt_str} using @var{pass_str} as the\npassword.  @var{crypt_str} should be a string returned from\nENCODE().\n",""),(363,22,"BIT_OR","   BIT_OR(@var{expr})\nReturns the bitwise OR of all bits in @var{expr}. The calculation is\nperformed with 64-bit (BIGINT) precision.\n",""),(364,16,"DUAL","SELECT ... FROM DUAL is an alias for SELECT ....\n(To be compatible with some other databases).\n",""),(365,10,"ASIN","   ASIN(@var{X})\nReturns the arc sine of @var{X}, that is, the value whose sine is\n@var{X}. Returns NULL if @var{X} is not in the range -1 to\n1.\n","mysql> SELECT ASIN(0.2);\n        -> 0.201358\nmysql> SELECT ASIN('foo');\n        -> 0.000000"),(366,17,"POLYFROMTEXT","   PolyFromText(@var{wkt}[,@var{srid}])\n   PolygonFromText(@var{wkt}[,@var{srid}])\nConstructs a POLYGON value using its WKT representation and SRID.\n",""),(367,20,"SYSTEM_USER","   SYSTEM_USER()\n\nSYSTEM_USER() is a synonym for USER().\n",""),(368,10,"- BINARY","   -\nSubtraction:\n","mysql> SELECT 3-5;\n        -> -2"),(369,21,"NUMPOINTS","   NumPoints(@var{ls})\nReturns the number of points in the LineString value @var{ls}.\n","mysql> SET @ls = 'LineString(1 1,2 2,3 3)';\nmysql> SELECT NumPoints(GeomFromText(@ls));\n+------------------------------+\n| NumPoints(GeomFromText(@ls)) |\n+------------------------------+\n|                            3 |\n+------------------------------+"),(370,23,"ISOLATION","SET [GLOBAL | SESSION] TRANSACTION ISOLATION LEVEL\n{ READ UNCOMMITTED | READ COMMITTED | REPEATABLE READ | SERIALIZABLE }\n\nThis statement\nsets the transaction isolation level for the next transaction, globally, or\nfor the current session.\n\nThe default behavior of SET TRANSACTION is to set the isolation level\nfor the next (not yet\nstarted) transaction.  If you use the GLOBAL keyword, the statement\nsets the default transaction level globally for all new connections\ncreated from that point on. Existing connections are unaffected.\nYou need the SUPER\nprivilege to do this.  Using the SESSION keyword sets the\ndefault transaction level for all future transactions performed on the\ncurrent connection.\n\nFor descriptions of each InnoDB transaction isolation level, see\n[InnoDB transaction isolation, InnoDB transaction isolation].\nInnoDB supports each of these levels\nfrom MySQL 4.0.5 on. The default level is REPEATABLE READ.\n\nYou can set the initial default global isolation level for @command{mysqld} with\nthe --transaction-isolation option.\nSee also : [Server options].\n",""),(371,15,"EXTRACT","   EXTRACT(@var{type} FROM @var{date})\n\nThe EXTRACT() function uses the same kinds of interval type\nspecifiers as DATE_ADD() or DATE_SUB(), but extracts parts\nfrom the date rather than performing date arithmetic.\n","mysql> SELECT EXTRACT(YEAR FROM '1999-07-02');\n       -> 1999\nmysql> SELECT EXTRACT(YEAR_MONTH FROM '1999-07-02 01:02:03');\n       -> 199907\nmysql> SELECT EXTRACT(DAY_MINUTE FROM '1999-07-02 01:02:03');\n       -> 20102\nmysql> SELECT EXTRACT(MICROSECOND\n    ->                FROM '2003-01-02 10:30:00.00123');\n        -> 123"),(372,22,"BIT_XOR","   BIT_XOR(@var{expr})\nReturns the bitwise XOR of all bits in @var{expr}. The calculation is\nperformed with 64-bit (BIGINT) precision.\n",""),(373,2,"LINESTRING","   LineString(@var{pt1},@var{pt2},...)\nConstructs a WKB LineString value from a number of WKB Point\narguments.  If any argument is not a WKB Point, the return value\nis NULL.  If the number of Point arguments is less than two,\nthe return value is NULL.\n",""),(374,11,"QUOTE","   QUOTE(@var{str})\nQuotes a string to produce a result that can be used as a properly escaped\ndata value in an SQL statement.  The string is returned surrounded by single\nquotes and with each instance of single quote ('), backslash (\\),\nASCII NUL, and Control-Z preceded by a backslash.  If the argument is\nNULL, the return value is the word ``NULL'' without surrounding\nsingle quotes.\nThe QUOTE() function was added in MySQL 4.0.3.\n","mysql> SELECT QUOTE('Don\\'t!');\n        -> 'Don\\'t!'\nmysql> SELECT QUOTE(NULL);\n        -> NULL");
+insert into help_topic (help_topic_id,help_category_id,name,description,example) values (375,13,"GEOMETRYTYPE","   GeometryType(@var{g})\nReturns as a string the name of the geometry type of which\nthe geometry instance @var{g} is a member.\nThe name will correspond to one of the instantiable Geometry subclasses.\n","mysql> SELECT GeometryType(GeomFromText('POINT(1 1)'));\n+------------------------------------------+\n| GeometryType(GeomFromText('POINT(1 1)')) |\n+------------------------------------------+\n| POINT                                    |\n+------------------------------------------+"),(376,8,"SHA","   SHA1(@var{str})\n   SHA(@var{str})\nCalculates an SHA1 160-bit checksum for the string, as described in\nRFC 3174 (Secure Hash Algorithm). The value is returned as a string of 40 hex\ndigits, or NULL if the argument was NULL.\nOne of the possible uses for this function is as a hash key. You can\nalso use it as a cryptographically safe function for storing passwords.\n","mysql> SELECT SHA1('abc');\n        -> 'a9993e364706816aba3e25717850c26c9cd0d89d'"),(377,19,"RESTORE","\nRESTORE TABLE @var{tbl_name} [, @var{tbl_name}] ... FROM '@var{/path/to/backup/directory}'\n\nRestores the table or tables from a backup that was made with BACKUP\nTABLE. Existing tables will not be overwritten; if you try to restore over\nan existing table, you will get an error.  Just as BACKUP TABLE,\nRESTORE TABLE currently works only for MyISAM tables.\nThe directory should be specified as a full pathname.\n\nThe backup for each table consists of its *.frm format file and\n*.MYD data file. The restore operation restores those files, then\nuses them to rebuild the *.MYI index file.  Restoring takes longer\nthan backing up due to the need to rebuild the indexes. The more indexes the\ntable has, the longer it will take.\n",""),(378,18,"UUID","   UUID()\n\nReturns a Universal Unique Identifier (UUID) generated\naccording to ``DCE 1.1: Remote Procedure Call'' (Appendix A)\nCAE (Common Applications Environment) Specifications\npublished by The Open Group in October 1997 (Document Number C706).\n\nA UUID is designed as a number that is globally unique in space and\ntime. Two calls to UUID() are expected to generate two different\nvalues, even if these calls are performed on two separate computers that are\nnot connected to each other.\n\nA UUID is a 128-bit number represented by a string\nof five hexadecimal numbers in aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\nformat:\n\n\n --- The first three numbers are generated from a timestamp.\n\n --- The fourth number preserves temporal uniqueness in case the timestamp value loses\nmonotonicity (for example, due to daylight saving time).\n\n --- The fifth number is an IEEE 802 node number that provides spatial uniqueness.  A\nrandom number is substituted if the latter is not available (for example,\nbecause the host computer has no Ethernet card, or we do not know how to\nfind the hardware address of an interface on your operating system).  In\nthis case, spatial uniqueness cannot be guaranteed. Nevertheless, a\ncollision should have /very/ low probability.\n\nCurrently, the MAC address of an interface is taken into account only on\nFreeBSD and Linux. On other operating systems, MySQL uses a randomly generated\n48-bit number.\n","mysql> SELECT UUID();\n        -> '6ccd780c-baba-1026-9564-0040f4311e29'"),(379,19,"REVOKE","","REVOKE @var{priv_type} [(@var{column_list})] [, @var{priv_type} [(@var{column_list})]] ...\n    ON {@var{tbl_name} | * | *.* | @var{db_name}.*}\n    FROM @var{user} [, @var{user}] ...\n\nREVOKE ALL PRIVILEGES, GRANT OPTION FROM @var{user} [, @var{user}] ..."),(380,26,"REPLACE INTO","REPLACE works exactly like INSERT, except that if an old\nrecord in the table has the same value as a new record for a PRIMARY\nKEY or a UNIQUE index, the old record is deleted before the new\nrecord is inserted.\nSee also : [INSERT, ,INSERT].\n\nNote that unless the table has a PRIMARY KEY or UNIQUE index,\nusing a REPLACE statement makes no sense. It becomes equivalent to\nINSERT, because there is no index to be used to determine whether a new\nrow duplicates another.\n\nValues for all columns are taken from the values specified in the\nREPLACE statement.  Any missing columns are set to their default\nvalues, just as happens for INSERT.  You can't refer to values from\nthe old row and use them in the new row.  It appeared that you could do this\nin some old MySQL versions, but that was a bug that has been corrected.\n\nTo be able to use REPLACE, you must have INSERT and\nDELETE privileges for the table.\n","REPLACE [LOW_PRIORITY | DELAYED]\n    [INTO] @var{tbl_name} [(@var{col_name},...)]\n    VALUES ({@var{expr} | DEFAULT},...),(...),..."),(381,15,"TIMEDIFF","   TIMEDIFF(@var{expr},@var{expr2})\n\n\nTIMEDIFF() returns the time between the start time\n@var{expr} and the end time @var{expr2}.\n@var{expr} and @var{expr2} are time or date-and-time expressions, but both\nmust be of the same type.\n","mysql> SELECT TIMEDIFF('2000:01:01 00:00:00',\n    ->                 '2000:01:01 00:00:00.000001');\n        -> '-00:00:00.000001'\nmysql> SELECT TIMEDIFF('1997-12-31 23:59:59.000001',\n    ->                 '1997-12-30 01:01:01.000002');\n        -> '46:58:57.999999'"),(382,23,"LOCK","LOCK TABLES locks tables for the current thread.  UNLOCK\nTABLES releases any locks held by the current thread.  All tables that\nare locked by the current thread are implicitly unlocked when the\nthread issues another LOCK TABLES, or when the connection to the\nserver is closed.\n","LOCK TABLES\n    @var{tbl_name} [AS @var{alias}] {READ [LOCAL] | [LOW_PRIORITY] WRITE}\n    [, @var{tbl_name} [AS @var{alias}] {READ [LOCAL] | [LOW_PRIORITY] WRITE}] ...\nUNLOCK TABLES"),(383,11,"UNCOMPRESS","   UNCOMPRESS(@var{string_to_uncompress})\nUncompresses a string compressed by the COMPRESS() function.\nIf the argument is not a compressed value, the result is NULL.\nThis function requires MySQL to have been compiled with a compression library\nsuch as zlib. Otherwise, the return value is always NULL.\n","mysql> SELECT UNCOMPRESS(COMPRESS('any string'));\n        -> 'any string'\nmysql> SELECT UNCOMPRESS('any string');\n        -> NULL"),(384,22,"GROUP_CONCAT","   GROUP_CONCAT(@var{expr})\nThis function returns a string result with the concatenated values from a\ngroup.  The full syntax is as follows:\n\nGROUP_CONCAT([DISTINCT] @var{expr} [,@var{expr} ...]\n             [ORDER BY {@var{unsigned_integer} | @var{col_name} | @var{expr}}\n                 [ASC | DESC] [,@var{col_name} ...]]\n             [SEPARATOR @var{str_val}])\n","mysql> SELECT student_name,\n    ->     GROUP_CONCAT(test_score)\n    ->     FROM student \n    ->     GROUP BY student_name;"),(385,11,"NOT REGEXP","   @var{expr} NOT REGEXP @var{pat}\n   @var{expr} NOT RLIKE @var{pat}\n\nThis is the same as NOT (@var{expr REGEXP @var{pat})}.\n",""),(386,15,"DATE_FORMAT","   DATE_FORMAT(@var{date},@var{format})\nFormats the @var{date} value according to the @var{format} string. The\nfollowing specifiers may be used in the @var{format} string:\n\n     Specifier 	 Description\n   %a 	 Abbreviated weekday name (Sun..Sat)\n   %b 	 Abbreviated month name (Jan..Dec)\n   %c 	 Month, numeric (0..12)\n   %D 	 Day of the month with English suffix (0th, 1st, 2nd, 3rd, ...)\n   %d 	 Day of the month, numeric (00..31)\n   %e 	 Day of the month, numeric (0..31)\n   %f 	 Microseconds (000000..999999)\n   %H 	 Hour (00..23)\n   %h 	 Hour (01..12)\n   %I 	 Hour (01..12)\n   %i 	 Minutes, numeric (00..59)\n   %j 	 Day of year (001..366)\n   %k 	 Hour (0..23)\n   %l 	 Hour (1..12)\n   %M 	 Month name (January..December)\n   %m 	 Month, numeric (00..12)\n   %p 	 AM or PM\n   %r 	 Time, 12-hour (hh:mm:ss followed by AM or PM)\n   %S 	 Seconds (00..59)\n   %s 	 Seconds (00..59)\n   %T 	 Time, 24-hour (hh:mm:ss)\n   %U 	 Week (00..53), where Sunday is the first day of the week\n   %u 	 Week (00..53), where Monday is the first day of the week\n   %V 	 Week (01..53), where Sunday is the first day of the week; used with %X\n   %v 	 Week (01..53), where Monday is the first day of the week; used with %x\n   %W 	 Weekday name (Sunday..Saturday)\n   %w 	 Day of the week (0=Sunday..6=Saturday)\n   %X 	 Year for the week where Sunday is the first day of the week, numeric, four digits; used with %V\n   %x 	 Year for the week, where Monday is the first day of the week, numeric, four digits; used with %v\n   %Y 	 Year, numeric, four digits\n   %y 	 Year, numeric, two digits\n   %% 	 A literal %.\n  \n\nAll other characters are copied to the result without interpretation.\n\nThe %v, %V, %x, and %X format specifiers are\navailable as of MySQL 3.23.8.  %f is available as of MySQL 4.1.1.\n\nAs of MySQL 3.23, the % character is required before\nformat specifier characters.  In earlier versions of MySQL,\n% was optional.\n\nThe reason the ranges for the month and day specifiers begin with zero\nis that MySQL allows incomplete dates such as '2004-00-00' to be\nstored as of MySQL 3.23.\n","mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%W %M %Y');\n        -> 'Saturday October 1997'\nmysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%H:%i:%s');\n        -> '22:23:00'\nmysql> SELECT DATE_FORMAT('1997-10-04 22:23:00',\n                          '%D %y %a %d %m %b %j');\n        -> '4th 97 Sat 04 10 Oct 277'\nmysql> SELECT DATE_FORMAT('1997-10-04 22:23:00',\n                          '%H %k %I %r %T %S %w');\n        -> '22 22 10 10:23:00 PM 22:23:00 00 6'\nmysql> SELECT DATE_FORMAT('1999-01-01', '%X %V');\n        -> '1998 52'"),(387,15,"UNIX_TIMESTAMP","   UNIX_TIMESTAMP()\n   UNIX_TIMESTAMP(@var{date})\nIf called with no argument, returns a Unix timestamp (seconds since\n'1970-01-01 00:00:00' GMT) as an unsigned integer. If\nUNIX_TIMESTAMP() is called with a @var{date} argument, it\nreturns the value of the argument as seconds since '1970-01-01\n00:00:00' GMT.  @var{date} may be a DATE string, a\nDATETIME string, a TIMESTAMP, or a number in the format\nYYMMDD or YYYYMMDD in local time.\n","mysql> SELECT UNIX_TIMESTAMP();\n        -> 882226357\nmysql> SELECT UNIX_TIMESTAMP('1997-10-04 22:23:00');\n        -> 875996580"),(388,14,"IF","   IF(@var{expr1},@var{expr2},@var{expr3})\nIf @var{expr1} is TRUE (@var{expr1 <> 0} and @var{expr1 <> NULL}) then\nIF() returns @var{expr2}, else it returns @var{expr3}.\nIF() returns a numeric or string value, depending on the context\nin which it is used.\n","mysql> SELECT IF(1>2,2,3);\n        -> 3\nmysql> SELECT IF(1<2,'yes','no');\n        -> 'yes'\nmysql> SELECT IF(STRCMP('test','test1'),'no','yes');\n        -> 'no'"),(389,15,"SUBDATE","   SUBDATE(@var{date},INTERVAL @var{expr} @var{type})\n   SUBDATE(@var{expr},@var{days})\n\nWhen invoked with the INTERVAL form of the second argument,\nSUBDATE() is a synonym for DATE_SUB().\nFor information on the INTERVAL argument, see the\ndiscussion for DATE_ADD().\n\nmysql> SELECT DATE_SUB('1998-01-02', INTERVAL 31 DAY);\n        -> '1997-12-02'\nmysql> SELECT SUBDATE('1998-01-02', INTERVAL 31 DAY);\n        -> '1997-12-02'\n\nAs of MySQL 4.1.1, the second syntax is allowed, where @var{expr} is a date\nor datetime expression and @var{days} is the number of days to be\nsubtracted from @var{expr}.\n\nmysql> SELECT SUBDATE('1998-01-02 12:00:00', 31);\n        -> '1997-12-02 12:00:00'\n","");
+
+insert into help_keyword (help_keyword_id,name) values (0,"CEIL"),(1,"IN"),(2,"DISABLE"),(3,"MERGE"),(4,"STRIPED"),(5,"IS"),(6,"CHARACTER"),(7,"DATE_SUB"),(8,"REPLICATION"),(9,"REFERENCES"),(10,"UNCOMMITTED"),(11,"DESC"),(12,"INNOBASE"),(13,"LINES"),(14,"LEVEL");
+insert into help_keyword (help_keyword_id,name) values (15,"SPATIAL"),(16,"LEADING"),(17,"OFFSET"),(18,"START"),(19,"INNER"),(20,"AGGREGATE"),(21,"SAVEPOINT"),(22,"MULTIPOINTFROMTEXT"),(23,"CHECK"),(24,"FAST"),(25,"BEGIN"),(26,"BINARY"),(27,"AFTER"),(28,"SQL_BIG_RESULT"),(29,"CHAR");
+insert into help_keyword (help_keyword_id,name) values (30,"STATUS"),(31,"FROM"),(32,"MYISAM"),(33,"MASTER_SSL"),(34,"AUTOCOMMIT"),(35,"MAX_CONNECTIONS_PER_HOUR"),(36,"VARIABLE"),(37,"SQL_CALC_FOUND_ROWS"),(38,"INTEGER"),(39,"USE"),(40,"WARNINGS"),(41,"LOW_PRIORITY"),(42,"DES_KEY_FILE"),(43,"IGNORE"),(44,"COMMITTED");
+insert into help_keyword (help_keyword_id,name) values (45,"LIMIT"),(46,"FILE"),(47,"<>"),(48,"PASSWORD"),(49,"EXISTS"),(50,"INDEX"),(51,"SHA1"),(52,"TEMPORARY"),(53,"SIGNED"),(54,"SHOW"),(55,"GLOBAL"),(56,"FIXED"),(57,"MULTILINESTRINGFROMTEXT"),(58,"MASTER"),(59,"CASCADE");
+insert into help_keyword (help_keyword_id,name) values (60,"FORCE"),(61,"RELAY_LOG_FILE"),(62,"CHANGE"),(63,"KEYS"),(64,"COMMIT"),(65,"COMPRESSED"),(66,"ENCLOSED"),(67,"MASTER_PORT"),(68,"SQL_NO_CACHE"),(69,"DELAY_KEY_WRITE"),(70,"MASTER_HOST"),(71,"WITH"),(72,"HOUR_SECOND"),(73,"USAGE"),(74,"TABLE");
+insert into help_keyword (help_keyword_id,name) values (75,"YEAR_MONTH"),(76,"GRANTS"),(77,"NO_WRITE_TO_BINLOG"),(78,"REGEXP"),(79,"USING"),(80,"UNLOCK"),(81,"WORK"),(82,"VALUES"),(83,"READ"),(84,"TINYTEXT"),(85,"FLOAT4"),(86,"BYTE"),(87,"FLOAT8"),(88,"SLAVE"),(89,"REAL");
+insert into help_keyword (help_keyword_id,name) values (90,"INDEXES"),(91,"RAID_TYPE"),(92,"ASC"),(93,"NEXT"),(94,"ADD"),(95,"MODIFY"),(96,"FLOOR"),(97,"FULLTEXT"),(98,"X509"),(99,"PREV"),(100,"CIPHER"),(101,"SOUNDS"),(102,"CONVERT"),(103,"LOGS"),(104,"LEFT");
+insert into help_keyword (help_keyword_id,name) values (105,"KEY"),(106,"BOTH"),(107,"SQL_SMALL_RESULT"),(108,"MOD"),(109,"RESET"),(110,"MASTER_SSL_CERT"),(111,"MEMORY"),(112,"PROCESSLIST"),(113,"FOREIGN"),(114,"REPLACE"),(115,"EXIST"),(116,"CACHE"),(117,"DROP"),(118,"SHUTDOWN"),(119,"AVG_ROW_LENGTH");
+insert into help_keyword (help_keyword_id,name) values (120,"CONCURRENT"),(121,"DATA"),(122,"MASTER_SSL_KEY"),(123,"STARTING"),(124,"MULTIPOINTFROMWKB"),(125,"DISTINCTROW"),(126,"DATE"),(127,"LONGBINARY"),(128,"RETURNS"),(129,"REPEATABLE"),(130,"HIGH_PRIORITY"),(131,"RENAME"),(132,"GEOMETRYCOLLECTIONFROMWKB"),(133,"VARYING"),(134,"NO");
+insert into help_keyword (help_keyword_id,name) values (135,"LIKE"),(136,"EVENTS"),(137,"NATURAL"),(138,"DATETIME"),(139,"LAST"),(140,"USER_RESOURCES"),(141,"ALTER"),(142,"ROW_FORMAT"),(143,"MASTER_LOG_FILE"),(144,"CREATE"),(145,"MIDDLEINT"),(146,"INTERVAL"),(147,"AES_ENCRYPT"),(148,"MAX"),(149,"GRANT");
+insert into help_keyword (help_keyword_id,name) values (150,"HEAP"),(151,"ROLLBACK"),(152,"CHECKSUM"),(153,"MASTER_SSL_CIPHER"),(154,"ON"),(155,"ENGINES"),(156,"RAID_CHUNKS"),(157,"OR"),(158,"DATE_ADD"),(159,"SQL_SLAVE_SKIP_COUNTER"),(160,"BDB"),(161,"SHARE"),(162,"MULTIPOLYGONFROMTEXT"),(163,"MODE"),(164,"POLYGONFROMTEXT");
+insert into help_keyword (help_keyword_id,name) values (165,"STOP"),(166,"PROCEDURE"),(167,"MRG_MYISAM"),(168,"FULL"),(169,"ORDER"),(170,"SEPARATOR"),(171,"SUPER"),(172,"INSERT_METHOD"),(173,"MINUTE"),(174,"OPEN"),(175,"NONE"),(176,"OPTION"),(177,"WRITE"),(178,"MASTER_CONNECT_RETRY"),(179,"RELOAD");
+insert into help_keyword (help_keyword_id,name) values (180,"ISAM"),(181,"AS"),(182,"CLIENT"),(183,"GEOMETRYCOLLECTIONFROMTEXT"),(184,"NOT"),(185,"NULL"),(186,"SQL_CACHE"),(187,"MEDIUMTEXT"),(188,"DELETE"),(189,"LINESTRINGFROMTEXT."),(190,"DECIMAL"),(191,"TIME"),(192,"ZEROFILL"),(193,"RESTRICT"),(194,"INSERT");
+insert into help_keyword (help_keyword_id,name) values (195,"GROUP"),(196,"BY"),(197,"CLOSE"),(198,"COLUMN"),(199,"SQL_THREAD"),(200,"COUNT"),(201,"SESSION"),(202,"NCHAR"),(203,"DAY_MINUTE"),(204,"SERIAL"),(205,"SQL_LOG_BIN"),(206,"AGAINST"),(207,"FUNCTION"),(208,"FIELDS"),(209,"BOOLEAN");
+insert into help_keyword (help_keyword_id,name) values (210,"LONGTEXT"),(211,"OPTIONALLY"),(212,"SERIALIZABLE"),(213,"UNIQUE"),(214,"INNODB"),(215,"PARTIAL"),(216,"MATCH"),(217,"MAX_UPDATES_PER_HOUR"),(218,"JOIN"),(219,"TYPES"),(220,"MAX_ROWS"),(221,"SONAME"),(222,"MULTIPOLYGONFROMWKB"),(223,"FLUSH"),(224,"ENGINE");
+insert into help_keyword (help_keyword_id,name) values (225,"BTREE"),(226,"CSV"),(227,"BIGINT"),(228,"DAY"),(229,"UNSIGNED"),(230,"DISTINCT"),(231,"TRAILING"),(232,"SELECT"),(233,"HOUR"),(234,"IO_THREAD"),(235,"EXECUTE"),(236,"END"),(237,"DATABASES"),(238,"POLYGONFROMWKB"),(239,"DEFAULT");
+insert into help_keyword (help_keyword_id,name) values (240,"BERKELEYDB"),(241,"RAID0"),(242,"FALSE"),(243,"MASTER_LOG_POS"),(244,"PACK_KEYS"),(245,"QUICK"),(246,"RIGHT"),(247,"OUTER"),(248,"TIMESTAMP"),(249,"MASTER_PASSWORD"),(250,"LONG"),(251,"IMPORT"),(252,"INT1"),(253,"INT2"),(254,"INT3");
+insert into help_keyword (help_keyword_id,name) values (255,"RAID_CHUNKSIZE"),(256,"SSL"),(257,"INT4"),(258,"TABLES"),(259,"DAY_HOUR"),(260,"WHERE"),(261,"INT8"),(262,"RELAY_LOG_POS"),(263,"TO"),(264,"MIN_ROWS"),(265,"DELAYED"),(266,"BETWEEN"),(267,"HOSTS"),(268,"MASTER_SSL_CA"),(269,"PROCESS");
+insert into help_keyword (help_keyword_id,name) values (270,"DATABASE"),(271,"STD"),(272,"ELSE"),(273,"ALL"),(274,"INTO"),(275,"HOUR_MINUTE"),(276,"BIT"),(277,"DUMPFILE"),(278,"CHANGED"),(279,"RTREE"),(280,"UPDATE"),(281,"VIEW"),(282,"SET"),(283,"TRUE"),(284,"DUPLICATE");
+insert into help_keyword (help_keyword_id,name) values (285,"NATIONAL"),(286,"VARIABLES"),(287,"EXTENDED"),(288,"THEN"),(289,"TYPE"),(290,"LOAD"),(291,"GEOMETRYFROMWKB"),(292,"USE_FRM"),(293,"MAX_QUERIES_PER_HOUR"),(294,"SECOND"),(295,"ERRORS"),(296,"CONSTRAINT"),(297,"MEDIUM"),(298,"ENABLE"),(299,"MINUTE_SECOND");
+insert into help_keyword (help_keyword_id,name) values (300,"VARCHARACTER"),(301,"ESCAPE"),(302,"DEC"),(303,"BACKUP"),(304,"COLUMNS"),(305,"AND"),(306,"CROSS"),(307,"LINESTRINGFROMWKB"),(308,"OUTFILE"),(309,"POW"),(310,"SECURITY"),(311,"MIN"),(312,"YEAR"),(313,"PRIVILEGES"),(314,"COMMENT");
+insert into help_keyword (help_keyword_id,name) values (315,"TRANSACTION"),(316,"ESCAPED"),(317,"INFILE"),(318,"ACTION"),(319,"REQUIRE"),(320,"LOCAL"),(321,"FIRST"),(322,"TERMINATED"),(323,"QUERY"),(324,"MONTH"),(325,"IDENTIFIED"),(326,"DIRECTORY"),(327,"BINLOG"),(328,"BOOL"),(329,"DYNAMIC");
+insert into help_keyword (help_keyword_id,name) values (330,"SQL_BUFFER_RESULT"),(331,"FOR"),(332,"STRING"),(333,"ISSUER"),(334,"PRECISION"),(335,"ISOLATION"),(336,"DAY_SECOND"),(337,"SUBJECT"),(338,"PRIMARY"),(339,"VALUE"),(340,"MASTER_USER"),(341,"REVOKE"),(342,"WHEN"),(343,"GEOMETRYFROMTEXT"),(344,"LOCK");
+insert into help_keyword (help_keyword_id,name) values (345,"HAVING"),(346,"IF"),(347,"MULTILINESTRINGFROMWKB"),(348,"STRAIGHT_JOIN");
+
+insert into help_relation (help_topic_id,help_keyword_id) values (103,0),(261,1),(65,1),(263,1),(272,2),(296,3),(296,4),(178,5),(27,6),(333,6),(248,6),(254,7),(166,8),(166,9),(328,9);
+insert into help_relation (help_topic_id,help_keyword_id) values (296,9),(370,10),(359,11),(263,11),(384,11),(296,12),(96,13),(370,14),(272,15),(284,15),(11,16),(263,17),(70,18),(125,18),(249,19);
+insert into help_relation (help_topic_id,help_keyword_id) values (238,20),(19,21),(188,22),(296,23),(21,24),(125,25),(27,26),(345,26),(333,26),(272,27),(263,28),(252,29),(345,29),(357,30),(62,30);
+insert into help_relation (help_topic_id,help_keyword_id) values (44,30),(52,31),(65,31),(263,31),(214,31),(62,31),(11,31),(251,31),(296,32),(39,33),(125,34),(166,35),(312,36),(263,37),(238,38);
+insert into help_relation (help_topic_id,help_keyword_id) values (194,38),(249,39),(62,40),(96,41),(214,41),(308,41),(380,41),(18,41),(382,41),(256,42),(272,43),(96,43),(263,43),(308,43),(249,43);
+insert into help_relation (help_topic_id,help_keyword_id) values (18,43),(370,44),(65,45),(263,45),(214,45),(80,45),(308,45),(166,46),(136,47),(166,48),(262,49),(317,49),(231,49),(272,50),(14,50);
+insert into help_relation (help_topic_id,help_keyword_id) values (62,50),(246,50),(296,50),(284,50),(249,50),(376,51),(262,52),(345,53),(357,54),(71,54),(65,54),(206,54),(44,54),(292,55),(370,55);
+insert into help_relation (help_topic_id,help_keyword_id) values (312,55),(121,56),(296,56),(107,57),(52,58),(71,58),(39,58),(117,58),(44,58),(251,58),(262,59),(328,59),(296,59),(317,59),(249,60);
+insert into help_relation (help_topic_id,help_keyword_id) values (39,61),(272,62),(39,62),(272,63),(62,63),(125,64),(296,65),(96,66),(39,67),(263,68),(296,69),(39,70),(166,71),(254,72),(166,73);
+insert into help_relation (help_topic_id,help_keyword_id) values (75,74),(52,74),(21,74),(377,74),(330,74),(262,74),(14,74),(62,74),(361,74),(254,75),(62,76),(330,77),(361,77),(256,77),(172,78);
+insert into help_relation (help_topic_id,help_keyword_id) values (214,79),(249,79),(382,80),(125,81),(380,82),(370,83),(80,83),(382,83),(13,84),(130,85),(252,86),(89,87),(357,88),(70,88),(47,88);
+insert into help_relation (help_topic_id,help_keyword_id) values (282,88),(206,88),(238,89),(89,89),(62,90),(296,91),(263,92),(384,92),(80,93),(272,94),(14,94),(272,95),(73,96),(272,97),(296,97);
+insert into help_relation (help_topic_id,help_keyword_id) values (284,97),(166,98),(80,99),(166,100),(358,101),(345,102),(71,103),(62,103),(249,104),(272,105),(14,105),(328,105),(296,105),(18,105),(11,106);
+insert into help_relation (help_topic_id,help_keyword_id) values (263,107),(35,108),(47,109),(316,109),(117,109),(39,110),(263,111),(62,112),(272,113),(328,113),(296,113),(96,114),(157,115),(316,116),(238,117);
+insert into help_relation (help_topic_id,help_keyword_id) values (272,117),(262,117),(246,117),(317,117),(231,117),(166,118),(272,119),(296,119),(96,120),(96,121),(296,121),(251,121),(39,122),(96,123),(266,124);
+insert into help_relation (help_topic_id,help_keyword_id) values (263,125),(7,126),(138,126),(345,126),(254,126),(183,127),(238,128),(370,129),(263,130),(18,130),(272,131),(86,132),(333,133),(328,134),(296,134);
+insert into help_relation (help_topic_id,help_keyword_id) values (358,135),(62,135),(65,136),(249,137),(345,138),(80,139),(256,140),(272,141),(166,141),(14,141),(93,141),(296,142),(39,143),(238,144),(14,144);
+insert into help_relation (help_topic_id,help_keyword_id) values (62,144),(296,144),(284,144),(157,144),(322,145),(254,146),(212,147),(232,148),(166,149),(296,150),(125,151),(19,151),(296,152),(39,153),(328,154);
+insert into help_relation (help_topic_id,help_keyword_id) values (249,154),(62,155),(296,156),(198,157),(254,158),(292,159),(296,160),(263,161),(124,162),(261,163),(263,163),(366,164),(282,165),(263,166),(296,167);
+insert into help_relation (help_topic_id,help_keyword_id) values (62,168),(296,168),(272,169),(263,169),(214,169),(308,169),(384,169),(384,170),(166,171),(296,172),(254,173),(62,174),(80,174),(166,175),(166,176);
+insert into help_relation (help_topic_id,help_keyword_id) values (382,177),(39,178),(166,179),(296,180),(263,181),(249,181),(382,181),(166,182),(348,183),(32,184),(157,184),(328,185),(178,185),(263,186),(145,187);
+insert into help_relation (help_topic_id,help_keyword_id) values (328,188),(296,188),(347,189),(121,190),(345,191),(171,191),(218,191),(121,192),(291,192),(194,192),(130,192),(259,192),(89,192),(262,193),(328,193);
+insert into help_relation (help_topic_id,help_keyword_id) values (317,193),(167,194),(18,194),(263,195),(272,196),(166,196),(96,196),(263,196),(214,196),(296,196),(308,196),(384,196),(80,197),(272,198),(70,199);
+insert into help_relation (help_topic_id,help_keyword_id) values (282,199),(233,200),(370,201),(312,201),(27,202),(254,203),(286,204),(296,204),(180,205),(261,206),(238,207),(96,208),(62,208),(291,209),(261,209);
+insert into help_relation (help_topic_id,help_keyword_id) values (183,210),(96,211),(370,212),(272,213),(62,214),(296,214),(296,215),(261,216),(166,217),(263,218),(62,219),(296,220),(238,221),(255,222),(316,223);
+insert into help_relation (help_topic_id,help_keyword_id) values (272,224),(296,224),(284,225),(96,226),(73,227),(254,228),(121,229),(291,229),(345,229),(194,229),(130,229),(259,229),(89,229),(233,230),(263,230);
+insert into help_relation (help_topic_id,help_keyword_id) values (384,230),(11,231),(380,232),(207,232),(254,233),(70,234),(282,234),(166,235),(334,236),(62,237),(85,238),(272,239),(286,239),(296,239),(18,239);
+insert into help_relation (help_topic_id,help_keyword_id) values (296,240),(296,241),(199,242),(39,243),(296,244),(21,245),(330,245),(214,245),(249,246),(249,247),(237,248),(275,248),(39,249),(183,250),(96,251);
+insert into help_relation (help_topic_id,help_keyword_id) values (291,252),(82,253),(322,254),(296,255),(166,256),(194,257),(62,258),(382,258),(254,259),(214,260),(80,260),(308,260),(259,261),(39,262),(39,263);
+insert into help_relation (help_topic_id,help_keyword_id) values (19,263),(296,264),(167,265),(380,265),(18,265),(195,266),(62,267),(206,267),(39,268),(166,269),(157,270),(231,270),(25,271),(334,272),(166,273);
+insert into help_relation (help_topic_id,help_keyword_id) values (263,273),(149,273),(263,274),(380,274),(18,274),(254,275),(291,276),(263,277),(21,278),(284,279),(263,280),(328,280),(18,280),(317,281),(93,281);
+insert into help_relation (help_topic_id,help_keyword_id) values (272,282),(292,282),(328,282),(125,282),(180,282),(308,282),(248,282),(380,282),(199,283),(18,284),(27,285),(333,285),(62,286),(21,287),(330,287);
+insert into help_relation (help_topic_id,help_keyword_id) values (334,288),(272,289),(296,289),(52,290),(96,290),(251,290),(155,291),(330,292),(166,293),(254,294),(62,295),(272,296),(296,296),(21,297),(272,298);
+insert into help_relation (help_topic_id,help_keyword_id) values (254,299),(333,300),(144,301),(121,302),(75,303),(62,304),(241,305),(195,305),(249,306),(239,307),(263,308),(244,309),(166,310),(232,311),(254,312);
+insert into help_relation (help_topic_id,help_keyword_id) values (166,313),(296,314),(370,315),(125,315),(96,316),(96,317),(328,318),(296,318),(166,319),(96,320),(330,320),(361,320),(256,320),(382,320),(272,321);
+insert into help_relation (help_topic_id,help_keyword_id) values (80,321),(296,321),(96,322),(316,323),(254,324),(166,325),(296,326),(65,327),(291,328),(296,329),(263,330),(263,331),(62,331),(238,332),(166,333);
+insert into help_relation (help_topic_id,help_keyword_id) values (89,334),(370,335),(254,336),(166,337),(272,338),(286,339),(39,340),(166,341),(334,342),(133,343),(263,344),(382,344),(263,345),(262,346),(317,346);
+insert into help_relation (help_topic_id,help_keyword_id) values (157,346),(231,346),(10,347),(263,348),(249,348);
+
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/pack_isam.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/pack_isam.1
@@ -0,0 +1,19 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+myisampack \- Compresses MySQL database files.
+.SH SYNOPSIS
+myisampack [options]
+.SH DESCRIPTION
+Pack a ISAM-table to take much smaller space
+Keys are not updated, so you must run isamchk -rq on any table
+that has keys after you have compressed it
+You should give the .ISM file as the filename argument
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_tableinfo.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_tableinfo.1
@@ -0,0 +1,322 @@
+.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sh \" Subsection heading
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings.  \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote.  | will give a
+.\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used to
+.\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'
+.\" expand to `' in nroff, nothing in troff, for use with C<>.
+.tr \(*W-|\(bv\*(Tr
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+.    ds -- \(*W-
+.    ds PI pi
+.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+.    ds L" ""
+.    ds R" ""
+.    ds C` ""
+.    ds C' ""
+'br\}
+.el\{\
+.    ds -- \|\(em\|
+.    ds PI \(*p
+.    ds L" ``
+.    ds R" ''
+'br\}
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
+.\" entries marked with X<> in POD.  Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.if \nF \{\
+.    de IX
+.    tm Index:\\$1\t\\n%\t"\\$2"
+..
+.    nr % 0
+.    rr F
+.\}
+.\"
+.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.hy 0
+.if n .na
+.\"
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
+.    \" fudge factors for nroff and troff
+.if n \{\
+.    ds #H 0
+.    ds #V .8m
+.    ds #F .3m
+.    ds #[ \f1
+.    ds #] \fP
+.\}
+.if t \{\
+.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+.    ds #V .6m
+.    ds #F 0
+.    ds #[ \&
+.    ds #] \&
+.\}
+.    \" simple accents for nroff and troff
+.if n \{\
+.    ds ' \&
+.    ds ` \&
+.    ds ^ \&
+.    ds , \&
+.    ds ~ ~
+.    ds /
+.\}
+.if t \{\
+.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+.\}
+.    \" troff and (daisy-wheel) nroff accents
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+.ds ae a\h'-(\w'a'u*4/10)'e
+.ds Ae A\h'-(\w'A'u*4/10)'E
+.    \" corrections for vroff
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+.    \" for low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+.    ds : e
+.    ds 8 ss
+.    ds o a
+.    ds d- d\h'-1'\(ga
+.    ds D- D\h'-1'\(hy
+.    ds th \o'bp'
+.    ds Th \o'LP'
+.    ds ae ae
+.    ds Ae AE
+.\}
+.rm #[ #] #H #V #F C
+.\" ========================================================================
+.\"
+.IX Title "MYSQL_TABLEINFO 1"
+.TH MYSQL_TABLEINFO 1 "2003-04-05" "perl v5.8.0" "User Contributed Perl Documentation"
+.SH "NAME"
+mysql_tableinfo \- creates and populates information tables with 
+the output of SHOW DATABASES, SHOW TABLES (or SHOW TABLE STATUS), 
+SHOW COLUMNS and SHOW INDEX.
+.PP
+This is version 1.1.
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+.Vb 1
+\&  mysql_tableinfo [OPTIONS] database_to_write [database_like_wild] [table_like_wild]
+.Ve
+.PP
+.Vb 2
+\&  Do not backquote (``) database_to_write, 
+\&  and do not quote ('') database_like_wild or table_like_wild
+.Ve
+.PP
+.Vb 1
+\&  Examples:
+.Ve
+.PP
+.Vb 1
+\&  mysql_tableinfo info
+.Ve
+.PP
+.Vb 1
+\&  mysql_tableinfo info this_db
+.Ve
+.PP
+.Vb 1
+\&  mysql_tableinfo info %a% b%
+.Ve
+.PP
+.Vb 1
+\&  mysql_tableinfo info --clear-only
+.Ve
+.PP
+.Vb 1
+\&  mysql_tableinfo info --col --idx --table-status
+.Ve
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+mysql_tableinfo asks a MySQL server information about its
+databases, tables, table columns and index, and stores this
+in tables called `db`, `tbl` (or `tbl_status`), `col`, `idx` 
+(with an optional prefix specified with \-\-prefix).
+After that, you can query these information tables, for example
+to build your admin scripts with \s-1SQL\s0 queries, like
+.PP
+\&\s-1SELECT\s0 \s-1CONCAT\s0(\*(L"\s-1CHECK\s0 \s-1TABLE\s0 \*(R",`database`,\*(L".\*(R",`table`,\*(L" \s-1EXTENDED\s0;\*(R") 
+\&\s-1FROM\s0 info.tbl \s-1WHERE\s0 ... ;
+.PP
+as people usually do with some other \s-1RDBMS\s0
+(note: to increase the speed of your queries on the info tables,
+you may add some index on them).
+.PP
+The database_like_wild and table_like_wild instructs the program
+to gather information only about databases and tables
+whose names match these patterns. If the info
+tables already exist, their rows matching the patterns are simply
+deleted and replaced by the new ones. That is,
+old rows not matching the patterns are not touched.
+If the database_like_wild and table_like_wild arguments
+are not specified on the command-line they default to \*(L"%\*(R".
+.PP
+The program :
+.PP
+\&\- does \s-1CREATE\s0 \s-1DATABASE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write
+where database_to_write is the database name specified on the command\-line.
+.PP
+\&\- does \s-1CREATE\s0 \s-1TABLE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write.`db`
+.PP
+\&\- fills database_to_write.`db` with the output of
+\&\s-1SHOW\s0 \s-1DATABASES\s0 \s-1LIKE\s0 database_like_wild
+.PP
+\&\- does \s-1CREATE\s0 \s-1TABLE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write.`tbl`
+(respectively database_to_write.`tbl_status`
+if the \-\-tbl\-status option is on)
+.PP
+\&\- for every found database,
+fills database_to_write.`tbl` (respectively database_to_write.`tbl_status`)
+with the output of 
+\&\s-1SHOW\s0 \s-1TABLES\s0 \s-1FROM\s0 found_db \s-1LIKE\s0 table_like_wild
+(respectively \s-1SHOW\s0 \s-1TABLE\s0 \s-1STATUS\s0 \s-1FROM\s0 found_db \s-1LIKE\s0 table_like_wild)
+.PP
+\&\- if the \-\-col option is on,
+    * does \s-1CREATE\s0 \s-1TABLE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write.`col`
+    * for every found table,
+      fills database_to_write.`col` with the output of 
+      \s-1SHOW\s0 \s-1COLUMNS\s0 \s-1FROM\s0 found_tbl \s-1FROM\s0 found_db
+.PP
+\&\- if the \-\-idx option is on,
+    * does \s-1CREATE\s0 \s-1TABLE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write.`idx`
+    * for every found table,
+      fills database_to_write.`idx` with the output of 
+      \s-1SHOW\s0 \s-1INDEX\s0 \s-1FROM\s0 found_tbl \s-1FROM\s0 found_db
+.PP
+Some options may modify this general scheme (see below).
+.PP
+As mentioned, the contents of the info tables are the output of
+\&\s-1SHOW\s0 commands. In fact the contents are slightly more complete :
+.PP
+\&\- the `tbl` (or `tbl_status`) info table 
+  has an extra column which contains the database name,
+.PP
+\&\- the `col` info table
+  has an extra column which contains the table name,
+  and an extra column which contains, for each described column,
+  the number of this column in the table owning it (this extra column
+  is called `Seq_in_table`). `Seq_in_table` makes it possible for you
+  to retrieve your columns in sorted order, when you are querying
+  the `col` table. 
+.PP
+\&\- the `index` info table
+  has an extra column which contains the database name.
+.PP
+Caution: info tables contain certain columns (e.g.
+Database, Table, Null...) whose names, as they are MySQL reserved words,
+need to be backquoted (`...`) when used in \s-1SQL\s0 statements.
+.PP
+Caution: as information fetching and info tables filling happen at the
+same time, info tables may contain inaccurate information about
+themselves.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\-\-clear" 4
+.IX Item "--clear"
+Does \s-1DROP\s0 \s-1TABLE\s0 on the info tables (only those that the program is
+going to fill, for example if you do not use \-\-col it won't drop
+the `col` table) and processes normally. Does not drop database_to_write.
+.IP "\-\-clear\-only" 4
+.IX Item "--clear-only"
+Same as \-\-clear but exits after the DROPs.
+.IP "\-\-col" 4
+.IX Item "--col"
+Adds columns information (into table `col`).
+.IP "\-\-idx" 4
+.IX Item "--idx"
+Adds index information (into table `idx`).
+.IP "\-\-prefix prefix" 4
+.IX Item "--prefix prefix"
+The info tables are named from the concatenation of prefix and,
+respectively, db, tbl (or tbl_status), col, idx. Do not quote ('')
+or backquote (``) prefix.
+.IP "\-q, \-\-quiet" 4
+.IX Item "-q, --quiet"
+Does not warn you about what the script is going to do (\s-1DROP\s0 \s-1TABLE\s0 etc)
+and does not ask for a confirmation before starting.
+.IP "\-\-tbl\-status" 4
+.IX Item "--tbl-status"
+Instead of using \s-1SHOW\s0 \s-1TABLES\s0, uses \s-1SHOW\s0 \s-1TABLE\s0 \s-1STATUS\s0
+(much more complete information, but slower). 
+.IP "\-\-help" 4
+.IX Item "--help"
+Display helpscreen and exit
+.IP "\-u, \-\-user=#" 4
+.IX Item "-u, --user=#"
+user for database login if not current user. Give a user
+who has sufficient privileges (\s-1CREATE\s0, ...).
+.IP "\-p, \-\-password=# (INSECURE)" 4
+.IX Item "-p, --password=# (INSECURE)"
+password to use when connecting to server.
+WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.
+.IP "\-h, \-\-host=#" 4
+.IX Item "-h, --host=#"
+host to connect to
+.IP "\-P, \-\-port=#" 4
+.IX Item "-P, --port=#"
+port to use when connecting to server
+.IP "\-S, \-\-socket=#" 4
+.IX Item "-S, --socket=#"
+\&\s-1UNIX\s0 domain socket to use when connecting to server
+.SH "WARRANTY"
+.IX Header "WARRANTY"
+This software is free and comes without warranty of any kind. You
+should never trust backup software without studying the code yourself.
+Study the code inside this script and only rely on it if \fIyou\fR believe
+that it does the right thing for you.
+.Sp
+Patches adding bug fixes, documentation and new features are welcome.
+.SH "TO DO"
+.IX Header "TO DO"
+Use extended inserts to be faster (for servers with many databases
+or tables). But to do that, must care about net\-buffer\-length.
+.SH "AUTHOR"
+.IX Header "AUTHOR"
+2002\-06\-18 Guilhem Bichot (guilhem.bichot@mines\-paris.org)
+.Sp
+And all the authors of mysqlhotcopy, which served as a model for 
+the structure of the program.
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/myisampack.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/myisampack.1
@@ -0,0 +1,19 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+myisampack \- Compresses MySQL database files.
+.SH SYNOPSIS
+myisampack [options]
+.SH DESCRIPTION
+Pack a MyISAM-table to take much less space.
+Keys are not updated, you must run myisamchk -rq on the datafile
+afterwards to update the keys.
+You should give the .MYI file as the filename argument.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/debian-start.inc.sh
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/debian-start.inc.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+#
+# This file is included by /etc/mysql/debian-start
+#
+
+function mycheck() {
+  set -e
+  set -u
+
+  # Now, as the server seems to be up, check all unclosed tables.
+  # But do it in the background to not stall the boot process.
+  echo "Checking for crashed MySQL tables in the background."
+  logger -p daemon.info -i -t$0 "Checking for crashed MySQL tables."
+
+  # Checking for $? is unreliable so the size of the output is checked.
+  # Some table handlers like HEAP do not support CHECK TABLE.
+  tempfile=`tempfile`
+  LC_ALL=C $MYCHECK $MYCHECK_PARAMS \
+    2>&1 \
+    | perl -e '$_=join("", <>); s/^[^\n]+\n(error|note)\s+: The (handler|storage engine) for the table doesn.t support check\n//smg;print;' \
+    > $tempfile
+  if [ -s $tempfile ]; then
+    (
+      /bin/echo -e "\n" \
+        "Improperly closed tables are also reported if clients are accessing\n" \
+ 	"the tables *now*. A list of current connections is below.\n";
+       $MYADMIN processlist status
+    ) >> $tempfile
+    mailx -e -s"$MYCHECK_SUBJECT" root < $tempfile
+    (echo "$MYCHECK_SUBJECT"; cat $tempfile) | logger -p daemon.warn -i -t$0
+  fi
+  rm $tempfile
+}
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysqlimport.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysqlimport.1
@@ -0,0 +1,20 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysqlimport \- Imports text files with MySQL database queries.
+.SH SYNOPSIS
+mysqlimport [options]
+.SH DESCRIPTION
+Loads tables from text files in various formats.  The base name of the
+text file must be the name of the table that should be used.
+If one uses sockets to connect to the MySQL server, the server will open and
+read the text file directly. In other cases the client will open the text
+file. The SQL command 'LOAD DATA INFILE' is used to import the rows.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysqlmanager.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysqlmanager.1
@@ -0,0 +1,49 @@
+.TH mysql 1 "March 2005" "MySQL 4.1" "MySQL database"
+.SH NAME
+mysqlmanager \- Manages instances of MySQL server.
+.SH SYNOPSIS
+.B mysqlmanager
+[\fIOPTIONS\fR]
+.SH DESCRIPTION
+Manages instances of MySQL server.
+.TP
+\-?, \fB\-\-help\fR
+Display this help and exit.
+.TP
+\fB\-P\fR, \fB\-\-port=\fR#
+Port number to listen on.
+.TP
+\fB\-l\fR, \fB\-\-log\fR=\fIname\fR
+Path to log file.
+.TP
+\fB\-b\fR, \fB\-\-bind\-address=\fR#
+Address to listen on.
+.HP
+\fB\-B\fR, \fB\-\-tcp\-backlog=\fR# Size of TCP/IP listen queue.
+.HP
+\fB\-g\fR, \fB\-\-greeting\fR=\fIname\fR Set greeting on connect.
+.TP
+\fB\-m\fR, \fB\-\-max\-command\-len=\fR#
+Maximum command length.
+.TP
+\fB\-d\fR, \fB\-\-one\-thread\fR
+Use one thread ( for debugging).
+.TP
+\fB\-C\fR, \fB\-\-connect\-retries=\fR#
+Number of attempts to establish MySQL connection.
+.TP
+\fB\-p\fR, \fB\-\-password\-file\fR=\fIname\fR
+Password file for manager.
+.HP
+\fB\-f\fR, \fB\-\-pid\-file\fR=\fIname\fR Pid file to use.
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Output version information and exit.
+.SH "SEE ALSO"
+The full documentation for
+.B mysqlmanager
+is available in the package mysql-doc-4.1 or on the MySQL
+homepage www.mysql.com.
+.SH AUTHOR
+This manpage was created by Christian Hammers <ch@debian.org>
+using help2man.
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/comp_err.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/comp_err.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysqlerr \- MySQL helper program to compile error messages.
+.SH SYNOPSIS
+mysqlerr [options]
+.SH DESCRIPTION
+This program compiles some kind of error messages.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/resolveip.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/resolveip.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+resolveip \- MySQL helper program to retrive IP addresses.
+.SH SYNOPSIS
+resolveip [options]
+.SH DESCRIPTION
+Get hostname based on IP-address or IP-address based on hostname.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/SSL-MINI-HOWTO.txt
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/SSL-MINI-HOWTO.txt
@@ -0,0 +1,164 @@
+
+The following text is a mini guide howto setup basic encrypted mysql
+service. For more information search the MySQL and OpenSSL documentation.
+
+Please not that OpenSSL is no longer enabled by default so you have to
+rebuild the package yourself to get it work. See changelog.Debian enty
+from 2004-12-02 for reasons.
+
+<ch@debian.org>
+
+--------------------------------------------------------------------------
+
+0. Change to the mysql ssl directory
+	cd /etc/mysql/ssl/
+
+#
+# Setup your own Certification Authority
+#
+1. Create your own Certification Authority (CA) if you do not already have
+   one (e.g. for signing web or mail server certificates)
+	openssl req -x509 -new -days 9999 -newkey rsa:2048 -nodes \
+	   -keyout ca-key.pem \
+	   -out ca-cert.pem
+	
+#
+# Create a server certificate
+#
+	   
+2a. Create the server certificate request
+	openssl req -new -newkey rsa:2048 -nodes \
+	  -keyout server-key.pem \
+	  -out server-csr.pem 
+
+2b. Sign this server request with the CA key to make a proper server certificate.
+	openssl x509 -req -days 9999 \
+	  -CA ca-cert.pem -CAkey ca-key.pem -CAcreateserial -CAserial ca-srl.txt \
+	  -in server-csr.pem \
+	  -out server-cert.pem
+
+2b. Adjust the following lines in /etc/mysql/my.cnf according to your needs:
+	[mysqld]
+	ssl-key=/etc/mysql/ssl/server-key.pem
+	ssl-cert=/etc/mysql/ssl/server-cert.pem
+	ssl-ca=/etc/mysql/ssl/ca-cert.pem
+
+
+#
+# Create the client certificates
+# 
+3a. Create the client certificate request
+	openssl req -new -newkey rsa:2048 -nodes \
+	  -keyout client-key.pem \
+	  -out client-csr.pem 
+
+3b. Sign this server request with the CA key to make a proper server certificate.
+	openssl x509 -req -days 9999 \
+	  -CA ca-cert.pem -CAkey ca-key.pem -CAcreateserial -CAserial ca-srl.txt \
+	  -in client-csr.pem \
+	  -out client-cert.pem
+	
+3c. Now move the client* files to the client machine and adjust the users ~/.my.cnf
+    or client hosts /etc/mysql/my.cnf:
+	[client]
+	ssl-key=/home/ch/client-key.pem
+	ssl-cert=/home/ch/client-cert.pem
+
+#
+# Now configure SSL login constrains.
+# 
+4.a This allowes passwordless login if the cryptographic key, the client 
+    ("subject") uses, was certified by our CA ("issuer") to belong to 
+    the user it claims to.
+    Don't be so lazy to just limit to a subject because without checking
+    the issuer - whom's key only we have - anybody could fake the subject
+    line rendering the whole thing nearly useless.
+    	GRANT all 
+	ON *.* 
+	TO "my"
+	REQUIRE
+	  subject "/C=DE/ST=NRW/L=Aachen/CN=Foo Bar/emailAddress=foobar@example.com" and 
+	  issuer "/C=DE/ST=NRW/L=Aachen/CN=Christian Hammers/emailAddress=ch@debian.org";
+
+4.b Don't forget this one:
+	FLUSH PRIVILEGES;
+
+The following text is a mini guide howto setup basic encrypted mysql
+service. For more information search the MySQL and OpenSSL documentation.
+
+<ch@debian.org>
+
+--------------------------------------------------------------------------
+
+0. Change to the mysql ssl directory
+	cd /etc/mysql/ssl/
+
+#
+# Setup your own Certification Authority
+#
+1. Create your own Certification Authority (CA) if you do not already have
+   one (e.g. for signing web or mail server certificates)
+	openssl req -x509 -new -days 9999 -newkey rsa:2048 -nodes \
+	   -keyout ca-key.pem \
+	   -out ca-cert.pem
+	
+#
+# Create a server certificate
+#
+	   
+2a. Create the server certificate request
+	openssl req -new -newkey rsa:2048 -nodes \
+	  -keyout server-key.pem \
+	  -out server-csr.pem 
+
+2b. Sign this server request with the CA key to make a proper server certificate.
+	openssl x509 -req -days 9999 \
+	  -CA ca-cert.pem -CAkey ca-key.pem -CAcreateserial -CAserial ca-srl.txt \
+	  -in server-csr.pem \
+	  -out server-cert.pem
+
+2b. Adjust the following lines in /etc/mysql/my.cnf according to your needs:
+	[mysqld]
+	ssl-key=/etc/mysql/ssl/server-key.pem
+	ssl-cert=/etc/mysql/ssl/server-cert.pem
+	ssl-ca=/etc/mysql/ssl/ca-cert.pem
+
+
+#
+# Create the client certificates
+# 
+3a. Create the client certificate request
+	openssl req -new -newkey rsa:2048 -nodes \
+	  -keyout client-key.pem \
+	  -out client-csr.pem 
+
+3b. Sign this server request with the CA key to make a proper server certificate.
+	openssl x509 -req -days 9999 \
+	  -CA ca-cert.pem -CAkey ca-key.pem -CAcreateserial -CAserial ca-srl.txt \
+	  -in client-csr.pem \
+	  -out client-cert.pem
+	
+3c. Now move the client* files to the client machine and adjust the users ~/.my.cnf
+    or client hosts /etc/mysql/my.cnf:
+	[client]
+	ssl-key=/home/ch/client-key.pem
+	ssl-cert=/home/ch/client-cert.pem
+
+#
+# Now configure SSL login constrains.
+# 
+4.a This allowes passwordless login if the cryptographic key, the client 
+    ("subject") uses, was certified by our CA ("issuer") to belong to 
+    the user it claims to.
+    Don't be so lazy to just limit to a subject because without checking
+    the issuer - whom's key only we have - anybody could fake the subject
+    line rendering the whole thing nearly useless.
+    	GRANT all 
+	ON *.* 
+	TO "my"
+	REQUIRE
+	  subject "/C=DE/ST=NRW/L=Aachen/CN=Foo Bar/emailAddress=foobar@example.com" and 
+	  issuer "/C=DE/ST=NRW/L=Aachen/CN=Christian Hammers/emailAddress=ch@debian.org";
+
+4.b Don't forget this one:
+	FLUSH PRIVILEGES;
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/myisam_ftdump.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/myisam_ftdump.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+myisam_ftdump \- Dumps full text tables.
+.SH SYNOPSIS
+myisam_ftdump [options]
+.SH DESCRIPTION
+Dumps information and contents of full text tables.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_find_rows.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_find_rows.1
@@ -0,0 +1,18 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysql_find_rows \- MySQL shell skript for searching in update logs.
+.SH SYNOPSIS
+mysql_find_rows [options]
+.SH DESCRIPTION
+Prints all SQL queries that matches a regexp or contains a 'use
+database' or 'set ..' command to stdout.  A SQL query may contain
+newlines.  This is useful to find things in a MySQL update log.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/debian-log-rotate.conf
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/debian-log-rotate.conf
@@ -0,0 +1,15 @@
+# This is the config file for
+#	/etc/logrotate.d/mysql-server (for normal logs)
+#	/etc/cron.daily/mysql-server-4.1 (for binary logs)
+# It should be kept in shell script syntax and contain only variables.
+#
+# Both log file types are rotated daily, whenever "FLUSH LOGS;" is
+# issued and when the server (re)starts so do not choose too low numbers.
+
+# Configuring /etc/logrotate.d/mysql-server does not yet work.
+
+# The number of binary log files that are kept. They are rotated daily
+# and on "FLUSH LOGS;". A value of 0 disables rotating and is set as default
+# for backward compatibility.
+KEEP_BINARY_LOGS=2
+
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/my_print_defaults.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/my_print_defaults.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+my_print_defaults \- MySQL helper script that prints defaults.
+.SH SYNOPSIS
+my_print_defaults [options]
+.SH DESCRIPTION
+Prints all arguments that is give to some program using the default files.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/resolve_stack_dump.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/resolve_stack_dump.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+resolve_stack_dump \- MySQL helper program for reporting bugs.
+.SH SYNOPSIS
+resolve_stack_dump [options]
+.SH DESCRIPTION
+Resolve numeric stack strace dump into symbols.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_setpermission.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_setpermission.1
@@ -0,0 +1,23 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysql_setpermission \- Adds MySQL users or changes passwords.
+.SH SYNOPSIS
+mysql_setpermission [options]
+.SH DESCRIPTION
+The permission setter is a little program which can help you add users
+or databases or change passwords in MySQL. Keep in mind that we don't
+check permissions which already been set in MySQL. So if you can't
+connect to MySQL using the permission you just added, take a look at
+the permissions which have already been set in MySQL.
+
+The permission setter first reads your .my.cnf file in your Home
+directory if it exists.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/Docs__Makefile.in
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/Docs__Makefile.in
@@ -0,0 +1,6 @@
+all:
+
+distclean:
+	-rm -f Makefile
+
+.PHONY: all distclean clean install check
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_config.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_config.1
@@ -0,0 +1,17 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysqlconfig \- MySQL compile settings.
+.SH SYNOPSIS
+mysqlconfig [options]
+.SH DESCRIPTION
+This program is only useful for people who want to compile agains
+libmysqlclient.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_fix_extensions.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_fix_extensions.1
@@ -0,0 +1,18 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysql_fix_extensions \- Corrects MySQL database file names.
+.SH SYNOPSIS
+mysql_fix_extensions <datadir>
+.SH DESCRIPTION
+Makes .frm lowercase and .MYI/MYD/ISM/ISD uppercase
+useful when datafiles are copied from windows.
+Does not work with RAID, with InnoDB or BDB tables.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (8)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql-server.lintian-overrides
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql-server.lintian-overrides
@@ -0,0 +1,2 @@
+W: mysql-dfsg source: maintainer-script-lacks-debhelper-token debian/mysql-server.postinst
+W: mysql-server: possible-bashism-in-maintainer-script postinst:68 'p{("a".."z","A".."Z",0..9)[int(rand(62))]}'
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_secure_installation.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_secure_installation.1
@@ -0,0 +1,17 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysql_secure_installation \- Secures the MySQL access control lists.
+.SH SYNOPSIS
+mysql_secure_installation [options]
+.SH DESCRIPTION
+This interactive programm suggests changes like removing anonymous users that
+are supposed to make your installation more secure.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (8)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysql_install_db.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysql_install_db.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysql_install_db \- MySQL helper program.
+.SH SYNOPSIS
+mysql_install_db [options]
+.SH DESCRIPTION
+This program is normally not needed by any user.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysqlbinlog.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysqlbinlog.1
@@ -0,0 +1,17 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysqlbinlog \- Dumps MySQL binary logs.
+.SH SYNOPSIS
+mysqlbinlog [options]
+.SH DESCRIPTION
+Dumps a MySQL binary log in a format usable for viewing or for pipeing to
+the mysql command line client
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysqldumpslow.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysqldumpslow.1
@@ -0,0 +1,50 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysqldumpslow \- Parse and summarize the MySQL slow query log.
+.SH SYNOPSIS
+mysqldumpslow [options]
+.SH DESCRIPTION
+This program parses and summarizes a 'slow query log'.
+
+.TP
+\fB\-v\fR 
+verbose
+.TP
+\fB\-d\fR 
+debug
+.TP
+\fB\-s=WORD\fR 
+what to sort by (t, at, l, al, r, ar etc)
+.TP
+\fB\-r\fR  
+reverse the sort order (largest last instead of first)
+.TP
+\fB\-t=NUMBER\fR 
+just show the top n queries
+.TP
+\fB\-a\fR  
+don't abstract all numbers to N and strings to 'S'
+.TP
+\fB\-n=NUMBER\fR
+abstract numbers with at least n digits within names
+.TP
+\fB\-g=WORD\fR 
+grep: only consider stmts that include this string
+.TP
+\fB\-h=WORD\fR
+hostname of db server for *-slow.log filename (can be wildcard)
+.TP
+\fB\-i=WORD\fR 
+name of server instance (if using mysql.server startup script)
+.TP
+\fB\-l\fR  
+don't subtract lock time from total time
+
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org> based on
+the commends in the code.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/echo_stderr
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/echo_stderr
@@ -0,0 +1,2 @@
+#!/bin/bash
+echo "$*" 1>&2
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysqlcheck.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysqlcheck.1
@@ -0,0 +1,28 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysqlcheck \- MySQL program for repairing, checking and optimizing tables.
+.SH SYNOPSIS
+mysqlcheck | mysqlanalyze | mysqloptimize [options]
+.SH DESCRIPTION
+This program can be used to CHECK (-c,-m,-C), REPAIR (-r), ANALYZE (-a)
+or OPTIMIZE (-o) tables. Some of the options (like -e or -q) can be
+used same time. It works on MyISAM and in some cases on BDB tables.
+Please consult the MySQL manual for latest information about the
+above. The options -c,-r,-a and -o are exclusive to each other, which
+means that the last option will be used, if several was specified.
+
+The option -c will be used by default, if none was specified. You
+can change the default behavior by making a symbolic link, or
+copying this file somewhere with another name, the alternatives are:
+mysqlrepair:   The default option will be -r
+mysqlanalyze:  The default option will be -a
+mysqloptimize: The default option will be -o
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (8)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysqlbug.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysqlbug.1
@@ -0,0 +1,14 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysqlbug \- MySQL bug reporting tool.
+.SH SYNOPSIS
+mysqlbug [options]
+.SH DESCRIPTION
+Interactive bug reporting tool. Use reportbug on Debian systems.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/mysqltest.1
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/mysqltest.1
@@ -0,0 +1,16 @@
+.TH mysql 1 "17 March 2003" "MySQL 3.23" "MySQL database"
+.SH NAME
+mysqltest \- Regressiontest program for MySQL.
+.SH SYNOPSIS
+mysqltest [options]
+.SH DESCRIPTION
+Runs a test against the mysql server and compares output with a results file.
+
+For more information start the program with '--help'.
+.SH "SEE ALSO"
+mysql (1), mysqld (1)
+.SH AUTHOR
+This manpage was written by Christian Hammers <ch@debian.org>.
+
+MySQL is available at http://www.mysql.com/.
+.\" end of man page
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/Docs__Images__Makefile.in
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/Docs__Images__Makefile.in
@@ -0,0 +1,6 @@
+all:
+
+distclean:
+	-rm -f Makefile
+
+.PHONY: all distclean clean install check
--- mysql-dfsg-4.1-4.1.11a.orig/debian/additions/debian-start
+++ mysql-dfsg-4.1-4.1.11a/debian/additions/debian-start
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+# This script is executed by "/etc/init.d/mysql" on every (re)start.
+# 
+# Changes to this file will be preserved when updating the Debian package.
+#
+
+source /usr/share/mysql/debian-start.inc.sh
+
+MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
+MYCHECK="/usr/bin/mysqlcheck --defaults-file=/etc/mysql/debian.cnf"
+MYCHECK_SUBJECT="WARNING: mysqlcheck has found corrupt tables"
+MYCHECK_PARAMS="--all-databases --fast --silent"
+
+# Put commands in the background if they should not block the server start.
+(
+  mycheck;
+) &
+
+exit 0
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.logcheck.ignore.workstation
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.logcheck.ignore.workstation
@@ -0,0 +1,14 @@
+/etc/init.d/mysql\[[0-9]+\]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!$
+/etc/init.d/mysql\[[0-9]+\]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' \(2\)'$
+/etc/init.d/mysql\[[0-9]+\]: \^G/usr/bin/mysqladmin: connect to server at 'localhost' failed$
+/etc/init.d/mysql\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$
+/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$
+mysqld\[[0-9]+\]: $
+mysqld\[[0-9]+\]: .*/usr/sbin/mysqld: Normal shutdown$
+mysqld\[[0-9]+\]: /usr/sbin/mysqld: ready for connections.$
+mysqld\[[0-9]+\]: .*/usr/sbin/mysqld: Shutdown Complete$
+mysqld\[[0-9]+\]: Version: '4.0.20-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306$
+mysqld\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$
+mysqld_safe\[[0-9]+\]: (started|ended|restarted)$
+usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$
+usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$
--- mysql-dfsg-4.1-4.1.11a.orig/debian/source.lintian-overrides
+++ mysql-dfsg-4.1-4.1.11a/debian/source.lintian-overrides
@@ -0,0 +1,2 @@
+maintainer-script-lacks-debhelper-token debian/mysql-server-4.1.postinst
+maintainer-script-lacks-debhelper-token debian/mysql-server-4.1.postrm
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.logcheck.ignore.paranoid
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.logcheck.ignore.paranoid
@@ -0,0 +1,9 @@
+/etc/init.d/mysql\[[0-9]+\]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists\!$
+/etc/init.d/mysql\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$
+/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$
+mysqld\[[0-9]+\]: $
+mysqld\[[0-9]+\]: Version: '4.0.20-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306$
+mysqld\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$
+mysqld_safe\[[0-9]+\]: started$
+usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$
+usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14-dev.README.Maintainer
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14-dev.README.Maintainer
@@ -0,0 +1,4 @@
+The examples directory includes files that might be needed by some
+developers:
+- header files not installed by default
+- the example file udf_example.cc
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14.dirs
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14.dirs
@@ -0,0 +1 @@
+usr/lib/
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14.files
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14.files
@@ -0,0 +1,2 @@
+usr/lib/libmysqlclient*.so.*
+usr/lib/libndbclient*.so.*
--- mysql-dfsg-4.1-4.1.11a.orig/debian/libmysqlclient14-dev.docs
+++ mysql-dfsg-4.1-4.1.11a/debian/libmysqlclient14-dev.docs
@@ -0,0 +1 @@
+EXCEPTIONS-CLIENT
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.templates
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.templates
@@ -0,0 +1,55 @@
+Template: mysql-server-4.1/nis_warning
+Type: note
+_Description: Important note for NIS/YP users!
+ To use mysql you must install an equivalent user and group to the
+ following and ensure yourself that /var/lib/mysql has the right
+ permissions (the uid/gid may be different).
+ .
+ /etc/passwd:      mysql:x:100:101:MySQL Server:/var/lib/mysql:/bin/false
+ .
+ /etc/group:       mysql:x:101:
+ .
+ /var/lib/mysql:   drwxr-xr-x   mysql    mysql
+
+Template: mysql-server-4.1/mysql_update_hints1
+Type: note
+_Description: Update Hints
+ Rarely, e.g. on new major versions, the privilege system is improved.
+ To make use of it mysql_fix_privilege_tables must be executed manually.
+ The script is not supposed to give any user more rights that he had before,
+ .
+ Please also read http://www.mysql.com/doc/en/Upgrade.html
+
+Template: mysql-server-4.1/mysql_install_db_notes
+Type: note
+_Description: Install Hints
+ On upgrades from MySQL 3.23, as shipped with Debian Woody, symlinks in
+ place of /var/lib/mysql or /var/log/mysql gets accidently removed and
+ have manually be restored.
+ .
+ MySQL will only install if you have a non-numeric hostname that is
+ resolvable via the /etc/hosts file. E.g. if the "hostname" command returns
+ "myhostname" then there must be a line like "10.0.0.1 myhostname".
+ .
+ A new mysql user "debian-sys-maint" will be created. This mysql account is
+ used in the start/stop and cron scripts. Don't delete.
+ .
+ Please remember to set a PASSWORD for the MySQL root user! If you use a
+ /root/.my.cnf, always write the "user" and the "password" lines in there,
+ never only the password!
+ .
+ See /usr/share/doc/mysql-server-4.1/README.Debian for more information.
+
+Template: mysql-server-4.1/postrm_remove_databases
+Type: boolean
+Default: false
+_Description: Remove the databases from all MySQL versions?
+ Should I remove the complete /var/lib/mysql directory tree which is used by
+ all MySQL versions, not necessarily only the one you are about to purge?
+
+Template: mysql-server-4.1/start_on_boot
+Type: boolean
+Default: true
+_Description: Should MySQL start on boot?
+ The MySQL can start on boot time or only if you type '/etc/init.d/mysql
+ start' manually. Select 'yes' here if you want it to start automatically.
--- mysql-dfsg-4.1-4.1.11a.orig/debian/README.compile_on_potato
+++ mysql-dfsg-4.1-4.1.11a/debian/README.compile_on_potato
@@ -0,0 +1,45 @@
+#
+# COMPILING THE DEBIAN MYSQL PACKAGE ON POTATO
+#
+# As many people asked for a recipe to do this I include here the one
+# "Paul van den Berg" <P.B.van.den.Berg@farm.rug.nl> send me. Thanks Paul.
+# It was made for 3.23.xx, your mileage with 4.x will vary.
+#
+1. Get the sources .tar.gz and .diff and .dsc from an archive
+2. I had to change a filename:
+   mv mysql_3.23.33-1.diff mysql_3.23.33-1.diff.gz
+   (netscape stripped it off while downloading, but did not unpack)
+3. Make yourself super-user with su
+4. Unpack : dpkg-source -x mysql_3.23.33-1.dsc
+5. Change directory to the unpacked source: cd mysql-3.23.33
+6. Edit file debian/control and run dselect
+   debian/control lists required packages and version numbers (for unstable).
+   The select option in dselect lists packages and version numbers in potato,
+   and from there you can install missing packages on your system. Use "/"   
+   to search for the packages you see in debian/control.
+   I changed the following version numbers in debian/control:
+   Package        From            To
+   debhelper      2.1.2           2.0.86
+   debconf        0.3.66          0.2.80.17
+   adduser        3.24            3.11.1   
+   perl		  5.6		  5.005
+6. Edit file debian/rules
+   - this file calls a program dh_installlogrotate, which is not available in
+     debhelper 2.0.86 comment the line with dh_installlogrotate with a "#"
+     and add the following line:
+     cp `pwd`/debian/mysql-server.logrotate `pwd`/debian/mysql-server/etc/logrotate.d/mysql-server
+     (the cp command should be one line!)
+   - change 'export DH_COMPAT=3' to 'export DH_COMPAT=2'
+   - change 'dh_installman' to 'dh_installmanpages'
+7. Build the .deb packages an take a break:
+   debian/rules binary
+8. Install the packages in the following order:
+   cd ..
+   dpkg -i mysql-doc_3.23.33-1_all.deb (if you want the documentation)
+   dpkg -i mysql-common_3.23.33-1_all.deb
+   dpkg -i libmysqlclient10_3.23.33-1_i386.deb
+   dpkg -i mysql-client_3.23.33-1_i386.deb
+   dpkg -i mysql-server_3.23.33-1_i386.deb
+   I never needed libmysqlclient10_dev, so I did not install it.
+9. Test your new mysql. It worked for me!
+
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-client-4.1.docs
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-client-4.1.docs
@@ -0,0 +1,2 @@
+README
+EXCEPTIONS-CLIENT
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.dirs
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.dirs
@@ -0,0 +1,10 @@
+etc/init.d
+etc/logrotate.d
+usr/bin
+usr/lib
+usr/sbin
+usr/share/man/man8
+usr/share/info
+usr/share/mysql
+var/run/mysqld
+var/lib/mysql-upgrade
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.init
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.init
@@ -0,0 +1,155 @@
+#!/bin/bash
+#
+# MySQL daemon start/stop script.
+#
+# Debian version. Based on the original by TcX.
+#
+set -e
+set -u
+${DEBIAN_SCRIPT_DEBUG:+ set -v -x}
+
+test -x /usr/sbin/mysqld || exit 0
+
+SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
+CONF=/etc/mysql/my.cnf
+MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
+
+# priority can be overriden and "-s" adds output to stderr
+ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mysql -i"
+
+# Safeguard (relative paths, core dumps..)
+cd /
+umask 077
+export PATH=/bin:/usr/bin
+
+# mysqladmin likes to read /root/.my.cnf. This is usually not what I want
+# as many admins e.g. only store a password without a username there and
+# so break my scripts.
+export HOME=/etc/mysql/
+
+## fetch a particular option from mysql's invocation
+#
+# usage: void mysqld_get_param option
+mysqld_get_param() {
+	/usr/sbin/mysqld --print-defaults \
+		| tr " " "\n" \
+		| grep -- "--$1" \
+		| tail -n 1 \
+		| cut -d= -f2
+}
+
+## Checks if there is a server running and if so if it is accessible.
+#
+# check_alive insists on a pingable server
+# check_dead also fails if there is a lost mysqld in the process list
+#
+# Usage: boolean mysqld_status [check_alive|check_dead] [warn|nowarn]
+mysqld_status () {
+    ping_output=`$MYADMIN ping 2>&1`; ping_alive=$(( ! $? ))
+
+    ps_alive=0
+    pidfile=`mysqld_get_param pid-file`
+    if [ -f "$pidfile" ] && ps `cat $pidfile` >/dev/null 2>&1; then ps_alive=1; fi
+    
+    if [ "$1" = "check_alive"  -a  $ping_alive = 1 ] ||
+       [ "$1" = "check_dead"   -a  $ping_alive = 0  -a  $ps_alive = 0 ]; then
+	return 0 # EXIT_SUCCESS
+    else
+  	if [ "$2" = "warn" ]; then
+  	    /bin/echo -e "$ps_alive processes alive and '$MYADMIN ping' resulted in\n$ping_output\n" | $ERR_LOGGER -p daemon.debug
+	fi
+  	return 1 # EXIT_FAILURE
+    fi
+}
+
+#
+# main()
+#
+
+case "${1:-''}" in
+  'start')
+	# check for config file
+	if [ ! -r /etc/mysql/my.cnf ]; then
+	  /bin/echo -e "\nWARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz"
+        fi 
+	# Start daemon
+	echo -n "Starting MySQL database server: mysqld"
+	if mysqld_status check_alive nowarn; then
+	   echo "...already running."
+	else
+  	    /usr/bin/mysqld_safe > /dev/null 2>&1 &
+	    for i in 1 2 3 4 5 6; do
+                sleep 1
+	        if mysqld_status check_alive nowarn ; then break; fi
+            done
+	    if mysqld_status check_alive warn; then
+                echo "."
+	        # Now start mysqlcheck or whatever the admin wants.
+	        /etc/mysql/debian-start
+	    else
+	        echo "...failed."
+	        /bin/echo -e "\tPlease take a look at the syslog."
+	    fi
+	fi
+
+        if $MYADMIN variables | egrep -q have_bdb.*YES; then
+            /bin/echo "BerkeleyDB is obsolete, see /usr/share/doc/mysql-server-4.1/README.Debian.gz" | $ERR_LOGGER -p daemon.info
+        fi
+	;;
+
+  'stop')
+	# * As a passwordless mysqladmin (e.g. via ~/.my.cnf) must be possible
+	# at least for cron, we can rely on it here, too. (although we have 
+	# to specify it explicit as e.g. sudo environments points to the normal
+	# users home and not /root)
+	echo -n "Stopping MySQL database server: mysqld"	
+	if ! mysqld_status check_dead nowarn; then
+	  set +e
+	  shutdown_out=`$MYADMIN shutdown 2>&1`; r=$?
+	  set -e
+	  if [ "$r" -ne 0 ]; then
+	    /bin/echo -e -n "...failed.\n$shutdown_out\nKilling MySQL database server by signal: mysqld"
+	    killall -15 mysqld
+            server_down=
+	    for i in 1 2 3 4 5 6 7 8 9 10; do
+              sleep 1
+              if mysqld_status check_dead nowarn; then server_down=1; break; fi
+            done
+          if test -z "$server_down"; then killall -9 mysqld; fi
+	  fi
+        fi
+
+        if ! mysqld_status check_dead warn; then
+	  echo "...failed."
+	  echo "Please stop MySQL manually and read /usr/share/doc/mysql-server-4.1/README.Debian.gz!"
+	  exit -1
+	else
+	  echo "."
+        fi
+	;;
+
+  'restart')
+	set +e; $SELF stop; set -e
+	$SELF start 
+	;;
+
+  'reload'|'force-reload')
+  	echo -n "Reloading MySQL database server: mysqld"
+	$MYADMIN reload
+	echo "."
+	;;
+
+  'status')
+	if mysqld_status check_alive nowarn; then
+	  $MYADMIN version
+	else
+	  echo "MySQL is stopped."
+	fi
+  	;;
+
+  *)
+	echo "Usage: $SELF start|stop|restart|reload|force-reload"
+	exit 1
+	;;
+esac
+
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-server-4.1.config
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-server-4.1.config
@@ -0,0 +1,21 @@
+#!/bin/bash -e
+
+. /usr/share/debconf/confmodule
+
+# Beware that there are two ypwhich one of them needs the 2>/dev/null!
+if test -n "`which ypwhich 2>/dev/null`"  &&  ypwhich >/dev/null 2>&1; then
+  db_input high mysql-server-4.1/nis_warning || true
+  db_go
+fi
+
+# db_input medium mysql-server-4.1/start_on_boot || true
+# db_go
+
+db_input medium mysql-server-4.1/mysql_install_db_notes || true
+db_go
+
+# Show this only to upgraders.
+if test -n "$2"  &&  dpkg --compare-versions "$2" lt "4.0.0"; then
+  db_input medium mysql-server-4.1/mysql_update_hints1 || true
+  db_go
+fi
--- mysql-dfsg-4.1-4.1.11a.orig/debian/mysql-client-4.1.lintian-overrides
+++ mysql-dfsg-4.1-4.1.11a/debian/mysql-client-4.1.lintian-overrides
@@ -0,0 +1 @@
+mysql-client-4.1: package-has-a-duplicate-relation depends: libmysqlclient14 (>= 4.1.11-3), libmysqlclient14
