pem@mysql.com
c9ce1cfb89
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/home/pem/work/mysql-5.0-merge
2004-08-24 13:02:06 +02:00
pem@mysql.comhem.se
c2e06f58a1
Fixed a valgrind warning when creating stored procedures containing complex
...
unions (crashed randomly), and made "label" not a reserved word.
2004-08-24 12:59:06 +02: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
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
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
9311341933
Fixed another bug#4984-type problem. This probably isn't the last fix for this bug.
2004-08-13 05:12:56 +04: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
8a95e5ed63
errmsg.txt:
...
fix error message
2004-08-10 14:23:19 -05:00
paul@kite-hub.kitebird.com
ebda747624
mysqld.cc:
...
Typos/grammar.
2004-08-09 10:20:43 -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
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
e67584151e
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/kostja/mysql/mysql-5.0-sap-new
2004-08-03 03:33:51 -07:00
konstantin@mysql.com
d3e520ce7e
Port of cursors to be pushed into 5.0 tree:
...
- client side part is simple and may be considered stable
- server side part now just joggles with THD state to save execution
state and has no additional locking wisdom.
Lot's of it are to be rewritten.
2004-08-03 03:32:21 -07:00
pem@mysql.comhem.se
51eb64402a
WL#2001: Optimize stored procedure code.
...
Added a simple optimizer that shortcuts jumps and skip unused instructions.
2004-08-02 18:05:31 +02: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
guilhem@mysql.com
31f61883df
Replication: various small fixes specific to the new binlog format of 5.0
...
(including one which may explain autobuild's failure of yesterday)
2004-07-26 19:42:59 +02:00
pem@mysql.com
d1c454a6f4
Post-merge fix.
2004-07-23 18:54:01 +02:00
pem@mysql.comhem.se
29662d14ec
Fix for stored procedures BUG#4726: Stored procedure crash when looping over SELECT with complex WHERE's.
2004-07-23 18:42:24 +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
bar@mysql.com
0f298f02db
sql_db.cc:
...
mysqld crashes on CREATE TABLE in a database with corrupted db.opt file.
Bug#4646
2004-07-23 17:11:45 +05:00
pem@mysql.comhem.se
a4e0fa1113
Fix of fix for BUG#3339: Stored procedures in nonexistent schemas are uncallable.
...
Accidently worked on many platforms, but not all.
2004-07-23 13:34:06 +02: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
bell@sanja.is.com.ua
ed32dbbaf4
fix lock_multi
2004-07-22 13:43:04 +03:00
pem@mysql.comhem.se
e8b7c9cb1a
Added missing error message to estonian/errmsg.txt.
2004-07-22 11:32:12 +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
02614a0247
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
2004-07-21 22:48:05 +03:00
bell@sanja.is.com.ua
a1b6f6db0e
LEX initialization fixed
2004-07-21 22:44:12 +03: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
serg@serg.mylan
849ab31863
Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-07-21 19:17:50 +02:00
serg@serg.mylan
555442bf6a
fixed ORDER BY ?
...
new tests to ensure that prepared statement *really* work
(and that MySQL not picks up some number from arbitrary location
that happens to match the parameter's value)
2004-07-21 19:17:07 +02:00