Sinisa@sinisa.nasamreza.org
fb39821e94
Some fixes for CREATE / INSERT FROM UNIO >..
2003-07-02 01:24:05 +03:00
Sinisa@sinisa.nasamreza.org
b7644c9212
merge changes
2003-07-02 00:26:23 +03:00
Sinisa@sinisa.nasamreza.org
c1660e1a23
Lot's of clean-ups and fixes for 4.0.14.
2003-07-02 00:10:47 +03:00
serg@serg.mylan
65a36828c8
Merge bk-internal:/home/bk/mysql-4.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2003-07-01 20:06:57 +02:00
monty@mashka.mysql.fi
ca2913a07e
Merge with 3.23 tree to get latest bug fixes
2003-07-01 15:02:16 +03:00
monty@mashka.mysql.fi
9fb7e863ad
Optimized old patches
...
Don't set field to DEFAULT value when set to NULL
2003-07-01 14:38:38 +03:00
monty@mashka.mysql.fi
5dab55de73
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mashka.mysql.fi:/home/my/mysql-4.0
2003-07-01 13:30:55 +03:00
monty@mashka.mysql.fi
048d545a58
Code/testcase cleanups
2003-07-01 13:29:55 +03:00
monty@mashka.mysql.fi
2b0543148d
Merge bk-internal.mysql.com:/home/bk/mysql-3.23
...
into mashka.mysql.fi:/home/my/mysql-3.23
2003-07-01 13:09:24 +03:00
serg@serg.mylan
9c89341fd6
new syntax:
...
CREATE TABLE ...(SELECT ...) UNION ...
INSERT ... (SELECT ...) UNION ...
2003-06-30 22:24:03 +02:00
serg@serg.mylan
d71b51323b
REPAIR/OPTIMIZE/CHECK/RESTORE/etc commands close relevant open HANDLERs
2003-06-30 17:00:11 +02:00
Sinisa@sinisa.nasamreza.org
ef61b1a56f
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-06-30 12:33:35 +03:00
monty@mashka.mysql.fi
730776c452
Fixed 'Unknown error' when doing ORDER BY on reference table which
...
was used with NULL value on NOT NULL column. (Bug #479 )
2003-06-29 21:15:51 +03:00
monty@mashka.mysql.fi
81a84424ee
SET CHARACTER SET DEFAULT didn't work (Bug #462 )
2003-06-29 12:58:43 +03:00
monty@mashka.mysql.fi
34919a03c4
Added thread variable max_seeks_for_key
...
Change optimizer to prefer key lookups before table scan
Change table scans to be done after tables with constrains on scanned table
2003-06-27 03:04:54 +03:00
serg@serg.mylan
c781673bd7
Merge bk-internal:/home/bk/mysql-4.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2003-06-26 21:31:37 +02:00
serg@serg.mylan
8075aac74f
bug with ranges and not_null_col=can_be_null_expr fixed
2003-06-26 21:30:53 +02:00
vva@eagle.mysql.r18.ru
c4e50b8ad7
Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-3.23
...
into eagle.mysql.r18.ru:/home/vva/work/BUG_479_/mysql-3.23
2003-06-26 10:31:35 -04:00
gluh@gluh.mysql.r18.ru
8573bdbff8
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into gluh.mysql.r18.ru:/home/gluh/mysql-4.0.for_fix
2003-06-26 12:49:03 +05:00
gluh@gluh.mysql.r18.ru
7d43750eb6
Fix bug #673 : MySQL 4.0.13 no SSL connection with mysql client possible
2003-06-26 12:47:36 +05:00
monty@mashka.mysql.fi
5f556f11e0
Fixed memory allocation in Unique to not allocate too much memory
2003-06-26 07:56:55 +03:00
hf@deer.(none)
ad5cbc0265
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into deer.(none):/home/hf/work/mysql-4.0.615
2003-06-26 09:01:25 +05:00
monty@mashka.mysql.fi
7655f05dc2
LEFT JOIN optimization: Change LEFT JOIN to normal join if possible
2003-06-26 05:38:19 +03:00
vva@eagle.mysql.r18.ru
5722ae6627
fixed bug with type of user variables (bug #551 )
2003-06-25 21:11:23 -04:00
Sinisa@sinisa.nasamreza.org
66b60b57af
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-06-25 18:40:31 +03:00
Sinisa@sinisa.nasamreza.org
1d93c8f550
Fix for a bug which results in "Unknown Error".
...
Query should actually return empty result set, but currently can't, as
it attempts to store NULL in NOT NULL field, because that is a match
made by self join conditions.
2003-06-25 18:36:52 +03:00
hf@deer.(none)
0ede29ffd0
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into deer.(none):/home/hf/work/mysql-4.0.674
2003-06-25 17:16:53 +05:00
hf@deer.(none)
044d077893
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into deer.(none):/home/hf/work/mysql-4.0.666
2003-06-24 17:09:44 +05:00
hf@deer.(none)
3007290f83
Another bugfix for #615
...
Looks a bit nicer than previous one
2003-06-24 10:53:21 +05:00
monty@narttu.mysql.fi
28e96d95c5
Simple code cleanup
2003-06-23 20:05:54 +03:00
monty@narttu.mysql.fi
a51ea11147
SHOW GRANTS hided real grants when grants on both column and table (Bug 654)
2003-06-23 20:03:59 +03:00
Sinisa@sinisa.nasamreza.org
438ed49691
Removing one fix.
2003-06-23 16:05:22 +03:00
monty@narttu.mysql.fi
3bd661a66f
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into narttu.mysql.fi:/my/mysql-4.0
2003-06-23 16:00:39 +03:00
serg@sergbook.mylan
d9287bfe61
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sergbook.mylan:/usr/home/serg/Abk/mysql-4.0
2003-06-23 12:49:38 +02:00
serg@sergbook.mylan
c6d9d57b37
fixed bug in references column grants
2003-06-23 12:48:55 +02:00
monty@narttu.mysql.fi
eeee8f78c9
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into narttu.mysql.fi:/my/mysql-4.0
2003-06-23 13:04:21 +03:00
monty@narttu.mysql.fi
9791f47eee
Added analyze as alias for optimize
2003-06-23 13:03:04 +03:00
gluh@gluh.mysql.r18.ru
afe1547866
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into gluh.mysql.r18.ru:/home/gluh/mysql-4.0.defweek
2003-06-23 12:03:50 +05:00
heikki@hundin.mysql.fi
e2efb08c50
dict0dict.h, dict0dict.c, ha_innodb.cc:
...
In ORDER BY MySQL seems to set the key read flag also in the case where the primary key contains only a prefix of a column - not the whole column; to prevent potential bugs retrieve the whole column if the index contains a prefix of it
2003-06-22 16:20:06 +03:00
guilhem@mysql.com
9990ce576b
Fixed cleanup_load_tmpdir() which deleted nothing.
2003-06-22 14:10:46 +02:00
guilhem@mysql.com
04e5a6baa9
Always send a fake Rotate event (this is roughly 70 bytes) when starting binlog_dump.
...
This way 3.23.58 slaves will always detect a 4.0.14 master (and stop)
immediately. BUG#198.
2003-06-21 18:10:59 +02:00
guilhem@mysql.com
dcbcb78536
Can't believe it: one more cset (04-27) which never found his way to the central
...
repository (incredible that I forgot to push, but why not).
So unfortunately the bugfix missed 3.23.57 and will be in .58 :(
Instead of looking like working (bug #198 ), replication between
a 3.23 slave and 4.0 master should frankly stop. Here we detect
4.0 masters in the 3.23 slave code when we see a strange Rotate
event, and in that case we print an error and stop.
4.0.13 and older masters will be "often" caught (see the patch); 4.0.14
and newer masters will always be immediately caught.
2003-06-21 16:32:27 +02:00
hf@deer.(none)
f0f92fe443
Proposed fix for #674
...
This crash happens in rather exotic case when we try to run
SELECT DISTINCT some_func(SUM(some_field)) GROUP BY another_field;
on a table with single row.
Optimizer marks this table as const, sets group=NULL (with remove_const)
thus, create_tmp_table makes mistake collecting columns for temporary table
and then crashes because the field_count gets less than hidden_columns_count.
2003-06-21 16:59:40 +05:00
hf@deer.(none)
27c67fbfe7
Fix for bug #666 (Nice number, yeah?)
2003-06-20 20:04:52 +05:00
hf@deer.(none)
eb901ea461
Proposed fix for #615
...
So now for the CREATE TABLE foo (id integer NOT NULL default 9)
INSERT INTO foo VALUES (NULL); we get an error
INSERT INTO foo VALUES (1), (NULL), (2); we get one warning
and second record is set to 9
Is that what we want?
2003-06-20 18:52:40 +05:00
lenz@mysql.com
bbd1cc89e8
Merge mysql.com:/space/my/mysql-4.0
...
into mysql.com:/space/my/mysql-4.0-build
2003-06-20 15:20:22 +02:00
lenz@mysql.com
6f5cae4358
- added $(EXEEXT) to gen_lex_hash generation/execution to fix a build
...
problem on Windows/cygwin (BUG#668)
2003-06-20 15:19:51 +02:00
guilhem@mysql.com
def18de12c
Warn that --log-slave-updates is used without --log-bin and disabled (WL#998)
2003-06-20 13:54:22 +02:00
miguel@hegel.(none)
10c81fb52d
Fix error msg. Bug #681
2003-06-19 12:38:14 -04:00
miguel@hegel.(none)
169fe2abe3
Fix error msg. Bug #681
2003-06-19 12:09:32 -04:00