sergefp@mysql.com
307c0cf908
Fix for BUG#8490: In mysql_make_view for join algorithm views we need
...
to insert view's subqueries into select_lex->slave(->next)* chain.
In case a join has several such views, don't add the same subqueries several times
(this forms a loop on the above chain which breaks many parts of the code)
2005-04-23 00:13:46 +04:00
igor@rurik.mysql.com
b622aba19f
information_schema.result, information_schema.test:
...
Added a test in connection with the fix for
bug #6106 .
view.result, view.test:
Added test cases for bugs #6106/6107.
sql_show.cc:
The addition of the case for items of the type REF_ITEM in the
function uses_only_table_name_fields became necessary after
the fix for bug #6106 .
sql_base.cc:
The problem was due to the fact that two different column
references were glued together though one of them belonged to
a subquery while another to an outer query. This caused
eventually a wrong calculation of values for the used_tables
attribute.
2005-04-13 23:06:37 -07:00
jimw@mysql.com
c18307e8a2
Cleanup tests and results after merge from 4.1 of embedded
...
server testing cleanups.
2005-04-04 12:43:58 -07:00
bell@sanja.is.com.ua
51b17c974d
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-multi-5.0
2005-04-03 15:30:18 +03:00
bell@sanja.is.com.ua
3061a749e6
fix of required privileges for altering view VIEW (DELETE->DROP) (BUG#9260)
2005-04-02 18:05:00 +03:00
bell@sanja.is.com.ua
1659dacab1
fixed mechanism of detection selection from table wich we update
...
(BUG##9398, BUG#8703)
fixed wrong join view detection in multi-delete which lead to server crash
2005-03-28 15:13:31 +03:00
gluh@gluh.mysql.r18.ru
fcd50af3c7
Fix for bug #8790:Test 'information_schema': 'Max_data_length' shows 10 * (2 giga - 1) + 9
2005-03-15 20:54:44 +03:00
bell@51.0.168.192.in-addr.arpa
9270c24f5f
Abort procesing current item if it was substituted by view field (BUF#6894)
...
Post-review fixes
2005-02-22 12:27:08 +02:00
bell@sanja.is.com.ua
ea8caabb10
Better emulation correct SELECT tree for fields expressions of merging view during name resolving (BUG#6394)
2005-02-10 23:01:59 +02:00
bell@sanja.is.com.ua
9b1bf2da5a
merge
2005-02-10 18:01:06 +02:00
pem@mysql.comhem.se
2c26ebe359
WL#2130: Table locking for stored FUNCTIONs
...
Collect all tables and SPs refered by a statement, and open all tables
with an implicit LOCK TABLES. Do find things refered by triggers and views,
we open them first (and then repeat this until nothing new is found), before
doing the actual lock tables.
2005-02-08 20:52:50 +01:00
bell@sanja.is.com.ua
471c8e6777
fixed problem with groupping by view (BUG#7116)
2005-01-31 16:24:11 +02:00
bell@sanja.is.com.ua
e447b88869
fixed problem in view over view setup (BUG#7433)
2005-01-31 10:43:36 +02:00
bell@sanja.is.com.ua
a13efc7d65
merge
2005-01-19 18:23:24 +02:00
gluh@gluh.mysql.r18.ru
994c1fd4d8
View field names should be case insensitive
2005-01-19 16:19:10 +03:00
bell@sanja.is.com.ua
1affa4df0f
fixed problem in resolving items of outer query in subqueries in view (BUG#6394)
2005-01-18 21:58:12 +02:00
bell@sanja.is.com.ua
dffac28b76
fixed views with PS protocol
2005-01-05 16:48:23 +02:00
monty@mysql.com
7cf8285b3f
After merge fixes
...
Add support for warnings for prepare of prepared statements
Fixed test to work with --ps-protocol
Fixed some test results
2005-01-04 13:46:53 +02:00
monty@mysql.com
d71c030587
After merge fixes
2004-12-31 00:44:00 +02:00
gluh@gluh.mysql.r18.ru
6372efa7da
Fix for bug#7212: information_schema: "Can't find file" errors if storage engine gone(after review)
2004-12-16 16:31:36 +03:00
serg@serg.mylan
ceb0d1cf87
compatibility fixes
2004-11-29 22:47:50 +01:00
serg@serg.mylan
800ffc6150
view.test:
...
more max_rows for show table status
comment spellchecking...
2004-11-28 18:00:42 +01:00
serg@serg.mylan
992f5c70dd
limit Max_data_length in 'show table status'
2004-11-28 17:30:52 +01:00
bell@sanja.is.com.ua
1e3d8b0839
post-merge fix
2004-11-25 02:23:13 +02:00
bell@sanja.is.com.ua
072d38eb12
merge
2004-11-21 20:08:12 +02:00
bell@sanja.is.com.ua
8ca32a4ef6
merge
2004-11-21 10:12:11 +02:00
bell@sanja.is.com.ua
0ef0b030a5
merge
2004-11-11 21:18:10 +02:00
bell@sanja.is.com.ua
a41ef77b7b
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-view-5.0
2004-11-08 03:33:52 +02:00
bell@sanja.is.com.ua
7eae926e26
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-view-5.0
2004-11-06 12:46:46 +02:00
bell@sanja.is.com.ua
064b02203f
new lock for multiupdate:
...
- open and create derived tables
- detect which tables should be locked for write
- lock and fill derived tables
some unitialized variables fixed
2004-11-05 17:29:47 +02:00
monty@mysql.com
47bbf768d4
Fixes after merge with 4.1
...
FOUND is not a reserved keyword anymore
Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted
Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT
Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
2004-11-03 12:39:38 +02:00
bell@sanja.is.com.ua
13f249a025
VIEW support for CHECK TABLE command (WL#1984)
2004-10-28 19:37:25 +03:00
bell@sanja.is.com.ua
3d389a038e
fixed detection of updating table on which we select (BUG#6032)
2004-10-25 17:32:28 +03:00
bell@sanja.is.com.ua
3288007235
fixed db/user privileges getting (BUG#5976)
2004-10-22 15:43:22 +03:00
bell@sanja.is.com.ua
ed7b229a28
added support of view and CHECK OPTION of view to LOAD DATA (BUG#5996)
2004-10-21 21:53:27 +03:00
bell@sanja.is.com.ua
926537600e
new behaviour of CHECK option build, for mor efficience and more correct:
...
check option build only according most top VIEW CHECK OPTION TYPE (BUG#5993)
2004-10-21 18:10:59 +03:00
bell@sanja.is.com.ua
1bd699e04c
value should be checked after 'before' trigger work (BUG#5992)
2004-10-21 17:05:45 +03:00
bell@sanja.is.com.ua
73e4ac715d
inserting single value with check option failed always get error (part of BUG#5995)
2004-10-21 14:32:10 +03:00
bell@sanja.is.com.ua
370edf063d
Allow inheriting check options if view have not WHERE clause (BUG#5988)
2004-10-21 13:30:25 +03:00
bell@sanja.is.com.ua
84d4c4eb05
fixed printing of substring_index (BUG#5911)
2004-10-21 13:11:15 +03:00
bell@sanja.is.com.ua
29593da2f6
showing table type now is controled by new parameter 'FULL' of SHOW TABLES command (SHOW FULL TABLES) (as it was decided on last dev conf)
2004-10-10 13:15:14 +03:00
bell@sanja.is.com.ua
c287345cb8
fixed incorrect type custing (fixed problem with runing tests with --debug (thanks, Sergei Gluhov spoted it))
2004-10-09 18:51:19 +03:00
bell@sanja.is.com.ua
78997a2acd
allow merging views with subqueries in WHERE clause (BUG#5504)
2004-10-07 22:54:31 +03:00
bell@sanja.is.com.ua
d73ba9660d
test of DELETE privilege and cyclic reference added in case of altering view (BUG#5148)
...
fixed ALTER VIEW syntax
fixed WITH CHECK OPTION clause printing in SHOW CREATE VIEW
2004-10-07 15:43:04 +03:00
bell@sanja.is.com.ua
da5a55e3cd
sql_updatable_view_key replaced with updatable_views_with_limit
...
now default behaviour do not prevent any updates of view.
Also updating VIEWs of queries without LIMIT clause will not be checked at all (there will not be even warning)
(changes according to discussion on last dev-conf)
2004-10-07 12:13:42 +03:00
bell@sanja.is.com.ua
05acd51fba
postmerge fix
2004-10-05 15:07:31 +03:00
bell@sanja.is.com.ua
a78f817d20
merge
2004-10-05 13:41:51 +03:00
monty@mishka.local
76a315410b
After merge fixes
2004-10-05 03:05:20 +03:00
bell@sanja.is.com.ua
9d9c950445
postmerge fix
2004-10-04 13:45:35 +03:00
bell@sanja.is.com.ua
013512abab
merge
2004-09-29 17:10:17 +03:00