Commit graph

2046 commits

Author SHA1 Message Date
unknown
b41e57a70e dict0mem.c, dict0dict.c, row0mysql.c, dict0mem.h:
Do less statistics calculations for tables
dict0mem.h, row0mysql.c:
  Make calculation of new statistics less frequent, because the statistics in 3.23.44 involves many random disk reads


innobase/include/dict0mem.h:
  Do less statistics calculations for tables
innobase/row/row0mysql.c:
  Do less statistics calculations for tables
innobase/dict/dict0dict.c:
  Do less statistics calculations for tables
innobase/dict/dict0mem.c:
  Do less statistics calculations for tables
2001-12-17 13:17:48 +02:00
unknown
56a8ad593e ha_innobase.cc:
Do not automatically calculate new statistics when a temporary table is used by MySQL in a query. The fact that some ORDER BY queries were slow may have been explained by this unnecessary statistics calculation.


sql/ha_innobase.cc:
  Do not automatically calculate new statistics when a temporary table is used by MySQL in a query. The fact that some ORDER BY queries were slow may have been explained by this unnecessary statistics calculation.
2001-12-17 12:17:07 +02:00
unknown
85a8f75a7d dict0crea.c:
Add diagnostic code to find out why foreign key constraint creation sometimes fails


innobase/dict/dict0crea.c:
  Add diagnostic code to find out why foreign key constraint creation sometimes fails
2001-12-14 19:35:31 +02:00
unknown
8e6ac521eb rem0rec.ic:
Remove a theoretical overrun in adaptive hash index building


innobase/include/rem0rec.ic:
  Remove a theoretical overrun in adaptive hash index building
2001-12-14 19:15:57 +02:00
unknown
0de5d9930f buf0buf.c:
Eliminate a Purify warning in a multithreaded test: the fields are not protected by a mutex, therefore they can be read uninitialized


innobase/buf/buf0buf.c:
  Eliminate a Purify warning in a multithreaded test: the fields are not protected by a mutex, therefore they can be read uninitialized
2001-12-14 18:50:43 +02:00
unknown
601b545eed misc cleanup
Docs/manual.texi:
  fixed bad merge
include/my_bitmap.h:
  fixed comment format
mysql-test/r/rpl_get_lock.result:
  make the test results predicable
mysql-test/t/rpl_get_lock.test:
  predicatable test results
mysys/my_bitmap.c:
  do not init/destroy mutex if bitmap is not declared thread safe
sql/slave.cc:
  clean-up suggested by Monty to make init_slave_skip_errors() more compact
2001-12-13 17:21:04 -07:00
unknown
961f7be52f merged
sql/mysqld.cc:
  Auto merged
2001-12-13 13:17:19 -07:00
unknown
b554ef6b10 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-12-13 20:07:04 +02:00
unknown
e12119dcc4 Added status variables for all MySQL commands.
Docs/manual.texi:
  Changelog
2001-12-13 20:06:44 +02:00
unknown
c0de7ffcc8 Fixed problem with default & InnoDB tables.
Docs/manual.texi:
  ChangeLog
2001-12-13 19:06:14 +02:00
unknown
623eedda26 slave-skip-errors
added extra/mysql_install.c - will work on it in 4.0, but it does not hurt
to have it sit in 3.23 tree for now since it will eventually be backported 
to 3.23 anyway 


Docs/manual.texi:
  documented slave-skip-errors
  updated change history
extra/resolve_stack_dump.c:
  fixed wrong help message
include/my_bitmap.h:
  bitmap code updates
mysql-test/r/rpl_get_lock.result:
  test for a possible bug in release_lock() replication
mysql-test/t/rpl_get_lock.test:
  test for possible bug in release_lock replication
mysys/my_bitmap.c:
  bitmap code updates/clean-up
sql/mysqld.cc:
  slave-skip-errors
sql/slave.cc:
  slave-skip-errors
sql/slave.h:
  slave skip errors
2001-12-12 18:55:33 -07:00
unknown
b9562004e9 sync0arr.c:
Increase semaphore wait warning threshold to 240 seconds


innobase/sync/sync0arr.c:
  Increase semaphore wait warning threshold to 240 seconds
2001-12-11 23:45:49 +02:00
unknown
75125cf0e7 btr0cur.c:
Improve table cardinality estimate if there are big BLOBs


innobase/btr/btr0cur.c:
  Improve table cardinality estimate if there are big BLOBs
2001-12-11 23:42:31 +02:00
unknown
a2675d2916 ut0byte.h, ut0byte.c, dict0dict.c:
Make column names non-case-sensitive in referential constraints and put table and database names there in lower case in Windows


innobase/dict/dict0dict.c:
  Make column names non-case-sensitive in referential constraints and put table and database names there in lower case in Windows
innobase/ut/ut0byte.c:
  Make column names non-case-sensitive in referential constraints and put table and database names there in lower case in Windows
innobase/include/ut0byte.h:
  Make column names non-case-sensitive in referential constraints and put table and database names there in lower case in Windows
2001-12-11 22:45:32 +02:00
unknown
2d1e16eb04 Fixed bug in GROUP BY ... DESC
Docs/manual.texi:
  Changelog
libmysql/libmysql.c:
  Fixed bug with mysql_use_result() when mysql_query() is called before mysql_free_result().
mysql-test/r/group_by.result:
  New tests
mysql-test/t/group_by.test:
  New tests
sql/stacktrace.c:
  Fix for SCO
2001-12-10 17:51:07 +02:00
unknown
6f8f45e959 Small changes to mysql_config.sh
Docs/manual.texi:
  Changelog
scripts/mysql_config.sh:
  Fix script to search in different directories for include and lib
2001-12-05 23:56:56 +02:00
unknown
2a74eb824f Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-12-05 23:26:14 +02:00
unknown
e560311b9c Upgrade version number 2001-12-05 23:25:48 +02:00
unknown
e8d81970be Fixed bug in LEFT JOIN
Docs/manual.texi:
  ChangeLog
myisam/mi_locking.c:
  Remove wrong optimistic locking. (Doesn't affect MySQL)
mysys/my_init.c:
  Release character sets at end
scripts/mysqlhotcopy.sh:
  RAID tables are now copied
2001-12-05 23:15:05 +02:00
unknown
bc26e18dc5 buf0buf.ic, mtr0log.ic:
Add diagnostic code to catch possible space id or page no errors in the log


innobase/include/mtr0log.ic:
  Add diagnostic code to catch possible space id or page no errors in the log
innobase/include/buf0buf.ic:
  Add diagnostic code to catch possible space id or page no errors in the log
2001-12-04 17:03:24 +02:00
unknown
d12413f6f6 log0recv.c:
Add fault tolerance: when a log record contains nonsensical space id or page number, stop log scan there


innobase/log/log0recv.c:
  Add fault tolerance: when a log record contains nonsensical space id or page number, stop log scan there
2001-12-04 16:01:30 +02:00
unknown
89b0b23464 get correct paths in mysql_config even if the user moves basedir
scripts/mysql_config.sh:
  get correct paths even if the user moves basedir
2001-12-01 19:37:30 -07:00
unknown
9dae47bbae added build-tags
added test case that supposedly will crash mysqld built with 2.96
2001-11-30 22:09:44 -07:00
unknown
ace649189d Better optimization for InnoDB and BDB tables for ORDER BY
Build-tools/Do-compile:
  Merge with 4.0
Docs/manual.texi:
  Changelog
mysql-test/r/innodb.result:
  New tests cases for ORDER BY
mysql-test/r/myisam.result:
  New tests cases for ORDER BY
mysql-test/t/innodb.test:
  New tests cases for ORDER BY
mysql-test/t/myisam.test:
  New tests cases for ORDER BY
2001-11-29 15:34:37 +02:00
unknown
00d80ffff1 Added read log caching and fixed a possible bug in write cacheing.
This should cause fewer seeks when using replication.


Docs/manual.texi:
  Changelog
2001-11-28 15:18:29 +02:00
unknown
8c335b8a21 Merge work:/home/bk/mysql into mysql.sashanet.com:/reiser-data/mysql 2001-11-27 18:21:39 -07:00
unknown
08fc358542 fixed alias drop bug in binlog
fixed skip counter to do the RightThing (TM) when the user messes up.
Still do RightThing when he gets it right.


mysql-test/r/rpl000016.result:
  updated test result
mysql-test/t/rpl000013.test:
  test alias bug
mysql-test/t/rpl000016.test:
  test for proper skip when the user messes up
sql/slave.cc:
  proper skip even when the user goofs up
sql/sql_base.cc:
  drop real name, not last used alias in the log
2001-11-27 18:20:24 -07:00
unknown
aaed141aa6 Small safety fix
Docs/manual.texi:
  Cleanup
extra/resolveip.c:
  Portability fix
man/safe_mysqld.1:
  Cleanup
mysys/mf_iocache2.c:
  Safety fix
scripts/make_binary_distribution.sh:
  Add mysqlbinlog
2001-11-28 02:24:22 +02:00
unknown
312e5e82c0 Fixed bug when joining with caching.
Fixed race condition when using the binary log and INSERT DELAYED which could cause the binary log to have rows that was not yet written to MyISAM tables.


Docs/manual.texi:
  Changelog
mysql-test/r/null_key.result:
  Fix of testcase after changing optimizer to only use range keys if it would use a long part of the SAME key.
sql/sql_insert.cc:
  Fixed race condition with binary log and INSERT DELAYED
sql/sql_select.cc:
  Fixed bug when joining with caching
2001-11-27 02:50:20 +02:00
unknown
0c9d051c16 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-11-26 03:24:33 +02:00
unknown
22e34307af A fix for ANALYZE TABLE 2001-11-26 03:24:13 +02:00
unknown
4615e50093 Fix race condition in ANALYZE TABLE.
Fixed bug where one got an empty set instead of a DEADLOCK error when using BDB tables.


Docs/manual.texi:
  Cleanup
configure.in:
  Version number change
mysql-test/t/backup.test:
  drop used tables
mysql-test/t/bdb-crash.test:
  cleanup
mysys/thr_lock.c:
  cleanup
sql/mysqld.cc:
  safety fix
sql/records.cc:
  Fixed bug where one got an empty set instead of a DEADLOCK error when using
  BDB tables.
sql/sql_table.cc:
  Fix race  condition in ANALYZE TABLE.
2001-11-26 02:16:38 +02:00
unknown
993d1a5e2f Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-11-23 09:58:17 -07:00
unknown
d1f560ef7b properly kill slave in all cases on systems that do not interrupt syscalls
on a signal
2001-11-23 09:57:36 -07:00
unknown
7ef7d93726 Portability fix
mysys/my_seek.c:
  Remove warning
2001-11-22 13:15:17 +02:00
unknown
e0d3ed73a1 Portability fix 2001-11-22 13:07:55 +02:00
unknown
00d5ed8acd Add missing resolve_stack_dump to RPM 2001-11-22 12:24:06 +02:00
unknown
f0dd11d597 Fixed problem when repairing packed MyISAM files.
Docs/manual.texi:
  Changelog
2001-11-22 03:39:42 +02:00
unknown
ffadef5d18 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
sql/mysqld.cc:
  Auto merged
2001-11-22 03:35:04 +02:00
unknown
497c842626 backport of shutdown fix for platforms that cannot break a syscall with a
signal. Tested to the extent that it does not break Linux. Could not test on
Darwin because the machine was not reachable. Will push anyway - at least it
does not make things worse. Testing on Darwin is needed, however.


sql/mysqld.cc:
  backport of shutdown fix for platforms that cannot break a syscall with a signal
2001-11-21 18:25:08 -07:00
unknown
f1ebef4b71 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-11-22 03:12:40 +02:00
unknown
dfbeb93550 (UPDATE|DELETE) ...WHERE MATCH bugfix 2001-11-21 18:25:44 +01:00
unknown
680d021907 removed ftfuncs argument for mysql_select
it uses now thd->lex.ftfunc_list
moved ft-initialization to a separate function
re-disabled implicit ft initialization


sql/item_func.cc:
  re-disabled implicit initialization that was re-enabled (by me)
  for reasons unknown (at least the code passed all the tests)
sql/mysql_priv.h:
  removed ftfuncs argument for mysql_select
  it uses now thd->lex.ftfunc_list
  moved ft-initialization to a separate function
sql/sql_base.cc:
  removed ftfuncs argument for mysql_select
  it uses now thd->lex.ftfunc_list
  moved ft-initialization to a separate function
sql/sql_parse.cc:
  removed ftfuncs argument for mysql_select
  it uses now thd->lex.ftfunc_list
  moved ft-initialization to a separate function
sql/sql_select.cc:
  removed ftfuncs argument for mysql_select
  it uses now thd->lex.ftfunc_list
  moved ft-initialization to a separate function
2001-11-21 18:05:11 +01:00
unknown
2283f2d832 Merge
sql/mysqld.cc:
  Auto merged
Docs/manual.texi:
  SCCS merged
2001-11-21 15:24:02 +02:00
unknown
0afe57ba58 Generate core file on Solaris.
Docs/manual.texi:
  ChangeLog
sql/mysqld.cc:
  Cleanup
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2001-11-21 15:08:01 +02:00
unknown
e6309ed96d typo fixed 2001-11-21 12:36:05 +01:00
unknown
689a55b1ad srv0srv.c:
Fix a seg fault if a lock wait timeout is exceeded at the some time someone grants the lock


innobase/srv/srv0srv.c:
  Fix a seg fault if a lock wait timeout is exceeded at the some time someone grants the lock
2001-11-19 13:11:37 +02:00
unknown
421595c12e Fixed bug in OPTIMIZE TABLE that reset index cardinality if it
was up to date.


Docs/manual.texi:
  ChangeLog
configure.in:
  Version number change
mysql-test/r/myisam.result:
  Test of optimize table
mysql-test/t/myisam.test:
  Test of optimize table
2001-11-18 14:08:17 +02:00
unknown
7803c4432c Removing registry service parameter code 2001-11-17 15:48:22 -02:00
unknown
0d62f810f3 dict0dict.h, dict0dict.c:
Fix wrong (though equivalent) type decl


innobase/dict/dict0dict.c:
  Fix wrong (though equivalent) type decl
innobase/include/dict0dict.h:
  Fix wrong (though equivalent) type decl
2001-11-17 14:18:27 +02:00