Commit graph

10028 commits

Author SHA1 Message Date
pem@mysql.comhem.se
81c4cca686 Changed single generic error code/message into different ones for duplicate things.
(For multi-lingual support.)
Also fixed memory leak when aborting parsing for a duplicate cursor.
2003-11-14 13:46:50 +01:00
pem@mysql.comhem.se
c38bb3d79d Various bug fixes:
- Duplicate parameters/variables, conditions and cursors (not allowed).
  - ITERATE in labelled BEGIN-END (not allowed).
  - Missing SQLSTATE [VALUE] keywords in CONDITION/HANDLER declaration (added).
  - Empty BEGIN-END (now allowed).
  - End label (now optional).
2003-11-13 19:34:56 +01:00
acurtis@pcgem.rdg.cyberkinetica.com
d4b89f4210 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into pcgem.rdg.cyberkinetica.com:/usr/home/acurtis/work/wl1280-part1
2003-10-30 16:28:18 +00:00
acurtis@pcgem.rdg.cyberkinetica.com
a26e914548 Revert behaviour change introduced in WL1280. Fixes tests. 2003-10-30 16:26:08 +00:00
pem@mysql.com
00420f899d Merge mysql.com:/usr/local/bk/mysql-5.0
into mysql.com:/home/pem/work/mysql-5.0
2003-10-30 10:41:58 +01:00
pem@mysql.comhem.se
055559bcaa Added more error handling for abnormal cases (like a broken mysql.proc table). 2003-10-30 10:25:45 +01:00
acurtis@pcgem.rdg.cyberkinetica.com
fc475dbfa7 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into pcgem.rdg.cyberkinetica.com:/usr/home/acurtis/work/wl1280-part1
2003-10-28 23:24:57 +00:00
acurtis@pcgem.rdg.cyberkinetica.com
c7688a3a85 Worklog #1280, (Stage 1 Implementation)
This is a starting work to remove handler name dependencies 
from the Lex/Parser.
2003-10-28 21:39:55 +00:00
pem@mysql.comhem.se
bfe6ef9c9b Fix BUG#1656: Have to initialize OUT parameters too, in case they're not
later set by the procedure.
2003-10-28 15:43:49 +01:00
pem@mysql.com
be26021bf0 Merge mysql.com:/usr/local/bk/mysql-5.0
into mysql.com:/home/pem/work/mysql-5.0
2003-10-23 17:35:20 +02:00
pem@mysql.comhem.se
94d76ad3e3 Undid previous fix (as it will be fixed by a merge). 2003-10-23 17:34:11 +02:00
pem@mysql.comhem.se
692609537d Post-merge fixes. 2003-10-23 16:06:51 +02:00
kostja@oak.local
e6c876490d small merge bug fixed 2003-10-23 16:11:51 +04:00
pem@mysql.com
337238b78a Merging 4.1->5.0 2003-10-22 16:10:22 +02:00
pem@mysql.comhem.se
70ea503662 Bugfix of previous WL#1265 commit.
Need a sp_cache_remove() function with implicit name lookup to make the WL task
to work. It's a cleaner and more convenient interface anyway...
2003-10-21 18:13:14 +02:00
hf@deer.(none)
2918e5d529 Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.clean
2003-10-21 16:06:26 +05:00
hf@deer.(none)
b04af44923 Fix for Windows bug reported throuhg Miguel 2003-10-21 16:05:17 +05:00
pem@mysql.comhem.se
e42a724fa7 WL#1265: Fix proper ALTER/DROP support in the SP cache.
New sp_cache C API. When an SP is dropped, old caches (in other threads)
become invalid and are cleared.
Also, the caches in THD are only created on demand.
2003-10-21 12:08:35 +02:00
bell@sanja.is.com.ua
282b402813 Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-count-4.1
2003-10-20 18:18:18 +03:00
pem@mysql.comhem.se
52dae5c79e Bugfix; added another method to Item_splocal, updated tests, and added previous
fix to functions as well.
2003-10-20 16:59:45 +02:00
bar@bar.mysql.r18.ru
e0444dc3be Test for bug #1022
Description: When a table contains a 'float' field, and one of the functions
MAX, MIN, or AVG is used on that field, the system crashes.
2003-10-20 19:13:45 +05:00
bar@bar.mysql.r18.ru
7d5ec45152 Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
2003-10-20 18:53:58 +05:00
bar@bar.mysql.r18.ru
89c794bdad Fix for:
http://bugs.mysql.com/bug.php?id=1022
Description: When a table contains a 'float' field, and one of the functions
MAX, MIN, or AVG is used on that field, the system crashes.
2003-10-20 18:52:45 +05:00
gluh@gluh.mysql.r18.ru
4bed4abb62 Merge commit 2003-10-20 13:45:28 +05:00
gluh@gluh.mysql.r18.ru
62b0b8b800 Scrum task 835 - text-to-datetime conversion function 2003-10-20 13:24:18 +05:00
vva@eagle.mysql.r18.ru
982e77be63 made more fine error message in scripts/fill_help_tables.sh 2003-10-19 16:57:17 -04:00
bell@sanja.is.com.ua
9d294b869e correct table name assigned to temporary table field:
- correct table name shown in EXPLAIN Iindex reference)
 - pointer on freed memmory (reallocation of table name in reusing table entry) can't be used in EXPLAIN
(BUG#1584)
2003-10-19 14:25:33 +03:00
heikki@hundin.mysql.fi
3fffea42b9 thr0loc.c, srv0start.c, srv0srv.c, srv0srv.h, os0thread.h:
Reduce InnoDB memory allocation if buffer pool < 8 MB
2003-10-17 20:31:17 +03:00
pem@mysql.comhem.se
98397562c0 Bugfix. Local variables are now initialized to null. 2003-10-17 17:13:49 +02:00
bell@sanja.is.com.ua
2586a56be5 fixed deleting derived table tree after using (BUG#1536) 2003-10-17 15:18:57 +03:00
lenz@kallisto.local
e8216b44a8 - portability fix: fix compile bug on HP-UX (thanks to acurtis for the
patch)
  (BUG#1440: Redundant class name confusing hpux compiler)
2003-10-16 22:15:46 +02:00
vva@eagle.mysql.r18.ru
1692d2de15 fixed sqlstate for ER_WRONG_INDEX_NAME
removed unnesessary code from create.test
2003-10-16 16:15:45 -04:00
vva@eagle.mysql.r18.ru
c74da8bbd7 added checking for empty index name (fixed bug #1419) 2003-10-16 11:33:44 -04:00
pem@mysql.telia.com
1f1a8531d1 Handle user variables (@-vars) as OUT and INOUT parameters in SPs. 2003-10-16 15:45:27 +02:00
monty@mashka.mysql.fi
6ad94a6d57 Fix test after merge 2003-10-16 08:34:17 +03:00
monty@mashka.mysql.fi
1f801111a7 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mashka.mysql.fi:/home/my/mysql-4.1
2003-10-16 08:22:31 +03:00
monty@mashka.mysql.fi
a3707408e8 Update results after merge 2003-10-16 08:16:39 +03:00
monty@mashka.mysql.fi
72f0236336 Merge 2003-10-16 08:11:01 +03:00
monty@mashka.mysql.fi
f2884bac40 Changing max_insert_delayed_threads now also changes the size of thread alarm buffer. 2003-10-16 07:44:18 +03:00
monty@mashka.mysql.fi
e87c9f5ff8 merge with 4.0 2003-10-16 03:08:40 +03:00
greg@mysql.com
e827e1c626 Created small scripts to manage in-tree diffs for NetWare platform, so changes are visible in the tree but cannot affect other platforms 2003-10-15 19:46:53 -04:00
monty@mashka.mysql.fi
0d34e50f39 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mashka.mysql.fi:/home/my/mysql-4.1
2003-10-15 22:52:31 +03:00
monty@mashka.mysql.fi
9ef2a83fbe Portability fixes for windows
After merge fixes
2003-10-15 22:40:36 +03:00
monty@mashka.mysql.fi
4d45ad98b9 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mashka.mysql.fi:/home/my/mysql-4.0
2003-10-15 21:50:36 +03:00
monty@mashka.mysql.fi
84d9d98078 Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
Fixed chsize() problem on windows
Extend default timeout on windows clients to 1 year (to avoid timeout problems)
2003-10-15 21:41:13 +03:00
pem@mysql.telia.com
c258c86177 Fix for BUG#1547: "SELECT ... WHERE field = var" sometimes give the wrong result in SPs
Two missing methods added to Item_splocal + test case.
2003-10-15 19:03:37 +02:00
serg@serg.mylan
33e5f4edec dummy resize_thr_alarm for Netware 2003-10-15 17:10:47 +02:00
monty@mashka.mysql.fi
4897c6649d Updated comments 2003-10-15 16:55:24 +03:00
monty@mashka.mysql.fi
35c09b8082 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mashka.mysql.fi:/home/my/mysql-4.0
2003-10-15 16:23:01 +03:00
bar@bar.mysql.r18.ru
a001b71f20 ctype-simple.c, ctype-mb.c:
Win compilation problem fix
ctype-bin.c:
  Win compilation problem fix
  ,
  ,
m_ctype.h:
  Win compilation problem fix
  ,
2003-10-15 17:34:28 +05:00