Commit graph

737 commits

Author SHA1 Message Date
unknown
4c84254128 manual.texi - fix typo
Docs/manual.texi:
  - fix typo
2000-12-15 13:29:32 +02:00
unknown
9c915f9e73 Update News about SHOW LOGS.
Docs/manual.texi:
  - update News about SHOW LOGS
2000-12-15 13:23:55 +02:00
unknown
e9f0fabfc9 Add SHOW LOGS command.
sql/ha_berkeley.cc:
  - add berkeley_show_logs()
sql/ha_berkeley.h:
  - add berkeley_show_logs()
sql/mysql_priv.h:
  - add show_logs()
sql/sql_lex.h:
  - add show_logs()
sql/sql_parse.cc:
  - add show_logs()
sql/sql_show.cc:
  - add show_logs()
sql/sql_yacc.yy:
  - add show_logs()
Docs/manual.texi:
  - add show_logs()
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2000-12-15 13:18:52 +02:00
unknown
4a063ba73b mysql-test/r/rpl000016.result
forgot to check this in


mysql-test/r/rpl000016.result:
  forgot to check this in
2000-12-14 20:45:16 -07:00
unknown
6aac994eb0 client/mysqltest.c
fixed bug that created empty result files in no-record mode
mysql-test/t/rpl000007.test
    testing non-replication of load data infile when the table is excluded from replication
mysql-test/t/rpl000016.test
    test purge master logs
sql/slave.cc
    fix memory leaks found by  purge master logs test
sql/sql_repl.cc
    fixed race condition and delete before close bug in reset_slave()

Overall comments - coverage testing is a very good thing!


client/mysqltest.c:
  fixed bug that created empty result files in no-record mode
mysql-test/t/rpl000007.test:
  testing non-replication of load data infile when the table is excluded from replication
mysql-test/t/rpl000016.test:
  test purge master logs
sql/slave.cc:
  fix memory leaks found by  purge master logs test
sql/sql_repl.cc:
  fixed race condition and delete before close bug in reset_slave()
2000-12-14 20:17:18 -07:00
unknown
230acc4519 I fixed the bug too and had to merge conflicts
myisammrg/myrg_open.c:
  merged
2000-12-14 17:48:54 -07:00
unknown
9316633270 client/mysqltest.c
added system command
myisammrg/myrg_open.c
    fixed coredump when opening an empty union table
sql/sql_repl.cc
    fixed warnings, remove confusing comment, fixed coredump in
    change master to when master.info was corrupted

added new replication test case


client/mysqltest.c:
  added system command
myisammrg/myrg_open.c:
  fixed coredump when opening an empty union table
sql/sql_repl.cc:
  fixed warnings, remove confusing comment, fixed coredump in
  change master to when master.info was corrupted
2000-12-14 17:43:13 -07:00
unknown
7affa83060 myrg_open.c empty MRG bug fixed again (fix from 1.8 was removed in 1.9)
mysql-test/t/ft0000001.test:
  comments cleared up
myisammrg/myrg_open.c:
  empty MRG bug fixed again (fix from 1.8 was removed in 1.9)
2000-12-15 00:09:53 +01:00
unknown
67b3f99e42 Merge
BitKeeper/etc/gone:
  auto-merge
2000-12-14 23:30:06 +01:00
unknown
f48d4424b0 Merge 2000-12-14 18:13:16 +01:00
unknown
80cfe046c7 mysql-test/mysql-test-run.sh
fixes for Bourne shell
    removed colors
    optimized echo/expr for bash


mysql-test/mysql-test-run.sh:
  fixes for Bourne shell
  removed colors
  optimized echo/expr for bash
2000-12-14 10:05:04 -07:00
unknown
9d7d9bfcf5 Merge
BitKeeper/deleted/.del-logging_ok~32b6551b8288c2fa:
  ***MISSING WEAVE***
BitKeeper/etc/logging_ok:
  Auto merged
2000-12-14 02:55:44 +01:00
unknown
6362c42aa6 Merge
BitKeeper/deleted/.del-README.gcov:
  ***MISSING WEAVE***
BitKeeper/etc/logging_ok:
  ***MISSING WEAVE***
2000-12-14 02:54:56 +01:00
unknown
a1def750bf fixed typo 2000-12-13 18:29:38 -07:00
unknown
e842d46efa fixes for parallel make, re-added the lost README files in mysql-test
BUILD/compile-pentium-debug:
  fox for parallel make
BUILD/compile-pentium-gcov:
  fix for parallel make
BUILD/compile-pentium:
  fix to enable parallel make when recursing to subdirectories
Build-tools/Do-all-build-steps:
  fix for parallel make, remove the stale comment to make Tim happy
Build-tools/Do-rpm:
  fix for parallel make
2000-12-13 18:23:55 -07:00
unknown
123946665c fixed typo
BitKeeper/etc/ignore:
  Added BitKeeper/tmp/gone to the ignore list
2000-12-13 17:17:19 -07:00
unknown
91fa299ef2 MIT fix
BitKeeper/etc/ignore:
  Added mysql-test/install_test_db mysql-test/mysql-test-run to the ignore list
include/global.h:
  another fix for MIT-threads
2000-12-13 16:43:18 -07:00
unknown
1c0f675a60 mysql-test/Makefile.am
fixed typo
scripts/make_binary_distribution.sh
    added .MRG and .frm files


mysql-test/Makefile.am:
  fixed typo
scripts/make_binary_distribution.sh:
  added .MRG and .frm files
2000-12-13 12:42:59 -07:00
unknown
67de70a3c0 global.h Fix for MIT-threads
include/global.h:
  Fix for MIT-threads
2000-12-13 11:58:00 -07:00
unknown
ff124112cf sql_parse.cc we were using wrong strdup
sql/sql_parse.cc:
  we were using wrong strdup
2000-12-13 10:59:59 -07:00
unknown
855bddabf3 install_test_db.sh fixes for distribution
mysql-test-run.sh	fixes for distribution
Makefile.am	Fixes for distribution


mysql-test/Makefile.am:
  Fixes for distribution
mysql-test/mysql-test-run.sh:
  fixes for distribution
mysql-test/install_test_db.sh:
  fixes for distribution
2000-12-13 10:32:54 -07:00
unknown
2d47dfa0ce Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql


BitKeeper/etc/logging_ok:
  Auto converge
2000-12-13 09:59:36 -07:00
unknown
a3d15c0fff fixed
mysql-test/mysql-test-run:
  fixed bug that unconditionally restarted both servers before each test
  added support for slave-master-info.opt to specify master info 
  options and override defaults for an individual test
  fixed race conditions in slave start/slave stop
  added a new rpl test case
sql/sql_repl.cc:
  fixed race conditions in slave start/slave stop
2000-12-13 09:58:26 -07:00
unknown
767fbc5e93 Makefile.am Removed README
mysql-test/Makefile.am:
  Removed README
2000-12-13 13:24:46 +01:00
unknown
e9797c89e4 mysql.spec.sh Don't install BDB
Do-patch-file	Update for new web structure
Makefile.am	Added dependency for manual_toc.html
Makefile.am	Replaced chmod with RM to avoid error message


include/Makefile.am:
  Replaced chmod with RM to avoid error message
Docs/Makefile.am:
  Added dependency for manual_toc.html
Build-tools/Do-patch-file:
  Update for new web structure
support-files/mysql.spec.sh:
  Don't install BDB
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2000-12-13 12:43:45 +01:00
unknown
20da4f8884 Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql


BitKeeper/etc/logging_ok:
  Auto converge
2000-12-12 16:27:38 -07:00
unknown
c698629458 manual.texi minor wording change in LOAD DATA section
Docs/manual.texi:
  minor wording change in LOAD DATA section
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2000-12-12 17:27:36 -06:00
unknown
624e387916 2000-12-12 15:35:15 -07:00
unknown
798d341bf9 --result-file in mysqltest works nicely now
added a new test case that relies on --result-file


client/mysqltest.c:
  allow a mix of --result-file and @ result file specifications
mysql-test/mysql-test-run:
  -record option
  -R options to mysql-test so taht result files will be compared
2000-12-12 15:01:35 -07:00
unknown
078c05d50a client/mysqltest.c
add --result-file option
mysql-test/mysql-test-run
    do a really good job to kill mysqld if it is stuck


client/mysqltest.c:
  add --result-file option
mysql-test/mysql-test-run:
  do a really good job to kill mysqld if it is stuck
2000-12-12 12:12:41 -07:00
unknown
2ce474dc65 test case for a coredump on merge tables. Sergei or Monty, can you fix this?
mysql-test/mysql-test-run:
  added support for copying tables into datadir - now only MRG and FRM
  files are copied - will add others as we come up with samples
2000-12-12 08:24:50 -07:00
unknown
6d8a5e9088 Merge
sql/filesort.cc:
  merged
2000-12-12 13:30:07 +01:00
unknown
5902b26a86 ft0000001.test more tests added
ft0000002.test  several ft-indexes test
filesort.cc	DBUG_PRINT's added


sql/filesort.cc:
  more DBUG_PRINT's added
mysql-test/t/ft0000001.test:
  more tests added
2000-12-12 13:17:29 +01:00
unknown
28ad76e22c Fixed delete in tables with hidden primary key
Remove not used BDB logs on shutdown
Don't give warnings for repair on slaves
Fixed transaction log files


Docs/manual.texi:
  Updated 'known bugs'
include/my_sys.h:
  Added define for checking number of bytes left in the IO_CACHE
mysql-test/mysql-test-run:
  Small bug fixes
mysys/mf_iocache2.c:
  Use new define
sql/filesort.cc:
  Temporary fix for FULLTEXT index
sql/ha_berkeley.cc:
  Fix for delete in tables with hidden primary key
  Remove not used BDB logs on shutdown
sql/ha_myisam.cc:
  Don't give warnings for repair on slaves
sql/hostname.cc:
  Portability fix
sql/log.cc:
  Fix transaction log files
sql/log_event.h:
  portability fix
sql/slave.cc:
  Don't give warnings for repair on slaves
sql/sql_class.h:
  Cleanup
sql/sql_parse.cc:
  Fixed typo
2000-12-12 04:34:56 +02:00
unknown
7847639270 log_event.h fixed load data infile replication for alpha
sql/log_event.h:
  fixed load data infile replication for alpha
2000-12-11 14:22:48 -07:00
unknown
695c8120e1 sql/sql_repl.cc
last fix in send_file() was wrong


sql/sql_repl.cc:
  last fix in send_file() was wrong
2000-12-11 13:09:01 -07:00
unknown
7429b2e1e8 I hope I've fixed all the bugs by now, let's test it
sql/log_event.h:
  changed new/delete for Log_event to use my_malloc/my_free
sql/mysql_priv.h:
  wait for slave to get going
sql/mysqld.cc:
  wait for slave to get going in SLAVE START
sql/slave.cc:
  fixed more memory leaks
sql/sql_repl.cc:
  file name was not being \0 terminated in send_file
2000-12-11 12:06:34 -07:00
unknown
5d6b2d0d35 Merge 2000-12-11 14:30:57 +01:00
unknown
c369c42772 sel000032.test backpropagated from mysql-4.0
sel000031.test	backpropagated from mysql-4.0
sel000014.result	backpropagated from mysql-4.0
sel000006.test	s|r/3.23/|r/|
sel000007.test	s|r/3.23/|r/|
sel000008.test	s|r/3.23/|r/|
sel000009.test	s|r/3.23/|r/|
sel000010.test	s|r/3.23/|r/|
sel000011.test	s|r/3.23/|r/|
sel000012.test	s|r/3.23/|r/|
sel000013.test	s|r/3.23/|r/|
sel000014.test	s|r/3.23/|r/|
sel000015.test	s|r/3.23/|r/|
sel000016.test	s|r/3.23/|r/|
sel000017.test	s|r/3.23/|r/|
sel000018.test	s|r/3.23/|r/|
sel000019.test	s|r/3.23/|r/|
sel000020.test	s|r/3.23/|r/|
sel000021.test	s|r/3.23/|r/|
sel000022.test	s|r/3.23/|r/|
sel000023.test	s|r/3.23/|r/|
sel000024.test	s|r/3.23/|r/|
sel000025.test	s|r/3.23/|r/|
sel000026.test	s|r/3.23/|r/|
sel000027.test	s|r/3.23/|r/|
sel000028.test	s|r/3.23/|r/|
sel000029.test	s|r/3.23/|r/|
sel000030.test	s|r/3.23/|r/|
sel000033.test	s|r/3.23/|r/|
sel000005.test	s|r/3.23/|r/|
ft0000001.test	s|r/3.23/|r/|
sel000004.test	s|r/3.23/|r/|


mysql-test/t/sel000004.test:
  s|r/3.23/|r/|
mysql-test/t/ft0000001.test:
  s|r/3.23/|r/|
mysql-test/t/sel000005.test:
  s|r/3.23/|r/|
mysql-test/t/sel000006.test:
  s|r/3.23/|r/|
mysql-test/t/sel000007.test:
  s|r/3.23/|r/|
mysql-test/t/sel000008.test:
  s|r/3.23/|r/|
mysql-test/t/sel000009.test:
  s|r/3.23/|r/|
mysql-test/t/sel000010.test:
  s|r/3.23/|r/|
mysql-test/t/sel000011.test:
  s|r/3.23/|r/|
mysql-test/t/sel000012.test:
  s|r/3.23/|r/|
mysql-test/t/sel000013.test:
  s|r/3.23/|r/|
mysql-test/t/sel000014.test:
  s|r/3.23/|r/|
mysql-test/t/sel000015.test:
  s|r/3.23/|r/|
mysql-test/t/sel000016.test:
  s|r/3.23/|r/|
mysql-test/t/sel000017.test:
  s|r/3.23/|r/|
mysql-test/t/sel000018.test:
  s|r/3.23/|r/|
mysql-test/t/sel000019.test:
  s|r/3.23/|r/|
mysql-test/t/sel000020.test:
  s|r/3.23/|r/|
mysql-test/t/sel000021.test:
  s|r/3.23/|r/|
mysql-test/t/sel000022.test:
  s|r/3.23/|r/|
mysql-test/t/sel000023.test:
  s|r/3.23/|r/|
mysql-test/t/sel000024.test:
  s|r/3.23/|r/|
mysql-test/t/sel000025.test:
  s|r/3.23/|r/|
mysql-test/t/sel000026.test:
  s|r/3.23/|r/|
mysql-test/t/sel000027.test:
  s|r/3.23/|r/|
mysql-test/t/sel000028.test:
  s|r/3.23/|r/|
mysql-test/t/sel000029.test:
  s|r/3.23/|r/|
mysql-test/t/sel000030.test:
  s|r/3.23/|r/|
mysql-test/t/sel000033.test:
  s|r/3.23/|r/|
mysql-test/r/sel000014.result:
  backpropagated from mysql-4.0
mysql-test/t/sel000031.test:
  backpropagated from mysql-4.0
mysql-test/t/sel000032.test:
  backpropagated from mysql-4.0
2000-12-11 14:23:00 +01:00
unknown
4c6a415233 Tests backpropagated from mysql-4.0 bk tree
mysql-test/t/sel000004.test:
  backpropagated from mysql-4.0
mysql-test/t/sel000005.test:
  backpropagated from mysql-4.0
mysql-test/r/sel000004.result:
  backpropagated from mysql-4.0
mysql-test/r/sel000005.result:
  backpropagated from mysql-4.0
2000-12-11 14:09:31 +01:00
unknown
011f8d0a7d Removed init that crashed BDB
Fixed newly introduced bug in update


BitKeeper/etc/ignore:
  Added libmysql_r/conf_to_src to the ignore list
sql/filesort.cc:
  Removed init that crashed BDB
sql/ha_berkeley.cc:
  Fixed bug in sub AUTO_INCREMENT keys in BDB tables
sql/opt_range.cc:
  Cleanup
sql/sql_update.cc:
  Fixed newly introduced bug in update
2000-12-11 02:31:09 +02:00
unknown
71c02e7646 Merge work:/my/mysql into donna.mysql.com:/home/my/bk/mysql
Docs/manual.texi:
  Auto merged
2000-12-10 21:12:12 +02:00
unknown
b6f2308795 Bugfix when using a multi-part unique key in the SET and WHERE part
Put PRIMARY KEY and UNIQUE keys before other keys
Fixes for auto_increment keys for BDB tables


Docs/manual.texi:
  Changelog
sql/ha_berkeley.cc:
  Fixes for auto_increment keys
sql/sql_table.cc:
  Put PRIMARY KEY and UNIQUE keys before other keys
sql/sql_update.cc:
  Bugfix when using a multi-part unique key in the SET and WHERE part
2000-12-10 21:10:03 +02:00
unknown
8beb43501b fixed up leaks found by --exit-info=256
better error diagnostic in SLAVE START


sql/mini_client.cc:
  if we fail to connect, we need to free the inited structure
sql/mysqld.cc:
  added end_slave() for slave cleanup
sql/slave.cc:
  fixed serveral memory leaks
sql/slave.h:
  added end_master_info() for clean up
sql/sql_class.cc:
  not changed
sql/sql_repl.cc:
  initialize master info before creating slave thread in SLAVE START -
  this way we can easily send an error to the client if something is 
  wrong in init_master_info
2000-12-09 14:28:51 -07:00
unknown
701af10414 Docs/manual.texi
updates for the test suite
Docs/Support/test-make-manual
    abort with a message if a utility fails
    open the manual in a browser on success 


Docs/manual.texi:
  updates for the test suite
Docs/Support/test-make-manual:
  abort with a message if a utility fails
  open the manual in a browser on success
2000-12-09 09:30:54 -07:00
unknown
2e927c7d19 logs were not being called with exiting set to true on server exit
sql/mysqld.cc:
  added proper close to logs on server exit
2000-12-08 21:01:36 -07:00
unknown
95c34725a7 Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql


mysql-test/mysql-test-run:
  Auto merged
2000-12-08 17:44:45 -07:00
unknown
6a095ea533 mysql-test/mysql-test-run
reversed gcov to work the old way - the worst thing that can happen 
    if slave and master execute the same code at the same time is that
    we get a lesser  count on the code branch execution, but in any case,
    it will be at least counted once, which is really all we care.
    
    Besides, the source tracking is most likely not thread safe, but this
    is ok for the same reason.


mysql-test/mysql-test-run:
  reversed gcov to work the old way - the worst thing that can happen 
  if slave and master execute the same code at the same time is that
  we get a lesser  count on the code branch execution, but in any case,
  it will be at least counted once, which is really all we care.
  
  Besides, the source tracking is most likely not thread safe, but this
  is ok for the same reason.
2000-12-08 17:32:30 -07:00
unknown
0b18dbf858 ignore cleaned up, AGAIN!
myrg_open.c	delayed queue allocation


myisammrg/myrg_open.c:
  delayed queue allocation
BitKeeper/etc/ignore:
  cleaned up, AGAIN!
2000-12-09 00:41:06 +01:00
unknown
de7a86dec5 Merge 2000-12-09 00:36:22 +01:00