igor@rurik.mysql.com
60164ced47
view.result:
...
Correction after fix for bug #9902 .
2005-04-18 14:44:14 -07: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
05c9defefa
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-01 13:02:29 +03:00
bell@sanja.is.com.ua
1029e533df
postmerge 4.1->5.0 fixes
2005-04-01 02:14:30 +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
monty@mysql.com
cc56005130
Hack to ensure that CHAR's created in 5.0 are not converted to VARCHAR even if the row type is dynamic
...
(For 4.1 tables old 'VARCHAR' fields are converted to true VARCHAR in the next ALTER TABLE)
This ensures that one can use MySQL 5.0 privilege tables with MySQL 4.1
2005-03-22 15:48:06 +02: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
04cffe4dfb
postreview fix
2005-02-22 12:43:49 +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
hf@deer.(none)
96558f6ad3
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into deer.(none):/home/hf/work/mysql-5.0.clean
2005-02-09 02:54:08 +04:00
hf@deer.(none)
b94a482ee9
Precision Math implementation
2005-02-09 02:50:45 +04: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
serg@sergbook.mysql.com
a9c7fb9dfd
post-merge
2004-12-31 17:59:43 +01: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
25d0f827ce
posmerge fixes
2004-11-13 23:26:15 +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
e0c3e769e2
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-10-24 10:31:59 +03:00
pem@mysql.comhem.se
bf60309ea2
Updated view test result (after a warning's been removed).
2004-10-22 20:55:52 +02: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
05af0c26c1
fixed default behaviour of WITH CHECK OPTIONS according to standard (BUG#5989)
2004-10-21 13:39:17 +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
748d7ce13a
column name changd
2004-10-12 00:45:52 +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
bell@sanja.is.com.ua
392292a46b
post review changes:
...
CHECK OPTION moved to one function
view name added to error messages
2004-09-29 16:35:01 +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
67fcac7a87
support of join view updateability (WL#1809)
2004-09-15 23:42:56 +03:00
bell@sanja.is.com.ua
f797298fc5
fixed merged view fields names (BUG#5147)
...
support of merged VIEW over several tables added (WL#1809)
2004-09-14 19:28:29 +03:00
bell@sanja.is.com.ua
bcadf50bc0
Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
2004-09-11 18:50:54 +03:00
paul@kite-hub.kitebird.com
37aae429e8
Fix bad output in SHOW CREATE VIEW, update affected
...
test result.
2004-09-10 15:04:28 -05: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
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
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
bell@sanja.is.com.ua
8b01230e5b
fix of Item_ref with result_field (BUG#5104)
2004-08-26 13:11:06 +03:00
bell@sanja.is.com.ua
a5f063e0da
full text function moving to current select (BUG#4822)
2004-08-25 16:14:42 +03:00
bell@sanja.is.com.ua
99f92a5cab
removing archive of .frm-s added (BUG#4821)
2004-08-25 14:57:57 +03:00
bell@sanja.is.com.ua
8aed1183d8
wording changed (postreview fix)
2004-08-25 08:56:46 +03:00
bell@sanja.is.com.ua
5e0fa37830
fixes name outout for SHOW CREATE VIEW command (BUG#5162)
2004-08-24 23:07:34 +03:00
bell@sanja.is.com.ua
94bfede7e1
new method to detect commands where all VIEWs should be temporary tables (BUG#4803)
2004-08-24 22:51:23 +03:00
bell@sanja.is.com.ua
7e778e1167
fixed aggregate function processing in VIEWs (BUG#4665)
2004-08-24 20:29:44 +03:00
bell@sanja.is.com.ua
be31afd176
Fixed UNION support in view creation (BUG#4664)
2004-08-24 19:50:16 +03:00
bell@sanja.is.com.ua
5abb148d01
items for functions which is converted to constants internally to support its correct printing added (BUG#4663)
2004-08-24 18:46:27 +03:00
bell@sanja.is.com.ua
393e41fe21
sending right error message where VIEW is not expected (BUG#4606)
2004-08-24 15:37:51 +03:00
bell@sanja.is.com.ua
0264ade412
fixed LIMIT clause printing (BUG#4839)
2004-08-23 13:19:59 +03:00
bell@sanja.is.com.ua
618e65cd28
fixed error processing of prepare in VIEW creation (BUG#4801)
2004-08-23 12:38:55 +03:00
bell@sanja.is.com.ua
ad8cb7628a
resolve UPDATE fields belonged to VIEWs as Item_field (instead of Item_ref) in prepared statements, too (BUG#4999)
2004-08-16 23:15:31 +03:00
paul@kite-hub.kitebird.com
40ff6c268b
view.result:
...
Update test results.
2004-08-10 14:41:17 -05:00
bell@sanja.is.com.ua
39c752ea98
merge
2004-07-23 09:25:08 +03:00
bell@sanja.is.com.ua
a27b1e54d5
fixed using VIEW fields (BUG#4617)
2004-07-23 09:20:58 +03:00
bell@sanja.is.com.ua
27815b9c6a
Merge
2004-07-23 03:13:21 +03:00
bell@sanja.is.com.ua
bc98f2146d
made different fields for view updatebility in principle and updatability during this execution (BUG#4601)
2004-07-22 17:52:04 +03:00
bell@sanja.is.com.ua
5be6861f41
fixed SP variables detecting (BUG#4604)
...
fixed error handling
2004-07-22 16:04:30 +03:00
bell@sanja.is.com.ua
76c0154e11
privent crash on temporary table during indexes lookup (BUG#4677)
2004-07-22 14:05:00 +03:00
serg@serg.mylan
27e61d1585
after merge fixes 2
2004-07-22 00:57:31 +02:00
bell@sanja.is.com.ua
7145dedb3d
test of duplicate field names (BUG#4608)
2004-07-21 12:14:45 +03:00
bell@sanja.is.com.ua
ad9a6e0858
error message interception (Bug#4598)
...
error handling of view initialization fixed (Bug#4599)
2004-07-21 04:26:20 +03:00
bell@sanja.is.com.ua
10ce8cdef5
fixed quoting of identifiers in VIEWs (BUG#4613)
2004-07-20 18:51:02 +03:00
bell@sanja.is.com.ua
054cdbe72c
fix case what VIEW have not tables (BUG#4614)
2004-07-20 10:34:39 +03:00
bell@sanja.is.com.ua
1e3f10a4b1
mark subquery in the FROM clause like derived and quoate all identifiers (BUG#4609)
2004-07-20 08:48:28 +03:00
bell@sanja.is.com.ua
4246f40065
fixed case when frivileges check switched off (BUG#4631)
2004-07-20 01:01:02 +03:00
bell@sanja.is.com.ua
3e40d59688
fixed test
2004-07-19 18:33:22 +03:00
bell@sanja.is.com.ua
c5a84657a8
standard values for table type in SHOW TABLES (BUG#4603)
2004-07-19 12:07:33 +03:00
bell@sanja.is.com.ua
9336d36cf8
VIEW
...
two TABLE_LIST copy eliminated
2004-07-16 01:15:55 +03:00