bell@sanja.is.com.ua
6348e63f62
Optimisation if simple IN subselect with primary index
...
(SCRUM) (part of WL#818)
2003-07-07 18:40:19 +03:00
bell@sanja.is.com.ua
7ad5331768
merge
2003-07-07 10:30:52 +03:00
bell@sanja.is.com.ua
f9936c61f7
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-alloc_group-4.1
2003-07-05 00:10:51 +03:00
serg@serg.mylan
4aac5d9938
enabling HA_READ_PREFIX_LAST_OR_PREV
2003-07-04 12:07:06 +02:00
bell@sanja.is.com.ua
73fdf52fa2
merged
2003-07-03 11:59:57 +03:00
bell@sanja.is.com.ua
b6f39d22e5
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-alloc_group-4.1
2003-07-01 19:48:31 +03:00
bell@sanja.is.com.ua
791ae8d34d
merge
2003-07-01 13:57:46 +03:00
bell@sanja.is.com.ua
f1353c1dda
merged
2003-07-01 10:03:20 +03:00
bell@sanja.is.com.ua
100a101ab6
Merge
2003-06-30 13:14:18 +03:00
bell@sanja.is.com.ua
7c799b17b6
merged
2003-06-29 15:35:48 +03:00
bell@sanja.is.com.ua
ebc2976f94
fixed bug #745
...
(resolving fields of reduced subselect)
2003-06-28 17:04:26 +03:00
bell@sanja.is.com.ua
08f8ab5917
Merge
2003-06-28 14:32:06 +03:00
bell@sanja.is.com.ua
ad9cb47c0c
merging
...
test moved to other bug
2003-06-28 13:34:07 +03:00
bell@sanja.is.com.ua
00f952849d
merging
2003-06-27 23:14:20 +03:00
bell@sanja.is.com.ua
223f305cdd
optimization results (SCRUM) WL#902
2003-06-27 13:36:03 +03:00
bell@sanja.is.com.ua
2d120d32fa
cond_count moved to SELECT_LEX_NODE
...
fixed BUG #726
2003-06-26 11:09:11 +03:00
bell@sanja.is.com.ua
76315814b7
Fixed error handling to be able do not interrupt update (907) (SCRUM)
...
fixed bug of current select pointer in subselect execution
fixed layuot
2003-06-25 01:19:09 +03: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
af6de3bfee
merging
2003-06-19 16:15:11 +03: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
bell@sanja.is.com.ua
98ffed1808
priventing allocation unused Item_buff (alloc_group_fields())
2003-05-30 22:14:52 +03:00
bell@sanja.is.com.ua
fe6175c40d
added mem_root switching for subselect if it is necessary
...
(bug #518 fixed)
2003-05-28 16:52:56 +03:00
bell@sanja.is.com.ua
a02d89de30
fixed priority checking bug in sub select handling
2003-05-28 00:49:24 +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
bell@sanja.is.com.ua
9e8c3a6fac
fixed bugs 442/443 (reduced subselect in ORDER/GROUP clauses)
2003-05-19 15:32:38 +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
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
pem@mysql.com
35c82164f6
Merged 4.1 to 5.0.
2003-04-29 12:06:04 +02:00
pem@mysql.com
6c85c6aa6a
Post-fix of bug #302 fix.
...
Fixed bug #320 .
Some new tests and cosmetic changes.
Another strcasecmp() replaced.
2003-04-27 17:35:54 +02:00
bell@sanja.is.com.ua
b9a4bf8cad
subselect in procedure argument list (Bug #302 )
2003-04-23 22:31:47 +03:00
bell@sanja.is.com.ua
c4637293fd
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-order-4.1
2003-04-23 11:20:19 +03:00
bell@sanja.is.com.ua
3beca2dbb1
fixed bug 185 (constant IN (SELECT field ...) do not return NULL correctly)
2003-04-23 00:01:19 +03:00
pem@mysql.com
386b0b91b2
Merged 4.1 into 5.0.
2003-04-16 23:23:23 +02:00
bell@sanja.is.com.ua
7bd0d02bda
fixed st_select_lex initialization
...
fixed mustiupdate subselect compatibility
(bug 217)
2003-04-05 09:29:28 +03:00
pem@mysql.com
4a171efd6f
Merged 4.1 -> 5.0.
2003-03-18 16:12:50 +01:00
bell@sanja.is.com.ua
1a8227d1c1
Merge
2003-03-15 14:16:57 +02:00
bell@sanja.is.com.ua
1cbf8f7408
fixed cached constsnt determination (bug #142 related)
2003-03-11 12:43:30 +02:00
bell@sanja.is.com.ua
c96e588490
processing of subselect in global ORDER BY (fifed crash of server)
...
this implementation have limitation: prohibited subselect in ORDER BY dependence of most outer query (will be solved after removing passing first select_lex as fake select for global mysql_select())
2003-03-11 01:06:28 +02:00
bell@sanja.is.com.ua
fd88f18547
fixed cleanup bug
2003-03-10 22:25:52 +02:00
bell@sanja.is.com.ua
af06b32a1d
fixed crash on non-well-constructed reference
2003-03-10 16:38:06 +02:00
pem@mysql.com
97dc6a528e
Merging 4.1 into 5.0
2003-02-18 15:05:35 +01:00
bell@sanja.is.com.ua
e98e85315f
fix of illegal usage aggregate functions
2003-02-15 00:11:00 +02:00
monty@mashka.mysql.fi
48558055ed
Move tmp_table_used to THD
...
Optimize depending sub querys
Remove valgrind warnings
2003-02-10 17:59:16 +02:00
monty@mashka.mysql.fi
25de9c19b2
After merge fixes & remove compiler warnings
...
Added lengths for all MYSQL_FIELD string parameters
Changed field length to 2 byte in .frm files
2003-02-07 15:47:24 +02:00
bell@sanja.is.com.ua
e294751c41
fixed bug in determinating uncacheable queries
...
new fatal_error interface to assign is_fatal_error and ne.report_error
commant about Item_row
2003-01-30 22:15:44 +02:00
bell@sanja.is.com.ua
5ed5dac01b
cyclic reference test removed, becouse testing of Item::fixed field apply more strict limitation
2003-01-30 14:35:07 +02:00
bell@sanja.is.com.ua
214036a7f6
improving of fields list creation in derived tables and unions
...
fixed length of fields created in fubselect
fixed resolving fields of reduced in derived table subselect
2003-01-29 19:42:39 +02:00
Sinisa@sinisa.nasamreza.org
44390c8cb6
A feature of doing automatick result buffering when INSERT is
...
done from the select containing a table to be inserted to.
2003-01-28 18:55:52 +02:00
bell@sanja.is.com.ua
0c5b323d0f
fixed bugs in temporary tables in subselect implementation (SCRUM)
...
merging with switching on static tables optimization (SCRUM)
fixed subselects with uncacheable results
added test for fixed bugs from bugreports
2003-01-28 14:48:12 +02:00
bell@sanja.is.com.ua
760e22f0bb
after merge fix of 577 task (SCRUM, pre commit to be able to merge with static tables optimization fix)
...
fixed derived tables with subselect inside
2003-01-26 21:30:35 +02:00
bell@sanja.is.com.ua
44d8a8cdab
merging
2003-01-25 13:19:46 +02:00
bell@sanja.is.com.ua
d56e23f64e
fixed subselects with temporary tables (SCRUM)
...
fixed memory leacks
2003-01-25 02:25:52 +02:00
bell@sanja.is.com.ua
372e2130e4
fixed test of cardinality
2003-01-21 13:55:26 +02:00
monty@mashka.mysql.fi
6be1b941bc
merge
2003-01-06 02:46: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
bell@sanja.is.com.ua
cfc99ce45c
fixed SET with subselect
2003-01-04 16:33:42 +02:00
bell@sanja.is.com.ua
9c63b18f97
fixed do with subselects
2003-01-03 17:08:00 +02:00
bell@sanja.is.com.ua
7c0a074614
merging
2002-12-31 12:55:03 +02:00
bell@sanja.is.com.ua
2c6fca2755
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/work-row-4.1
2002-12-31 12:48:00 +02:00
bell@sanja.is.com.ua
1dd7cb52ae
support of subselect without FROM reducing (SCRUM)
...
fixed bug of calling setup_fields without correct lex->current_select pointer in mysql_derived
more correct creation of reference in Item_field::fix_field
2002-12-26 01:28:59 +02:00
bell@sanja.is.com.ua
e67a0d2b86
check of LIMIT in row IN subquery (SCRUM related)
2002-12-25 12:03:08 +02:00
bell@sanja.is.com.ua
980ca35645
merging
2002-12-25 11:09:19 +02:00
Sinisa@sinisa.nasamreza.org
7f304a2746
Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2002-12-24 14:02:42 +02:00
Sinisa@sinisa.nasamreza.org
5988ae5ca5
Many fixes.
...
I still have to make a test case for :
UPDATE from sub-select with derived table
2002-12-24 13:58:07 +02:00
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
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
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
a968d7c2ea
many bug fixes
2002-11-30 18:46:24 +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
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
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
d6b646d4fc
after merging fix (update SCRUM?)
2002-11-23 20:40:16 +02:00
bell@sanja.is.com.ua
2024464018
merging
2002-11-23 19:20:04 +02:00
bell@sanja.is.com.ua
4d7a880196
after merging fix
2002-11-21 16:04:59 +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
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
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
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
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