From e7daa09516cf064c3ff78c816306e57f83484e03 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 28 May 2002 13:36:51 +0300 Subject: Fixing a small bug in new code for cond_timedwait fix --- mysys/my_pthread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c index 747a07e71b2..e1345b96627 100644 --- a/mysys/my_pthread.c +++ b/mysys/my_pthread.c @@ -419,6 +419,7 @@ int my_pthread_cond_init(pthread_cond_t *mp, const pthread_condattr_t *attr) ****************************************************************************/ #if defined(HPUX) || defined(HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT) +#undef pthread_cond_timedwait int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, struct timespec *abstime) -- cgit v1.2.1 From 9e279bde1289dfb30ef813839898434dcf64cc6a Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 28 May 2002 14:47:51 +0300 Subject: small fix for a bug introduced when someone made a new getopt scheme in clients ... --- client/mysql.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mysql.cc b/client/mysql.cc index 105711bd6a0..10c3709c166 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -502,7 +502,7 @@ static struct my_option my_long_options[] = (gptr*) &unbuffered, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, {"column-names", OPT_COLUMN_NAMES, "Write column names in results.", (gptr*) &column_names, (gptr*) &column_names, 0, GET_BOOL, - NO_ARG, 0, 0, 0, 0, 0, 0}, + NO_ARG, 1, 0, 0, 0, 0, 0}, {"skip-column-names", 'N', "Don't write column names in results. WARNING: -N is depricated, use long version of this options instead.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, -- cgit v1.2.1 From 1b2f82ecd84595f391d99c633376f32c15b85082 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 29 May 2002 00:34:25 +0300 Subject: Fixed a bug in mysqlmanager-pwgen. --- client/mysqlmanager-pwgen.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/mysqlmanager-pwgen.c b/client/mysqlmanager-pwgen.c index fef5cdf6661..cd308a53d46 100644 --- a/client/mysqlmanager-pwgen.c +++ b/client/mysqlmanager-pwgen.c @@ -14,7 +14,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define MANAGER_PWGEN_VERSION "1.2" +#define MANAGER_PWGEN_VERSION "1.3" #include #include @@ -86,9 +86,6 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), case 'V': print_version(); exit(0); - default: - usage(); - exit(1); } return 0; } -- cgit v1.2.1 From 3dcf2214c25ea122e5342c68462ffddcd110fa40 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 29 May 2002 12:21:36 +1000 Subject: A few style/spelling fixups. --- Docs/manual.texi | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Docs/manual.texi b/Docs/manual.texi index a79a8c14e01..d06085809c7 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -14135,8 +14135,9 @@ though. @item --core-file Write a core file if @code{mysqld} dies. For some systems you must also -specify @code{--core-file-size} to @code{safe_mysqld}. @xref{safe_mysqld, , -@code{safe_mysqld}}. Note that on some system like Solaris, you will +specify @code{--core-file-size} to @code{safe_mysqld}. +@xref{safe_mysqld, ,@code{safe_mysqld}}. +Note that on some systems like Solaris, you will not get a core file if you are also using the @code{--user} option. @item -h, --datadir=path @@ -29907,8 +29908,8 @@ have any of the values shown here. The index of each value is also shown: An enumeration can have a maximum of 65535 elements. -Starting from 3.23.51 end space are automaticly deleted from enum values -when the table is created. +Starting from 3.23.51 trailing spaces are automatically deleted from +@code{ENUM} values when the table is created. Lettercase is irrelevant when you assign values to an @code{ENUM} column. However, values retrieved from the column later have lettercase matching the @@ -29925,9 +29926,9 @@ mysql> SELECT enum_col+0 FROM tbl_name; If you store a number into an @code{ENUM}, the number is treated as an index, and the value stored is the enumeration member with that index. (However, this will not work with @code{LOAD DATA}, which treats all -input as strings.). Becasue of this, it's not advisable to store -numbers in an enum string (You will be confused sooner or later if you -do this). +input as strings.) +It's not advisable to store numbers in an @code{ENUM} string because +it will make things confusing. @code{ENUM} values are sorted according to the order in which the enumeration members were listed in the column specification. (In other words, @@ -29966,8 +29967,8 @@ any of these values: A @code{SET} can have a maximum of 64 different members. -Starting from 3.23.51 end space are automaticly deleted from @code{SET} -values when the table is created. +Starting from 3.23.51 trailing spaces are automatically deleted from +@code{SET} values when the table is created. MySQL stores @code{SET} values numerically, with the low-order bit of the stored value corresponding to the first set member. If you retrieve a @@ -55871,7 +55872,7 @@ The trace file is made with the @strong{DBUG} package by Fred Fish. @cindex gdb, using -On most system you can also start @code{mysqld} from @code{gdb} to get +On most systems you can also start @code{mysqld} from @code{gdb} to get more information if @code{mysqld} crashes. With some older @code{gdb} versions on Linux you must use @code{run -- cgit v1.2.1 From bb4cf4c24ee92de34ec2314eb84e0a9a4169172d Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 29 May 2002 12:31:22 +1000 Subject: Style fixup. --- Docs/manual.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/manual.texi b/Docs/manual.texi index d06085809c7..6fa36c75973 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -14137,7 +14137,7 @@ though. Write a core file if @code{mysqld} dies. For some systems you must also specify @code{--core-file-size} to @code{safe_mysqld}. @xref{safe_mysqld, ,@code{safe_mysqld}}. -Note that on some systems like Solaris, you will +Note that on some systems, like Solaris, you will not get a core file if you are also using the @code{--user} option. @item -h, --datadir=path -- cgit v1.2.1