gkodinov@mysql.com
be3c4a154f
Merge mysql.com:/home/kgeorge/mysql/4.1/teamclean
...
into mysql.com:/home/kgeorge/mysql/4.1/B16458
2006-06-27 18:47:22 +03:00
stewart@mysql.com
bd54e6769b
BUG#20725 MySQLD cluster use "fast count" is broken
...
fix based on review by tomas.
conform to bug we haven't fixed yet.
2006-06-28 01:28:07 +10:00
stewart@mysql.com
bc91efe0ae
BUG#20725 MySQLD cluster use "fast count" is broken
...
Post recent handler changes, fast count(*) for cluster was broken.
Seeing as we maintain an exact count for ndb, we can easily use this for an optimisation.
With this patch, and use_exact_count DISABLED, we will use the fast way
of getting count(*) but not use the exact count for the optimiser.
With this patch and use_exact_count ENABLED, we will use the fast way of
getting count(*) and use the exact count for the optimiser.
2006-06-28 01:07:44 +10:00
gkodinov@mysql.com
7149f48d97
Merge mysql.com:/home/kgeorge/mysql/4.1/B16458
...
into mysql.com:/home/kgeorge/mysql/5.0/B16458
2006-06-27 17:59:49 +03:00
gkodinov@mysql.com
9ec681ef35
Bug #16458 : Simple SELECT FOR UPDATE causes "Result Set not updatable" error
...
'SELECT DISTINCT a,b FROM t1' should not use temp table if there is unique
index (or primary key) on a.
There are a number of other similar cases that can be calculated without the
use of a temp table : multi-part unique indexes, primary keys or using GROUP BY
instead of DISTINCT.
When a GROUP BY/DISTINCT clause contains all key parts of a unique
index, then it is guaranteed that the fields of the clause will be
unique, therefore we can optimize away GROUP BY/DISTINCT altogether.
This optimization has two effects:
* there is no need to create a temporary table to compute the
GROUP/DISTINCT operation (or the temporary table will be smaller if only GROUP
is removed and DISTINCT stays or if DISTINCT is removed and GROUP BY stays)
* this causes the statement in effect to become updatable in Connector/Java
because the result set columns will be direct reference to the primary key of
the table (instead to the temporary table that it currently references).
Implemented a check that will optimize away GROUP BY/DISTINCT for queries like
the above.
Currently it will work only for single non-constant table in the FROM clause.
2006-06-27 17:40:19 +03:00
gluh@eagle.intranet.mysql.r18.ru
49afa7d075
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into mysql.com:/home/gluh/MySQL/Merge/5.1-kt
2006-06-27 18:24:14 +05:00
tomas@poseidon.ndb.mysql.com
08bec7b954
changed signature of get_default_no_partitions
2006-06-27 14:31:34 +02:00
tomas@poseidon.ndb.mysql.com
9bc0c99aca
Bug #19852 Restoring backup made from cluster with full data memory fails
...
- post merge fixes for 5.1
2006-06-27 13:40:33 +02:00
tomas@poseidon.ndb.mysql.com
49c8863bbf
Bug #19852 Restoring backup made from cluster with full data memory fails
...
- post merge fixes for 5.1
2006-06-27 13:12:34 +02:00
holyfoot@deer.(none)
1530106bac
Merge mysql.com:/home/hf/work/mysql-5.0.19672
...
into mysql.com:/home/hf/work/mysql-5.1.clean
2006-06-27 15:22:43 +05:00
jonas@perch.ndb.mysql.com
552d53bb88
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
...
into perch.ndb.mysql.com:/home/jonas/src/51-work
2006-06-27 11:46:02 +02:00
jonas@perch.ndb.mysql.com
c59fac93c4
ndb - bug#20252
...
allow user to specify scan batch size in readTuples
2006-06-27 11:41:00 +02:00
tomas@poseidon.ndb.mysql.com
044e73a829
Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2006-06-27 11:30:21 +02:00
tomas@poseidon.ndb.mysql.com
18e008a1ba
Bug #19852 Restoring backup made from cluster with full data memory fails
...
- correction of previous patch
2006-06-27 11:26:00 +02:00
tomas@poseidon.ndb.mysql.com
f923d6395d
Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2006-06-27 11:22:42 +02:00
tomas@poseidon.ndb.mysql.com
95447f9d1a
Bug #19852 Restoring backup made from cluster with full data memory fails
...
- make sure to allocate just enough pages in the fragments by using the actual
row count from the backup, to avoid over allocation of pages to fragments, and
thus avoid the bug
2006-06-27 10:02:58 +02:00
konstantin@bodhi.netgear
632c6e607b
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into mysql.com:/opt/local/work/mysql-5.1-runtime
2006-06-27 03:38:46 +04:00
kent@mysql.com
ca3e020b3d
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
2006-06-27 00:55:30 +02:00
kent@mysql.com
b1d3bd5a7a
Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
...
into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
2006-06-27 00:13:45 +02:00
kent@mysql.com
748b287cad
Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0
...
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
2006-06-26 23:47:14 +02:00
kent@mysql.com
c36dd28676
make_sharedlib_distribution.sh:
...
For compatibility, don't use {..,..} in pattern matching
make_binary_distribution.sh:
Added .dylib and .sl as shared library extensions
2006-06-26 23:44:17 +02:00
ngrishakin@mysql.com
c72a4dce14
updated test case ndb_dd_advance
2006-06-26 22:33:46 +02:00
jmiller@ndb08.mysql.com
cf58d2b544
Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into mysql.com:/data0/mysql-5.1
2006-06-26 22:31:31 +02:00
ingo@mysql.com
50477229b4
Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/nfstmp1/ingo/autopush-75/mysql-5.0
2006-06-26 22:23:04 +02:00
jonas@perch.ndb.mysql.com
4af95eb79c
Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2006-06-26 20:14:40 +02:00
anozdrin@mysql.com
8f4582db27
Merge mysql.com:/home/alik/MySQL/devel/5.0-tree
...
into mysql.com:/home/alik/MySQL/devel/5.0-rt
2006-06-26 21:58:55 +04:00
ingo@mysql.com
0acdd0f773
Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/mydev/mysql-5.0-bug16986-main
2006-06-26 19:43:28 +02:00
ingo@mysql.com
d011ac7202
Merge mysql.com:/home/mydev/mysql-5.0--main
...
into mysql.com:/home/mydev/mysql-5.0-bug16986-main
2006-06-26 19:19:12 +02:00
ingo@mysql.com
d27a15a81c
Bug#16986 - Deadlock condition with MyISAM tables
...
Addendum fixes after changing the condition variable
for the global read lock.
The stress test suite revealed some deadlocks. Some were
related to the new condition variable (COND_global_read_lock)
and some were general problems with the global read lock.
It is now necessary to signal COND_global_read_lock whenever
COND_refresh is signalled.
We need to wait for the release of a global read lock if one
is set before every operation that requires a write lock.
But we must not wait if we have locked tables by LOCK TABLES.
After setting a global read lock a thread waits until all
write locks are released.
2006-06-26 19:14:35 +02:00
ngrishakin@ndb15.mysql.com
ca498f1efb
Merge ngrishakin@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into mysql.com:/home/ndbdev/ngrishakin/mysql-5.1
2006-06-26 18:55:48 +02:00
rburnett@bk-internal.mysql.com
93210b0a28
Merge bk-internal.mysql.com:/data0/bk/mysql-5.1
...
into bk-internal.mysql.com:/data0/bk/mysql-5.1-kt
2006-06-26 16:53:53 +02:00
konstantin@mysql.com
a04bfd8e2a
Merge mysql.com:/opt/local/work/tmp_merge
...
into mysql.com:/opt/local/work/mysql-5.1-runtime
2006-06-26 18:49:20 +04:00
konstantin@mysql.com
5e0a692723
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into mysql.com:/opt/local/work/mysql-5.1-runtime
2006-06-26 18:45:46 +04:00
lars@mysql.com
2a945d77b6
Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0-rpl
...
into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
2006-06-26 16:45:32 +02:00
tnurnberg@mysql.com
d5ff4f6882
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint
...
into mysql.com:/home/tnurnberg/mysql-5.0-maint-18462
2006-06-26 16:15:41 +02:00
knielsen@rt.int.sifira.dk
b6c587695b
Merge mysql.com:/usr/local/mysql/mysql-5.1-pristine
...
into mysql.com:/usr/local/mysql/tmp-5.1
2006-06-26 16:04:06 +02:00
knielsen@mysql.com
3ba774f1d7
BUG#20676: debug warnings about too many lock waiters cause test failure.
...
The 250 simultaneous events all accessing the same table caused the
events_stress test to fail due to debug warnings about too many table
waiters. Fixed by using three different tables.
2006-06-26 15:49:58 +02:00
stewart@mysql.com
78dd9d12bb
BUG#11459 ndb status variables not updated
...
change names of some undocumented ndb status variables to better reflect what
their values mean
2006-06-26 23:31:10 +10:00
jonas@perch.ndb.mysql.com
33339fdf40
ndb - bug#20053
...
make sure we can only drop files from correct file group
2006-06-26 15:08:09 +02:00
jonas@perch.ndb.mysql.com
e9cbae32ea
ndb - bug#20683
...
part 2 - handle safecounter.init() failing in all parts of event code
2006-06-26 12:31:09 +02:00
andrey@lmy004.
23340f3fdd
Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
...
into lmy004.:/work/mysql-5.1-runtime-bug16992
2006-06-26 12:22:13 +02:00
jonas@perch.ndb.mysql.com
874607884b
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
...
into perch.ndb.mysql.com:/home/jonas/src/51-work
2006-06-26 12:19:29 +02:00
jonas@perch.ndb.mysql.com
02de4368cd
Merge perch.ndb.mysql.com:/home/jonas/src/41-work
...
into perch.ndb.mysql.com:/home/jonas/src/50-work
2006-06-26 12:17:38 +02:00
jonas@perch.ndb.mysql.com
a5e1b01920
ndb - bug#20683
...
part 1 - make sure return code is propagated from request tracker
2006-06-26 12:16:39 +02:00
knielsen@rt.int.sifira.dk
22285bb75a
Merge mysql.com:/usr/local/mysql/mysql-5.1-bug20549
...
into mysql.com:/usr/local/mysql/tmp-5.1
2006-06-26 11:26:24 +02:00
jonas@perch.ndb.mysql.com
50b8eb8538
Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2006-06-26 10:02:03 +02:00
andrey@lmy004.
d617241c3f
Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
...
into lmy004.:/work/mysql-5.1-runtime-bug18897
2006-06-26 08:55:49 +02:00
elliot@mysql.com
374495ffd1
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/data0/bk/mysql-5.0-maint
2006-06-26 04:48:16 +02:00
elliot@mysql.com
72e8a44d51
Post merge fix
2006-06-25 16:04:11 -04:00
evgen@sunlight.local
69dadfdbf6
table.cc, func_time.result:
...
After merge fix
2006-06-25 22:56:10 +04:00