Commit graph

6145 commits

Author SHA1 Message Date
unknown
b5e40f6823 Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/igor/dev/mysql-4.0
2003-04-26 15:53:28 +03:00
unknown
4832d06f92 fixed incorrect number of affected rows in REPLACE...SELECT... (bug 130)
sql/sql_insert.cc:
  fixed incorrect number of affected rows in REPLACE...SELECT...
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2003-04-26 15:53:27 +03:00
unknown
046c66819f filesort.cc, order_by.result:
Fixed bug 263
order_by.test:
  Fixed bug 263


mysql-test/t/order_by.test:
  Fixed bug 263
mysql-test/r/order_by.result:
   Fixed bug 263
sql/filesort.cc:
   Fixed bug 263
2003-04-26 14:54:53 +03:00
unknown
55d9432da2 Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
2003-04-25 22:29:44 +02:00
unknown
9dece6b1b2 Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
2003-04-25 22:14:42 +02:00
unknown
30a9ca4f72 - Applied patch provided by Martin Mokrejs <mmokrejs@natur.cuni.cz>
(General code cleanup, use the GRANT statement instead of updating
   the privilege tables directly, added option to revoke privileges)
2003-04-25 21:58:25 +02:00
unknown
5d80c04f5b ut0dbg.h:
Print the failing assertion if it fails; helps to analyze bug reports


innobase/include/ut0dbg.h:
  Print the failing assertion if it fails; helps to analyze bug reports
2003-04-25 21:12:44 +03:00
unknown
3e81b9d22b Trimming code with Monty's suggestions
strings/ctype-tis620.c:
  thai2sortable code optimized
  all the file formatted with company standards
2003-04-25 21:28:11 +05:00
unknown
9c7d955bc6 Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
2003-04-25 14:52:48 +02:00
unknown
03036dfd32 Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
2003-04-25 14:52:06 +02:00
unknown
a8d6374fef - Updated innodb test results on Heikki's request (InnoDB now supports
ANALYZE TABLE)


BitKeeper/etc/ignore:
  Added support-files/MacOSX/ReadMe.txt to the ignore list
2003-04-25 14:42:01 +02:00
unknown
3ca538886a Merge bk-internal:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-04-25 15:45:45 +04:00
unknown
c1ae7593b8 ctype-tis620.c:
Don't allow access outside the string


strings/ctype-tis620.c:
  Don't allow access outside the string
2003-04-25 16:27:16 +05:00
unknown
616b717db5 - support-files/MacOSX/ReadMe.txt is now autogenerated from the manual
instead of being an individual file to avoid redundancy


BitKeeper/deleted/.del-ReadMe.txt~bd880aa05a0baccd:
  Delete: support-files/MacOSX/ReadMe.txt
Docs/Makefile.am:
   - Generate the MacOS ReadMe.txt from the manual
support-files/MacOSX/Makefile.am:
   - Added MacOS X ReadMe.txt to CLEANFILES now that it's being autogenerated
2003-04-25 13:02:44 +02:00
unknown
1a01f0ff08 Minor changes in netware directory (From Rob Lyon - Novell)
netware/mysql.xdc:
  Change mode to -rw-rw-r--
netware/BUILD/compile-AUTOTOOLS:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/compile-linux-tools:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/compile-netware-END:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/compile-netware-START:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/compile-netware-all:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/compile-netware-debug:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/compile-netware-standard:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/mwasmnlm:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/mwccnlm:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/mwldnlm:
  Turned on error checking in all NetWare build scripts.
netware/BUILD/nwbootstrap:
  Add target path suffix
2003-04-24 18:15:52 -04:00
unknown
aaa3e82713 ha_innodb.cc:
When FLUSH LOGS is called, flush InnoDB logs to disk also in the case innodb_flush_log_at_trx_commit=0


sql/ha_innodb.cc:
  When FLUSH LOGS is called, flush InnoDB logs to disk also in the case innodb_flush_log_at_trx_commit=0
2003-04-24 23:24:11 +03:00
unknown
616ca7f605 srv0srv.c:
Make sure we do not do insert buffer merge in fast shutdown even if there is some buglet which increments srv_activity_counter during a shutdown


innobase/srv/srv0srv.c:
  Make sure we do not do insert buffer merge in fast shutdown even if there is some buglet which increments srv_activity_counter during a shutdown
2003-04-24 23:03:00 +03:00
unknown
73b49b70ca srv0srv.c:
Make buffer pool flush batches bigger as that may save some time if fsync is very inefficient


innobase/srv/srv0srv.c:
  Make buffer pool flush batches bigger as that may save some time if fsync is very inefficient
2003-04-24 21:51:00 +03:00
unknown
1e8414803c ha_innodb.h, ha_innodb.cc:
Make ANALYZE TABLE to update index cardinality and other statistics also for an InnoDB table; note that the estimates are based on 10 random dives, not on an exhaustive read of the table


sql/ha_innodb.cc:
  Make ANALYZE TABLE to update index cardinality and other statistics also for an InnoDB table; note that the estimates are based on 10 random dives, not on an exhaustive read of the table
sql/ha_innodb.h:
  Make ANALYZE TABLE to update index cardinality and other statistics also for an InnoDB table; note that the estimates are based on 10 random dives, not on an exhaustive read of the table
2003-04-24 15:34:43 +03:00
unknown
cdf3e090e5 Fixed bug in SET SQL_BIG_SELECTS
mysql-test/r/select_safe.result:
  Updated results
mysql-test/t/select_safe.test:
  Added test for SQL_BIG_SELECTS
sql/set_var.cc:
  Fixed bug in SQL_BIG_SELECTS
sql/share/czech/errmsg.txt:
  Updated error messages
sql/share/danish/errmsg.txt:
  Updated error messages
sql/share/dutch/errmsg.txt:
  Updated error messages
sql/share/english/errmsg.txt:
  Updated error messages
sql/share/estonian/errmsg.txt:
  Updated error messages
sql/share/french/errmsg.txt:
  Updated error messages
sql/share/german/errmsg.txt:
  Updated error messages
sql/share/greek/errmsg.txt:
  Updated error messages
sql/share/hungarian/errmsg.txt:
  Updated error messages
sql/share/italian/errmsg.txt:
  Updated error messages
sql/share/japanese/errmsg.txt:
  Updated error messages
sql/share/korean/errmsg.txt:
  Updated error messages
sql/share/norwegian-ny/errmsg.txt:
  Updated error messages
sql/share/norwegian/errmsg.txt:
  Updated error messages
sql/share/portuguese/errmsg.txt:
  Updated error messages
sql/share/romanian/errmsg.txt:
  Updated error messages
sql/share/russian/errmsg.txt:
  Updated error messages
sql/share/slovak/errmsg.txt:
  Updated error messages
sql/share/spanish/errmsg.txt:
  Updated error messages
sql/share/swedish/errmsg.txt:
  Updated error messages
sql/share/ukrainian/errmsg.txt:
  Updated error messages
2003-04-24 09:18:53 +03:00
unknown
81a83ca8b6 Changed test slightly to make it repeatable
(There was a problem on some AMD system when the floating point precision wasn't accurate enough)


mysql-test/r/group_by.result:
  new test result
mysql-test/t/group_by.test:
  Changed test slightly to make it repeatable
2003-04-24 02:23:25 +03:00
unknown
1a4a359e2b Merge bk-internal:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-04-24 01:44:26 +04:00
unknown
051859aaab merge
sql/ha_innodb.cc:
  Auto merged
sql/ha_innodb.h:
  Auto merged
sql/mysqld.cc:
  Auto merged
sql/sql_list.h:
  Auto merged
support-files/my-huge.cnf.sh:
  Added query_cache_size
support-files/my-large.cnf.sh:
  Added query_cache_size
2003-04-24 00:36:48 +03:00
unknown
4c1bdeaf92 Merge pgulutzan@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/pgulutzan/mysql-4.0
2003-04-23 13:21:25 -07:00
unknown
148472b471 Minor changes to PeterG's internals documentation per comments
from Monty.
2003-04-23 13:20:23 -07:00
unknown
7032486889 Fixes for valgrind
Added optimzation for clustered index
Fixed bug in UPDATE ... ORDER BY
Fixed handling of UPDATE ... LIMIT


BitKeeper/deleted/.del-.cvsignore~7e29af89a3559f4c:
  Delete: Images/.cvsignore
BitKeeper/deleted/.del-README~d5a4e7ca3a2e87a9:
  Delete: repl-tests/README
BitKeeper/deleted/.del-run-all-tests~4deb6479a13e4568:
  Delete: repl-tests/run-all-tests
BitKeeper/deleted/.del-run.test~3dc5b9bd1e9feea5:
  Delete: repl-tests/test-repl-alter/run.test
BitKeeper/deleted/.del-run.test~4020771cff278f14:
  Delete: repl-tests/test-bad-query/run.test
BitKeeper/deleted/.del-run.test~452f2b66537404a8:
  Delete: repl-tests/test-dump/run.test
BitKeeper/deleted/.del-run.test~b1f0c1f96554df8:
  Delete: repl-tests/test-auto-inc/run.test
BitKeeper/deleted/.del-table-dump-check.master~e13afeb8c79264b5:
  Delete: repl-tests/test-dump/table-dump-check.master
BitKeeper/deleted/.del-table-dump-select.master~744acb955e33f3db:
  Delete: repl-tests/test-dump/table-dump-select.master
BitKeeper/deleted/.del-x.master~29a93ed7956c8693:
  Delete: repl-tests/test-auto-inc/x.master
BitKeeper/deleted/.del-x.master~3b248cbac9abda2b:
  Delete: repl-tests/test-bad-query/x.master
BitKeeper/deleted/.del-foo-dump-master.master~b49ae6bec1e918ee:
  Delete: repl-tests/test-repl/foo-dump-master.master
BitKeeper/deleted/.del-foo-dump-slave.master~f16ed20457d59be9:
  Delete: repl-tests/test-repl/foo-dump-slave.master
BitKeeper/deleted/.del-repl-timestamp.master.reject~3492d2b74b413771:
  Delete: repl-tests/test-repl-ts/repl-timestamp.master.reject
BitKeeper/deleted/.del-repl-timestamp.master~4b7782da5cc13161:
  Delete: repl-tests/test-repl-ts/repl-timestamp.master
BitKeeper/deleted/.del-run.test~a1e32ea1e4253af4:
  Delete: repl-tests/test-repl/run.test
BitKeeper/deleted/.del-run.test~ce5e626c91b760ec:
  Delete: repl-tests/test-repl-ts/run.test
BitKeeper/deleted/.del-sum-wlen-master.master~1a5ea625c79e978:
  Delete: repl-tests/test-repl/sum-wlen-master.master
BitKeeper/deleted/.del-sum-wlen-slave.master~f016d98833433084:
  Delete: repl-tests/test-repl/sum-wlen-slave.master
BitKeeper/deleted/.del-test.master~5829e7b3770179db:
  Delete: repl-tests/test-repl-alter/test.master
BitKeeper/deleted/.del-master-slave.inc~6775f6ae10137c39:
  Delete: repl-tests/include/master-slave.inc
include/my_global.h:
  Fix for purify/valgrind
myisam/mi_info.c:
  Updated comment
mysql-test/r/group_by.result:
  New test results
mysql-test/r/innodb.result:
  New test results
mysql-test/r/join_outer.result:
  New test results
mysql-test/r/multi_update.result:
  New test results
mysql-test/r/null_key.result:
  New test results
mysql-test/r/update.result:
  New test results
mysql-test/t/group_by.test:
  Added extra explain to 'suspicious' test.
mysql-test/t/innodb.test:
  Added test for UPDATE ... ORDER BY
mysql-test/t/join_outer.test:
  Changed test to be repeatable
mysql-test/t/multi_update.test:
  Slight change of test to catch more bugs
mysql-test/t/update.test:
  Better test for UPDATE ... ORDER BY
sql/field.cc:
  Simple optimization
sql/ha_heap.h:
  Added optimzation for clustered index
sql/ha_innodb.cc:
  Added optimzation for clustered index
sql/ha_innodb.h:
  Added optimzation for clustered index
sql/handler.h:
  Added optimzation for clustered index
sql/item_sum.cc:
  Removed some usage of current_thd
sql/mysqld.cc:
  Fix bug when compiling for purify/valgrind
sql/opt_range.cc:
  Added optimzation for clustered index
sql/records.cc:
  Fixed comment
sql/sql_list.h:
  Fixed comment
sql/sql_select.cc:
  Removed some usage of current_thd
sql/sql_select.h:
  Removed some usage of current_thd
sql/sql_union.cc:
  Removed some usage of current_thd
sql/sql_update.cc:
  Fixed bug in UPDATE ... ORDER BY
  Fixed handling of UPDATE ... LIMIT
support-files/my-huge.cnf.sh:
  Added default size for query cache
support-files/my-large.cnf.sh:
  Added default size for query cache
2003-04-23 21:52:16 +03:00
unknown
18c1a9bd07 do not execute \* commands inside identifiers 2003-04-23 22:46:47 +04:00
unknown
d7fee29e2f config-win.h:
Enable 'LOAD LOCAL INFILE', for parity with unix binaries.


include/config-win.h:
  Enable 'LOAD LOCAL INFILE', for parity with unix binaries.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2003-04-23 13:43:31 -05:00
unknown
562fe48731 Modify PeterG's internals documentation per Monty. Added
more detailed explanation of record header and column 
storage.


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2003-04-23 11:43:30 -07:00
unknown
c14f989ff8 Task 761:'mysqlbinlog should not die when reading
unknown event'


client/mysqlbinlog.cc:
  Task 761:'mysqlbinlog should not die when reading
  unknown event'
  The 'force-read' option has been added.
sql/log_event.cc:
  Task 761:'mysqlbinlog should not die when reading
  unknown event'
  The'Unknown_log_event' class has been added
sql/log_event.h:
  Task 761:'mysqlbinlog should not die when reading
  unknown event'
  The 'Unknown_log_event' class has been added.
2003-04-23 18:00:07 +05:00
unknown
b5349385a0 Merge bk-internal:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-04-23 15:53:40 +04:00
unknown
b21a0be804 bug 283: FULLTEXT index on a TEXT filed converted to a CHAR field doesn't work anymore 2003-04-23 15:44:39 +04:00
unknown
29b593987d correct test result 2003-04-23 15:37:11 +04:00
unknown
a792b31b90 - added $(SUPERCLEANFILES) to DISTCLEANFILES (bug #201) - thanks to
Christian Hammers for providing this patch
2003-04-23 12:44:00 +02:00
unknown
d19ba33f98 warning when a 4.1 MYI file is opened in 4.0 2003-04-23 14:03:21 +04:00
unknown
2c2bc003e2 - updated sample my.cnf files: removed deprecated set-variable keywords
support-files/my-huge.cnf.sh:
   - removed deprecated "set-variable" keywords from options
support-files/my-large.cnf.sh:
   - removed deprecated "set-variable" keywords from options
support-files/my-medium.cnf.sh:
   - removed deprecated "set-variable" keywords from options
support-files/my-small.cnf.sh:
   - removed deprecated "set-variable" keywords from options
2003-04-23 01:51:28 +02:00
unknown
2d1411dffa Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
2003-04-23 01:51:27 +02:00
unknown
e103eeb2bb - Only ignore _regular_ world-writeable files (thanks to Tim Bunce for
discovering this)
2003-04-23 01:51:26 +02:00
unknown
3973401721 row0mysql.c:
Give sensible advice to the user if InnoDB notices index corruption


innobase/row/row0mysql.c:
  Give sensible advice to the user if InnoDB notices index corruption
2003-04-23 02:51:25 +03:00
unknown
ce0dbf7915 - fixed typo in instructions on how to add a PATH to .tcshrc on Mac OS X 2003-04-23 01:51:25 +02:00
unknown
bd49da2606 Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.0
into eagle.mysql.r18.ru:/home/vva/work/LOADDATA_BUG/mysql-4.0
2003-04-22 19:51:24 -04:00
unknown
74eb0b1089 Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0
into eagle.mysql.r18.ru:/home/vva/work/LOADDATA_BUG/mysql-4.0


sql/log_event.cc:
  Auto merged
2003-04-22 19:50:21 -04:00
unknown
60d620aee0 fix error message for for load data infile 2003-04-22 19:38:57 -04:00
unknown
b534154b12 do not mark the table as analyzed unless all the key parts are REALLY analyzed. 2003-04-23 00:53:07 +04:00
unknown
c798445608 buf0buf.c:
No buffer pool activity in SHOW INNODB STATUS actually meant no page gets


innobase/buf/buf0buf.c:
  No buffer pool activity in SHOW INNODB STATUS actually meant no page gets
2003-04-21 12:56:54 +03:00
unknown
61e368438a univ.i:
If HAVE_purify is defined, define UNIV_SET_MEM_TO_ZERO to eliminate Purify warnings


innobase/include/univ.i:
  If HAVE_purify is defined, define UNIV_SET_MEM_TO_ZERO to eliminate Purify warnings
2003-04-20 19:36:09 +03:00
unknown
480dbf0f30 buf0buf.c:
Do not set buffer pool to zero when we start up: that takes too much time for big buffer pools; Purify users must define UNIV_SET_MEM_TO_ZERO in univ.i to eliminate spurious (?) Purify warnings


innobase/buf/buf0buf.c:
  Do not set buffer pool to zero when we start up: that takes too much time for big buffer pools; Purify users must define UNIV_SET_MEM_TO_ZERO in univ.i to eliminate spurious (?) Purify warnings
2003-04-19 20:09:01 +03:00
unknown
b09b7a1f19 ha_innodb.cc:
Prevent crash if MySQL calls rnd_end WITOUT calling rnd_init first: only restore active_index if it the old value was pushed in rnd_init
  Initialize active_index to a sensible value: prevent crash if we restore it to the original value after an table scan


sql/ha_innodb.cc:
  Prevent crash if MySQL calls rnd_end WITOUT calling rnd_init first: only restore active_index if it the old value was pushed in rnd_init
2003-04-18 22:06:10 +03:00
unknown
4643820397 ha_innodb.h, ha_innodb.cc:
Make InnoDB to restore old active_index value after a table scan: MySQL may assume that a scan does NOT change active_index; this partially fixes bug 241 of UPDATE ... ORDER BY ... but it still remains that MySQL actually ignores the ORDER BY for both MyISAM and InnoDB tables
log0recv.c:
  Use fflush to make sure report of a corrupt log record is printed to .err log before mysqld crashes


innobase/log/log0recv.c:
  Use fflush to make sure report of a corrupt log record is printed to .err log before mysqld crashes
sql/ha_innodb.cc:
  Make InnoDB to restore old active_index value after a table scan: MySQL may assume that a scan does NOT change active_index; this partially fixes bug 241 of UPDATE ... ORDER BY ... but it still remains that MySQL actually ignores the ORDER BY for both MyISAM and InnoDB tables
sql/ha_innodb.h:
  Make InnoDB to restore old active_index value after a table scan: MySQL may assume that a scan does NOT change active_index; this partially fixes bug 241 of UPDATE ... ORDER BY ... but it still remains that MySQL actually ignores the ORDER BY for both MyISAM and InnoDB tables
2003-04-18 18:42:43 +03:00
unknown
88ebdaaa0c row0sel.c:
Do not allow InnoDB to cache result set in HANDLER because user can use PREV and NEXT and scroll the cursor


innobase/row/row0sel.c:
  Do not allow InnoDB to cache result set in HANDLER because user can use PREV and NEXT and scroll the cursor
2003-04-17 02:51:50 +03:00