Commit graph

231 commits

Author SHA1 Message Date
bell@sanja.is.com.ua
50481ebfb6 LIMIT is prohibited in IN/ALL/ANY/SOME 2002-12-23 18:25:25 +02:00
bell@sanja.is.com.ua
b63f230346 row IN subselects (SCRUM) 2002-12-19 21:15:09 +02:00
bell@sanja.is.com.ua
4cfb6d97b5 support of simple row subselects (SCRUM) 2002-12-19 07:38:33 +02:00
bell@sanja.is.com.ua
e82b91e1c8 fixed subselect null test
fixed method definition (overloading instead of redefinition)
fixed time expression type definition
2002-12-15 11:14:53 +02:00
monty@mashka.mysql.fi
d783e18436 merge 2002-12-14 17:49:01 +02:00
monty@mashka.mysql.fi
d49167bae5 Fixes for binary protocol (complement to last push)
Changed timestamp to return string in YYYY-MM-DD HH:MM:SS format.
DATE_ADD() and related functions now returns correct DATE/DATETIME type depending on argument types.
Now all tests passes, still some work left to remove warnings in log files from mysql-test-run
2002-12-14 17:43:01 +02:00
bell@sanja.is.com.ua
4506ab9ef1 _NEW_ IN/ALL/ANY/SOME behaviour with NULL (SCRUM related)
optimization of left expression evaluation
more descriptive method name
2002-12-06 21:55:53 +02:00
bell@sanja.is.com.ua
f1858ec331 fixed bug of PROCEDURE in same query with subselects
prohibited using procedure inside subquery
fixed error handling of procedure analize
2002-12-06 00:40:28 +02:00
bell@sanja.is.com.ua
91bd1e4cc5 fixed error message 2002-12-04 01:32:45 +02:00
bell@sanja.is.com.ua
75da3049c3 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
2002-12-01 00:17:33 +02:00
bell@sanja.is.com.ua
c6b48c6f26 fix of error handling 2002-12-01 00:11:22 +02:00
Sinisa@sinisa.nasamreza.org
a24b780207 Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2002-11-30 19:54:52 +02:00
Sinisa@sinisa.nasamreza.org
25586e477a some bug fixes and tests for those.
I am pushing now, because :

* I have a fix for crashing bug
* Sanja will destroy my changes in sub-select test ... ;)
2002-11-30 19:53:31 +02:00
bell@sanja.is.com.ua
9da705ef2f check of using same table for changing and select 2002-11-30 19:26:18 +02:00
Sinisa@sinisa.nasamreza.org
5b7a2f56ee many, many changes 2002-11-29 15:22:47 +02:00
Sinisa@sinisa.nasamreza.org
481bcd5750 many bug fixes 2002-11-29 14:49:07 +02:00
bell@sanja.is.com.ua
fa3d6193ac fixed error handling bug
fixed naming bug
fixed bug of subselect excluding
2002-11-29 10:44:30 +02:00
bell@sanja.is.com.ua
5921189e86 test of changing subselects tree 2002-11-28 23:31:48 +02:00
bell@sanja.is.com.ua
8e8678be9e fixed bug IN subselect with ORDER 2002-11-28 22:59:35 +02:00
bell@sanja.is.com.ua
fcb0b8815b merging 2002-11-28 20:12:14 +02:00
bell@sanja.is.com.ua
b8b7d0b03b fixed * without tables in IN bug
fixed sunction-test select in IN bug
fixed unions in subselect bug
2002-11-28 19:29:26 +02:00
Sinisa@sinisa.nasamreza.org
8a53d1ca6a adding mandatory aliases for derived tables as per SQL-99
doing it in sql_yacc.yy does not work
this commit contains fixes for other tests
there are fixes in subselect test which will have to be changed
once fix_fields is fixed to work with aliased derived tables
2002-11-28 19:19:21 +02:00
bell@sanja.is.com.ua
d7bd717ec8 after-merge fix 2002-11-27 22:35:23 +02:00
bell@sanja.is.com.ua
4be2cfd62d merging 2002-11-27 19:31:11 +02:00
bell@sanja.is.com.ua
1784d97f7a merging 2002-11-27 17:10:21 +02:00
bell@sanja.is.com.ua
aa9bfb44f9 after merging fix 2002-11-27 12:31:32 +02:00
bell@sanja.is.com.ua
32df7cacac merging 2002-11-27 11:32:09 +02:00
bell@sanja.is.com.ua
e419b767ac multi-delete with subselects (SCRUM) 2002-11-26 22:33:33 +02:00
bell@sanja.is.com.ua
fdb3eaf3d7 subselects in insert/replace (SCRUM) 2002-11-26 01:00:05 +02:00
bell@sanja.is.com.ua
b8f5fc3a13 subselet in delete (SCRUM) 2002-11-25 21:27:14 +02:00
bell@sanja.is.com.ua
d40bec6829 Merge 2002-11-25 17:53:03 +02:00
bell@sanja.is.com.ua
fdfe6a4c5e fixed bug of subselect in derived tables 2002-11-25 10:58:49 +02:00
bell@sanja.is.com.ua
c74c93ffc3 supported possiblity of item substitute (fixed bug) in setup_fields
more efficient reference creation
fixed table_name of Field in temporary table
2002-11-25 01:38:56 +02:00
bell@sanja.is.com.ua
1cee49dd86 Reference to field in outer subelect fixed
Fixed context in error mesages
2002-11-24 21:10:52 +02:00
bell@sanja.is.com.ua
aa5983b4a7 fixed removed by previos patch thd->allow_sum_func "side effect" of setup_conds
renamed tables to prevent droping real tables
2002-11-24 17:41:34 +02:00
bell@sanja.is.com.ua
39c7302140 fix of selfreference bug 2002-11-24 11:18:32 +02:00
bell@sanja.is.com.ua
f6f937085f fixed bug with thd->allow_sum_func value in subselect 2002-11-23 21:55:39 +02:00
bell@sanja.is.com.ua
1b62dc0223 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
2002-11-23 20:32:02 +02:00
bell@sanja.is.com.ua
2024464018 merging 2002-11-23 19:20:04 +02:00
monty@mashka.mysql.fi
806294c573 Fixes after merge with 4.0 2002-11-21 22:25:53 +02:00
bell@sanja.is.com.ua
2eb623a4f0 prevent using references on sum function (except HAVING clouse of current select) and forward references 2002-11-21 11:01:33 +02:00
bell@sanja.is.com.ua
bfcd4a7197 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-row-4.1
2002-11-19 17:34:38 +02:00
bell@sanja.is.com.ua
4e45cc7a9e Fixed explain error handling 2002-11-18 22:19:15 +02:00
bell@sanja.is.com.ua
c0764205cf fixed subselect explain bug 2002-11-17 22:23:57 +02:00
bell@sanja.is.com.ua
7a9f47759e basic row Items (SCRUM) 2002-11-15 20:32:09 +02:00
bell@sanja.is.com.ua
979f27ee4a fixed bug in cyclic reference refinition 2002-11-14 09:43:24 +02:00
bell@sanja.is.com.ua
41d9311621 fixed cyclic reference bug 2002-11-14 00:26:18 +02:00
bell@sanja.is.com.ua
d8f1d74fe5 fixed bug of derived table in subselect
fixed bug in error handling
2002-11-13 11:59:03 +02:00
bell@sanja.is.com.ua
07c9266764 fixed error handling
fixed subselects in ORDER bug
2002-11-13 01:14:39 +02:00
bell@sanja.is.com.ua
063ffd2d67 prevent using expernal fields in derived tables 2002-11-11 10:49:41 +02:00
bell@sanja.is.com.ua
46a74ce73b fix of yet another join_free bug
decreased number of check of "!join->select_lex->dependent"
2002-11-11 00:15:38 +02:00
Sinisa@sinisa.nasamreza.org
d96c670c70 Some code optimisations related to EXPLAIN of derived tables and the
resulting code cleanup in our main loop.
2002-11-09 15:40:46 +02:00
bell@sanja.is.com.ua
c78ae20589 ALL/ANY/SOME
decreasing number of rules in sql_yacc.yy to satisfy bison limitation
fixed subselect Items initializer methods
2002-11-07 23:45:19 +02:00
bell@sanja.is.com.ua
e32a982189 test of join_free bug 2002-11-05 21:47:20 +02:00
bell@sanja.is.com.ua
3e8a5e1d34 IN subselect with ORDER BY, HAVING & sum functions 2002-10-31 02:11:59 +02:00
bell@sanja.is.com.ua
6bc0286fed Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-in-4.1
2002-10-27 23:27:57 +02:00
bell@sanja.is.com.ua
07727576b8 IN subselect 2002-10-27 23:27:00 +02:00
bell@sanja.is.com.ua
7777d2b819 fixed union rexecution bug 2002-10-27 21:29:40 +02:00
bell@sanja.is.com.ua
c3127c7eb8 code cleanup
fixed subselect error handling bug
fixed subselect UNION ALL bug
fixed thd->lex.select restoring
explain UNION subselect bug
2002-10-26 20:18:37 +03:00
bell@sanja.is.com.ua
21ca25debf fixed update with subselect (FOR REVIEW) 2002-10-24 22:59:29 +03:00
bell@sanja.is.com.ua
c2da10ae18 fixed DISTINCT in subselect bug
small Item_ref fix
2002-10-23 23:36:11 +03:00
bell@sanja.is.com.ua
21dd4a4dd5 fixed subselect explain bug 2002-10-16 00:42:59 +03:00
bell@sanja.is.com.ua
31107251aa fixed cteate temporary field of subselect bug 2002-10-14 14:33:42 +03:00
bell@sanja.is.com.ua
d9f998164d fixed bug of multi-level EXPLAIN 2002-10-13 14:25:16 +03:00
bell@sanja.is.com.ua
f6d9e96fbc fixed subselect * bug 2002-10-12 01:09:47 +03:00
bell@sanja.is.com.ua
b79a4c01e7 fixed bug in subselect value storing 2002-10-11 17:00:11 +03:00
bell@sanja.is.com.ua
2715d331f7 fixed couple of bugs in field/reference name resolution
fixed error handling in subselect fix_field
2002-10-08 14:50:12 +03:00
bell@sanja.is.com.ua
09bec43b89 fixed error handling bug 2002-10-07 22:21:17 +03:00
bell@sanja.is.com.ua
23de67efae after merging fix 2002-10-07 00:56:21 +03:00
bell@sanja.is.com.ua
2883c3a8cc fixing EXPLAIN select types 2002-10-03 18:47:04 +03:00
bell@sanja.is.com.ua
c65515d888 fixed bug in string & date types with group function in subselect 2002-09-28 18:34:56 +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
bell@sanja.is.com.ua
d9989c635e merged 2002-09-03 10:06:10 +03:00
bell@sanja.is.com.ua
b07aaeb295 subselect with union
new error handling
Item_ref bug fixed
2002-09-03 09:50:36 +03:00
bell@sanja.is.com.ua
0f6a9fe533 fixed bug reported by Walrus & Miguel in exists subselect 2002-07-31 01:26:51 +03:00
bell@sanja.is.com.ua
2cf620004e subselect in having clause
fixed bug in sum function in subselect
2002-07-01 14:14:51 +03:00
bell@sanja.is.com.ua
f974c735cf EXISTS type of subselect
more correct parameters in result creation script
2002-06-19 17:52:44 +03:00
bell@sanja.is.com.ua
fb2cd68b5d new subselect tests
LIMIT fixed
AVG & STD with subselect fixed
join_free fixed to be depended queries compatible
sort_default removed from SELECT_LEX
2002-06-01 23:35:36 +03:00
bell@sanja.is.com.ua
1fb2babea7 limit clause fixed 2002-05-28 22:38:17 +03:00
bell@sanja.is.com.ua
35faf872aa added depended subselect processing 2002-05-26 22:50:32 +03:00
bell@sanja.is.com.ua
e077890b04 simple subselects ported to new select_lex structures 2002-05-12 23:46:42 +03:00