bell@sanja.is.com.ua
b9dccb34dd
fixed support of used_tables() and const_item() in subqueries
...
(BUG#1444)
2003-10-17 00:36:01 +03: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
serg@serg.mylan
50d9b95b77
merged
2003-10-15 12:25:44 +02:00
bell@laptop.sanja.is.com.ua
ddf4d1e529
fixed printability of Items (all items except subselects)
...
(SCRUM) (WL#1274)
2003-10-12 17:56:05 +03:00
bell@laptop.sanja.is.com.ua
fa5520fbf8
more resonable errors about name resolving in subqueries (BUG#1483)
2003-10-11 17:41:15 +03:00
serg@serg.mylan
8cc3951c8f
key_map with more that 64 bits width
2003-10-11 13:06:55 +02:00
bell@laptop.sanja.is.com.ua
18bb43671d
Merge laptop.sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into laptop.sanja.is.com.ua:/home/bell/mysql/bk/work-all_any_group-4.1
2003-10-07 01:31:16 +03:00
bell@laptop.sanja.is.com.ua
e527f268d5
fixed error names
2003-10-06 22:35:05 +03:00
bell@laptop.sanja.is.com.ua
e1b53fdd42
Merge
2003-10-06 20:55:06 +03:00
monty@mashka.mysql.fi
7538242e4f
merge with 4.1 tree
2003-09-11 20:31:40 +03:00
bell@sanja.is.com.ua
ad07ffbf6d
merge
2003-09-09 22:26:19 +03:00
monty@mashka.mysql.fi
80565e1352
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mashka.mysql.fi:/home/my/mysql-tmp
2003-09-07 15:14:32 +03:00
bell@sanja.is.com.ua
0f456a480e
fixed string parameter assugnment (coping instead of asigning pointer to buffer) (BUG#1115)
...
fixed test_field_misc (UTF variable value)
2003-09-02 14:37:06 +03:00
monty@narttu.mysql.fi
77a70a0a24
merge with 4.0.15
2003-08-29 13:44:35 +03:00
vva@eagle.mysql.r18.ru
60fc3ae02b
Merge
2003-08-27 21:26:00 -04:00
vva@eagle.mysql.r18.ru
cde2b50514
fixed bug #910 (right type of ifnull function)
2003-08-27 19:11:54 -04:00
bell@laptop.sanja.is.com.ua
eb3240a908
merge
2003-08-26 16:49:53 +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
serg@serg.mylan
e3a3d00c77
merged
2003-08-21 21:39:22 +02:00
serg@serg.mylan
5bc4965d70
fix for SHOW CREATE TABLE to report corerct second field's length
2003-08-21 20:21:07 +02:00
bell@laptop.sanja.is.com.ua
dd9cbce47b
merge
2003-08-19 20:14:35 +03:00
monty@mashka.mysql.fi
eb6458cb18
After merge fixes + bugs from last merge
2003-08-19 16:00:12 +03:00
bell@laptop.sanja.is.com.ua
85f397781b
Code cleanup
2003-08-16 13:26:48 +03:00
bell@laptop.sanja.is.com.ua
55094f903f
As far as now transformer called after setup_wild() it is impossible to have '*'
2003-08-16 02:04:29 +03:00
bell@sanja.is.com.ua
734a953e27
after merge fix
2003-08-11 13:17:48 +03:00
bell@sanja.is.com.ua
a0fda66f00
merge
2003-08-11 11:51:33 +03:00
bar@bar.mysql.r18.ru
a60acfcfe0
Old style charset() and set_charset() were removed.
2003-08-05 12:52:37 +05:00
bell@sanja.is.com.ua
659650b4ea
merge
2003-08-05 09:56:21 +03:00
bell@sanja.is.com.ua
8d0647c6ac
merge
2003-08-01 18:24:27 +03:00
bell@sanja.is.com.ua
f59cfa6452
merge
2003-08-01 16:51:54 +03:00
venu@myvenu.com
015a65a7f7
Merge venu@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into myvenu.com:/home/venu/work/sql/dev-4.1
2003-07-30 02:15:26 -07:00
bar@bar.mysql.r18.ru
f8791c3962
Derivation attribute was not processed correctly
...
by MAX/MIN in some cases:
SELECT coercibility(max(s1)) from t1;
Subselect collation and derivation was not processed
correctly:
create table a select (select s1 from t1);
select * from t1 where s1 = (select s2 from t1);
2003-07-30 14:15:25 +05:00
venu@myvenu.com
45dcca7351
Fix for timestamp issue (BR #819 )
2003-07-30 02:01:53 -07:00
bell@sanja.is.com.ua
6dea500fb2
prevented finding references in item_list for non-SELECT st_select_lex
...
(fixed BUG#943)
2003-07-29 16:59:46 +03:00
bell@sanja.is.com.ua
bc1546ce31
count HAVING clause elements with select list elements, because agregate function can be present in it (BUG#922)
...
removerd unused loop_id
2003-07-29 13:00:32 +03:00
bell@sanja.is.com.ua
9ba680040b
added warning about external fields resolving to EXPLAIN command
...
(SCRUM) (WL#1053)
2003-07-25 01:02:42 +03:00
bell@sanja.is.com.ua
73fdf52fa2
merged
2003-07-03 11:59:57 +03:00
bell@sanja.is.com.ua
28207ede02
(SCRUM)
...
It looks like samll revolution in SELECT_LEX tree, but it was only natural way to solve problem with name resolution of external fields inside subselect which belongs to global order of union
also it have following advantages:
- removed mess with current_select type conversion
- type checking/converting
- a lot of virtual methods
- fake select for union execution allocated only once (it was allocated for every subselect with union executing)
changes:
fixed bug with outer fields name resolution of subqueries which belong to global ORDER BY clause
remuved select_lex() function, now thd->lex.current_select always have type SELECT_LEX
new SELECT_LEX (fake_select_lex) will be allocated in case of UNION for using in UNION processing
fake_select_lex allocated for union hold global ORDER BY & LIMIT clauses and have linkage equal to GLOBAL_OPTIONS_TYPE
new description of SELECT_LEX tree
(SCRUM)
2003-07-03 02:30:52 +03:00
bell@sanja.is.com.ua
5cd54c6945
fixed typos
2003-07-02 15:03:49 +03:00
bell@sanja.is.com.ua
feb425a9f2
fixed bug, which lead to crash mysqld by running 'mysql some_db_with_tables'
2003-07-02 14:45:35 +03:00
bell@sanja.is.com.ua
2ae8a00b2a
Item tree iterator
...
fixed dependence of items from reduced subquery
(SCRUM)
2003-07-02 13:12:18 +03:00
bell@sanja.is.com.ua
5eaaf8e732
after review changes (SCRUM)
...
removed outer resolving flag (because of movingtransformation after fix_fields)
2003-07-02 01:45:22 +03:00
bell@sanja.is.com.ua
100a101ab6
Merge
2003-06-30 13:14:18 +03:00
bell@sanja.is.com.ua
08f8ab5917
Merge
2003-06-28 14:32:06 +03:00
bell@sanja.is.com.ua
00f952849d
merging
2003-06-27 23:14:20 +03:00
bar@bar.mysql.r18.ru
28b2fcba27
item.cc:
...
A better comment
2003-06-27 16:09:53 +05:00
bar@bar.mysql.r18.ru
b528745dce
When unifying arguments for comparion, binary strings won character strings,
...
and comparison was done binary. Now, a binary string wins a character sting
taking in account their derivation. That means a character field wins a
binary literal and comparison is done according to the character field
collation, not binary.
2003-06-27 16:08:52 +05:00
bell@sanja.is.com.ua
6f81b7e027
Item::str_value can't be used for storing value
...
(fixed error in Item_cache_str)
2003-06-26 15:07:42 +03:00
bell@sanja.is.com.ua
7b77c5a2d3
merged
2003-06-25 23:52:15 +03:00
bar@bar.mysql.r18.ru
cb4539e8de
String comparison functions now use the same DTCollation with
...
CONCAT() and other string functions. This allows to reuse a lot
if code and to simplify further development.
2003-06-24 17:12:07 +05:00
bar@bar.mysql.r18.ru
7371150f2d
New class DTCollation (SQL:2003 calls it "declared type collation")
...
It's a combination of collation and its derivation (precedence order)
2003-06-24 15:11:07 +05:00
bar@bar.mysql.r18.ru
8bd715daa4
Item character set is stored in Item itself now, not in ITem->str_value
2003-06-24 13:37:11 +05:00
bell@sanja.is.com.ua
b171910b2b
fixed BUG #679
...
outer resolved fields now do not marked as dependent if they is not really belong to outer SELECT
one-letter variables name fixed
2003-06-20 10:15:58 +03:00
bell@sanja.is.com.ua
096ae170ae
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-item-4.1
2003-06-19 15:25:41 +03:00
bar@bar.mysql.r18.ru
69af692a5c
These functions now return a result of proper collation:
...
BIN
OCT
CONV
HEX
CHAR
FORMAT
REPLACE
2003-06-19 11:36:44 +05:00
monty@narttu.mysql.fi
dad0664579
merge with public tree
2003-06-05 00:12:45 +03:00
monty@narttu.mysql.fi
23145cfed7
Added SQLSTATE to client/server protocol
...
bmove_allign -> bmove_align
Added OLAP function ROLLUP
Split mysql_fix_privilege_tables to a script and a .sql data file
Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
Added table_alias_charset, for easier --lower-case-table-name handling
Better SQL_MODE handling (Setting complex options also sets sub options)
New (faster) assembler string functions for x86
2003-06-04 18:28:51 +03:00
bar@bar.mysql.r18.ru
759214fa41
MY_CS_NONTEXT flag for sprintf() incompatible charsets (ucs2 if the only one now)
...
Some default_charset_info were removed
2003-06-03 14:59:17 +05:00
bell@sanja.is.com.ua
01217497b5
merging
2003-05-26 15:52:19 +03:00
bell@sanja.is.com.ua
1a064a43a7
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-top-4.1
2003-05-26 09:28:56 +03:00
bell@sanja.is.com.ua
32262a0fd5
fixed subqueries name resolution with INSERT/REPLACE (found during bug 446 investigation)
2003-05-21 23:35:51 +03:00
monty@mashka.mysql.fi
6aa8929cf3
After merge fixes
...
Added initialization of all important global variables
2003-05-21 21:39:58 +03:00
monty@narttu.mysql.fi
dd2b7918cd
Merge with 4.0.13
2003-05-19 16:35:49 +03:00
bell@sanja.is.com.ua
3a30eda921
fixed memory overrun (bug 380)
2003-05-17 10:05:07 +03:00
bell@sanja.is.com.ua
e12cc8ef41
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-top-4.1
2003-05-14 22:01:56 +03:00
bell@sanja.is.com.ua
1915632163
subselect transformation moved in after-fix_field place
...
removed "of is null" if it is possible
(this cset should be SCRUM related, but not approved as scrum task yet)
2003-05-14 21:51:33 +03:00
monty@mashka.mysql.fi
60dfb25be3
Give warning if MySQL doesn't honor given storage engine
...
Allow syntax CREATE TABLE t1 (LIKE t2)
2003-05-13 11:15:11 +03:00
monty@narttu.mysql.fi
c858d72588
merge
2003-05-06 01:42:33 +03:00
monty@narttu.mysql.fi
51f9879008
Removed compiler warnings
...
Fixed memory leak in new filesort code
Optimzed sub selects to use keys with outer references.
Increased max tables in join to 62
2003-05-06 01:38:38 +03:00
serg@serg.mylan
784fb81426
INSERT ... UPDATE ... VALUES()
2003-05-03 01:16:56 +02:00
monty@mashka.mysql.fi
dd377bfba6
Fixed problem when comparing a key for a multi-byte-character set. (bug 152)
...
Use 0x.... as strings if 'new' mode. (bug 152)
Don't report -max on windows when InnoDB is enabled. (bug 332)
Reset current_linfo; This could cause a hang when doing PURGE LOGS.
Fix for row numbers in EXPLAIN (bug 322)
Fix that USE_FRM works for all table types (bug 97)
2003-04-27 22:12:08 +03:00
Sinisa@sinisa.nasamreza.org
5dc8dbea5f
merge fix
2003-04-26 15:26:28 +03:00
bar@bar.mysql.r18.ru
6d5f527afd
Variable names have been renamed:
...
client_collation -> collation_client
result_collation -> collation_results
connection_collation -> collation_connection
2003-04-23 18:19:22 +05:00
bar@bar.mysql.r18.ru
a3d08eaaf9
I renamed system variable literal_collation into connection_collation
2003-04-22 12:27:35 +05:00
Sinisa@sinisa.nasamreza.org
8902b739e9
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-04-17 13:47:37 +03:00
venu@myvenu.com
077d7e81c8
Fix broken windows distribution workspace file (libmysql.dsp), which is causing VC IDE to crash while loading
...
Remove ctype_latin1_de.c from respective dsp files
Fix to make_win_src_distribution.sh to delete all newly added IS Bitkeeper files
2003-04-16 11:49:52 -07: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
venu@myvenu.com
8eeecd9c86
Fix to support update + bianry logs with prepared statements (Dynamic query)
2003-04-04 12:33:17 -05:00
Sinisa@sinisa.nasamreza.org
65b9f4a306
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-03-28 16:58:52 +02:00
monty@mashka.mysql.fi
3bed7a6131
Merge with 4.0.13
2003-03-26 18:37:38 +02:00
monty@narttu.mysql.fi
9a7b0ef83d
Fixed bug with GROUP BY and alias
2003-03-25 13:06:20 +02:00
Sinisa@sinisa.nasamreza.org
ad426b8962
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-03-24 15:04:01 +02:00
bar@bar.mysql.r18.ru
682435db72
A separate variable national_charset_info
...
Fixes according coercibility tables, p162, SQL Complete
2003-03-21 11:21:01 +04:00
monty@narttu.mysql.fi
f8cd1e7906
After merge fixes
...
Fixed bug in Item::set_name()
Fix for memory leak with geometry type
2003-03-20 21:35:03 +02:00
Sinisa@sinisa.nasamreza.org
d027e4c035
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-03-20 21:10:04 +02:00
monty@narttu.mysql.fi
9f200ede0d
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into narttu.mysql.fi:/my/mysql-4.1
2003-03-20 02:06:08 +02:00
Sinisa@sinisa.nasamreza.org
75f8e28e18
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-03-19 20:27:11 +02:00
bar@bar.mysql.r18.ru
22cb247c74
Strings comparison is now done according to "Collating sequences used for
...
comparison" table, "SQL Complete, Really", page 162
2003-03-19 19:13:28 +04:00
bar@bar.mysql.r18.ru
3c455e314b
Produce an error when arguments are not compatible for CONCAT()
2003-03-19 17:24:46 +04:00
bar@bar.mysql.r18.ru
f63218b39a
Getting closer to be more SQL99 in dyadic operations
2003-03-19 15:55:17 +04:00
Sinisa@sinisa.nasamreza.org
766673c8c1
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-03-17 21:29:38 +02:00
bar@bar.mysql.r18.ru
04db86f22a
2003-03-17 21:56:34 +04:00
Sinisa@sinisa.nasamreza.org
c2cde48001
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-03-17 15:53:43 +02:00
Sinisa@sinisa.nasamreza.org
2ebfb836ab
A fix for a bug reported by Per Erik Martin, partaining to
...
usage of expressions whose result are to be saved into user vars.
2003-03-17 15:16:26 +02:00
monty@narttu.mysql.fi
5dd970c335
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into narttu.mysql.fi:/my/mysql-4.1
2003-03-17 15:06:06 +02:00
bar@bar.mysql.r18.ru
caf31a0790
Preparing to client<->server autoconvert
2003-03-17 13:14:04 +04:00
monty@narttu.mysql.fi
a434bca704
Merge with 4.0
2003-03-16 19:17:54 +02:00
serg@serg.mysql.com
026ec1d37c
merged
2003-03-13 13:44:03 +01:00
serg@serg.mysql.com
77dd897ead
fixed an obscure bug in group by + having + Item_ref::get_date
2003-03-11 21:20:53 +01:00
bar@bar.mysql.r18.ru
f95eb82934
stringcmp() and sortcmp() have been unified
...
into the only one sortcmp() with additional
CHARSET_INFO *cmp_charset argument.
2003-03-04 18:01:59 +04:00