monty@mysql.com
b32ffec8fd
Fix test case for innodb-lock
2004-10-20 16:04:28 +03:00
monty@mysql.com
1f8b3d0f22
Code cleanups (done during review of new code)
...
Rename innodb_table_locks_old_behavior -> innodb_table_locks
Set innodb_table_locks to off by default to get same behaviour as in MySQL 4.0.20
(This means that Innodb ignore table locks by default, which makes it easier to combine MyISAM and InnoDB to simulate a transaction)
2004-10-20 11:24:08 +03:00
bell@sanja.is.com.ua
72fca68a1d
fixed retsult code
2004-10-19 11:54:33 +03:00
dellis@goetia.(none)
34e5df0d36
Merge dellis@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into goetia.(none):/home/dellis/mysqlab/bk/mysql-4.0
2004-10-17 18:47:08 -05:00
dellis@goetia.(none)
b9509655a5
mysqld.cc:
...
BUG #5731 key_buffer_size not properly restricted to 4GB; use UINT_MAX32 for clarity.
2004-10-17 18:44:51 -05:00
marko@hundin.mysql.fi
90528cbaaa
Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into hundin.mysql.fi:/home/marko/k/mysql-4.0
2004-10-15 14:38:59 +03:00
ingo@mysql.com
4082bea2a4
Merge mysql.com:/home/mydev/mysql-4.0
...
into mysql.com:/home/mydev/mysql-4.0-bug5625
2004-10-14 20:04:47 +02:00
ingo@mysql.com
150ab94e0a
BUG#5625 - MyISAM Index corruption on ALTER TABLE x ENABLE KEYS due to full tmpdir.
...
Added a try to a normal repair() if repair_by_sort() failed.
This was not done with ENABLE KEYS and OPTIMIZE TABLE.
Fixed error code handling in mysql_alter_table().
2004-10-14 20:02:56 +02:00
marko@hundin.mysql.fi
edb93ca441
Added startup option and settable session variable
...
innodb_table_locks_old_behavior: do not acquire an
InnoDB table lock for LOCK TABLES, as in mysql-4.0.18
and earlier.
2004-10-13 22:54:21 +03:00
heikki@hundin.mysql.fi
41ab008a36
ha_innodb.cc:
...
Change error code to HA_ERR_ROW_IS_REFERENCED if we cannot DROP a parent table referenced by a FOREIGN KEY constraint; this error number is less misleading than the previous value HA_ERR_CANNOT_ADD_FOREIGN, but misleading still; we should introduce to 5.0 a proper MySQL error code
2004-10-12 18:12:00 +03:00
guilhem@mysql.com
c84737d6e8
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/mysql_src/mysql-4.0
2004-10-11 11:02:24 +02:00
guilhem@mysql.com
13af58aab6
Fix for BUG#5949 "error code 1223 in binlog when using innobackup":
...
when one connection had done FLUSH TABLES WITH READ LOCK, some updates, and then COMMIT,
it was accepted but my_error() was called and so, while client got no error, error was logged in binlog.
We now don't call my_error() in this case; we assume the connection know what it does.
This problem was specific to 4.0.21. The change is needed to make replication work with existing versions of innobackup.
2004-10-11 11:01:38 +02:00
monty@mysql.com
d2a5548431
Using MySQL 4.0 with privilege tables from 5.0 caused a crash.
...
(Fixed this by backporting some logic from 4.1)
2004-10-08 16:32:56 +03:00
monty@mysql.com
97febc4dc4
Code cleanups while doing review of pushed code
2004-10-06 17:20:39 +03:00
ram@gw.mysql.r18.ru
0944bed7fc
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b5733
2004-10-06 12:49:56 +05:00
monty@mysql.com
992b04d3d8
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/my/mysql-4.0
2004-10-06 01:25:55 +03:00
monty@mysql.com
c27d22b44e
Reverted patch for new usage of open_count as it caused more problems than it solved
...
Cleaned up patch for checking locks for multi-table updates
2004-10-06 01:24:21 +03:00
hf@deer.(none)
7ce60487d9
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into deer.(none):/home/hf/work/mysql-4.0
2004-10-05 21:21:27 +05:00
hf@deer.(none)
ee3b6340b0
Fix for #5730 (Query cache crashes server)
...
Recusive part leads to stack overflow
2004-10-05 21:19:40 +05:00
marko@hundin.mysql.fi
8ade0f9a14
Merge marko@build.mysql.com:/home/bk/mysql-4.0
...
into hundin.mysql.fi:/home/marko/k/mysql-4.0
2004-10-05 17:12:16 +03:00
marko@hundin.mysql.fi
42f3c0eb5b
Merge marko@build.mysql.com:/home/bk/mysql-4.0
...
into hundin.mysql.fi:/home/marko/k/mysql-4.0
2004-10-05 15:15:45 +03:00
Sinisa@sinisa.nasamreza.org
19c112dfb5
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2004-10-05 14:54:40 +03:00
Sinisa@sinisa.nasamreza.org
2ffb87f6a5
Fix for wrongly calculated Examined_rows in 4.0 UNION's.
2004-10-05 14:47:10 +03:00
ingo@mysql.com
ca6533dbae
Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/mydev/mysql-4.0
2004-10-05 12:05:13 +02:00
joerg@mysql.com
1b39262a8b
Merge mysql.com:/M40/mysql-4.0 into mysql.com:/M40/push-4.0
2004-10-05 11:33:57 +02:00
ingo@mysql.com
c546074e21
Merge mysql.com:/home/mydev/mysql-4.0
...
into mysql.com:/home/mydev/mysql-4.0-bug4286
2004-10-05 11:33:13 +02:00
vva@eagle.mysql.r18.ru
91e8afac37
patch fixing after review on patch-fixing of
...
Bug #5492
"set @@session.read_rnd_buffer_size=33554432" crashes server on query
1. added warning comments for uint3korr (need one more byte allocated)
2. unsigned long in uint3korr was replaced by unsigned int to
avoid problems on 64-bits platforms
3. shorten warning comments in init_rr_cache in sql/records.cc
2004-10-04 23:26:42 +05:00
vva@eagle.mysql.r18.ru
d3dc011844
Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0
...
into eagle.mysql.r18.ru:/home/vva/work/BUG_5492/mysql-4.0
2004-10-04 21:30:45 +05:00
marko@hundin.mysql.fi
c0531d70f6
Merge marko@build.mysql.com:/home/bk/mysql-4.0
...
into hundin.mysql.fi:/home/marko/k/mysql-4.0
2004-10-04 15:17:32 +03:00
dellis@goetia.(none)
634df1c19c
mysqld.cc:
...
BUG #5731 Restrict key_buffer_size to 4GB on 64 bit platforms
2004-10-03 10:00:26 -05:00
antony@ltantony.rdg.cyberkinetica.homeunix.net
d67cd1af90
Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into ltantony.rdg.cyberkinetica.homeunix.net:/usr/home/antony/work/bug4118
2004-10-03 00:25:51 +01:00
antony@ltantony.rdg.cyberkinetica.homeunix.net
b36a565931
Merge ltantony.rdg.cyberkinetica.homeunix.net:/usr/home/staff/repositories/mysql-4.0
...
into ltantony.rdg.cyberkinetica.homeunix.net:/usr/home/antony/work/bug4118
2004-10-03 00:25:09 +01:00
antony@ltantony.rdg.cyberkinetica.homeunix.net
2973a047ea
Bug#4118: multi-table UPDATE takes WRITE lock on read table
...
Ensures that WRITE lock is not obtained on all tables referenced.
2004-10-03 00:20:47 +01:00
ram@gw.mysql.r18.ru
4ec50dc4d7
delete.result, delete.test:
...
A fix (bug #5733 : Table handler error with self-join multi-table DELETE).
records.cc:
A fix (bug #5733 : Table handler error with self-join multi-table DELETE).
2004-10-01 16:23:54 +05:00
joerg@mysql.com
b7f35f00cb
Solve compile problem for 4.0.22 on hpita2. (Backport of a 4.1 change)
2004-09-30 19:05:33 +02:00
rburnett@build.mysql.com
476705df18
Merge build.mysql.com:/home/bk/mysql-4.0
...
into build.mysql.com:/users/rburnett/mysql-4.0
2004-09-27 23:22:08 +02:00
dlenev@mysql.com
4ff9f1f558
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/dlenev/src/mysql-4.0-bg4131-3
2004-09-27 00:50:29 +04:00
dlenev@mysql.com
263b33e12d
Fix for bug #4131 "TIMESTAMP columns missing minutes and seconds when
...
using GROUP BY"
Now we are setting Field_timestamp::field_length to 19 in open_table()
if we are in new mode (and we are restoring it back when we are coming
back to normal mode). This also should solve potential problems with
some of LOAD DATA INFILE and SELECT * INTO in this mode.
2004-09-27 00:50:00 +04:00
rburnett@build.mysql.com
2bff96e291
Bug #5539 SHOW DATABASES LIKE and symlinks
...
sql_show.cc:
Made change suggested by Serge. REmoved else in mysql_find_files so symlink files fall through to the wildcard check
2004-09-25 18:43:07 +02:00
ingo@mysql.com
e47decfa7f
BUG#4286 - HANDLER tables are closed by FLUSH TABLE(S).
...
BUG#4335 - one name can be handler open'ed many times.
Reworked the HANDLER functions and interface.
Using a HASH to store information on open tables that
survives FLUSH TABLE.
HANDLER tables alias names must now be unique, though it
is allowed in 4.0 to qualify them with the database name
of the base table.
2004-09-24 18:39:25 +02:00
guilhem@mysql.com
53d0daa3a0
Fix for BUG#3248 "Doc says MyISAM warns if disk full but it does not":
...
we force the message to the error log, and we make it more informative;
we treat EDQUOT like ENOSPC.
2004-09-24 11:54:37 +02:00
rburnett@build.mysql.com
de9a058bfe
Bug #5539 SHOW DATABASES LIKE and symlinks
...
sql_show.cc:
Added wild card check to symdir block in mysql_find_files
2004-09-24 09:00:14 +02:00
guilhem@mysql.com
c163a67a4d
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/mysql_src/mysql-4.0
2004-09-23 17:56:21 +02:00
guilhem@mysql.com
564b8edb45
Fix for BUG#5711 "replication SQL thread does not abort on SQL syntax error":
...
in net_printf(), we fill net->last_* variables for the slave SQL thread to know the error.
2004-09-23 14:43:31 +02:00
ram@gw.mysql.r18.ru
5cf8e9d769
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b5415
2004-09-19 16:15:54 +05:00
ram@gw.mysql.r18.ru
62a42f7f57
A fix (Bug #5415 : Table marked as crashed after DELETE queries).
2004-09-19 16:15:01 +05:00
konstantin@mysql.com
704e0968d2
Change www.mysql.com -> dev.mysql.com in a reference to
...
how to resolve stack trace documentation.
2004-09-19 14:48:41 +04:00
ingo@mysql.com
c6dc339647
Merge mysql.com:/home/mydev/mysql-4.0
...
into mysql.com:/home/mydev/mysql-4.0-bug2831
2004-09-18 20:34:49 +02:00
ingo@mysql.com
7afb03b7ed
bug#2831 - --extenral-locking does not fully work with --myisam-recover.
...
Changed the semantics of open_count so that it is decremented
at every unlock (if it was incremented due to data changes).
So it indicates a crash, if it is non-zero after a lock.
The table will then be repaired.
2004-09-18 20:33:39 +02:00
gluh@gluh.mysql.r18.ru
276622c92d
Fix for bug #5595 : NULLIF() IS NULL returns false if NULLIF() returns NULL
2004-09-18 13:06:44 +04:00