ndbdev@dl145b.mysql.com
25cb14234a
sql_repl.cc:
...
Bug #11064 some read error not detected in replication on 64-bit platform
2005-06-03 11:16:37 +02:00
ingo@mysql.com
51d80960ea
Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
...
1.) Added a new option to mysql_lock_tables() for ignoring FLUSH TABLES.
Used the new option in create_table_from_items().
It is necessary to prevent the SELECT table from being reopend.
It would get new storage assigned for its fields, while the
SELECT part of the command would still use the old (freed) storage.
2.) Protected the CREATE TABLE and CREATE TABLE ... SELECT commands
against a global read lock. This prevents a deadlock in
CREATE TABLE ... SELECT in conjunction with FLUSH TABLES WITH READ LOCK
and avoids the creation of new tables during a global read lock.
3.) Replaced set_protect_against_global_read_lock() and
unset_protect_against_global_read_lock() by
wait_if_global_read_lock() and start_waiting_global_read_lock()
in the INSERT DELAYED handling.
2005-05-31 11:08:14 +02:00
serg@serg.mylan
2e93680773
Merge bk-internal:/home/bk/mysql-4.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2005-05-18 21:36:46 +02:00
serg@serg.mylan
50d369bb43
udf: when banning paths from soname in CREATE FUNCTION, check for \ on windows.
...
when reporting an error, use an appropriate buffer for udf->name
2005-05-18 21:31:39 +02:00
sergefp@mysql.com
510f662332
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/psergey/mysql-4.0-bug10095
2005-05-15 22:58:10 +02:00
sergefp@mysql.com
f08287f386
Fix for BUG#10095: {wrong query results because of incorrect constant propagation}
...
The problem: base_list::remove didn't modify base_list::last when removing
the last list element.
The fix: If we remove the last element, find the element before it (by walking
from the beginning of the list) and set base_list::last accordingly.
The list gets corrupted in both 4.0 and 4.1. There are no visible problems in
current 4.1 because current 4.1 doesn't call where_cond->fix_fields() after
constant propagation step.
2005-05-15 22:56:45 +02:00
monty@mysql.com
763250e7db
Fixed compiler failure
2005-05-14 17:08:43 +03:00
monty@mysql.com
20f969b256
Change create_field->offset to store offset from start of fields, independent of null bits.
...
Count null_bits separately from field offsets and adjust them in case of primary key parts.
(Previously a CREATE TABLE with a lot of null fields that was part of a primary key caused MySQL to wrongly count the number of bytes needed to store null bits)
This is a more complete bug fix for #6236
2005-05-13 11:11:50 +03:00
antony@ltantony.mysql.com
714994e3e6
Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into ltantony.mysql.com:/usr/home/antony/work2/megapatch-4.0
2005-05-08 23:24:33 +01:00
antony@ltantony.mysql.com
10b460e780
Merge ltantony.mysql.com:/usr/home/antony/work2/p4-bug8191
...
into ltantony.mysql.com:/usr/home/antony/work2/megapatch-4.0
2005-05-08 23:07:46 +01:00
antony@ltantony.mysql.com
b6609031fa
Bug#8191 - SELECT INTO OUTFILE insists on FROM clause
...
Fix bug + include test case.
Enable outfile tests.
2005-05-08 22:56:58 +01:00
antony@ltantony.mysql.com
d51308aec4
Bug#6236
...
Incomplete ALTER TABLE breaks MERGE compatibility
Fix implicit NOT NULL not set on ALTER of PK columns
2005-05-08 21:03:50 +01:00
mwagner@ultrafly.mysql.com
9f92bd5e25
Merge bk-internal:/home/bk/mysql-4.0
...
into ultrafly.mysql.com:/Users/mwagner/work/bk/mysql-4.0
2005-05-07 22:08:05 +02:00
svoj@mysql.com
f0841a2771
Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/svoj/devel/mysql/7709-mysql-4.0
2005-05-07 21:39:29 +05:00
mwagner@ultrafly.mysql.com
ded73eddf7
errmsg.txt:
...
Add newline at EOF for proper processing by comp-err.exe on Windows where fgets() works differently than Linux (Bug #6195 ).
2005-05-07 15:11:31 +02:00
svoj@mysql.com
c7f0fcab23
BUG#7709 fix - Boolean fulltext query against unsupported engines does not
...
fail.
2005-05-07 15:48:56 +05:00
gbichot@production.mysql.com
a1948f769c
[backport of 4.1, because 4.0 autobuild now hits the same problem;
...
when merging just use "ul"] In configure.in, don't remove $AVAILABLE_LANGUAGES_ERRORS_RULES at end
because config.status may later need this file (if it does not find it
it won't incorporate dependencies of errmsg.sys in sql/share/Makefile).
In sql/share/Makefile.am using "all:" leads to double-"all:" in Makefile.
2005-05-07 11:35:14 +02:00
antony@ltantony.mysql.com
bf17b75a28
Bug#6616
...
MySQL server 100% CPU if FLUSH TABLES WITH READ LOCK + INSERT
Infinite loop caused by missing update to thd version.
2005-05-06 14:42:28 +01:00
ingo@mysql.com
0998abc831
Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock
...
Added protection against global read lock while creating and
initializing a delayed insert handler.
Allowed to ignore a global read lock when locking the table
inside the delayed insert handler.
Added some minor improvements.
2005-04-27 12:40:37 +02:00
lenz@mysql.com
a42c7d442e
- added missing copyright headers to several Makefile.am's (noticed
...
while testing changes to the mysql-copyright scripts
2005-04-19 17:00:05 +02:00
serg@serg.mylan
08ae28f4b8
BUG#9922 - INSERT SELECT with UNIONs allows concurrent INSERTs
...
don't set lex->lock_option=TL_READ in the parser for SELECT
2005-04-15 19:20:15 +02:00
serg@serg.mylan
b07b5f7a6d
Merge bk-internal:/home/bk/mysql-4.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2005-04-14 22:09:38 +02:00
serg@serg.mylan
533e0551f2
TRUNCATE is always a transaction on itself. pretent we're in auto-commit mode
...
bug#8151
2005-04-14 18:14:54 +02:00
dlenev@mysql.com
06e3647274
Fix for bug #9796 "Query Cache caches queries with CURRENT_USER()
...
function".
We should not cache queries using CURRENT_USER() function as we do it
for some other functions, e.g. USER() function.
2005-04-11 00:30:23 +04:00
dlenev@mysql.com
a663889569
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/dlenev/src/mysql-4.0-bg8894
2005-04-03 09:48:09 +04:00
serg@serg.mylan
3098b93ef8
bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names
...
sql/sql_table.cc: print an error with a function that respects width modifiers (%.64s)
2005-04-02 20:13:19 +02:00
serg@serg.mylan
2a297353c6
don't strcmp db if it's a pattern
2005-03-30 10:43:24 +02:00
dlenev@mysql.com
6d6d04a0ba
Fix for bug #8894 "TIMESTAMP values scrambled/misaligned when using --new".
...
Fixed Field_timestamp::val_int() so now it works correctly in --new mode
(or for TIMESTAMP(19) columns).
Also removed unused Field_timestamp::fill_and_store() method.
2005-03-28 23:36:25 +04:00
serg@serg.mylan
b100adf750
Merge bk-internal:/home/bk/mysql-4.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2005-03-26 19:49:17 +01:00
serg@serg.mylan
72c9ac844b
fixes for "backport wild_compare fix from 4.1 - bug#3924"
2005-03-26 19:46:42 +01:00
gbichot@quadxeon.mysql.com
3cb85a4740
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into quadxeon.mysql.com:/nfstmp1/guilhem/mysql-4.0-4xeon
2005-03-17 15:51:52 +01:00
gbichot@quadxeon.mysql.com
d823bee92a
safer creation of temp files used in replication of LOAD DATA INFILE.
...
When we come to create these, they may already exist and it's necessary to delete these old, useless copies.
2005-03-17 14:39:39 +01:00
ramil@mysql.com
a773916238
A fix (bug #8942 : SUBSTRING_INDEX in UPDATE causes internal loop).
2005-03-17 10:24:50 +04:00
sergefp@mysql.com
5d865045c9
Fix for BUG#8711: "<=>" may have true value for NULL arguments, so make
...
Item_func_equal::not_null_tables() always return 0.
2005-03-11 02:17:03 +03:00
igor@rurik.mysql.com
4559fb998b
func_str.result, func_str.test:
...
Added a test case for bug #8669 .
item_strfunc.cc:
Fixed bug #8669 .
Function AES_DECRYPT can return NULL value.
2005-03-09 00:15:51 -08:00
gluh@gluh.mysql.r18.ru
00449b8f9c
Fix for bug#8978 : Crash on 'select format ...'
2005-03-07 18:56:18 +03:00
joerg@mysql.com
136c1ea181
Changed C++ style comment to C style for 'sql/net_serv.cc' which will be symlinked
...
to 'libmysql/net.c'.
2005-03-04 11:07:56 +01:00
serg@serg.mylan
08d5ef6507
typos fixed
2005-03-03 23:10:23 +01:00
serg@serg.mylan
45641ff65c
Merge bk-internal:/home/bk/mysql-4.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2005-03-03 21:13:57 +01:00
serg@serg.mylan
f84bd700b3
uninit variable fixed
2005-03-03 21:13:33 +01:00
serg@serg.mylan
8d9a53a78c
Fixes for bugs reported by Stefano Di Paola (stefano.dipaola@wisec.it)
2005-03-03 19:51:29 +01:00
sergefp@mysql.com
a06c6d41bb
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/psergey/mysql-4.0-look
2005-02-28 15:40:45 +03:00
mats@mysql.com
a4cdb93b38
Merge mysql.com:/home/bkroot/mysql-4.0
...
into mysql.com:/home/bk/b8412-mysql-4.0
2005-02-23 19:40:31 +01:00
mats@mysql.com
d0f1b5f3fd
Merge mysql.com:/home/bkroot/mysql-4.0
...
into mysql.com:/home/bk/b7879-mysql-4.0
2005-02-18 13:50:19 +01:00
igor@rurik.mysql.com
d9f66a261b
Merge rurik.mysql.com:/home/igor/mysql-4.0
...
into rurik.mysql.com:/home/igor/dev/mysql-4.0-0
2005-02-15 18:48:04 -08:00
igor@rurik.mysql.com
d4779d3534
delete.result, delete.test:
...
Added a test case for bug #8392 .
sql_delete.cc:
Fixed bug #8392 .
The bug caused a crash for a delete statement with ORDER BY
that explicitly referred to the modified table.
2005-02-15 18:45:42 -08:00
marko@hundin.mysql.fi
c4ff270284
Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into hundin.mysql.fi:/home/marko/k/mysql-4.0
2005-02-15 14:42:14 +02:00
monty@mysql.com
788a2658a3
Better bug fix for #5569 : "Incorrect "Access Denied" error with SAME login DIFFERENT host"
...
This fixes also the reverse lookup bug introduced by the previous patch
2005-02-15 14:42:13 +02:00
mats@mysql.com
625f7f0d55
Bug#7879: Using TL_READ_NO_INSERT locks instead of TL_READ locks when
...
reading tables in "complex" SQL statements. If inserts happen in a
table being read, the statements have no serialization order and the
change can therefore not be reproduced on the slave.
2005-02-15 11:02:01 +01:00
marko@hundin.mysql.fi
a1a78bbc4a
InnoDB: Create temporary files in the MySQL tmpdir instead of $TMPDIR.
...
(Bug #5822 )
2005-02-15 11:16:17 +02:00