timour@mysql.com
e2cd3dd1ce
WL#1724 "Min/Max Optimization for Queries with Group By Clause"
...
- after-review changes
- merged with the source tree from 204-08-27
2004-08-27 16:37:13 +03:00
sergefp@mysql.com
838eaec709
Fix and testcase for BUG#4984
...
The crash is eliminated but still it is weird/inefficent that ROR-intersection is used when performing updates in empty table.
2004-08-11 16:40:46 +04:00
serg@serg.mylan
aa35efd292
after merge fixes
2004-07-22 00:26:33 +02:00
serg@serg.mylan
f9de714945
misc fixes for compile-time errors
2004-07-21 00:45:08 +02:00
serg@serg.mylan
2fd11169ab
failing fulltext_order_by.test fixed
2004-07-15 17:30:55 +02:00
monty@mysql.com
5b3c418b48
After merge fixes
...
Note: The following tests fails
- fulltext (Sergei has promised to fix)
- rpl_charset (Guilhem should fix)
- rpl_timezone (Dimitray has promised to fix)
Sanja needs to check out the calling of close_thread_tables() in sp_head.cc
2004-07-15 04:19:07 +03:00
sergefp@mysql.com
ee0a516ccd
Manual merge
2004-06-14 11:18:56 +04:00
sergefp@mysql.com
2e93dfaf42
More code cleanup, debug prints removed
...
Fixed an incorrect optimizer choice for ror-intersect(key, clustered_primary)
Typo bug fixed in multitable update
2004-06-01 15:31:58 +04:00
sergefp@mysql.com
5843eec521
Manual merge
2004-05-29 20:55:46 +04:00
sergefp@mysql.com
dff98a8ef7
* New index_merge EXPLAIN output format
...
* Fixed a problem with wrong query results for partially covering keys in ROR-index_merge
* ROR-intersection retrieval plan choice algorithm now uses less disk IO
- and properly processes clustered PK range scans
* Fixed several minor range optimizer problems
* Added more comments
* Code cleanup
2004-05-29 02:04:01 +04:00
pem@mysql.com
71eddc362e
Merging 4.1 to 5.0.
2004-05-26 17:04:45 +02:00
monty@mishka.local
314a8bf114
key_cmp -> key_cmp_if_same
...
New records_in_range() interface (similar to read_range())
Macros for faster bitmap handling
Simplify read_range() code (#WL1786)
New general key_cmp() function to compare keys
2004-05-16 14:48:32 +03:00
pem@mysql.comhem.se
ec92106535
Post-merge fixes.
...
Note: One sp.test still fails (prime), and rpl_server_id2.test fails (will be fixed by guilhem ASAP).
2004-05-14 16:00:57 +02:00
sergefp@mysql.com
3b29cad05c
Manual merge
2004-05-13 01:49:47 +04:00
sergefp@mysql.com
a46d7542c9
This is first cset for WL#1394 "Optimize index merge when all involved index ranges include only values with equal keys"
...
The main idea is to exploit the fact that key scans for "key=const" return ordered sequences of rowids.
2004-05-13 01:38:40 +04:00
monty@mysql.com
43546e7a82
Moved reading of ranges from opt_range.cc to handler.cc
...
This gives the handler more optimization possiblities and is needed for NDB cluster
Fixed not-initialized memory error detected by valgrind
2004-04-08 13:58:06 +03:00
monty@mysql.com
e94d935221
Cleanup/optimizations of structures and key usage to make it easier to move key-range-search to handler
2004-04-08 01:50:59 +03:00
sergefp@mysql.com
3d2794ae9a
Fix for Bug#3183
2004-03-15 23:11:58 +03:00
pem@mysql.comhem.se
f9e73c7716
Post-merge fixes.
2004-02-11 18:21:55 +01:00
pem@mysql.com
c8585f3283
Merge 4.1 into 5.0.
2004-02-10 18:44:02 +01:00
monty@mysql.com
480b082cf4
merge
2004-02-05 18:14:48 +01:00
monty@mysql.com
6bfede9639
Added SQL_SELECT::cleanup() to make it easier to reuse SQL_SELECT item's for sub selects. Needed for proper fix for bug #2479 .
...
Added 'select_to_file' class to be able to merge identical code for select_export and select_dump
2004-02-05 10:22:08 +01:00
ram@gw.mysql.r18.ru
c4728c276a
Code cleanup:
...
we don't need opt_range.h and opt_range.cc files at all.
2004-02-03 14:35:24 +04:00
ram@gw.mysql.r18.ru
f231d9826b
just tried to find all 'skipp' and replace it with 'skip'.
2004-02-02 20:25:39 +04:00
sergefp@mysql.com
67c6d5113c
Precise read time estimates for index_merge/Unique
2003-12-18 06:08:00 +03:00
sergefp@mysql.com
24c180941f
Two-sweeps read index_merge plus several small index_merge fixes and improvements
2003-12-09 23:40:02 +03:00
sergefp@mysql.com
3d32afd736
Post-merge fixes for index_merge/Unique/5.0
2003-11-24 20:54:57 +03:00
sergefp@mysql.com
5f9718adfb
Merging index_merge/Unique into 5.0
2003-11-23 15:17:46 +03:00
sergefp@mysql.com
4f721196f3
Post-merge fixes
2003-11-22 00:20:48 +03:00
sergefp@mysql.com
30b3c3bf1b
Merged, most likely needs post-merge fix
2003-11-21 00:27:54 +03:00
sergefp@mysql.com
4016048d81
logging_ok:
...
Logging to logging@openlogging.org accepted
sql_union.cc, sql_select.cc, opt_range.h, opt_range.cc, opt_ft.h:
Post-merge fixes
Many files:
new file
2003-11-20 23:27:11 +03:00
sergefp@mysql.com
1c61a92ba7
index_merge implementation using Unique class, to be merged into 5.0
2003-11-19 00:37:17 +03:00
psergey@psergey.(none)
4894565432
merging in index_merge (in progress, not yet working)
2003-11-13 22:14:37 +03:00
psergey@psergey.(none)
ca6c4cc30b
Added index_merge access method
2003-11-13 17:52:02 +03:00
serg@serg.mylan
6e17f4f20d
fixes to Bitmap class
2003-10-24 22:44:48 +02:00
serg@serg.mylan
f944fd4a65
merged
2003-10-21 11:58:43 +02:00
monty@mashka.mysql.fi
9ef2a83fbe
Portability fixes for windows
...
After merge fixes
2003-10-15 22:40:36 +03:00
monty@mashka.mysql.fi
461d1627b3
merge with 4.0 for more memory allocation variables.
2003-10-13 15:50:30 +03:00
monty@mashka.mysql.fi
c95d142f8f
Add new user variables for tuning memory usage:
...
query_alloc_block_size, query_prealloc_size, range_alloc_block_size,transaction_alloc_block_size and transaction_prealloc_size
Add more checks for "out of memory" detection in range optimization
2003-10-11 22:00:24 +03:00
serg@serg.mylan
8cc3951c8f
key_map with more that 64 bits width
2003-10-11 13:06:55 +02:00
monty@narttu.mysql.fi
bdb66d24dd
ORDER BY optimization
...
Fixed new bug when reading field types
2003-05-27 18:40:37 +03:00
monty@mashka.mysql.fi
b14b246d38
Merge with 4.0 to get fix for MIN/MAX
2003-02-07 16:38:37 +02:00
monty@mashka.mysql.fi
cf9668fd37
Added START TRANSACTION syntax
...
Added ALL as parameter option for all group functions.
Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
Sort NULL last if DESC is used (ANSI SQL 99 requirement)
2003-02-06 16:55:59 +02:00
monty@narttu.mysql.fi
7134ffec21
Merge with 4.0.3
...
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +03:00
monty@bitch.mysql.fi
9b6df03c14
Added a lot of DBUG_xxx statements to be able to find replication bug.
...
Fixed critical bug on 64 bit systems.
Cleanups
2002-06-08 21:02:01 +03:00
monty@hundin.mysql.fi
b5a145d872
merge
2002-04-13 15:34:39 +03:00
monty@tik.mysql.fi
9d9bcf25e7
Fix sorting of NULL values (Should always be first)
...
Fix problem with HAVING and MAX() IS NOT NULL
2002-03-02 09:51:24 +02:00
bar@gw.udmsearch.izhnet.ru
735b27d578
Added GIS extension
2002-02-22 15:24:42 +04:00
monty@hundin.mysql.fi
1de4fff5ba
Update of query cache code.
...
Changed some sql_alloc() -> thd->alloc()
Removed a lot of compiler warnings on Linux Alpha (64 bit)
Fixed some core dumps on 64 bit systems (wrong type for packet_len)
2001-12-05 13:03:00 +02:00
serg@serg.mysql.com
307fb4a390
fixes for ft-boolean and range optimizer
2001-11-22 16:00:11 +01:00