Commit graph

13910 commits

Author SHA1 Message Date
timour@mysql.com
a19eee45f4 Manual merge with implementation for WL#1724 2004-10-11 10:17:17 +03:00
timour@mysql.com
f2a78b13b2 Fixes for WL#1724 required by the third code review. 2004-10-11 08:28:30 +03:00
timour@mysql.com
e76e617e01 Implementation of the last review comments for WL#1724
"Min/Max Optimization for Queries with Group By Clause"
2004-09-10 04:45:15 +03:00
timour@mysql.com
e2cd3dd1ce WL#1724 "Min/Max Optimization for Queries with Group By Clause"
- after-review changes
- merged with the source tree from 204-08-27
2004-08-27 16:37:13 +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
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
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
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
40ff6c268b view.result:
Update test results.
2004-08-10 14:41:17 -05: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
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
7ff92949db Compilation failure fix. 2004-08-03 21:59:52 -07:00
konstantin@mysql.com
34ec6a2411 client_test.cc -> client_test.c 2004-08-03 18:58:35 -07:00
konstantin@mysql.com
b29ba2284e Followup3: operator new and operator delete are defined in mysys.
The fix makes client_test.cc compile with embedded library.
2004-08-03 04:30:31 -07: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