bell@sanja.is.com.ua
1555469b64
merge
2004-11-12 15:36:31 +02:00
monty@mysql.com
1087186657
Merge with 4.1 to get new thd->mem_root handling
2004-11-08 17:53:32 +02:00
monty@mysql.com
b903a129e2
Simpler arena swapping code
...
Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root.
This gives us the following benefits:
- Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases)
- Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT)
- We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
2004-11-08 01:13:54 +02:00
bell@sanja.is.com.ua
b1617371d2
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
2004-10-22 09:51:20 +03:00
bell@sanja.is.com.ua
42d6d6765a
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
2004-10-20 16:11:16 +03:00
bell@sanja.is.com.ua
4714a6e744
errors without code removed
...
net_printf/send_error calls replaced by my_error family functions
-1/1 (sent/unsent) error reporting removed
(WL#2133)
2004-10-20 04:04:37 +03:00
igor@rurik.mysql.com
a03e5ad8e4
Merge for post-merge fixes for Item_equal patch.
2004-10-19 16:07:10 -07:00
igor@rurik.mysql.com
4c8e391718
table.h, sql_select.h:
...
Added the code processing on expressions for applying
multiple equalities.
sql_select.cc:
Post-merge fixes for Item_equal patch.
Added the code processing on expressions for applying
multiple equalities.
Many files:
Post-merge fixes for Item_equal patch.
item_cmpfunc.cc:
Post-merge fixes for Item_equal patch.
Fixed a problem when an equality field=const cannot be applied to
the predicate P(field,c) for constant propagation as a conversion
of field is needed.
item.h, item.cc:
Fixed a problem when an equality field=const cannot be applied to
the predicate P(field,c) for constant propagation as a conversion
of field is needed.
2004-10-19 14:12:55 -07:00
timour@mysql.com
8ab4a7a101
Merge with implementation of WL#1724.
2004-10-11 10:47:08 +03:00
igor@rurik.mysql.com
71f6ab7a09
Merge for Item_equal.
2004-10-09 10:34:13 -07:00
monty@mishka.local
095f7e8740
Removed wrong warnings in test suite (This was because select_insert / select_create results was not freed.
...
Added thd to openfrm() for initialization of TABLE->in_use. This fixed a bug in BDB handling where table->in_use was used early
2004-09-17 03:08:23 +03:00
timour@mysql.com
e76e617e01
Implementation of the last review comments for WL#1724
...
"Min/Max Optimization for Queries with Group By Clause"
2004-09-10 04:45:15 +03:00
monty@mysql.com
31122efde7
Merge with 4.1
...
(Includes merge of arena code in 4.1 and 5.0)
2004-09-06 15:14:10 +03:00
bell@sanja.is.com.ua
2cf1234ba2
after review patch
2004-08-31 21:10:57 +03:00
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
konstantin@mysql.com
d3e520ce7e
Port of cursors to be pushed into 5.0 tree:
...
- client side part is simple and may be considered stable
- server side part now just joggles with THD state to save execution
state and has no additional locking wisdom.
Lot's of it are to be rewritten.
2004-08-03 03:32:21 -07:00
igor@rurik.mysql.com
64d46dfe9b
After merge fix
2004-06-25 06:48:10 -07:00
sergefp@mysql.com
ee0a516ccd
Manual merge
2004-06-14 11:18:56 +04:00
igor@rurik.mysql.com
356cbe4fa2
join_nested.test, join_nested.result:
...
new file
Many files:
Nested joins added.
2004-06-10 22:27:21 -07:00
sergefp@mysql.com
5843eec521
Manual merge
2004-05-29 20:55:46 +04:00
pem@mysql.com
71eddc362e
Merging 4.1 to 5.0.
2004-05-26 17:04:45 +02:00
pem@mysql.com
df69f93ae9
Post-merge post-merge fix (new error codes for fparser).
2004-05-14 16:10:31 +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
timour@mysql.com
f3dab7be12
Merge of WL#1469 with latest bk sources.
2004-05-11 12:15:58 +03:00
bell@sanja.is.com.ua
d2fa79b291
keep old engine & JOIN if we changed subquery Item (Bug #3646 )
2004-05-07 23:06:11 +03:00
pem@mysql.com
bf45960eef
Merge 4.1 -> 5.0
2004-05-07 18:52:06 +02:00
bell@sanja.is.com.ua
c2f194f243
repetable test replaced with inline function
2004-05-04 16:37:04 +03:00
timour@mysql.com
9f1fd5bd90
Implementation of WL#1469 (Greedy algorithm to search for an optimal execution plan).
2004-04-16 13:21:08 +03:00
pem@mysql.com
dfd59e296e
Merge 4.1 -> 5.0.
2004-04-07 19:07:44 +02:00
bell@sanja.is.com.ua
8035ce40ec
DBUG_ASSERT(fixed == 0) added to fix_fields()
2004-03-17 14:26:26 +02:00
igor@rurik.mysql.com
f18e0068ba
Manual merge
2004-02-19 01:09:54 -08:00
pem@mysql.com
c8585f3283
Merge 4.1 into 5.0.
2004-02-10 18:44:02 +01:00
bell@sanja.is.com.ua
0aa7a4b4ea
after merge & valgrind test fixes (BUG#2120)
2004-02-10 02:18:22 +02:00
bell@sanja.is.com.ua
b99d13582b
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-derived2-4.1
2004-02-09 12:10:12 +02:00
bell@sanja.is.com.ua
2a9cd37cd6
now all tables of query are locked in one place (including derived tables)
...
fixed BUG#2120 and other problem with EXPLAINing derived tables
2004-02-01 15:30:32 +02:00
ram@gw.mysql.r18.ru
6fab168a63
fix for the bug #2419 : order by ignores rows.
...
null_ref_key moved to TABLE_REF.
new null range created if necessary.
2004-01-31 10:04:16 +04:00
igor@rurik.mysql.com
c236568ac9
Auto Merge
2003-12-23 02:24:12 -08:00
sergefp@mysql.com
60563049e9
Merge mysql.com:/home/psergey/mysql-5.0-latest-pull
...
into mysql.com:/home/psergey/mysql-5.0-imerge-unique
2003-12-09 23:41:25 +03:00
igor@rurik.mysql.com
e235d796c9
Merge
2003-12-01 18:47:19 -08:00
pem@mysql.com
6e717133c5
Merge 4.1 to 5.0
2003-12-01 16:14:40 +01:00
monty@mysql.com
ede8169d24
Added missing SSL library (Should be in source distribution)
...
Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler)
Added a lot of 'version_xxx' strings to 'show variables'
Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
Fixed problem with printing sub selects to debug log
2003-11-28 12:18:13 +02:00
igor@rurik.mysql.com
be27811faa
Post-merge after itroducing Item_equal
2003-11-26 17:54:20 -08:00
igor@rurik.mysql.com
3938ac5436
This ChangeSet Introdices Item_equal.
...
The objects of this class represent multiple conjunctive equalities
in where conditions: =(f1,f2,...fn) <=> f1=f2 and f2= ... and =fn.
The objects are used to generate new possibale paths to access
the tables when executing a query.
They are also used to optimize the execution plan
chosen by the optimizer for the query.
2003-11-26 17:23:52 -08:00
sergefp@mysql.com
5f9718adfb
Merging index_merge/Unique into 5.0
2003-11-23 15:17:46 +03:00
bell@sanja.is.com.ua
7191ea0ae3
Fixed UNION fields type/length detecting
2003-11-23 02:01:15 +02:00
sergefp@mysql.com
4f721196f3
Post-merge fixes
2003-11-22 00:20:48 +03:00
monty@mysql.com
8aeb63dd3b
Update VC++ files
...
Portability fixes
After merge fixes
2003-11-21 01:53:01 +02:00
sergefp@mysql.com
30b3c3bf1b
Merged, most likely needs post-merge fix
2003-11-21 00:27:54 +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