Commit graph

988 commits

Author SHA1 Message Date
unknown
dbe03fb0bc fixed up lock counting code - Monty's suggestions
updated manual about table lock counter
fixed coredump in DROP DATABASE with long bogus name by non-root user
fixed bug in handling STOP immediately after ROTATE
added test case for buffer overrun on DROP DATABASE by non-root user
added test case for the STOP bug in replication


Docs/manual.texi:
  updates for Table_locks_immediate and Table_locks_waited
include/thr_lock.h:
  fixes suggested by Monty to lock counts
mysql-test/r/status.result:
  clean up of result for changes in the test case
mysql-test/t/status.test:
  make it produce the same results if the had been some activity on the server already
mysys/thr_lock.c:
  fixes suggested by Monty
sql/mysqld.cc:
  fixes suggested by Monty
sql/slave.cc:
  fixed bug in processing STOP event after rotate
sql/sql_base.cc:
  fixes suggested by Monty
sql/sql_parse.cc:
  fixed coredump in drop database with long name by a non-root user
sql/sql_repl.cc:
  better status message
2001-01-27 15:33:31 -07:00
unknown
eb5706d128 Table_locks_waited
Table_locks_immediate


mysys/thr_lock.c:
  count locks
sql/mysqld.cc:
  count locks
sql/sql_base.cc:
  count locks
2001-01-26 20:00:42 -07:00
unknown
70e783fa2e manual.texi minor edits to change notes.
Docs/manual.texi:
  minor edits to change notes.
2001-01-26 17:30:14 -06:00
unknown
87b0956a5f Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql


Docs/manual.texi:
  Auto merged
2001-01-25 14:00:37 -07:00
unknown
33cff635fa Docs/manual.texi
updates for new code
sql/mysqld.cc
    catch SIGBUS and SIGILL
    print query and connection id on coredump if possible


Docs/manual.texi:
  updates for new code
sql/mysqld.cc:
  catch SIGBUS and SIGILL
  print query and connection id on coredump if possible
2001-01-25 14:00:13 -07:00
unknown
002b51000f Merge work:/my/mysql into donna.mysql.com:/home/my/bk/mysql
Docs/manual.texi:
  Auto merged
sql/slave.cc:
  Auto merged
sql/sql_repl.cc:
  Auto merged
2001-01-25 22:38:53 +02:00
unknown
c6a67ce9dc Lots of manual changes
Changed 'static inline' to 'inline' for SCO new's compiler


Docs/manual.texi:
  Lots of changes in "Debugging a MySQL server" and in Log files handling
mysys/hash.c:
  Changed 'static inline' to 'inline'
sql/hostname.cc:
  Changed 'static inline' to 'inline'
sql/item.cc:
  Changed 'static inline' to 'inline'
sql/net_serv.cc:
  Changed 'static inline' to 'inline'
sql/password.c:
  Changed 'static inline' to 'inline'
sql/slave.cc:
  Changed 'static inline' to 'inline'
sql/sql_acl.cc:
  Changed 'static inline' to 'inline'
sql/sql_base.cc:
  Changed mysql_list_field() to convert field names again
sql/sql_parse.cc:
  Changed 'static inline' to 'inline'
sql/sql_repl.cc:
  fixed typo
2001-01-25 22:38:26 +02:00
unknown
b302ee39bc fixed improper read of log name from master.info which broke slave server restart
fixed sync bugs in three test cases
added offset argument to sync_with_master to mysqltest to be able to fix sync bugs
added a test case for slave startup with existing master.info
expanded mysql-test-run.sh to be able to run pre-start shell script initializations


client/mysqltest.c:
  added offset argument to sync_with_master
mysql-test/mysql-test-run.sh:
  added option to run master or slave initialization shell script
mysql-test/r/rpl000016.result:
  fixed bug in test case
mysql-test/t/rpl000012.test:
  fixed syncronization bug
mysql-test/t/rpl000013.test:
  fixed sync bug
mysql-test/t/rpl000016.test:
  fixed ambiguous show slave status.
sql/slave.cc:
  fixed bug that broke slave server start with existing master.info,
  Monty's optimization was not chopping off newline from logname.
2001-01-24 12:47:09 -07:00
unknown
0ee9e34a72 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-01-24 09:17:07 -07:00
unknown
262a9e41e1 Added last_errno and last_error to show slave status
slave will skip the first SQL_SLAVE_SKIP_COUNTER events on start - 
this is needed to recover from broken replication when the next log
event(s) should just be skipped.
Rotate binlogs when max_binlog_size is reached


include/my_sys.h:
  added my_snprintf()
include/mysqld_error.h:
  more error messages
mysql-test/r/rpl000014.result:
  updated results for new SHOW SLAVE STATUS format
mysql-test/r/rpl000015.result:
  update for SHOW SLAVE STATUS
mysql-test/r/rpl000016.result:
  update for additions to the test
mysql-test/t/rpl000016.test:
  test max_binlog_size and slave_skip_counter
mysys/my_vsnprintf.c:
  added my_snprintf()
sql/gen_lex_hash.cc:
  old values could not do it
sql/lex.h:
  updates for SQL_SLAVE_SKIP_COUNTER
sql/log.cc:
  rotate binlogs when max_binlog_size is reached
sql/mysqld.cc:
  added max_binlog_size
sql/share/czech/errmsg.txt:
  new errors
sql/share/danish/errmsg.txt:
  new errors
sql/share/dutch/errmsg.txt:
  new errors
sql/share/english/errmsg.txt:
  new errors
sql/share/estonian/errmsg.txt:
  new errors
sql/share/french/errmsg.txt:
  new errors
sql/share/german/errmsg.txt:
  new errors
sql/share/greek/errmsg.txt:
  new errors
sql/share/hungarian/errmsg.txt:
  new errors
sql/share/italian/errmsg.txt:
  new errors
sql/share/japanese/errmsg.txt:
  new errors
sql/share/korean/errmsg.txt:
  new errors
sql/share/norwegian-ny/errmsg.txt:
  new errors
sql/share/norwegian/errmsg.txt:
  new errors
sql/share/polish/errmsg.txt:
  new errors
sql/share/portuguese/errmsg.txt:
  new errors
sql/share/romanian/errmsg.txt:
  new errors
sql/share/russian/errmsg.txt:
  new errors, translated untranslated messages
sql/share/slovak/errmsg.txt:
  new errors
sql/share/spanish/errmsg.txt:
  new errors
sql/share/swedish/errmsg.txt:
  new errors
sql/slave.cc:
  updates for slave_skip_counter and extension to show slave status
sql/slave.h:
  slave_skip_counter
sql/sql_repl.cc:
  use error messages from errmsg.txt
sql/sql_yacc.yy:
  skip_slave_counter
2001-01-24 09:15:34 -07:00
unknown
191a15d755 Merge work.mysql.com:/home/bk/mysql
into tetra.spaceapes.com:/usr/home/jcole/bk/mysql
2001-01-23 19:32:53 -06:00
unknown
32250dfced Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-01-23 08:21:15 -07:00
unknown
0d6cc62801 fixes for tests
client/mysqltest.c:
  fixed bug in reap command
mysql-test/r/backup.result:
  update to backup test
mysql-test/t/backup.test:
  test to see if lock tables /unlock tables will cause a problem
mysql-test/t/rpl000016.test:
  fixed syncronization problem between master and slave
2001-01-23 08:20:51 -07:00
unknown
5f69c268df Corrected misnamed DBUG_ENTER in create_temp_file
mysys/mf_tempfile.c:
  Corrected misnamed DBUG_ENTER
2001-01-23 03:41:22 -06:00
unknown
7a839cac3d manual.texi clean up recent change notes
Docs/manual.texi:
  clean up recent change notes
2001-01-22 20:12:32 -06:00
unknown
060cd1a137 Merge work:/my/mysql into donna.mysql.com:/home/my/bk/mysql 2001-01-23 01:26:11 +02:00
unknown
6370f97b2c Added new mutex for hostname lookup
Added free of io_cache when using ALTER TABLE ... ORDER BY


Docs/manual.texi:
  Updated from user comments
sql/ha_berkeley.cc:
  Fixed wrong cast
sql/hostname.cc:
  Added new mutex for hostname lookup
sql/sql_table.cc:
  Added free of io_cache when using ALTER TABLE ... ORDER BY
2001-01-23 01:25:07 +02:00
unknown
e4667fc518 fixed bug in master_pos_wait(), got rid of sleep hack,
added test/sanity check for master_pos_wait()


mysql-test/r/rpl000016.result:
  do show slave status to test master_pos_wait()
mysql-test/t/rpl000001.test:
  no sleep
mysql-test/t/rpl000002.test:
  no sleep
mysql-test/t/rpl000003.test:
  no sleep
mysql-test/t/rpl000007.test:
  !sleep
mysql-test/t/rpl000008.test:
  !sleep
mysql-test/t/rpl000009.test:
  no sleep
mysql-test/t/rpl000010.test:
  no sleep
mysql-test/t/rpl000011.test:
  no sleep
mysql-test/t/rpl000012.test:
  no sleep
mysql-test/t/rpl000013.test:
  no sleep
mysql-test/t/rpl000014.test:
  no sleep
mysql-test/t/rpl000015.test:
  no sleep
mysql-test/t/rpl000016.test:
  no sleep, test that master_pos_wait() works right
sql/slave.cc:
  fixed bug in master_pos_wait()
2001-01-22 12:35:16 -07:00
unknown
682234e61e Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql


sql/log_event.h:
  Auto merged
2001-01-22 08:51:26 -07:00
unknown
f9647b6c10 portability fix
sql/log_event.h:
  fixed compiler error
2001-01-22 08:50:44 -07:00
unknown
3e54e53932 Fixes for OSF1
Made test more reliable on slow machines


Docs/manual.texi:
  Changelog
client/mysqladmin.c:
  Made --silent more silent
include/my_pthread.h:
  Removed warning on OSF1
mysql-test/install_test_db.sh:
  Allow connections from 127.0.0.1
mysql-test/mysql-test-run.sh:
  Use mysqladmin ping to test if server is up
mysql-test/r/rpl000015.result:
  Added sleep to make results repeatable
mysql-test/t/rpl000015.test:
  Added sleep to make results repeatable
mysql-test/t/rpl000016.test:
  Added sleep to make results repeatable
sql/sql_repl.cc:
  added DBUG entry
sql/sql_table.cc:
  Removed comparison of virtual functions as this didn't work on
  Compaq C++ on OSF1
2001-01-22 15:33:34 +02:00
unknown
6632102983 SHOW [FULL] COLUMNS
Added timeouts to replication tests to handle concurrent inserts


Docs/manual.texi:
  Changelog
client/mysqlshow.c:
  Fix for new SHOW FULL COLUMNS syntax
mysql-test/r/show_check.result:
  Fix for SHOW FULL COLUMNS
mysql-test/t/alter_table.test:
  Fix for SHOW FULL COLUMNS
mysql-test/t/rpl000001.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000002.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000003.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000007.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000008.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000009.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000010.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000011.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000012.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000013.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000014.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000015.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/rpl000016.test:
  Added timeout to handle concurrent inserts.
mysql-test/t/select.test:
  Fix for SHOW FULL COLUMNS
mysql-test/t/show_check.test:
  Fix for SHOW FULL COLUMNS
mysql-test/t/type_blob.test:
  Fix for SHOW FULL COLUMNS
mysql-test/t/type_float.test:
  Fix for SHOW FULL COLUMNS
mysql-test/t/type_ranges.test:
  Fix for SHOW FULL COLUMNS
sql/mysql_priv.h:
  Fix for SHOW FULL COLUMNS
sql/sql_parse.cc:
  Fix for SHOW FULL COLUMNS
sql/sql_show.cc:
  Fix for SHOW FULL COLUMNS
sql/sql_yacc.yy:
  Fix for SHOW FULL COLUMNS
2001-01-22 05:32:58 +02:00
unknown
e99292d469 keep bk happy
Docs/manual.texi:
  Changelog
mysql-test/mysql-test-run.sh:
  Added missing --user
sql/ha_berkeley.cc:
  Fixed bug in SHOW LOGS
sql/item_func.cc:
  Cleanup; Fixed possible problem with NULL
sql/mini_client.cc:
  cleanup
sql/slave.cc:
  Cleanup
sql/sql_repl.cc:
  Fixed timing problem where we could miss a broadcast
sql/sql_show.cc:
  Fixed bug in SHOW LOGS when there wasn't any log files
2001-01-22 04:46:32 +02:00
unknown
75c376fbbb Fixed type in make_binary_distribution.sh
Don't convert field names in mysql_list_fields


Docs/manual.texi:
  Changelog
scripts/make_binary_distribution.sh:
  Fix typo
sql/sql_base.cc:
  Don't convert field names in mysql_list_fields()
2001-01-22 01:36:33 +02:00
unknown
99369c8a90 Fix new bugs in make_binary_distribution
scripts/make_binary_distribution.sh:
  Fixed some bugs that I had introduced in last push
2001-01-21 21:57:30 +02:00
unknown
f24513ea4d Updates from 3.23.30
Build-tools/Do-compile:
  Added binary suffix
  Stage are now names, not numbers
Build-tools/Do-patch-file:
  Changed to use unified diff
Build-tools/Do-rpm:
  Updated to new DBI/DBD versions
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2001-01-21 16:38:36 +01:00
unknown
ab9646ca6c Remove removed files from Makefile.am
mysql-test/Makefile.am:
  Remove removed files
2001-01-21 17:29:59 +02:00
unknown
28eac2d0ae Fixed typos from prev changeset
mysql-test/r/select.result:
  Fixed
sql/net_pkg.cc:
  Fixed typo
2001-01-21 16:59:02 +02:00
unknown
ea5451ff79 Merge
BitKeeper/etc/logging_ok:
  auto-union
configure.in:
  Auto merged
Docs/manual.texi:
  SCCS merged
2001-01-21 16:33:39 +02:00
unknown
ab7afc8c36 Changes for --with-server-suffix
Fixed mutex bug in logging (crash on windows when doing SET PASSWORD=)
Changed MERGE  tables to not use FILE


BitKeeper/deleted/.del-m.MRG~3f5632c37af00f18:
  Delete: mysql-test/std_data/m.MRG
BitKeeper/deleted/.del-m.frm~e351dfe0b6824c0c:
  Delete: mysql-test/std_data/m.frm
Docs/manual.texi:
  Added DNS section
configure.in:
  Update to 3.23.32
include/Makefile.am:
  Added my_config.h
include/mysql_com.h:
  Changes for --with-server-suffix
include/mysql_version.h.in:
  cleanup
merge/open.c:
  Don't use FILE
mysql-test/Makefile.am:
  removed not needed data files
mysql-test/r/merge.result:
  generate merge file
mysql-test/t/merge.test:
  generate merge file
sql-bench/Results/ATIS-mysql-NT_4.0:
  New benchmark results
sql-bench/Results/RUN-mysql-NT_4.0:
  New benchmark results
sql-bench/Results/alter-table-mysql-NT_4.0:
  New benchmark results
sql-bench/Results/big-tables-mysql-NT_4.0:
  New benchmark results
sql-bench/Results/connect-mysql-NT_4.0:
  New benchmark results
sql-bench/Results/create-mysql-NT_4.0:
  New benchmark results
sql-bench/Results/insert-mysql-NT_4.0:
  New benchmark results
sql-bench/Results/select-mysql-NT_4.0:
  New benchmark results
sql-bench/Results/wisconsin-mysql-NT_4.0:
  New benchmark results
sql/log.cc:
  Ensure that mutex are initialized before used
sql/log_event.h:
  Changes for --with-server-suffix
sql/mysql_priv.h:
  Changes for --with-server-suffix
sql/mysqlbinlog.cc:
  Changes for --with-server-suffix
sql/mysqld.cc:
  changed strnmov -> strmake
sql/net_pkg.cc:
  Prepare for adding char-set conversion to SHOW commands
2001-01-21 16:30:16 +02:00
unknown
d9d879feea manual.texi edit recent change notes
Docs/manual.texi:
  edit recent change notes
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2001-01-20 13:11:38 -06:00
unknown
89a1983c23 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql


Docs/manual.texi:
  Auto merged
2001-01-20 11:21:27 -07:00
unknown
4a38ad9a34 delete test_vnsprintf.c
BitKeeper/deleted/.del-test_vsnprintf.c~e3d568aca62dc81e:
  Delete: mysys/test_vsnprintf.c
2001-01-20 11:21:09 -07:00
unknown
56cfd4db43 pre-release updates
Docs/manual.texi:
  updates for 3.23.32
configure.in:
  new version
2001-01-20 11:17:08 -07:00
unknown
e9ee2aa9cb Docs/Makefile.am
Fixed a small bug.. comment was being overwritten.
Docs/Support/test-make-manual
  Will now fix it's own dependencies.. includes checking out files
  and creating it's own include.texi.


Docs/Makefile.am:
  Fixed small bug, comment was not being included. ;)
Docs/Support/test-make-manual:
  test-make-manual will now fix it's own dependencies.
  This is useful for those of us who don't have all files in the
  repository checked out all the time.
2001-01-20 04:10:42 -06:00
unknown
63383b7751 Cleaned up ChangeLog entries. 2001-01-20 03:35:19 -06:00
unknown
930ee7c1ce Default table type explained.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2001-01-20 03:11:32 -06:00
unknown
d2d3693142 client/mysqltest.c
added send/reap/dirty_close
include/mysql.h
    mysql_send_query()/mysql_reap_query()
libmysql/libmysql.c
    mysql_send_query()/mysql_reap_query()
mysys/my_vsnprintf.c
    fixed critical bug that codedumped when connection aborted
sql/sql_parse.cc
    0
mysql-test/r/dirty-close.result
    New BitKeeper file ``mysql-test/r/dirty-close.result''
mysql-test/t/dirty-close.test
    New BitKeeper file ``mysql-test/t/dirty-close.test''



client/mysqltest.c:
  added send/reap/dirty_close
include/mysql.h:
  mysql_send_query()/mysql_reap_query()
libmysql/libmysql.c:
  mysql_send_query()/mysql_reap_query()
mysys/my_vsnprintf.c:
  fixed critical bug that codedumped when connection aborted
sql/sql_parse.cc:
  0
2001-01-19 22:40:16 -07:00
unknown
5097c3f1ca Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-01-19 12:13:06 -07:00
unknown
6181b5bd5c fixed coredump in SET PASSWORD in slave thread.
mysql-test/t/rpl000001.test:
  added test for replicaion of set password
sql/sql_acl.cc:
  fixed coredump on slave in the case of SET PASSWORD
2001-01-19 12:12:45 -07:00
unknown
2f499141f9 ha_myisam.cc magic removed
ha_myisam.h	magic removed


sql/ha_myisam.h:
  magic removed
sql/ha_myisam.cc:
  magic removed
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2001-01-19 20:25:27 +02:00
unknown
9223381f9c merge
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2001-01-19 05:08:59 +02:00
unknown
67891255f5 Added MYSQL_SERVER_SUFFIX to mysqld
Fixed bug in TRIM
changed strnmov -> strmake


BUILD/SETUP.sh:
  Removed --disable-shared
Docs/manual.texi:
  Changelog
  Installing many servers
acinclude.m4:
  Force use of db-3.2.3h
client/mysql.cc:
  cleanup
mysql-test/r/func_str.result:
  Added new TRIM test
mysql-test/t/func_str.test:
  Added new TRIM test
mysys/charset.c:
  change to use strmake instead of strnmov
mysys/mf_format.c:
  change to use strmake instead of strnmov
mysys/mf_tempfile.c:
  change to use strmake instead of strnmov
scripts/make_binary_distribution.sh:
  Removed error messages for missing files
sql/handler.cc:
  More debug
sql/item_strfunc.cc:
  Fixed bug in TRIM()
sql/mysqld.cc:
  Added MYSQL_SERVER_SUFFIX to mysqld
2001-01-19 04:57:29 +02:00
unknown
5e5cd0f87e Merge work.mysql.com:/home/bk/mysql
into cane.mysql.fi:/usr/home/tim/my/work
2001-01-19 02:46:47 +02:00
unknown
c25f29bcdf Add --with-server-suffix (MYSQL_SERVER_SUFFIX).
configure.in:
  add --with-server-suffix (MYSQL_SERVER_SUFFIX)
include/mysql_version.h.in:
  add --with-server-suffix (MYSQL_SERVER_SUFFIX)
myisam/Makefile.am:
  add --with-server-suffix (MYSQL_SERVER_SUFFIX)
mysql-test/Makefile.am:
  add --with-server-suffix (MYSQL_SERVER_SUFFIX)
scripts/Makefile.am:
  add --with-server-suffix (MYSQL_SERVER_SUFFIX)
scripts/mysqlbug.sh:
  add --with-server-suffix (MYSQL_SERVER_SUFFIX)
sql-bench/Makefile.am:
  add --with-server-suffix (MYSQL_SERVER_SUFFIX)
sql/mysqld.cc:
  add --with-server-suffix (MYSQL_SERVER_SUFFIX)
support-files/Makefile.am:
  add --with-server-suffix (MYSQL_SERVER_SUFFIX)
2001-01-19 02:46:13 +02:00
unknown
b85d67d9ec Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-01-18 17:36:43 -07:00
unknown
1ad779d47c fixed buffer overrun in resolve_stack_dump
fixes for restore table
test case for backup/restore


extra/resolve_stack_dump.c:
  fixed buffer overrun
mysql-test/t/rpl000004.test:
  updated load table from master test case
sql/ha_myisam.cc:
  verbose error messages during backup table, very silent repair on restore
sql/sql_table.cc:
  fixed bugs in restore table
2001-01-18 17:36:20 -07:00
unknown
fc42688add Merge work.mysql.com:/home/bk/mysql
into cane.mysql.fi:/usr/home/tim/my/work


Docs/manual.texi:
  Auto merged
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2001-01-18 22:26:16 +02:00
unknown
d6366d4e36 manual.texi Change wording, because 3.23 is stable now
Docs/manual.texi:
  Change wording, because 3.23 is stable now
2001-01-18 22:19:19 +02:00
unknown
c862fa3646 client/mysqltest.c
merged continued
mysql-test/t/rpl000004.test
    added a test for am empty table
mysql-test/r/rpl000004.result
    New BitKeeper file ``mysql-test/r/rpl000004.result''


client/mysqltest.c:
  merged continued
mysql-test/t/rpl000004.test:
  added a test for am empty table
2001-01-18 10:43:09 -07:00