davi@moksha.com.br
2adf38c12e
Bug#29223 declare cursor c for SHOW .....
...
"DECLARE CURSOR FOR SHOW ..." is a syntax that currently appears to work,
but is untested for some SHOW commands and does not work for other SHOW
commands.
Since this is an un-intended feature that leaked as a result of a coding bug
(in the parser grammar), the correct fix is to fix the grammar to not accept
this construct.
In other words, "DECLARE CURSOR FOR SHOW <other commands that don't work>"
is not considered a bug, and we will not implement other features to make all
the SHOW commands usable inside a cursor just because someone exploited a bug.
2007-10-11 17:38:40 -03:00
anozdrin/alik@station.
7237c31698
A patch for BUG#31418: User locks misfunctioning after
...
mysql_change_user().
The problem was that THD::ull was not reset in THD::cleanup().
The fix is to reset it.
2007-10-11 17:11:12 +04:00
ramil/ram@mysql.com/ramil.myoffice.izhnet.ru
84d1e3f8f0
Fix for bug #31154 : field.h:1649: virtual int Field_bit::cmp(const uchar*, const uchar*): Assertion
...
Problem: GROUP_CONCAT(DISTINCT BIT_FIELD...) uses a tree to store keys;
which are constructed using a temporary table fields,
see Item_func_group_concat::setup().
As a) we don't store null bits in the tree where the bit fields store parts
of their data and b) there's no method to properly compare two table records
we've got problem.
Fix: convert BIT fields to INT in the temporary table used.
2007-10-11 17:20:34 +05:00
kaa@polly.(none)
f80541e370
Fix for bug #31174 : "Repair" command on MyISAM crashes with small
...
myisam_sort_buffer_size.
An incorrect length of the sort buffer was used when calculating the
maximum number of keys. When myisam_sort_buffer_size is small enough,
this could result in the number of keys < number of
BUFFPEK structures which in turn led to use of uninitialized BUFFPEKs.
Fixed by correcting the buffer length calculation.
2007-10-11 14:28:12 +04:00
kaa@polly.(none)
a32e965e43
Merge polly.(none):/home/kaa/src/maint/mysql-5.0-maint
...
into polly.(none):/home/kaa/src/maint/mysql-5.1-maint
2007-10-11 08:37:03 +04:00
kaa@polly.(none)
06a96ec334
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-maint
...
into polly.(none):/home/kaa/src/maint/mysql-5.1-maint
2007-10-11 08:32:02 +04:00
kaa@polly.(none)
97927cfe32
Merge ssh://bk-internal.mysql.com//home/bk/mysql-5.0-maint
...
into polly.(none):/home/kaa/src/maint/mysql-5.0-maint
2007-10-11 08:25:49 +04:00
davi@moksha.com.br
4515ccf7c0
Post-merge test case for Bug 31409
2007-10-10 21:39:22 -03:00
davi@moksha.com.br
9f088628eb
Merge moksha.com.br:/Users/davi/mysql/mysql-5.0-runtime
...
into moksha.com.br:/Users/davi/mysql/bugs/31409-5.1
2007-10-10 21:16:53 -03:00
davi@moksha.com.br
2f946efda7
Mismerge broken 5.1-runtime compilation because do_command was defined
...
static but it's still used by another compilation unit.
Remove static qualifier from do_command definition.
2007-10-10 21:07:23 -03:00
davi@moksha.com.br
842a11ac9e
Merge moksha.com.br:/Users/davi/mysql/mysql-5.0-runtime
...
into moksha.com.br:/Users/davi/mysql/mysql-5.1-runtime
2007-10-10 19:55:23 -03:00
davi@moksha.com.br
ed55fe3d96
Merge moksha.com.br:/Users/davi/mysql/mysql-5.0-runtime
...
into moksha.com.br:/Users/davi/mysql/mysql-5.1-runtime
2007-10-10 19:44:12 -03:00
davi@moksha.com.br
cbbf8fc9b9
Merge moksha.com.br:/Users/davi/mysql/mysql-5.0-runtime
...
into moksha.com.br:/Users/davi/mysql/mysql-5.1-runtime
2007-10-10 19:43:29 -03:00
davi@moksha.com.br
0df3c69597
Merge moksha.com.br:/Users/davi/mysql/mysql-5.0-runtime
...
into moksha.com.br:/Users/davi/mysql/mysql-5.1-runtime
2007-10-10 19:42:35 -03:00
davi@moksha.com.br
0b2bda4c2a
Merge moksha.com.br:/Users/davi/mysql/mysql-5.0-runtime
...
into moksha.com.br:/Users/davi/mysql/mysql-5.1-runtime
2007-10-10 19:41:58 -03:00
davi@moksha.com.br
ae462f3e77
Post-merge test case for Bug 21587
2007-10-10 19:06:53 -03:00
davi@moksha.com.br
f74f363aac
Merge moksha.com.br:/Users/davi/mysql/bugs/21587-5.0
...
into moksha.com.br:/Users/davi/mysql/bugs/21587-5.1
2007-10-10 18:17:11 -03:00
tsmith@ramayana.hindu.god
f5b2e33154
Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
2007-10-10 14:17:54 -06:00
tsmith@ramayana.hindu.god
06c6fce750
Merge ramayana.hindu.god:/home/tsmith/m/bk/51
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
2007-10-10 14:15:09 -06:00
tsmith@ramayana.hindu.god
070dc3ffb5
Merge ramayana.hindu.god:/home/tsmith/m/bk/50
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/50
2007-10-10 14:12:36 -06:00
tsmith@ramayana.hindu.god
f6d110dc20
Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
2007-10-10 14:01:48 -06:00
tsmith@ramayana.hindu.god
ced64f8582
Bug #31517 : Potential crash due to access of NULL thd in mark_transaction_to_rollback()
...
Introduced in mark_transaction_to_rollback(), part of fix for bug 24989;
fix is to check thd for NULL before using it.
2007-10-10 14:00:57 -06:00
kaa@polly.(none)
a2cbac3705
Merge polly.(none):/home/kaa/src/maint/mysql-5.0-maint
...
into polly.(none):/home/kaa/src/maint/mysql-5.1-maint
2007-10-11 00:00:50 +04:00
kaa@polly.(none)
4e146f3a15
Merge polly.(none):/home/kaa/src/maint/bug28878/my51-bug28878
...
into polly.(none):/home/kaa/src/maint/mysql-5.1-maint
2007-10-10 23:54:35 +04:00
kaa@polly.(none)
03c78594a3
Merge polly.(none):/home/kaa/src/maint/mysql-4.1-maint
...
into polly.(none):/home/kaa/src/maint/mysql-5.0-maint
2007-10-10 23:46:16 +04:00
kaa@polly.(none)
12b6074161
Merge polly.(none):/home/kaa/src/maint/bug28878/my50-bug28878
...
into polly.(none):/home/kaa/src/maint/mysql-5.0-maint
2007-10-10 23:44:01 +04:00
kaa@polly.(none)
9a0b9e03d4
Merge polly.(none):/home/kaa/src/maint/bug28878/my41-bug28878
...
into polly.(none):/home/kaa/src/maint/mysql-4.1-maint
2007-10-10 23:39:53 +04:00
istruewing@stella.local
63b81a82d4
Merge stella.local:/home2/mydev/mysql-5.0-axmrg
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-10-10 21:25:57 +02:00
istruewing@stella.local
0ab9d3718d
Merge stella.local:/home2/mydev/mysql-5.1-amain
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-10-10 21:25:19 +02:00
kaa@polly.(none)
7bd5aa9bd6
Merge polly.(none):/home/kaa/src/maint/bug28878/my50-bug28878
...
into polly.(none):/home/kaa/src/maint/bug28878/my51-bug28878
2007-10-10 23:23:15 +04:00
kaa@polly.(none)
7ed0b70cce
Merge polly.(none):/home/kaa/src/maint/bug28878/my41-bug28878
...
into polly.(none):/home/kaa/src/maint/bug28878/my50-bug28878
2007-10-10 23:16:12 +04:00
dkatz@damien-katzs-computer.local
a234b8f365
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
...
into damien-katzs-computer.local:/Users/dkatz/mysql-5.1-runtime
2007-10-10 14:48:25 -04:00
dkatz@damien-katzs-computer.local
ae22204c36
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime
...
into damien-katzs-computer.local:/Users/dkatz/mysql-5.0-runtime
2007-10-10 14:46:30 -04:00
istruewing@stella.local
da9b4288ed
Merge stella.local:/home2/mydev/mysql-5.0-amain
...
into stella.local:/home2/mydev/mysql-5.0-axmrg
2007-10-10 20:44:05 +02:00
tsmith@ramayana.hindu.god
26b38b04ed
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
2007-10-10 10:10:46 -06:00
istruewing@stella.local
5777cc2998
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines
...
into stella.local:/home2/mydev/mysql-5.1-bug15522
2007-10-10 16:52:56 +02:00
anozdrin/alik@station.
ac83b3122c
Fix for BUG#20023: mysql_change_user() resets the value
...
of SQL_BIG_SELECTS.
The bug was that SQL_BIG_SELECTS was not properly set
in COM_CHANGE_USER.
The fix is to update SQL_BIG_SELECTS properly.
2007-10-10 17:57:01 +04:00
anozdrin/alik@station.
05cf10bdf6
Cleanup sp.test.
2007-10-10 14:42:29 +04:00
anozdrin/alik@station.
c6c419f919
Fix automerge.
2007-10-10 13:53:24 +04:00
anozdrin/alik@station.
50c8101ad8
Merge station.:/mnt/raid/alik/MySQL/devel/5.0-rt
...
into station.:/mnt/raid/alik/MySQL/devel/5.1-rt-merged
2007-10-10 13:35:40 +04:00
mattiasj@mattiasj-laptop.(none)
312886fc2f
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines
...
into mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-bug30484
2007-10-10 08:30:02 +02:00
ramil/ram@ramil.myoffice.izhnet.ru
ac0cf72c06
Merge mysql.com:/home/ram/work/mysql-5.1-maint
...
into mysql.com:/home/ram/work/b29444/b29444.5.1
2007-10-10 10:20:19 +05:00
tsmith@ramayana.hindu.god
d207867cf5
Fix compiler warning (use correct data type)
2007-10-09 18:45:29 -06:00
malff@lambda.hsd1.co.comcast.net.
190bb6bf4c
Fixed packet length for embedded tests
2007-10-09 18:12:13 -06:00
davi@virtua-cwbas201-21-158-74.ctb.virtua.com.br
0e9ccab47c
Merge virtua-cwbas201-21-158-74.ctb.virtua.com.br:/Users/davi/mysql/push/bugs/28318-5.0
...
into virtua-cwbas201-21-158-74.ctb.virtua.com.br:/Users/davi/mysql/push/mysql-5.0-runtime
2007-10-09 20:48:37 -03:00
davi@virtua-cwbas201-21-158-74.ctb.virtua.com.br
fd3c6b1855
Bug#28318 CREATE FUNCTION (UDF) requires a schema
...
Bug#29816 Syntactically wrong query fails with misleading error message
The core problem is that an SQL-invoked function name can be a <schema
qualified routine name> that contains no <schema name>, but the mysql
parser insists that all stored procedures (function, procedures and
triggers) must have a <schema name>, which is not true for functions.
This problem is especially visible when trying to create a function
or when a query contains a syntax error after a function call (in the
same query), both will fail with a "No database selected" message if
the session is not attached to a particular schema, but the first
one should succeed and the second fail with a "syntax error" message.
Part of the fix is to revamp the sp name handling so that a schema
name may be omitted for functions -- this means that the internal
function name representation may not have a dot, which represents
that the function doesn't have a schema name. The other part is
to place schema checks after the type (function, trigger or procedure)
of the routine is known.
2007-10-09 20:46:33 -03:00
tsmith@ramayana.hindu.god
d5740ef051
Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
2007-10-09 13:59:11 -06:00
tsmith@ramayana.hindu.god
e2bfd46b42
Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/50
2007-10-09 13:58:48 -06:00
tsmith@ramayana.hindu.god
f8c51358fc
Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
2007-10-09 13:56:47 -06:00
tsmith@ramayana.hindu.god
3495096682
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
2007-10-09 13:50:50 -06:00