Commit graph

4013 commits

Author SHA1 Message Date
unknown
fb104d76b5 Fixed query cache align data bug.
Docs/manual.texi:
  change log modification
2002-06-07 00:02:50 +03:00
unknown
ef99fb2e8b fixing error 2002-06-06 19:46:27 +03:00
unknown
cb559732a1 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/work-4.0
2002-06-06 19:21:42 +03:00
unknown
d2f33440ea probably fix of alignment error in query cache 2002-06-06 19:21:07 +03:00
unknown
62aa4e9ff2 Merge hundin.mysql.fi:/my/mysql-3.23
into hundin.mysql.fi:/my/bk/mysql-4.0


Docs/manual.texi:
  Auto merged
sql/sql_insert.cc:
  Auto merged
2002-06-05 23:10:29 +03:00
unknown
ab32dcd3be changelog 2002-06-05 23:09:04 +03:00
unknown
03728196ee removed init_count from IO_CACHE.
Added missing mutex_unlock to slave replication code.


include/my_sys.h:
  removed init_count from IO_CACHE.
  General cleanup.
innobase/srv/srv0srv.c:
  Initailize slots to avoid purify warnings.
  Removed some compiler warnings.
mysql-test/mysql-test-run.sh:
  Automatic start of slave under gdb
mysys/mf_iocache.c:
  removed init_count
sql/field.cc:
  Cleanup
sql/log.cc:
  Cleanup
  added open_count variable.
sql/log_event.cc:
  cleanup
  use is_prefix instead of memcmp()
sql/repl_failsafe.cc:
  cleanup
sql/slave.cc:
  cleanup
  use MYSQL_LOG->open_count instead of IO_CACHE->init_count
  Added missing mutex_unlock()
sql/slave.h:
  cleanup
sql/sql_class.h:
  cleanup
  Added open_count to MYSQL_LOGL
sql/sql_parse.cc:
  removed compiler warning
sql/sql_repl.cc:
  added DBUG_xxx
sql/unireg.h:
  Added BIN_LOG_HEADER_SIZE
2002-06-05 23:04:38 +03:00
unknown
47c4352b58 Fixed mysql_info() result when using INSERT DELAYED
Docs/manual.texi:
  changelog
2002-06-05 16:42:07 +03:00
unknown
ef06010563 Merge
Docs/manual.texi:
  SCCS merged
2002-06-04 23:03:56 +03:00
unknown
532c5a78fb Fixed mutex problem in TRUNCATE TABLE
Docs/manual.texi:
  Changelog
sql/mysqld.cc:
  Portability fix
2002-06-04 22:59:12 +03:00
unknown
945c46e6d2 Bug fix for multi-table delete with test case and manual entry 2002-06-04 20:34:13 +03:00
unknown
12ee8a3ef6 Removed dup info from changelog (noted by Peter Zaitsev). 2002-06-04 13:29:33 +10:00
unknown
ad4e686555 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
Docs/manual.texi:
  Auto merged
sql/sql_parse.cc:
  Auto merged
2002-06-04 00:41:32 +03:00
unknown
a7798dfd0a Enable LOAD DATA LOCAL INFILE in mysql_test
Added syntax for column comments (for compability with 4.1)
Fix of ALTER TABLE RENAME


Docs/manual.texi:
  Changelog
client/mysqltest.c:
  Enable LOAD DATA LOCAL INFILE
mysql-test/r/alter_table.result:
  Test of syntax for column comments
mysql-test/r/func_math.result:
  Fixed test of new truncate
mysql-test/t/alter_table.test:
  Test of syntax for column comments
mysys/my_gethostbyname.c:
  Portability fix
sql/hostname.cc:
  Fixed pointer bug
sql/item_cmpfunc.cc:
  Optimizing LIKE code
sql/item_cmpfunc.h:
  Cleanup
sql/mysqld.cc:
  Avoid warning of duplicate calls to mysql_thread_init()
sql/sql_analyse.cc:
  Removed warning from DBUG
sql/sql_parse.cc:
  Avoid warning of duplicate calls to mysql_thread_init()
sql/sql_table.cc:
  Fix of ALTER TABLE RENAME
sql/sql_yacc.yy:
  Added syntax for field comments
vio/test-sslserver.c:
  Cleanup
2002-06-04 00:40:27 +03:00
unknown
7b8bf9259d Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
2002-06-03 21:39:34 +03:00
unknown
70fa0e01dd A bug fix when for SELECT ... INTO OUTFILE ....
user has table privilege and global FILE privilege
2002-06-03 21:36:31 +03:00
unknown
4f6f22d06d mirrors.texi:
Update mirror list


Docs/mirrors.texi:
  Update mirror list
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-06-03 17:50:12 +02:00
unknown
7cc7e2ed09 Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
2002-06-03 14:16:46 +03:00
unknown
fab8242310 Clarified mysqldump -T option (noted by James Green). 2002-06-03 13:25:13 +10:00
unknown
9c11d454cb Added proper spelling of 'deprecated' to writing guidelines document. 2002-06-03 12:28:48 +10:00
unknown
15e808edfd Typo fixup. 2002-06-03 12:21:09 +10:00
unknown
c472a17db5 Fixed two bugs in my_getopt.
mysys/my_getopt.c:
  Fixed two bugs in my_getopt:
  
  - argc was decremented twice when type was GET_BOOL and short
    option was used. This caused all GET_BOOL -type short-options
    to malfunction.
  
  - Fixed a bug in argv handling. Any program that used argv directly
    without checking argc first, tried to use (already handled) options
    as non-option arguments, after all true non-option arguments were
    handled. At least mysqldump was affected by this bug.
2002-06-03 03:02:32 +03:00
unknown
7cb2e2d1dc merge with 3.23
BitKeeper/deleted/.del-rpl_empty_master_crash.result:
  Delete: mysql-test/r/rpl_empty_master_crash.result
BitKeeper/deleted/.del-rpl_empty_master_crash.test:
  Delete: mysql-test/t/rpl_empty_master_crash.test
configure.in:
  Auto merged
include/my_net.h:
  Auto merged
include/my_pthread.h:
  Auto merged
libmysql/libmysql.c:
  Auto merged
mysql-test/t/func_math.test:
  Auto merged
mysys/my_gethostbyname.c:
  Auto merged
sql/ha_innodb.cc:
  Auto merged
sql/item_func.cc:
  Auto merged
2002-06-02 20:46:03 +03:00
unknown
0e5f0023b3 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
client/mysqltest.c:
  Auto merged
sql/mysqld.cc:
  Auto merged
sql/slave.cc:
  Auto merged
2002-06-02 17:05:08 +03:00
unknown
499ebe5459 Fixed bug in wait_for_relay_log_space()
Added checking of sem_init() in configure.


client/mysqltest.c:
  Cleanup
configure.in:
  Added checking of sem_init
sql/hostname.cc:
  Portability fix
sql/slave.cc:
  Fixed bug in wait_for_relay_log_space()
2002-06-02 17:04:16 +03:00
unknown
0e06aec874 fix for a multi-table delete bug when optimiser used only indices 2002-06-01 21:37:29 +03:00
unknown
78aa48a809 Fixed some spelling errors. 2002-06-01 11:46:06 +03:00
unknown
32113efe2a Merge nleippe@work.mysql.com:/home/bk/mysql
into nick.leippe.com:/home/nick/mysql/mysql
2002-05-31 16:56:48 -07:00
unknown
169a4d9282 fixed 'load table from master' hang when host is empty
added respective test case


sql/slave.cc:
  fixed load table from master hang when host is empty
2002-05-31 16:56:02 -07:00
unknown
2e86ba7e9e Fixed a bug in my_getopt.
mysys/my_getopt.c:
  Fixed two bugs in my_getopt:
  - Didn't exit with error if a short option was not recognized. Fixed.
  - If unrecognized short option was not the first one in the list,
    printed "unknown option" error for wrong option. Fixed.
2002-05-31 16:23:36 +03:00
unknown
b379016d88 Fixed a bug in mysql client.
client/mysql.cc:
  Fixed a bug in option -N
2002-05-31 15:43:21 +03:00
unknown
0ceaf6d2c2 Portability fixes for SCO and HPUX
Change TRUNCATE(number) to truncate towards zero for negative numbers
Fix NULL handling for DESCRIBE table_name


Docs/manual.texi:
  Update of TRUNCATE() information
configure.in:
  Fix for HPUX
extra/resolveip.c:
  Fix for SCO
include/my_net.h:
  Fix for HPUX
libmysql/libmysql.c:
  Removed warning on HPUX 10.20
mysql-test/r/func_math.result:
  Test of new TRUNCATE handling
mysql-test/t/func_math.test:
  Test of new TRUNCATE handling
mysys/my_gethostbyname.c:
  Portability fix
sql/item_func.cc:
  Change TRUNCATE(number) to truncate towards zero for negative numbers
sql/sql_show.cc:
  Fix NULL handling for DESCRIBE table_name
2002-05-31 15:22:38 +03:00
unknown
2c058d8478 Fixed a problem with --skip-networking.
This fix should be merged into 4.0 and 4.1
2002-05-31 13:35:20 +03:00
unknown
79efd9dbaa Fixed a bug in mysql client.
client/mysql.cc:
  Fixed a bug that caused segmentation fault in internal 'tee' command.
2002-05-31 12:34:47 +03:00
unknown
95f2b1e6a8 Added more complete master and slave configuration section
support-files/my-huge.cnf.sh:
  added more complete sample master and slave configuration
2002-05-30 17:38:19 -07:00
unknown
0720fe5927 Fixed bug: load table from master w/empty master would hang.
Now it properly returns error.
Added respective test case.


sql/repl_failsafe.cc:
  fixed bug: load table from master w/ empty master would hang.
  Now it properly returns error.
2002-05-30 17:31:25 -07:00
unknown
676c018344 mirrors.texi:
change mirror


Docs/mirrors.texi:
  change mirror
2002-05-30 17:50:10 +03:00
unknown
940ab3e031 A small fix for HP-UX when used --with-debug 2002-05-30 15:49:32 +03:00
unknown
96a1daa6d2 A very nasty bug in multi-table deletes & updates 2002-05-29 21:20:28 +03:00
unknown
324cb57baf Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
2002-05-29 15:29:43 +03:00
unknown
b752924929 Fixed a bug.
sql/slave.h:
  Fixed a bug in option handling.
sql/sql_repl.h:
  Fixed a bug in option handling.
2002-05-29 15:29:42 +03:00
unknown
aea0ae808f Some fixes for user resources management 2002-05-29 15:21:06 +03:00
unknown
75d312bc1f Fixed a bug in make test, non-debug version.
sql/slave.cc:
  Released some variables in non-debug version. These are needed
  in mysqld.cc my_getopt struct, which defines some options,
  which are used by mysql_test in a non-debug version.
sql/sql_repl.cc:
  Released some variables in non-debug version. These are needed
  in mysqld.cc my_getopt struct, which defines some options,
  which are used by mysql_test in a non-debug version.
2002-05-29 15:20:36 +03:00
unknown
a90b2f309e Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.

Changed some exit code names and corresponding numbers.

Fixed a bug in mysqld.cc, in replication related options.

Added a global flag in my_getopt, which can be set by any program
that is using my_getopt, which tells whether the client should
print the error message itself, or whether my_getopt should do it.
The default is that my_getopt will print the error messages.


client/mysql.cc:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/mysqladmin.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/mysqlbinlog.cc:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/mysqlcheck.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/mysqldump.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/mysqlimport.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/mysqlmanager-pwgen.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/mysqlmanagerc.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/mysqlshow.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/mysqltest.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
client/thread_test.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
extra/my_print_defaults.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
extra/mysql_install.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
extra/perror.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
extra/resolve_stack_dump.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
extra/resolveip.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
include/my_getopt.h:
  Added global (flag) variable which tells my_getopt whether to
  print errors or just silently exit with proper error code.
include/mysys_err.h:
  Changed exit code names and corresponding numbers.
isam/isamchk.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
isam/pack_isam.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
myisam/ft_dump.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
myisam/ft_eval.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
myisam/ft_test1.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
myisam/mi_test1.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
myisam/myisamchk.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
myisam/myisampack.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
mysys/my_getopt.c:
  Changed exit code names and corresponding numbers. Added a flag
  for checking whether my_getopt should print the error message,
  or whether it should be printed by the client itself.
sql/gen_lex_hash.cc:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
sql/mysqld.cc:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
  
  Fixed a bug when compiling in non-debug mode, some replication
  related options were not enabled while they should be. This made
  'make test' to fail in rpl000010 when --with-debug was not used.
tools/mysqlmanager.c:
  Added useful exit error code for programs using my_getopt in case
  of an error in option handling. This can sometimes be useful in
  scripts.
2002-05-29 15:07:30 +03:00
unknown
d5adf39c85 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
Docs/manual.texi:
  Auto merged
2002-05-29 14:30:44 +03:00
unknown
336d94bcec ha_innobase.cc:
Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny


sql/ha_innobase.cc:
  Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny
2002-05-29 14:04:19 +03:00
unknown
bb4cf4c24e Style fixup. 2002-05-29 12:31:22 +10:00
unknown
3dcf2214c2 A few style/spelling fixups. 2002-05-29 12:21:36 +10:00
unknown
1b2f82ecd8 Fixed a bug in mysqlmanager-pwgen. 2002-05-29 00:34:25 +03:00
unknown
9e279bde12 small fix for a bug introduced when someone made a new getopt scheme
in clients ...
2002-05-28 14:47:51 +03:00