e58771bb07
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-prepared-4.1
2004-02-09 14:46:41 +02:00
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
69e2460bd4
fixed subquery with PS (BUG#2462)
...
fixed UNION preparation
2004-02-08 20:14:13 +02:00
2a4cfe8b4f
merge 3.23 -> 4.0, 2003/02/06
2004-02-06 15:23:41 +03:00
480b082cf4
merge
2004-02-05 18:14:48 +01:00
930db43eb0
correct processing of rand() in subqueries with static tables (BUG#2645)
2004-02-05 12:32:22 +02:00
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
7df839e757
Added testing of pthread_key_delete (to fix compile problem on SCO) (Bug #2461 )
...
DROP DATABASE now assumes RAID directories are in hex. (Bug #2627 )
Don't increment 'select_full_range' and similar statistics for EXPLAIN queries. (Bug #2506 )
Test in configure if pthread_key_delete() exists (to fix compile problem on SCO) (Bug #2461 )
2004-02-05 09:12:23 +01:00
7e9944d3d5
cleanup: #ifdef DELETE_ITEMS removed
2004-02-03 23:34:31 +03:00
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
f231d9826b
just tried to find all 'skipp' and replace it with 'skip'.
2004-02-02 20:25:39 +04:00
3243678040
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2419
2004-02-02 19:33:45 +04:00
e2ffbc1a6a
Indexes can be used for optimization if the operation
...
collation is the same with the index collation.
2004-02-02 17:50:14 +04:00
8fdce902f9
avoid null check on fields where NULL is impossible
...
(BUG#2393)
2004-02-02 02:23:53 +02:00
f9af8578bc
make JOIN::prepare, JOIN::optimize only once for EXPLAIN of derived table
...
(BUG#2120 sfter merge)
2004-02-01 20:07:44 +02:00
bd259f54c9
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-01 15:31:30 +02:00
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
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
ed44e769ba
Fixed parsing of column names and foreign key constraints in Innobase to handle quoted identifiers and identifiers with space. (Bug #1725 )
...
Fix optimizer tuning bug when first used key part was a constant. (Bug #1679 )
2004-01-30 10:46:30 +01:00
bd1f8a927c
incorrect fix undone, as it causes memory leaks (e.g. in key.test)
2004-01-30 08:40:01 +01:00
85b00b7fb5
Fixed Bug#2479, "dependant subquery with limit crash".
...
The problem was that memory was free'd, but it was referenced
later. This free was unneccessary anyway, because join_free() /
JOIN::cleanup takes care of this later on.
Added test case into t/subselect.test for it.
Regards,
Jani
2004-01-29 01:16:24 +02:00
b078d2df64
merge
2004-01-20 00:15:01 +01:00
0eb6070068
Code cleanup
...
Fixed bug in optimizer where it didn't choose right table order in some cases
2004-01-19 23:51:17 +01:00
b5d7506386
Fixed bug in IN() optimization
2004-01-19 23:10:01 +01:00
7dda8c102f
Merge deer.(none):/home/hf/work/mysql-4.1.clean
...
into deer.(none):/home/hf/work/mysql-4.1.1676
2004-01-19 21:06:27 +04:00
1f8eb40310
Code cleanup (working on PS & cleanup() code)
...
Item & changed with Item* in Item_xxx constructors
tables_list.first -> get_table_list()
2004-01-19 19:53:25 +04:00
242e8dbbbb
merge
2004-01-17 13:13:48 +02:00
c04fd7b177
switched to new syntax (TYPE->ENGINE)
...
check of memory allocation operation was added
2004-01-17 13:00:46 +02:00
7b652e9a29
fix for the 2361 bug: ALTER TABLE ... DROP PRIMARY KEY drops a non-primary key
...
"PRIMARY" has been replaced by primary_key_name.
2004-01-14 16:01:55 +04:00
e5fa5585f0
removed droping field->query_id for reinitialization tables for subquery.
...
(BUG#2089)
2004-01-03 00:12:07 +02:00
23b25675f2
Merge mysql.com:/home/psergey/mysql-5.0-latest-pull
...
into mysql.com:/dbdata/psergey/mysql-5.0-imerge-unique
2003-12-20 00:54:38 +03:00
12187684ca
Merging lex-pointer change from 4.1 to 5.0.
2003-12-19 20:13:48 +01:00
d37da004f6
THD::lex now points to THD::main_lex like in 5.0
...
All tests pass (client_test included)
2003-12-19 20:52:13 +03:00
99e0ae85c7
Merge 4.1 to 5.0.
2003-12-19 18:03:27 +01:00
031390a9a4
Fixes after merge with 4.0
...
Cleaned up embedded library access and query cache handling
Changed min stack size to 128K (to allow longer MyISAM keys)
Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
2003-12-19 16:25:50 +02:00
b1f07034da
Merge psergey-rh8.(none):/home/psergey/mysql-5.0-latest-pull
...
into psergey-rh8.(none):/home/psergey/mysql-5.0-imerge-unique
2003-12-18 17:01:35 +03:00
b9d8f108c1
Simple cleanups
2003-12-18 14:40:19 +02:00
e0cc6799ec
Merge with 4.0.17
2003-12-17 17:35:34 +02:00
59004f01f9
fixed restoring of thd->count_cuted_fields in store_val_in_field
...
(fixed #bug 2012)
2003-12-16 17:55:34 -04:00
bd92d9b9ae
Merge
2003-12-13 04:04:38 +02:00
f995a5f4aa
Fix autoincrement for signed columns (Bug #1366 )
...
Fixed problem with char > 128 in QUOTE() function. (Bug #1868 )
Disable creation of symlinks if my_disable_symlink is set
Fixed searching of TEXT with end space. (Bug #1651 )
Fixed caching bug in multi-table-update where same table was used twice. (Bug #1711 )
Fixed problem with UNIX_TIMESTAMP() for timestamps close to 0. (Bug #1998 )
Fixed timestamp.test
2003-12-12 22:26:58 +02:00
0abfaa9840
Fix #2093
...
Update after discussion with Monty
2003-12-12 22:13:57 +04:00
e6e0937dc4
Proposed fix for #2093
...
it happens because of the LEFT JOINT optimization in add_key_part()
This optimization does exactly the same in JOIN and in WHERE conditions
Not right.
I moved that optimization one level upper.
2003-12-12 21:26:20 +04:00
7e92336b1d
Fixed a possible memory leak on MacOSX when using the shared libmysql.so library (Bug #2061 )
...
mysql_server_init() now returns error code if something went wrong (Bug #2062 )
Don't use my_fopen() when reading symlink information as this may cause problems when a lot of files are opened.
Free thread keys with pthread_key_delete() instead of relying on automatic free. (Bug #2062 )
Fixed bug in UNION statement with alias '*'. (Bug #1249 )
Fixed a bug in DELETE ... ORDER BY ... LIMIT where the rows where not deleted in the proper order. (Bug #1024 ).
FOUND_ROWS() could return incorrect number of rows after a query with an impossible WHERE condition.
HOW DATABASES doesn't anymore show .sym files (on windows) that doesn't point to a valid directory. (Bug #1385 )
2003-12-11 06:24:08 +02:00
5fa5a8df4e
Fix for bug #1335 : filesort is missing in EXPLAIN if ORDER BY NULL is used
2003-12-09 23:52:58 +03:00
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
24a2ae44a3
Merged 4.1 -> 5.0
2003-12-09 19:00:34 +01:00
17330df85f
Merge
2003-12-09 13:34:57 -04:00
6d0703ab5b
QUERY_NO_GOOD_INDEX_USED and QUERY_NO_INDEX_USED moved from thd->lex.select_lex->options to thd->server_status
2003-12-06 23:21:09 +01:00
2c16ccdbe6
Merge mysql.com:/home/pem/work/mysql-4.1
...
into mysql.com:/home/pem/work/mysql-5.0
2003-12-02 17:08:24 +01:00