Commit graph

3929 commits

Author SHA1 Message Date
unknown
2276e8aeb8 moved my_getopt.h under client_priv.h
Changed my_print_defaults, mysql_install, perror, resolve_stack_dump,
resolveip and pack_isam to use my_getopt.


client/client_priv.h:
  getopt -> my_getopt
client/mysql.cc:
  moved my_getopt.h under client_priv.h
client/mysqladmin.c:
  moved my_getopt.h under client_priv.h
client/mysqlbinlog.cc:
  moved my_getopt.h under client_priv.h
client/mysqlcheck.c:
  moved my_getopt.h under client_priv.h
client/mysqldump.c:
  moved my_getopt.h under client_priv.h
client/mysqlimport.c:
  moved my_getopt.h under client_priv.h
client/mysqlshow.c:
  moved my_getopt.h under client_priv.h
extra/my_print_defaults.c:
  Changed from getopt to use my_getopt
extra/mysql_install.c:
  Changed from getopt to use my_getopt
extra/perror.c:
  Changed from getopt to use my_getopt
extra/resolve_stack_dump.c:
  Changed from getopt to use my_getopt
extra/resolveip.c:
  Changed from getopt to use my_getopt
fs/mysqlcorbafs.c:
  Left reminder about my_getopt when this program is ready.
  Currently it's not being compiled.
isam/pack_isam.c:
  Changed from getopt to use my_getopt
2002-05-22 23:54:24 +03:00
unknown
4d6819171d Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
client/mysqltest.c:
  Auto merged
2002-05-22 21:08:11 +03:00
unknown
a5c8c54f56 Portability fixes
Fixed problem with --password in mysql


client/mysql.cc:
  Fixed problem with --password in mysql
mysql-test/r/type_decimal.result:
  Portability fix
mysql-test/t/type_decimal.test:
  Portability fix
2002-05-22 21:07:23 +03:00
unknown
ebb98af730 my_getopt:
- some minor bugfixes
- made code more readable
- support for printing GET_BOOL type options in my_print_variables(),
  value is either TRUE or FALSE


client/mysqlbinlog.cc:
  Changes in my_getopt my_print_variables()
client/mysqlmanager-pwgen.c:
  Changes in my_getopt my_print_variables()
client/mysqlmanagerc.c:
  Changes in my_getopt my_print_variables()
client/mysqltest.c:
  Changes in my_getopt my_print_variables()
myisam/myisamchk.c:
  Changes in my_getopt my_print_variables()
mysys/my_getopt.c:
  Made code more readable.
  Fixed bug in my_print_variables().
  Added printing for options whether they are enabled or not
  FALSE / TRUE. This also separates GET_BOOL type options from
  variables that can actually take values as an argument.
2002-05-22 20:45:19 +03:00
unknown
473aa13d6b Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
client/mysqltest.c:
  Auto merged
2002-05-22 19:11:51 +03:00
unknown
c8e93fd787 Removed compiler warnings
myisam/mi_write.c:
  More DBUG_ statements
2002-05-22 19:11:06 +03:00
unknown
6a97c5912f Removed GNU getopt from MySQL distribution (replaced by my_getopt)
BitKeeper/deleted/.del-getopt.c~a2dce359c5c071b1:
  Delete: mysys/getopt.c
BitKeeper/deleted/.del-getopt1.c~e441714775f50c8f:
  Delete: mysys/getopt1.c
2002-05-22 18:16:54 +03:00
unknown
12f2919812 test cases for the GROUP BY bug ... 2002-05-22 16:33:00 +03:00
unknown
af5ca60aa0 Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
2002-05-22 15:17:39 +03:00
unknown
72ea538b0b A fix for the very nusty bug with when there are 2 or more fields
in GROUP BY , which fields can be NULL ....
2002-05-22 15:11:35 +03:00
unknown
bb07d5c043 Changed mysqlbinlog, mysqlmanager-pwgen, mysqlmanagerc, mysqltest,
thread_test and isamchk to use my_getopt.

Fixed a bug in my_getopt.


client/mysqlbinlog.cc:
  Changed mysqlbinlog.cc to use my_getopt.
client/mysqlmanager-pwgen.c:
  Changed mysqlmanager-pwgen to use my_getopt.
client/mysqlmanagerc.c:
  Changed mysqlmanagerc to use my_getopt.
client/mysqltest.c:
  Changed mysqltest to use my_getopt.
client/thread_test.c:
  Changed thread_test to use my_getopt.
isam/isamchk.c:
  Changed isamchk to use my_getopt.
mysys/my_getopt.c:
  Fixed a bug in printing options when option didn't have a comment.
  Added startup initializing and printing for 'GET_BOOL' type variables.
sql/mysql_priv.h:
  Changed type.
sql/mysqld.cc:
  Fixed a bug in --local-infile option.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-05-22 00:05:05 +03:00
unknown
3181a6af1b merge 2002-05-21 20:46:45 +03:00
unknown
a34e76c66a Fixes for gcc 3.1
Fixed bug in new code for regexp LIKE NULL


BUILD/SETUP.sh:
  Fixes for gcc 3.1
BUILD/compile-solaris-sparc-debug:
  Fixes for gcc 3.1
BUILD/compile-solaris-sparc-purify:
  Fixes for gcc 3.1
BUILD/compile-solaris-sparc:
  Fixes for gcc 3.1
Docs/manual.texi:
  Fixed typo
include/violite.h:
  Fixes for gcc 3.1
mysql-test/r/func_concat.result:
  Updated test results
sql/item_cmpfunc.cc:
  Fixed bug in new code for regexp LIKE NULL
2002-05-21 20:35:58 +03:00
unknown
62b9426d0c Re-diffed patch against glibc 2.2.5 (the last one was malformed and
did not apply)
2002-05-21 11:39:22 +02:00
unknown
ae90ec00c2 Insert known release dates (from TAGs in bk) into change log. 2002-05-21 10:23:40 +10:00
unknown
61830734c3 Clarification of UNIX_TIMESTAMP() limited range checking. 2002-05-21 10:04:34 +10:00
unknown
806c5aab9e Updated Solaris 2.6 max. table size limit info. 2002-05-21 08:58:52 +10:00
unknown
3f1c4df946 Style/typo fixup of Turbo Boyer-Moore info. 2002-05-21 08:07:09 +10:00
unknown
db2032fd73 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
Docs/manual.texi:
  Auto merged
2002-05-20 15:23:19 +03:00
unknown
733d883760 merge to 3.23.51
Docs/glibc-2.2.5.patch:
  Auto merged
strings/longlong2str-x86.s:
  Auto merged
strings/strings-x86.s:
  Auto merged
2002-05-20 12:48:08 +03:00
unknown
62b683c09b Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-05-20 12:11:47 +03:00
unknown
3f8a7a5873 Updated assembler code from MySQL 4.0 (to make them work with gcc 3.0)
Fixed memory overrun bug in glibc patch
Updated french error messages


Docs/glibc-2.2.5.patch:
  Fixed memory overrun bug in glibc patch
sql/share/french/errmsg.txt:
  Updated french error messages (patch from Loic Le Loarer)
strings/longlong2str-x86.s:
  Updated from MySQL 4.0 (to make them work with gcc 3.0)
strings/strings-x86.s:
  Updated from MySQL 4.0 (to make them work with gcc 3.0)
2002-05-20 12:11:15 +03:00
unknown
df2c241ddb Fix of option name (reported by dpacker). 2002-05-20 12:38:40 +10:00
unknown
1a905ce244 merge
Docs/glibc-2.2.5.patch:
  Auto merged
Docs/manual.texi:
  Auto merged
sql/item_strfunc.cc:
  Auto merged
2002-05-19 11:10:06 +03:00
unknown
ac11ab9ab0 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/work-qc-4.0


sql/sql_parse.cc:
  Auto merged
2002-05-18 21:04:30 +03:00
unknown
04467af646 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/work-qc-4.0
2002-05-18 21:00:12 +03:00
unknown
f674be5c86 Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0


sql/sql_parse.cc:
  Auto merged
2002-05-18 14:40:02 +03:00
unknown
d30409959e Fixing that database privileges are also taken into account.
Before this change LOCK TABLES worked only with global and table
level privileges.
2002-05-18 14:30:54 +03:00
unknown
387e77d104 Optimize LIKE with turbo-boyer-more algoritm
Docs/manual.texi:
  Added info about LIKE optimization
mysql-test/r/func_like.result:
  Test of new LIKE optimization
mysql-test/t/func_like.test:
  Test of new LIKE optimization
2002-05-17 16:45:00 +03:00
unknown
936fa77a76 manual.texi Fix typo, semi-redundancy.
Docs/manual.texi:
  Fix typo, semi-redundancy.
2002-05-17 08:29:44 -05:00
unknown
ce6ea95cfe Added os2 source directory to source distribution
(thanks to Yuri Dario <mc6530@mclink.it> for pointing this out)


Makefile.am:
  Added OS/2 subdirectory to source distribution
configure.in:
  Added OS/2 subdirectory to source distribution
2002-05-17 12:01:04 +02:00
unknown
8a32ef1cf9 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-05-17 10:51:32 +03:00
unknown
c2504d86b3 Fix bug in CONCAT_WS()
Update of glibc patch from MySQL 4.0


Docs/glibc-2.2.5.patch:
  Update of patch from MySQL 4.0
Docs/manual.texi:
  ChangeLog
sql/item_strfunc.cc:
  Fix bug in CONCAT_WS()
sql/share/italian/errmsg.txt:
  Update of new error messages
2002-05-17 10:50:57 +03:00
unknown
9768df9c6e Merge work.mysql.com:/home/bk/mysql-4.0
into work.mysql.com:/home/akishkin/mysql-4.0


BitKeeper/etc/logging_ok:
  auto-union
2002-05-17 07:09:09 +02:00
unknown
021a704aac compile-pentium-gcov Remove optimization, add innodb and bdb
BUILD/compile-pentium-gcov:
  Remove optimization, add innodb and bdb
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-05-17 07:00:52 +02:00
unknown
cf8433e4fe "Wikified" Manual_style_guidelines.txt 2002-05-17 14:47:48 +10:00
unknown
2f91c6c3c9 NetWare trademark fixup (noted by Randolf Richardson). 2002-05-17 13:43:19 +10:00
unknown
0cfafb7388 Re-merging and fixups of new User Resources section.
Docs/manual.de.texi:
  Copied new section to German manual (to be translated).
Docs/manual.texi:
  Re-merged Monty's additions with Arjen's original fixups.
2002-05-17 13:36:38 +10:00
unknown
66f426c063 Fixed some compilation problems in last changeset
Docs/manual.texi:
  Small changes regarind user resources
client/mysqlbinlog.cc:
  Applied patch to support --database
mysql-test/r/func_isnull.result:
  New test results
mysql-test/r/join.result:
  New test results
mysql-test/r/show_check.result:
  New test results
mysql-test/r/type_datetime.result:
  New test results
mysql-test/r/type_decimal.result:
  New test results
mysql-test/r/type_float.result:
  New test results
mysys/my_gethostbyname.c:
  Fixed type on last push
mysys/my_pthread.c:
  Fixed type on last push
sql/sql_select.cc:
  Fixed bug in LIMIT handling
2002-05-16 23:35:09 +03:00
unknown
73bfaf0225 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/work-qc-4.0


sql/sql_parse.cc:
  Auto merged
sql/sql_table.cc:
  Auto merged
2002-05-16 22:06:24 +03:00
unknown
4df6586eb7 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/mail/work/mysql


mysys/my_pthread.c:
  Auto merged
2002-05-16 19:00:55 +03:00
unknown
72ed6bc397 A final and proper fix for HP-UX problems with pthread_cond_timedwait.
This time I did it "by the book" as this function can return any 
of the down cited values after timeout !! This is now done 100 %
according to HP-UX DCE documentation.

This made Hewlett-Packard very happy.
2002-05-16 18:58:50 +03:00
unknown
4d094257db merge with 3.23.51
BitKeeper/etc/ignore:
  auto-union
BitKeeper/etc/logging_ok:
  auto-union
BitKeeper/deleted/.del-mysql_fix_extensions.sh:
  Delete: scripts/mysql_fix_extensions.sh
Build-tools/Do-rpm:
  Auto merged
Makefile.am:
  Auto merged
client/mysqldump.c:
  Auto merged
client/mysqltest.c:
  Auto merged
extra/resolve_stack_dump.c:
  Auto merged
include/my_pthread.h:
  Auto merged
include/my_sys.h:
  Auto merged
include/mysqld_error.h:
  Auto merged
innobase/row/row0ins.c:
  Auto merged
innobase/row/row0mysql.c:
  Auto merged
innobase/row/row0sel.c:
  Auto merged
isam/pack_isam.c:
  Auto merged
libmysql/libmysql.c:
  Auto merged
mysql-test/r/func_if.result:
  Auto merged
mysql-test/t/join.test:
  Auto merged
mysys/array.c:
  Auto merged
mysys/charset.c:
  Auto merged
mysys/default.c:
  Auto merged
mysys/hash.c:
  Auto merged
mysys/my_thr_init.c:
  Auto merged
mysys/raid.cc:
  Auto merged
mysql-test/t/type_decimal.test:
  Auto merged
sql/hostname.cc:
  Auto merged
sql/item.h:
  Auto merged
sql/item_cmpfunc.h:
  Auto merged
sql/item_timefunc.h:
  Auto merged
sql/log.cc:
  Auto merged
sql/mini_client.cc:
  Auto merged
sql/sql_parse.cc:
  Auto merged
sql/sql_select.cc:
  Auto merged
strings/Makefile.am:
  Auto merged
2002-05-16 18:20:49 +03:00
unknown
74d29a0771 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-05-16 16:40:34 +03:00
unknown
d2b95cd7ab New my_gethostbyname_r() handling
Changed some status variable names
Fix bug in GRANT ... PASSWORD string


Docs/manual.texi:
  Update of variable names
include/my_net.h:
  New my_gethostbyname_r() handling
include/my_pthread.h:
  New my_gethostbyname_r() handling
libmysql/Makefile.shared:
  New my_gethostbyname_r() handling
libmysql/libmysql.c:
  New my_gethostbyname_r() handling
mysys/Makefile.am:
  New my_gethostbyname_r() handling
mysys/my_pthread.c:
  New my_gethostbyname_r() handling
mysys/my_thr_init.c:
  New my_gethostbyname_r() handling
sql/hostname.cc:
  New my_gethostbyname_r() handling
sql/mini_client.cc:
  New my_gethostbyname_r() handling
sql/mysqld.cc:
  change some status variable names
sql/sql_acl.cc:
  Fix bug in GRANT ... PASSWORD string
2002-05-16 16:32:51 +03:00
unknown
2618c6963c merge
sql/mysqld.cc:
  Auto merged
2002-05-16 16:26:02 +03:00
unknown
9ef4edccc2 Fix bug in SELECT SQL_CALC_FOUND_ROWS
Docs/manual.texi:
  Update of new GRANT options
libmysql/manager.c:
  Use new my_gethostbyname_r() functions
mysql-test/r/select_found.result:
  new test case
mysql-test/t/select_found.test:
  new test case
sql/mysqld.cc:
  Change names of some status variables
2002-05-16 16:06:57 +03:00
unknown
6e7a37f520 "News" updated 2002-05-16 13:00:52 +02:00
unknown
ad04e0ba24 Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-05-16 12:56:00 +02:00
unknown
64ff30d5b1 "repair ... use_frm" crash fixed 2002-05-16 12:51:46 +02:00