monty@mysql.com
9d8555c0f0
Merge with 4.0 to get latest bug fixes
2004-09-04 15:59:49 +03:00
ram@gw.mysql.r18.ru
f91ca0bd66
A fix (Bug #4980 : union statement with () union () order by produces wrong explain).
2004-09-03 19:59:29 +05:00
bell@sanja.is.com.ua
7483b3cf96
parameter of my_yyoverflow made independed from YYSIZE_T (BUG#4204)
2004-06-24 02:57:57 +03:00
bell@sanja.is.com.ua
002364c20f
new length detection for non-string in UNION (BUG#4067)
2004-06-16 16:06:30 +03:00
bell@sanja.is.com.ua
3aae50e8c0
EXPLAIN UNION using same routing which used for execution which allow return correct bug messages (Bug #3639 )
...
EXPLAIN of hidden SELECT of UNION
2004-05-06 20:40:21 +03:00
bell@sanja.is.com.ua
26f0825cae
merge
2004-05-05 22:30:01 +03:00
monty@mysql.com
a5d8b846fa
after merge fixes
2004-05-05 21:24:21 +03:00
bell@sanja.is.com.ua
c5c35c667e
caching of queries with isammerge tables forbiden using general way
...
SQL_SELECT_LIMIT as default will be applied only for SELECT statement if there was not explicit LIMIT clause
correct table list passed to class constructor of select_update
2004-05-05 21:21:41 +03:00
Sinisa@sinisa.nasamreza.org
b58127689e
union.result:
...
fixing typo
union.test:
fixing type
2004-05-04 16:48:34 +03:00
Sinisa@sinisa.nasamreza.org
909d69ff0a
union.result, union.test:
...
a small fix for the test case
2004-05-04 14:11:23 +03:00
Sinisa@sinisa.nasamreza.org
333eadf1b2
Fix for a bug involving UNION's and SET SQL_SELECT_LIMIT
2004-05-03 19:15:26 +03:00
bell@sanja.is.com.ua
1e4af935c1
removed old way to prevent using stack tables for caching Items in PS
...
fixed error code in union test
2004-04-04 03:05:44 +03:00
monty@mysql.com
e0e0314d60
Merge with 4.0
2004-03-25 23:29:45 +02:00
serg@serg.mylan
99886df867
correct support for a mix of UNION/UNION ALL in the same query.
...
Bug#1428
2004-03-23 14:43:24 +01:00
Sinisa@sinisa.nasamreza.org
2eaa07f199
union.result:
...
A test case for the bug that allowed table names to be used in ORDER BY columns (But #3064 )
union.test:
A test case for the bug that allowed table names to be used in ORDER BY columns (But #3064 )
sql_union.cc:
A fix for a bug that allowed table names to be used in ORDER BY columns (But #3064 )
2004-03-22 16:35:15 +02:00
monty@mysql.com
b49b24d94a
Added test to show bug in current union implementation
...
After merge fixes
Portability fixes
2004-03-19 18:33:38 +02:00
bell@sanja.is.com.ua
f4d1ee971b
merge
2004-02-17 01:52:33 +02:00
monty@mysql.com
e9315f984d
Changed wellformedlen to well_formed_len
...
Fixed that blobs >16M can be inserted/updated
Fixed bug when doing CREATE TEMPORARY TABLE ... LIKE
2004-02-17 01:35:17 +02:00
bell@sanja.is.com.ua
3f86f10a57
ulternative bugfix for BUG#2508 and fix for BUG#2809 - every table has its own TABLE structure
2004-02-17 01:14:51 +02:00
monty@mysql.com
050af89dd8
Merge with public tree
2004-02-16 10:31:05 +02:00
monty@mysql.com
f43093ec0e
After merge fixes
...
Added more DBUG statements
Ensure that we are comparing end space with BINARY strings
Use 'any_db' instead of '' to mean any database. (For HANDLER command)
Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
2004-02-16 10:03:25 +02:00
serg@serg.mylan
03ffb63f08
no dots in the error messages!
...
--disable-warning in union.test
2004-02-15 19:16:38 +01:00
Sinisa@sinisa.nasamreza.org
d43f102020
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2004-02-14 20:24:49 +02:00
hf@deer.(none)
6e0cda9f65
error code changed in union.test
2004-02-14 21:27:09 +04:00
Sinisa@sinisa.nasamreza.org
451e423be4
Fixes for bugs #2508 and #2552
2004-02-10 21:34:25 +02:00
monty@mysql.com
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
monty@mysql.com
e0cc6799ec
Merge with 4.0.17
2003-12-17 17:35:34 +02:00
monty@mysql.com
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
antony@ltantony.rdg.cyberkinetica.homeunix.net
fcf96dbb18
WorkLog#1323
...
Deprecate the use of TYPE=... Preferred syntax is ENGINE=
2003-12-10 04:31:42 +00:00
serg@serg.mylan
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
bell@sanja.is.com.ua
bd0aef2df3
code coverage for UNIONs
2003-11-27 19:45:28 +02:00
bell@sanja.is.com.ua
5474ada47a
added collation processing in UNION merging
...
temporary table BLOB now is longblob
2003-11-25 23:52:10 +02:00
bell@sanja.is.com.ua
afe48d3ce4
after review fixes
2003-11-23 21:26:43 +02:00
bell@sanja.is.com.ua
7191ea0ae3
Fixed UNION fields type/length detecting
2003-11-23 02:01:15 +02:00
monty@mashka.mysql.fi
cab1dc628c
CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
...
New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables.
ALTER TABLE table_name ... CHARACTER SET ... now changes all char/varchar/text columns to the given character set
(One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set)
Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib)
New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones)
Removed compiler warnings
Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
2003-11-18 13:47:27 +02:00
gluh@gluh.mysql.r18.ru
e78f51fbe9
Fix for bug #1564 : CREATE TABLE + UNION + same table name = crash
2003-11-11 18:14:49 +04:00
bell@sanja.is.com.ua
a7bdd19707
subqueries made printable
...
new EXPLAIN parameter to show real query as it was interpreted
(SCRUM) (WL#1274)
2003-10-16 15:54:47 +03:00
bell@laptop.sanja.is.com.ua
e1b53fdd42
Merge
2003-10-06 20:55:06 +03:00
monty@mashka.mysql.fi
45aa92c574
After merge fixes.
...
Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
2003-09-11 19:06:23 +03:00
monty@narttu.mysql.fi
77a70a0a24
merge with 4.0.15
2003-08-29 13:44:35 +03:00
bell@laptop.sanja.is.com.ua
5553868638
fixed bug of lack of fix_fields call (after merge bugfix (SCRUM))
...
fixed bug in Item_sum
fixed bug in dependence remover
after merge fix
2003-08-23 13:29:38 +03:00
monty@narttu.mysql.fi
359846f052
Fixed some varnings from valgrind
...
Set min value of max_allowed_packet to 1024
Fixed problem with UNION's without braces and SQL_CALC_FOUND_ROWS, LIMIT #,#
and ORDER BY...LIMIT
2003-08-20 16:25:44 +03:00
monty@mashka.mysql.fi
eb6458cb18
After merge fixes + bugs from last merge
2003-08-19 16:00:12 +03:00
monty@mashka.mysql.fi
2263e3e51f
Merge with 4.0.14
2003-08-11 22:44:43 +03:00
Sinisa@sinisa.nasamreza.org
3c99eb433c
sql_union.cc, sql_select.cc:
...
Code clean-up
sql_union.cc, union.test, union.result:
A fix for a bug #978 .
This enables that NULL's can be entered into UNION's result set,
although first SELECT columns are NOT NULL.
This is also a start of fixing UNION's properly regarding type
acceptance.
sql_select.cc:
A commit for my second July SPRINT task
2003-08-06 18:48:34 +03:00
Sinisa@sinisa.nasamreza.org
1df6492c7d
Fix for a problem with :
...
CREATE / INSERT ... (SELECT ...) UNION (SELECT ...) LIMIT;
2003-07-02 14:57:40 +03:00
Sinisa@sinisa.nasamreza.org
fb39821e94
Some fixes for CREATE / INSERT FROM UNIO >..
2003-07-02 01:24:05 +03:00
Sinisa@sinisa.nasamreza.org
c1660e1a23
Lot's of clean-ups and fixes for 4.0.14.
2003-07-02 00:10:47 +03:00
monty@narttu.mysql.fi
dd2b7918cd
Merge with 4.0.13
2003-05-19 16:35:49 +03:00
monty@narttu.mysql.fi
13530887cb
Fix for UNION and LEFT JOIN (Bug #386 )
...
Fixed wrong logging of Access denied error (Bug #398 )
2003-05-13 18:58:26 +03:00
Sinisa@sinisa.nasamreza.org
b998c3fab9
Fix for a bug with empty item list in UNION's
2003-04-08 15:55:28 +03:00
bell@sanja.is.com.ua
50d3fc7d43
fixed uncachable union (bug #150 )
2003-03-14 14:16:09 +02:00
Sinisa@sinisa.nasamreza.org
d6923a6c10
Adding tests for the fixed ORDER BY 0 bug
2003-03-10 17:07:39 +02:00
Sinisa@sinisa.nasamreza.org
57ed8b11fd
merge fixes
2003-03-06 17:31:22 +02:00
Sinisa@sinisa.nasamreza.org
ffa8a47b6d
three bug fixes and major code cleanup
2003-03-06 17:02:10 +02:00
monty@narttu.mysql.fi
3b073a08e0
Portability fixes
...
Don't define crc32 if we are not linking with gzip
2003-02-27 03:44:44 +02:00
Sinisa@sinisa.nasamreza.org
bf3dabcce4
Allowing NULL values in UNION's with first SELECT having only NOT NULL
...
columns.
2003-02-22 17:02:36 +02:00
monty@mashka.mysql.fi
1f6ecc0cd3
Changed mysql-test to print warnings for not existing table to DROP TABLE
...
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names.
changed store_warning() -> push_warning_print()
2003-01-06 01:48:59 +02:00
Sinisa@sinisa.nasamreza.org
d8b4d6bd26
fix for a bug with UNION in sub-select's and start working on
...
UNION's in derived tables
2002-12-09 20:47:47 +02:00
Sinisa@sinisa.nasamreza.org
5483796c50
Proper handling of ORDER BY table.column in UNION's
2002-12-02 20:18:51 +02:00
Sinisa@sinisa.nasamreza.org
1b625220ba
A bug fix for ORDER BY on table.column in provisional entire UNION
...
ORDER clause, where table is one of union'ed tables.
2002-11-30 22:53:50 +02:00
Sinisa@sinisa.nasamreza.org
8c3cf6adae
added a test case.
...
And I am not able to find a Changelog for 4.1
2002-10-17 16:20:14 +03:00
bell@sanja.is.com.ua
199f667c19
merging
2002-10-04 14:15:59 +03:00
bell@sanja.is.com.ua
46a22a5be7
new EXPLAIN
...
fixed bug in mysql-test/create-test-result
fixed bug in union-subselect engine
2002-09-26 23:08:22 +03:00
monty@mashka.mysql.fi
c702a1f8fd
Removed wrong implementation of CUBE/ROLLUP
...
Fixed bugfix of INSERT ... SET db_name.table_name.column_name
Changed locking to external-locking
Fix client hangup for some invalid SQL queries.
2002-07-24 19:55:08 +03:00
monty@mashka.mysql.fi
dddc20d9d1
New SET syntax & system variables.
...
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
Sinisa@sinisa.nasamreza.org
34998c5ad4
fix for SQL_CALC_FOUND_ROWS in UNION's
2002-04-03 17:52:31 +03:00
Sinisa@sinisa.nasamreza.org
b98a84a19f
Fix for a bug with EXPLAIN and (....) UNION (....) order by
2002-04-02 20:08:55 +03:00
Sinisa@sinisa.nasamreza.org
8766627d73
Fixes for offset bug in UNION's and making UNION's obey
...
SELECT_DEFAULT_LIMIT
2002-03-22 13:26:13 +02:00
Sinisa@sinisa.nasamreza.org
87eea66796
fix for the limit bug in UNION's and some additional syntax
...
checkings
2002-03-19 14:07:52 +02:00
Sinisa@sinisa.nasamreza.org
90629e2ccd
many fixes
2002-02-28 21:58:32 +02:00
monty@hundin.mysql.fi
87fd219d67
Fixed sleep time in mysql-test-run
...
Fixed bug in query cache.
Cleaned up des_crypt code.
2001-12-13 02:31:19 +02:00
monty@hundin.mysql.fi
67951fdeb4
Fix error messages
...
mysqltest now also writes failed error messages to log
2001-11-04 15:43:41 +02:00
Sinisa@sinisa.nasamreza.org
006ff09c34
New alternate UNION syntax and bug fix for multi-table deletes
2001-10-25 14:41:49 +03:00
monty@hundin.mysql.fi
e390a99573
Added support of INSERT to MERGE tables
...
Fixes for embedded libary and openssl
2001-09-22 17:40:57 +03:00
monty@hundin.mysql.fi
5a14bb2a7e
Integrated table->ref_primary_key into table->part_of_key
...
Fixed bug in UNION
2001-09-21 03:38:35 +03:00
monty@hundin.mysql.fi
0979515609
Fix error messages
...
Configure fixes
2001-09-18 05:16:39 +03:00
monty@hundin.mysql.fi
bfc7394ec3
Fixed bug in UNION when doing UNION with the same tables
2001-09-17 22:44:51 +03:00
monty@hundin.mysql.fi
295107457f
Fixed bug with SELECT * ... UNION
2001-09-17 15:40:03 +03:00
monty@hundin.mysql.fi
52b83ea218
Fixed bug in UNION
...
Fixed replication bug in load_master_data
2001-09-14 19:50:56 +03:00
Sinisa@sinisa.nasamreza.org
3b6546b875
EXPLAIN on UNION"s
2001-08-24 13:18:06 +03:00
monty@hundin.mysql.fi
59e7c97dab
Remove warnings and portability fixes
...
New global read lock code
Fixed bug in DATETIME with WHERE optimization
Made UNION code more general.
2001-08-14 20:33:49 +03:00
monty@hundin.mysql.fi
4a470fcc99
Fix error messages after merge from 3.23
2001-08-13 15:24:29 +03:00
Sinisa@sinisa.nasamreza.org
58ac4b5dfe
Monty, your comments ??
2001-08-12 16:25:28 +03:00
sasha@mysql.sashanet.com
31f269f1dd
fixed error message numbers in union test
2001-08-04 16:37:29 -06:00
monty@tik.mysql.fi
b13d453d50
Fix UNION
...
New faster list iterators
Change list code to be simpler and faster
Optimize count(distinct)
New error messages for UNION
Make create_tmp_table more general to be usable by UNION
2001-08-02 06:29:50 +03:00