evgen@moonbone.local
3e23d458f9
Fixed bug #15347 : Wrong result of subselect when records cache and set
...
functions are involved.
When subselect is a join with set functions and no record have been found in
it, end_send_group() sets null_row for all tables in order aggregate functions
to calculate their values correctly. Normally this null_row flag is cleared for
each table in sub_select(), but flush_cached_records() doesn't do so.
Due to this all fields from the table processed by flush_cached_records() are
always evaluated as nulls and whole select produces wrong result.
flush_cached_records() now clears null_row flag at the very beginning.
2006-01-11 23:16:21 +03:00
brian@zim.(none)
605f3ab586
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into zim.(none):/home/brian/mysql/archive-5.1
2006-01-11 12:06:30 -08:00
evgen@moonbone.local
605f62fce8
Fixed bug #15633 : Evaluation of Item_equal for non-const table caused wrong
...
select result
Item equal objects are employed only at the optimize phase. Usually they are not
supposed to be evaluated. Yet in some cases we call the method val_int() for
them. Here we have to take care of restricting the predicate such an object
represents f1=f2= ...=fn to the projection of known fields fi1=...=fik.
Added a check for field's table being const in Item_equal::val_int().
If the field's table is not const val_int() just skips that field when
evaluating Item_equal.
2006-01-11 22:49:43 +03:00
andrey@lmy004.
b9de3d7f32
Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into lmy004.:/work/mysql-5.1-tt-copy-works
2006-01-11 19:50:59 +01:00
tomas@poseidon.ndb.mysql.com
25af1c1daf
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
2006-01-11 19:50:58 +01:00
tomas@poseidon.ndb.mysql.com
0a0fe2b1c0
bug: replication of table spaces to work
...
bug: check if storage engine is enabled to avoif code dump
2006-01-11 19:49:38 +01:00
andrey@lmy004.
a6d4732ccb
WL #1034
...
- add a bit more debug messages
- disable events.test for now due to a bug
2006-01-11 19:31:21 +01:00
brian@zim.(none)
bee896be2d
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into zim.(none):/home/brian/mysql/archive-5.1
2006-01-11 09:37:48 -08:00
andrey@lmy004.
71eb7d7ec9
WL #1034 (Internal CRON) pre-push updates
...
- various fixes of test cases
(hopefully the last pre-push update before the push)
2006-01-11 18:09:05 +01:00
andrey@lmy004.
079237a90f
Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into lmy004.:/work/mysql-5.1-tt-copy-works
2006-01-11 16:06:05 +01:00
konstantin@mysql.com
4d272aba67
Merge mysql.com:/opt/local/work/mysql-4.1-root
...
into mysql.com:/opt/local/work/mysql-5.0-root
2006-01-11 17:49:56 +03:00
konstantin@mysql.com
9105d06dd6
A fix for Bug#13944 "libmysqlclient exporting sha1_result function":
...
rename sha1_* to mysql_sha1_*
2006-01-11 17:31:52 +03:00
mskold@mysql.com
0453feff9a
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new
2006-01-11 13:55:04 +01:00
mats@mysql.com
67a48b02bf
Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/home/bkroot/mysql-5.1-new
2006-01-11 13:53:35 +01:00
andrey@lmy004.
b7117c448e
Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into lmy004.:/work/mysql-5.1-tt-copy-works
2006-01-11 12:51:17 +01:00
andrey@lmy004.
c326d96535
WL #1034 (Internal CRON) pre-push fixes
...
after another merge fixes.
2006-01-11 12:49:56 +01:00
mskold@mysql.com
946300c89b
WL#1892 Post-review fix, removed index insertion in list at create
2006-01-11 12:41:38 +01:00
mskold@mysql.com
e39e2d9a22
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new
2006-01-11 12:36:38 +01:00
mskold@mysql.com
67cbb3b11e
Restructered index management, to prepare for add/drop index (WL#1892)
2006-01-11 12:35:28 +01:00
gluh@mysql.com
f07d2aaac6
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/home/gluh/MySQL/Merge/5.1-new
2006-01-11 15:05:40 +04:00
gluh@eagle.intranet.mysql.r18.ru
9f729c45d7
Additional fix for wl#2506
2006-01-11 15:04:18 +04:00
andrey@lmy004.
8515610f2e
manual merge
2006-01-11 12:01:36 +01:00
mats@mysql.com
0933a3bc34
Merge mysql.com:/home/bkroot/mysql-5.1-new
...
into mysql.com:/home/bk/b16095-mysql-5.1-new
2006-01-11 11:50:09 +01:00
jonas@perch.ndb.mysql.com
161645c81e
wl2723 - ndb opt. nr
2006-01-11 11:35:25 +01:00
mats@mysql.com
31c3ae5603
Bug#16095 (INSERT DELAYED crashes mysqld server):
...
Checking that binlog is open before calling binlog_query().
2006-01-11 09:16:24 +01:00
brian@zim.(none)
b56432cd19
Added support for CREATE TABLE AUTO_INCREMENT and added more tests. Also non-unique index scans of autoincrement not function.
2006-01-10 22:54:34 -08:00
anozdrin@mysql.com
e5d26fc446
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/alik/MySQL/devel/5.0-bug15110
2006-01-11 02:10:59 +03:00
anozdrin@mysql.com
b04b851ef9
Fix for BUG#15110: mysqldump --triggers: does not include DEFINER clause
...
There are two main idea of this fix:
- introduce a common function for server and client to split user value
(<user name>@<host name>) into user name and host name parts;
- dump DEFINER clause in correct format in mysqldump.
2006-01-11 02:07:40 +03:00
andrey@lmy004.
cda83534b1
WL #1034 (Internal CRON) pre-push update
...
fix errmsg.txt
2006-01-10 21:47:12 +01:00
andrey@lmy004.
7c049782fa
WL #1034 (Internal CRON)
...
merge before push
2006-01-10 21:02:19 +01:00
andrey@lmy004.
d2f0002e77
WL #1034 (Internal CRON) pre-push updates
...
- fixed test results
- fixed bug caught by information_schema.test . Bison temporal
variables are very nice but extremely error-prone (Count one more
time just to be sure).
2006-01-10 19:16:58 +01:00
jani@ua141d10.elisa.omakaista.fi
d9d6dfea3a
Changed function prototype.
2006-01-10 19:19:56 +02:00
monty@mysql.com
2970e71ce8
Re-run fix-fields on condition if table was reopened in HANDLERREAD
2006-01-10 19:13:12 +02:00
jani@ua141d10.elisa.omakaista.fi
df801decef
Fixed refresh_status function.
2006-01-10 18:56:23 +02:00
monty@mysql.com
3143daf8ac
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2006-01-10 18:03:54 +02:00
gluh@eagle.intranet.mysql.r18.ru
be4ebd9038
WL#2506: Information Schema tables for PARTITIONing
...
added I_S 'PARTITIONS' table
2006-01-10 19:44:04 +04:00
andrey@lmy004.
64d2033f09
WL 1034 update
...
(pre-push cleanups removing debugging code)
2006-01-10 11:31:45 +01:00
igor@rurik.mysql.com
19f3821ccb
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into rurik.mysql.com:/home/igor/mysql-5.1
2006-01-10 02:19:01 -08:00
msvensson@neptunus.(none)
d37c04d125
Merge bk-internal:/home/bk/mysql-5.1-new
...
into neptunus.(none):/home/msvensson/mysql/bug15598/my51-bug15598
2006-01-10 09:20:30 +01:00
igor@rurik.mysql.com
ed7a11895f
Merge rurik.mysql.com:/home/igor/mysql-5.1
...
into rurik.mysql.com:/home/igor/dev/mysql-5.1-0
2006-01-10 00:14:39 -08:00
igor@rurik.mysql.com
32c7a0b62f
Merge rurik.mysql.com:/home/igor/mysql-5.0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
2006-01-09 21:46:33 -08:00
igor@rurik.mysql.com
a3a2f065fb
Ajustement after merge
2006-01-09 21:44:42 -08:00
brian@zim.(none)
b296f64c0e
Removing unneeded include.
2006-01-09 21:04:58 -08:00
brian@zim.(none)
50dd013cf4
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into zim.(none):/home/brian/mysql/archive-5.1
2006-01-09 18:53:02 -08:00
brian@zim.(none)
de44001afd
Corrections from code review for auto_increment. Added test cases.
2006-01-09 18:41:37 -08:00
paul@snake-hub.snake.net
5088f5b343
errmsg.txt:
...
Fix word.
(no test results needed fixing)
2006-01-09 20:13:27 -06:00
reggie@linux.site
74e8c453b6
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into linux.site:/home/reggie/work/mysql-5.1-rbr_cleanups
2006-01-09 17:35:25 -06:00
igor@rurik.mysql.com
e4b1399b5a
Merge rurik.mysql.com:/home/igor/mysql-4.1
...
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
2006-01-09 15:20:01 -08:00
brian@zim.(none)
be69338259
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into zim.(none):/home/brian/mysql/archive-5.1
2006-01-09 13:02:00 -08:00
msvensson@neptunus.(none)
0d6d232dec
Merge neptunus.(none):/home/msvensson/mysql/bug15598/my50-bug15598
...
into neptunus.(none):/home/msvensson/mysql/bug15598/my51-bug15598
2006-01-09 18:04:53 +01:00
monty@mysql.com
3c808fe928
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2006-01-09 18:52:22 +02:00
msvensson@neptunus.(none)
33d5dc041d
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/bug15598/my50-bug15598
2006-01-09 17:18:49 +01:00
mats@mysql.com
1c0b916ec1
Changes to support HP-UX.
2006-01-09 16:37:24 +01:00
mats@mysql.com
c600d05fec
Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/users/mkindahl/bk/fix-mysql-5.1-new
2006-01-09 16:02:14 +01:00
mats@mysql.com
94d3a8e050
Changes to support aCC on HP-UX.
2006-01-09 15:59:39 +01:00
brian@zim.(none)
9e22159558
This changeset adds support for autoincrements to archive. It allows it to have them with both unique and non-unique indexes.
...
Test cases will come in the next push (just doing this one so I can get a couple of reviews in). This is not the final patch.
2006-01-09 02:35:40 -08:00
knielsen@mysql.com
e952a7005b
Fix "jump to label crosses initialization" compile error.
2006-01-09 11:23:15 +01:00
msvensson@neptunus.(none)
7bda1e9191
Merge neptunus.(none):/home/msvensson/mysql/bug15598/my41-bug15598
...
into neptunus.(none):/home/msvensson/mysql/bug15598/my50-bug15598
2006-01-09 11:16:29 +01:00
knielsen@mysql.com
848383feb8
Fix template problem with Sun compiler by using anonymous namespace instead
...
of static for referenged function.
2006-01-09 11:08:23 +01:00
msvensson@devsrv-b.mysql.com
175a946e55
Merge msvensson@10.100.68.5:/home/msvensson/mysql/bug15598/my41-bug15598
...
into devsrv-b.mysql.com:/space/magnus/my41-bug15598
2006-01-09 10:57:28 +01:00
msvensson@neptunus.(none)
2a05a6ba87
Bug #15598 Server crashes in specific case during setting new password
...
- When acl_user->host.hostname is NULL compare it as ""
2006-01-09 10:31:07 +01:00
monty@mysql.com
1378eda3c4
After merge fix (Lines lost in manual merge)
2006-01-09 11:10:49 +02:00
mats@mysql.com
373abaf476
Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/users/mkindahl/bk/b15923-mysql-5.1-new
2006-01-09 09:47:23 +01:00
mats@mysql.com
fb0145c55c
Bug#15923 (Test ps_7ndb cause master crash):
...
Always log statements "DELETE FROM x" statement-based.
2006-01-09 09:37:21 +01:00
igor@rurik.mysql.com
4477f96365
Merge rurik.mysql.com:/home/igor/mysql-5.1
...
into rurik.mysql.com:/home/igor/dev/mysql-5.1-0
2006-01-08 17:21:26 -08:00
igor@rurik.mysql.com
7dc0ecb4b0
Adjustment after a merge.
2006-01-08 17:17:22 -08:00
igor@rurik.mysql.com
63d94fb9bc
Merge rurik.mysql.com:/home/igor/dev/mysql-5.0-0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.1-0
2006-01-08 14:46:47 -08:00
monty@mysql.com
c44d6124ed
Merge mysql.com:/home/my/mysql-4.0
...
into mysql.com:/home/my/mysql-4.1
2006-01-08 19:07:49 +02:00
igor@rurik.mysql.com
bf78fd5438
Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
2006-01-07 23:10:08 -08:00
igor@rurik.mysql.com
05947d9916
Fixed bug #14274 : a query with a having clause containing only set function returned a wrong result set.
2006-01-07 23:00:06 -08:00
serg@serg.mylan
86e35affcf
after merge fix
2006-01-07 16:27:40 +01:00
serg@serg.mylan
923e7cfd73
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.1
2006-01-07 14:50:03 +01:00
serg@serg.mylan
cfbaad9952
WL#2935 - SHOW STATUS support in plugins
...
The patch adds DYNAMIC_ARRAY all_status_vars, which is now the
sole source of status information for SHOW STATUS. Status
variables can be added to and removed from the array dynamically.
SHOW STATUS command uses this array instead of static array
from mysqld.cc
Compatibility with the old, global list of status variables is
preserved in init_server_components(), where this global list is
simply appended to all_status_vars.
2006-01-07 14:41:57 +01:00
igor@rurik.mysql.com
aade22bad2
Merge rurik.mysql.com:/home/igor/dev/mysql-5.0-0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.1-0
2006-01-06 23:26:20 -08:00
igor@rurik.mysql.com
d2cfad167b
Fixed bug #16016 : MIN/MAX optimization was not applied to views.
2006-01-06 22:28:26 -08:00
reggie@linux.site
557a68327f
Bug# 15968 - Partitions: crash when insert with f1 = -1 into partition by hash(f1)
...
fixed
2006-01-06 18:52:49 -06:00
monty@mysql.com
fd4a040325
Fixes during review of new pushed code:
...
Remove wrong fix for Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
Safety fix for bug #13855 "select distinct with group by caused server crash"
2006-01-06 21:42:17 +02:00
jimw@mysql.com
96ae7c2e78
Merge mysql.com:/home/jimw/my/mysql-5.0-clean
...
into mysql.com:/home/jimw/my/mysql-5.1-clean
2006-01-06 10:42:58 -08:00
jimw@mysql.com
d8a4aafe33
Merge mysql.com:/home/jimw/my/mysql-5.0-14212
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2006-01-06 08:34:55 -08:00
knielsen@mysql.com
dca852ff68
BUG#16155: Workaround AIX 5.2 64-bit compiler bug.
2006-01-06 17:02:57 +01:00
knielsen@mysql.com
be8f21e8f1
Fix compile failure on QNX.
2006-01-06 14:30:25 +01:00
joerg@mysql.com
4a0fe7348a
Compile fix: An "int" function had accidentally lost its "return 0;", re-add it.
2006-01-06 12:21:15 +01:00
monty@mysql.com
64cab9d767
After merge fix and a safety fix for handler
2006-01-06 12:48:14 +02:00
monty@mysql.com
b0a5ea01ef
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2006-01-06 01:08:48 +02:00
monty@mysql.com
6e22e29de6
Review fixes of new pushed code
...
- Fixed tests
- Optimized new code
- Fixed some unlikely core dumps
- Better bug fixes for:
- #14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
- #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null
2006-01-06 00:47:49 +02:00
jimw@mysql.com
7d551b8a4e
Merge mysql.com:/home/jimw/my/mysql-5.0-15185
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2006-01-05 10:27:06 -08:00
knielsen@mysql.com
eed5285e8c
Merge mysql.com:/usr/local/mysql/mysql-5.0-win-fixes
...
into mysql.com:/usr/local/mysql/mysql-5.1-new
2006-01-05 10:54:14 +01:00
mats@mysql.com
e46dab62c1
Bug#15923 (Test ps_7ndb cause master crash):
...
Always logging statements of the form "DELETE FROM x" statement-based.
2006-01-05 10:52:58 +01:00
knielsen@mysql.com
ed7c09da36
Merge mysql.com:/usr/local/mysql/mysql-5.0-win-fixes
...
into mysql.com:/usr/local/mysql/mysql-5.0
2006-01-05 10:45:34 +01:00
konstantin@mysql.com
9bf1e22b4c
Fix -ansi -pedantic compile
2006-01-05 11:18:26 +03:00
konstantin@mysql.com
8e9af5d72a
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/opt/local/work/mysql-5.1-merge
2006-01-05 11:05:27 +03:00
konstantin@mysql.com
f4cc6c4d15
Merge mysql.com:/opt/local/work/mysql-5.0-merge
...
into mysql.com:/opt/local/work/mysql-5.1-merge
2006-01-05 00:38:51 +03:00
paul@snake-hub.snake.net
ebe0b0b8b3
set_var.cc:
...
Fix out of order system variable.
2006-01-04 13:43:21 -06:00
konstantin@mysql.com
4a4b8eacc1
Post-merge fixes.
2006-01-04 21:39:39 +03:00
knielsen@mysql.com
f13dff7a72
EADDRINUSE is not defined on Windows.
2006-01-04 16:38:54 +01:00
lars@mysql.com
9e24aedea5
BUG#16188: Could not compile
2006-01-04 16:24:58 +01:00
konstantin@mysql.com
6502e6bba7
Merge mysql.com:/opt/local/work/mysql-4.1-7209-new
...
into mysql.com:/opt/local/work/mysql-5.0-merge
2006-01-04 17:49:45 +03:00
konstantin@mysql.com
f7d6fa6f17
A fix for Bug#7209 "Client error with "Access Denied" on updates
...
when high concurrency": remove HASH::current_record and make it
an external search parameter, so that it can not be the cause of a
race condition under high concurrent load.
The bug was in a race condition in table_hash_search,
when column_priv_hash.current_record was overwritten simultaneously
by multiple threads, causing the search for a suitable grant record
to fail.
No test case as the bug is repeatable only under concurrent load.
2006-01-04 17:35:30 +03:00
mats@mysql.com
3377014a3c
Post-merge fixes.
2006-01-04 15:04:36 +01:00
mats@mysql.com
c3d029bde5
Merge mysql.com:/home/bkroot/mysql-5.1-new
...
into mysql.com:/home/bk/b15924-mysql-5.1-new
2006-01-04 14:05:50 +01:00