Commit graph

1338 commits

Author SHA1 Message Date
jonas@perch.ndb.mysql.com
79d8773e31 ndb -
revert fix bug#21052 as it's wrong, and induces bus-error on node crashes
2006-10-22 08:24:31 +02:00
tsmith/tim@siva.hindu.god
09e094850b Applied InnoDB snapshot 5.1-ss927
Fixes:
- Bug #23368: crash during insert, table has foreign key pointing into other schema,permission
2006-10-20 13:44:49 -06:00
tsmith/tim@siva.hindu.god
032f356f7c Apply InnoDB snapshot ss923
Fixes:
- Bug #18077: InnoDB uses full explicit table locks in stored FUNCTION
2006-10-20 12:36:15 -06:00
jonas@perch.ndb.mysql.com
bcb92268e7 merge 2006-10-20 16:26:40 +02:00
jonas@perch.ndb.mysql.com
c2dcd9a9f0 Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/51-work
2006-10-20 16:25:14 +02:00
jonas@perch.ndb.mysql.com
ff05ba5131 ndb - bug#23494
Fix bug in restore with table with many columns, Compute size of databuffer pool correctly
2006-10-20 14:37:34 +02:00
jonas@perch.ndb.mysql.com
07c6a601ea ndb -
Add better error message if getting error in RESTORE
2006-10-20 14:36:39 +02:00
jonas@perch.ndb.mysql.com
6980a0090f merge 2006-10-20 14:35:22 +02:00
jonas@perch.ndb.mysql.com
4218eb0fde Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/51-work
2006-10-20 14:31:39 +02:00
gkodinov@dl145s.mysql.com
bb0422a0b0 Merge bk-internal:/home/bk/mysql-5.1
into  dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.1-opt
2006-10-20 11:12:35 +02:00
svoj@april.(none)
8b01686765 Merge mysql.com:/home/svoj/devel/mysql/engines/mysql-5.0-engines
into  mysql.com:/home/svoj/devel/mysql/engines/mysql-5.1-engines
2006-10-19 19:59:57 +05:00
gkodinov@dl145s.mysql.com
ea8ba03556 Merge dl145s.mysql.com:/data/bk/team_tree_merge/mysql-5.1
into  dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.1-opt
2006-10-19 16:00:06 +02:00
pekka@orca.ndb.mysql.com
16ff0ddb4c Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my50-tux
into  orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-tux
2006-10-19 12:29:24 +02:00
jonas@perch.ndb.mysql.com
d82797ec8f Merge perch.ndb.mysql.com:/home/jonas/src/51-work
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2006-10-19 11:23:34 +02:00
jonas@perch.ndb.mysql.com
61d7b5ca42 ndb - add temporary tables to hugo
and use it for testOperations/testTransactions
2006-10-19 11:20:04 +02:00
jonas@perch.ndb.mysql.com
5f69741462 ndb - bug#22672
fix another incorrect assertion
2006-10-19 11:18:04 +02:00
jonas@perch.ndb.mysql.com
5feaf8cafd ndb - fix incorrect assertion
Dont assert when getting gci=0 in read only transaction
2006-10-19 10:43:25 +02:00
jonas@perch.ndb.mysql.com
e3d84b36db Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/51-work
2006-10-19 10:29:52 +02:00
istruewing@chilla.local
5af9dfa6ba Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into  chilla.local:/home/mydev/mysql-5.1-merge
2006-10-19 10:15:08 +02:00
jonas@perch.ndb.mysql.com
0192b43927 ndb - bug#23430
make sure not to release log buffer twice (or several times) in case of abort of multi update
2006-10-18 20:54:25 +02:00
holyfoot/hf@deer.(none)
33a0e82f6e Merge mysqldev@production.mysql.com:my/mysql-5.1-release
into  mysql.com:/home/hf/work/mysql-5.1-release
2006-10-18 18:53:08 +05:00
stewart@willster.(none)
1d70db173f Merge bk-internal.mysql.com:/home/bk/mysql-5.1-ndb
into  willster.(none):/home/stewart/Documents/MySQL/5.1/bug19914-mk2-merge
2006-10-18 22:23:14 +10:00
holyfoot/hf@mysql.com/deer.(none)
b8e31d05f1 bug #23369 (Embedded library can't be linked)
Problem is that some files moved to storage/*/ still are dependent
on sql/ code (usually use members of THD structure)
that can get different being compiled with another #define-s
Code added to recompile these for the embedded server
2006-10-18 17:03:37 +05:00
stewart@willster.(none)
71636edc16 Merge willster.(none):/home/stewart/Documents/MySQL/5.0/bug19914-mk2-merge
into  willster.(none):/home/stewart/Documents/MySQL/5.1/bug19914-mk2-merge
2006-10-18 18:51:39 +10:00
stewart@willster.(none)
467903724c Merge willster.(none):/home/stewart/Documents/MySQL/5.1/ndb
into  willster.(none):/home/stewart/Documents/MySQL/5.1/bug21253
2006-10-18 18:41:43 +10:00
stewart@willster.(none)
73831dad50 Bug #19148 Backup causes cluster down if _really_ early abort happens
Early abort, failing to allocate buffers, would go down the abort track and
 end up trying to sendDropTriggers (as the standard stop backup does). 
However, it is possible to not have any tables yet defined in the backup 
(due to allocating buffers is before this). Simple check in sendDropTrig 
(and continue to next step). Files may be open, so we continue to close them.

Also updated ERROR_Codes (and added one to test this bug).
2006-10-18 18:19:16 +10:00
jonas@perch.ndb.mysql.com
5bce99a90b ndb -
Fix uninit variable, causing problems with auto-increment on rhas3-x86 (only found on this platform, really weird)
2006-10-18 10:07:02 +02:00
cmiller@zippy.cornsilk.net
184467a2cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
2006-10-17 11:23:07 -04:00
jonas@perch.ndb.mysql.com
6439d381a0 ndb - fix some ndb strict-alias problems
found with gcc 4.0.2 on Itanium2
  (ndb_dd_* failures)
2006-10-16 23:37:00 +02:00
istruewing@chilla.local
8c6ba6ebb2 Merge chilla.local:/home/mydev/mysql-5.1--team
into  chilla.local:/home/mydev/mysql-5.1-ateam
2006-10-16 12:43:03 +02:00
pekka@orca.ndb.mysql.com
6b6cac0ded Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-ndb
into  orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-bug21191
2006-10-16 11:44:53 +02:00
stewart@willster.(none)
975e2f37b9 BUG#21253 NdbApi.h should not include my_config.h 2006-10-16 17:01:01 +10:00
pekka@orca.ndb.mysql.com
e52bd4be2b Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-ndb
into  orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-bug21191
2006-10-15 12:11:52 +02:00
mmj@tiger.local
8353d3e69e DictTabInfo.cpp:
Fix for bug#23169 - memset param switching
2006-10-14 00:42:39 +02:00
petr/cps@mysql.com/owlet.local
6846f8d9c4 Fix for Bug #17544 "Cannot do atomic log rotate",
Bug #21785 "Server crashes after rename of the log table" and
Bug #21966 "Strange warnings on create like/repair of the log
            tables"

According to the patch, from now on, one should use RENAME to
perform a log table rotation (this should also be reflected in
the manual).

Here is a sample:

use mysql;
CREATE TABLE IF NOT EXISTS general_log2 LIKE general_log;
RENAME TABLE general_log TO general_log_backup, general_log2 TO general_log;

The rules for Rename of the log tables are following:
      IF   1. Log tables are enabled
      AND  2. Rename operates on the log table and nothing is being
              renamed to the log table.
      DO   3. Throw an error message.
      ELSE 4. Perform rename.
 
The very RENAME query will go the the old (backup) table. This is
consistent with the behavoiur we have with binlog ROTATE LOGS
statement.

Other problems, which are solved by the patch are:

1) Now REPAIR of the log table is exclusive operation (as it should be), this
   also eliminates lock-related warnings. and
2) CREATE LIKE TABLE now usese usual read lock on the source table rather
   then name lock, which is too restrictive. This way we get rid of another
   log table-related warning, which occured because of the above fact
   (as a side-effect, name lock resulted in a warning).
2006-10-13 17:26:46 +04:00
jonas@perch.ndb.mysql.com
64cba8676a fix merge problem 2006-10-13 13:54:47 +02:00
jonas@perch.ndb.mysql.com
44310b1430 Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/51-work
2006-10-13 12:13:09 +02:00
jonas@perch.ndb.mysql.com
d0bd8a8a41 ndb - fix memleak (due to incorrect merge of bug#21941)
recommit into release-clone
2006-10-13 10:11:18 +02:00
stewart@willster.(none)
a5e99f90c5 Merge willster.(none):/home/stewart/Documents/MySQL/5.1/main
into  willster.(none):/home/stewart/Documents/MySQL/5.1/ndb
2006-10-13 15:12:57 +10:00
jonas@perch.ndb.mysql.com
06eb6c1b95 Merge perch.ndb.mysql.com:/home/jonas/src/51-work
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2006-10-12 19:01:15 +02:00
jonas@perch.ndb.mysql.com
a54087870c Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/51-work
2006-10-12 18:58:52 +02:00
jonas@perch.ndb.mysql.com
cce815f787 Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/51-work
2006-10-12 14:09:03 +02:00
bar@bar.intranet.mysql.r18.ru
d19c38dbc6 Merge mysql.com:/usr/home/bar/mysql-5.0-rpl.b22052
into  mysql.com:/usr/home/bar/mysql-5.1-rpl
2006-10-12 09:40:01 +05:00
istruewing@chilla.local
61a5ddbd19 Bug#21627 - Warnings in build of myisampack
Added proper casts

No test case. myisampack must be tested manually.
2006-10-11 16:36:24 +02:00
andrey@example.com
2e2339e125 Merge example.com:/work/bug23074/my50-bug23074
into  example.com:/work/bug23074/my51-bug23074
2006-10-11 11:48:33 +02:00
pekka@orca.ndb.mysql.com
375faa3b52 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb
into  orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-ndb
2006-10-11 05:16:50 +02:00
lars@black.(none)
0b4e65e12b Merge mysql.com:/home/bkroot/mysql-5.1-new-rpl
into  mysql.com:/home/bk/MERGE/mysql-5.1-merge
2006-10-10 21:59:23 +02:00
istruewing@chilla.local
bd69350e43 Bug#8283 - OPTIMIZE TABLE causes data loss
After merge fix. Renamed 'info' -> 'sort_param'.
2006-10-10 20:01:39 +02:00
jonas@perch.ndb.mysql.com
84e4df338d Merge perch.ndb.mysql.com:/home/jonas/src/51-work
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2006-10-10 15:27:47 +02:00
jonas@perch.ndb.mysql.com
94b8e56144 ndb -
ndb_restore Return OK even if temporary errors
    (otherwise mysql-test-run/ndb_restore can fail on really slow machines)
2006-10-10 15:26:39 +02:00