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
508fb5aa12
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
2004-08-27 07:59:30 +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
pem@mysql.com
726b49d1ab
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/home/pem/work/mysql-5.0-merge
2004-08-26 13:00:33 +02:00
pem@mysql.comhem.se
c81b848d20
Major rehacking and cleanup of sp_pcontext.
...
This finishes (almost) WL#2002: Implement stored procedure GOTO.
Only the syntax issue for free labels remains ("label L;" vs "L:").
2004-08-26 12:54:30 +02: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
3d6318eb90
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
2004-08-25 09:04:06 +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
pem@mysql.comhem.se
6b5a6cdf99
Fixed BUG#3157: Crash if stored procedure contains IF EXISTS,
...
and BUG#336: Subselects with tables does not work as values for
local SP variables (which was closed before with a temp. fix, but not
actually fixed).
2004-08-24 16:07:39 +02: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
ea1df67d33
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
2004-08-24 09:33:05 +03:00
heikki@hundin.mysql.fi
5b165c75d0
innodb.result, innodb.test:
...
Fix mysql-test failure in the 5.0 tree on Aug 23: label seems to be a reserved word in 5.0, and we to use it a s a column name we must but it inside backticks
2004-08-23 18:01:22 +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
mskold@mysql.com
8d73def948
New result due to changed output from SHOW TABLES
2004-08-19 14:40:10 +02:00
pem@mysql.com
d7ace78921
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/home/pem/work/mysql-5.0-merge
2004-08-17 20:24:35 +02:00
pem@mysql.comhem.se
38b4cbbbd5
WL#2002: Implement stored procedure GOTO.
...
Mostly done, it works, but the temporary LABEL syntax still to be fixed.
2004-08-17 20:20:58 +02:00
bell@sanja.is.com.ua
f1e280e255
Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
2004-08-16 23:21:16 +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
sergefp@mysql.com
697c7ef6ce
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/dbdata/psergey/mysql-5.0-root
2004-08-16 21:20:44 +04:00
dlenev@brandersnatch.localdomain
117c787102
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into brandersnatch.localdomain:/home/dlenev/src/mysql-5.0
2004-08-13 20:07:29 +04:00
dlenev@brandersnatch.localdomain
15547058e5
Made sp.test more repeatable.
2004-08-13 20:02:52 +04:00
igor@rurik.mysql.com
49094f58f9
join_nested.test, join_nested.result:
...
Added a case for bug #4976 when one of the inner tables is empty.
select.result, join.result:
Reversed the previous change of the erronious fix for bug #4976 .
sql_select.cc:
The previous fix for bug 4976 was reversed as it
erroniously converted an outer join into an innner join
when on_expression does not refer to outer tables.
This is not valid if inner tables return an empty set.
Setting dependency on outer tables was added for the above cases.
To fix the crash in the test case of bug #4976
a guard was added that blocks running the crashing code for
nested outer joins.
2004-08-12 23:41:06 -07:00
sergefp@mysql.com
838eaec709
Fix and testcase for BUG#4984
...
The crash is eliminated but still it is weird/inefficent that ROR-intersection is used when performing updates in empty table.
2004-08-11 16:40:46 +04:00
igor@rurik.mysql.com
c92db89c44
Merge rurik.mysql.com:/home/igor/mysql-5.0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.0-1
2004-08-10 17:37:33 -07:00
igor@rurik.mysql.com
43bf2d055f
join.result, select.result:
...
Fixed bug #4976 .
join_nested.result, join_nested.test:
Added a test case for bug #4976 .
sql_select.cc:
Applied conversion from an outer join to an inner join
when the on expression does not depend on the outer table.
It fixed bug #4976 .
2004-08-10 17:32:15 -07:00
paul@kite-hub.kitebird.com
40ff6c268b
view.result:
...
Update test results.
2004-08-10 14:41:17 -05:00
igor@rurik.mysql.com
ff433d570b
Merge rurik.mysql.com:/home/igor/mysql-5.0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.0-1
2004-08-06 10:31:45 -07:00
igor@rurik.mysql.com
b805d12587
join_nested.result, join_nested.test:
...
Added a test case for bug #4922 .
sql_select.cc:
Blocked an optimization performed by join_read_const_table when
applied to an inner table of a nested outer join.
It was done to fix bug #4922 .
sql_yacc.yy:
Fixed a typo bug in the rule for join_table.
2004-08-06 10:22:20 -07:00
pem@mysql.comhem.se
7e1b622639
Fixed BUG#4934: Caching issue with stored procedures.
...
...and added new test file, sp-threads, for multiple connection tests
(apart from the security tests that are in sp-security).
2004-08-06 18:11:14 +02:00
pem@mysql.comhem.se
33c58f8c67
Removed an SP test case that's not repeatable over different builds/platforms.
2004-08-06 17:04:55 +02:00
pem@mysql.comhem.se
a21487fb4f
Fixed BUG#4904: Stored procedure crash if continue handler for HY000 errors.
...
The description is not entirerly correct. The issue was follow-up errors
where the first error is not caught - in which case it's often a system
error with errcode < 1000 (which are mapped by default to 'HY000'). In this
case the error state is different from what was assumed in the execution
loop.
2004-08-06 15:21:28 +02:00
pem@mysql.comhem.se
015b4145da
Fixed BUG#4902: Stored procedure with SHOW WARNINGS leads to packet error,
...
and tried to do it properly this time, digging out all show commands that
need the multi results flag set.
2004-08-06 13:47:01 +02:00
konstantin@mysql.com
35a15c3388
Followup: now we support few more SQL commands in prepared statements.
2004-08-03 03:52:57 -07:00