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
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
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
bell@sanja.is.com.ua
312e4d5076
fixed problem spoted by Vladimir V. Kolpakov
2004-08-16 17:09:57 +03:00
bell@sanja.is.com.ua
6d3c804a88
fixed syntax error in create-test-result found by Hakan
2004-08-15 20:52:39 +03: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
40d5fd0141
Followup2 (new commands are supported in prepared statements): test files
...
should've been fixed as well.
2004-08-03 04:07:19 -07:00
konstantin@mysql.com
35a15c3388
Followup: now we support few more SQL commands in prepared statements.
2004-08-03 03:52:57 -07:00
pem@mysql.comhem.se
7e6bade23b
Fixed BUG#434: Stored procedure which drops itself causes crash.
...
Simply disallow it, just as we disallow creation of routines from within
other SPs.
2004-07-29 17:33:45 +02:00
pem@mysql.comhem.se
714c3c0942
Fixed BUG#4318: Stored Procedure packet error if HANDLER statement,
...
at least partially. It doesn't crash or give packets out of order
any more, but it's unclear why it doesn't actually return anything
from within an SP. This should be investigated at some point, but
for the moment this will have to do. (It is a rather obscure feature... :)
2004-07-29 16:52:17 +02:00
serg@serg.mylan
7666b20f81
compatibility fixes
2004-07-27 00:00:01 +02:00
serg@serg.mylan
3640233f71
one more test should wait for WL#1324 (tablename to filename encoding)
...
non-ascii filenames work weird (e.g. on MacOSX)
2004-07-26 21:20:59 +02:00
serg@serg.mylan
74b0fdddc8
Merge
2004-07-26 21:06:46 +02:00
serg@serg.mylan
91e4d0eee0
results updated
2004-07-26 19:40:24 +02:00
pem@mysql.comhem.se
bebaaac57d
New test case for BUG#4726: Stored procedure crash when looping over SELECT with complex WHERE's.
...
(The fix was merged in from 4.1)
2004-07-23 19:52:06 +02:00
pem@mysql.com
d1c454a6f4
Post-merge fix.
2004-07-23 18:54:01 +02:00
bar@mysql.com
6cad42e3ce
Bug #4555 ALTER TABLE crashes mysqld with enum column collated utf8_unicode_ci
2004-07-23 19:10:06 +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
dbe6c702be
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-07-23 03:14:29 +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
pem@mysql.comhem.se
e9507f0e1a
Fixed BUG#4579: Execution of SP crashes server.
...
Sub-CALLs of procedures zapped thd->current_arena for good.
2004-07-22 16:46:59 +02: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
serg@serg.mylan
aa35efd292
after merge fixes
2004-07-22 00:26:33 +02:00
serg@serg.mylan
c9fd775777
merged
2004-07-21 23:32:11 +02:00
bell@sanja.is.com.ua
ced57b08a2
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-07-21 20:22:13 +03:00