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
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
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
bell@sanja.is.com.ua
2264bb01ca
new show create view output
...
mysqldump view support (BUG#4972)
workaround to allow view work after LOCK TABLES
2004-09-24 12:50:10 +03:00
bell@sanja.is.com.ua
74e7df0d80
SHOW CREATE VIEW (TABLE) privilege now reqiere show create privilege
...
(BUG#4777)
2004-09-17 22:23:59 +03:00
bell@sanja.is.com.ua
226d4ad8f4
now we allow to careate VIEW without any privileges on view columns (except create view privilege) (BUG#5152)
2004-09-17 00:16:57 +03:00
bell@sanja.is.com.ua
09b316f051
updateability of field with collation support (BUG#5506)
2004-09-16 23:45:20 +03:00
bell@sanja.is.com.ua
900a62961f
view with WHERE in nested join (BUG#5511)
2004-09-10 22:39:04 +03:00
bell@sanja.is.com.ua
c2f652211a
post merge fix
2004-09-10 15:08:30 +03:00
bell@sanja.is.com.ua
5fff725e43
Merge
2004-09-10 14:01:02 +03:00
bell@sanja.is.com.ua
336cb5f8be
merge
2004-09-09 16:52:22 +03:00
monty@mysql.com
e67fcee270
Update after merge
2004-09-09 14:55:28 +03:00
monty@mysql.com
49cd04b510
Merge on pull
2004-09-09 07:26:28 +03:00
monty@mysql.com
f2829d0386
After merge fixes of merge with 4.1 that included the new arena code.
...
Fixed (together with Guilhem) bugs in mysqlbinlog regarding --offset
Prefix addresses with 0x for easier comparisons of debug logs
Fixed problem where MySQL choosed index-read even if there would be a much better range on the same index
This fix changed some 'index' queries to 'range' queries in the test suite
Don't create 'dummy' WHERE clause for trivial WHERE clauses where we can remove the WHERE clause.
This fix removed of a lot of 'Using where' notes in the test suite.
Give NOTE instead of WARNING if table/function doesn't exists when using DROP IF EXISTS
Give NOTE instead of WARNING for safe field-type conversions
2004-09-09 06:59:26 +03:00
bell@sanja.is.com.ua
425857f5b2
test of updating and fetching from the same table check (BUG##5157)
2004-09-08 10:18:04 +03:00
bell@sanja.is.com.ua
472de2636c
requre BASE TABLE for HANDLER (BUG#5277)
2004-09-07 10:42:23 +03:00
bell@sanja.is.com.ua
f7e92479e9
added CHECK option test for INSERT ... ON DUPLICATE KEY UPDATE (WL#1983)
2004-09-06 23:55:36 +03:00
bell@sanja.is.com.ua
ee03178f01
merge
2004-09-06 15:56:38 +03:00
bell@sanja.is.com.ua
ebd03ae4a8
do not use Item_ref for view fields if it is UPDATE of INSERT (BUG#5263)
2004-09-06 14:37:10 +03:00
bell@sanja.is.com.ua
bd2c119176
CHECK OPTIONs added (WL#1983)
2004-09-03 15:18:40 +03:00
bell@sanja.is.com.ua
f1bbfdf4a6
checked INTO clause during view creation (BUG#5332)
2004-09-02 12:09:26 +03:00
bell@sanja.is.com.ua
1410ac22c4
fixed bug handling in views (BUG#5276)
2004-09-02 07:40:48 +03:00
bell@sanja.is.com.ua
36667b6a91
fixed printing of characters casting operartion (BUG#5264)
2004-09-02 00:11:40 +03:00
bell@sanja.is.com.ua
d1b667bdd1
fixed staistic of subquery if outer field resolved in merged view (BUG#5247)
2004-09-01 23:27:40 +03:00
bell@sanja.is.com.ua
d38bd725ef
system charset (with wich VIEW printed) saved in .frm and restored before parsing view (BUG#5163)
2004-09-01 22:48:59 +03:00
bell@sanja.is.com.ua
80a28d458a
fixed printing of real constants (BUG#5160)
2004-09-01 20:30:48 +03:00
bell@sanja.is.com.ua
56d8567a3d
adding mysql.proc to table list if view contains stored procedures (BUG#5151)
2004-09-01 19:00:41 +03:00
bell@sanja.is.com.ua
771c2998ed
ORDER clause printing fixed (BUG#5156)
2004-08-31 11:58:45 +03:00
bell@sanja.is.com.ua
392c306969
fixed open_and_lock_tables result processing (all open_and_lock_tables revision)
...
fixed printing of COLLATE operation
(BUG#5155)
2004-08-31 10:06:38 +03:00
bell@sanja.is.com.ua
7682b10ee8
fixed case when real length very close to calculated (BUG#5150)
2004-08-30 22:52:50 +03:00
bell@sanja.is.com.ua
a43c40f10f
fixed printing of stored procedure functions names (BUG#5149)
2004-08-30 21:47:52 +03:00
bell@sanja.is.com.ua
7e446b8349
Item name for VIEW added to find_field_in_table (BUG#5147)
2004-08-27 00:08:59 +03:00
bell@sanja.is.com.ua
b836d2ddb7
fixed updateability VIEW detection (Bug#5146)
...
fixed other Item_ref methods where result_field involved
2004-08-26 14:34:56 +03:00