serg@mysql.com
83683bb649
sql_table.cc:
...
fixed CHECKSUM TABLE to be independent from the first 'deleted' bit in the null bitmask (undefined in the InnoDB)
bug#13710
2005-10-05 19:36:20 +02:00
pem@mysql.com
5640d19432
Fixed BUG#13616: "CALL <dbname>.<procedurename>" executes properly, but
...
displays error
When returning to the old database (which may be ""), don't do
access check - mysql_change_db() would then generate the error
"No database selected".
Note: No test case added; it seems a db is always selected when running
tests.
2005-10-05 16:39:37 +02:00
serg@serg.mylan
10953a6d8c
Bug#13143 - formatID should not affect XID's uniqueness
2005-10-05 16:38:53 +02:00
bar@mysql.com
1fb8ea3714
item_cmpfunc.cc:
...
wrong variable.
2005-10-05 17:33:39 +05:00
bar@mysql.com
a98e6dfe44
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/bar/mysql-4.1.b13046
2005-10-05 11:28:08 +05:00
serg@serg.mylan
3edd6c016a
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-10-04 21:43:56 +02:00
jani@ua141d10.elisa.omakaista.fi
a1b609f010
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
2005-10-04 19:53:07 +03:00
jani@ua141d10.elisa.omakaista.fi
4099872e2c
Fixed several boolean type options used in my_long_options[].
...
Some options were declared as 'bool', but since those are being
handled in my_getopt.c, bool can be machine dependent. To make
sure it works in all circumstances, the type should be my_bool
for C (not C++) programs.
2005-10-04 19:52:12 +03:00
serg@serg.mylan
84859c3895
Merge mysqldev@production.mysql.com:/data0/mysqldev/my/mysql-5.0-release
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-10-04 18:10:38 +02:00
jani@ua141d10.elisa.omakaista.fi
17e87da298
Some fixes including implicit declaration of a function,
...
using wrong type in assignment etc.
2005-10-04 18:20:57 +03:00
serg@mysql.com
062f145bf8
sql_table.cc, table.cc, table.h:
...
fixed CHECKSUM TABLE to be independent from last - undefined in InnoDB - bits in the null bitmask
bug#13710
2005-10-04 17:04:20 +02:00
brian@zim.(none)
11be8401a7
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/fix-5.0
2005-10-03 21:09:01 -07:00
kent@mysql.com
fe26e59d70
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
2005-10-04 04:03:48 +02:00
brian@zim.(none)
2a42afd132
Final patch for 5.0 for simplifying storage engine code. We now have just one set of ifdefs. I may also remove the code for creating new handlers.
...
May changes were to simplify storage engine setup and support for legacy call to show storage engines.
2005-10-03 18:42:30 -07:00
evgen@moonbone.local
5a10244d8b
Fix bug#13535 Incorrect result from SELECT statement after SHOW TABLE STATUS
...
After SHOW TABLE STATUS last_insert_id wasn't cleaned, and next select
erroneously rewrites WHERE condition and returs a row;
5.0 isn't affected because of different SHOW TABLE STATUS handling.
last_insert_id cleanup added to mysqld_extend_show_tables().
2005-10-03 23:22:46 +04:00
timour@mysql.com
233e68e205
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
...
into mysql.com:/home/timka/mysql/src/5.0-bug-13410
2005-10-03 22:02:22 +03:00
SergeyV@selena.
7d0d7826bb
Fixes bug #13377 . Added code to close active log files in case
...
of log reset condition.
2005-10-03 20:34:42 +04:00
marko@hundin.mysql.fi
bf30733840
Merge hundin.mysql.fi:/home/marko/mysql-4.0
...
into hundin.mysql.fi:/home/marko/mysql-4.1
(Bug #13002 )
2005-10-03 17:54:39 +03:00
marko@hundin.mysql.fi
d62b9f4b4b
InnoDB: Display an error message in /* */ comments
...
in SHOW CREATE TABLE if a temporary file cannot be created.
(Bug #13002 )
2005-10-03 17:46:27 +03:00
kent@mysql.com
f49ac24a0f
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
2005-10-03 10:39:35 +02:00
msvensson@neptunus.(none)
25cf17f695
Merge bk-internal:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/bug13231/my50-bug13231
2005-10-03 10:08:02 +02:00
brian@zim.(none)
0ba8ca2a17
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/fix-5.0
2005-10-02 20:13:18 -07:00
brian@zim.(none)
54a958993c
Next big patch for loadable storage engines!
...
Handlerton array is now created instead of using sys_table_types_st. All storage engines can now have inits and giant ifdef's are now gone for startup. No compeltely clean yet, handlertons will next be merged with sys_table_types. Federated and archive now have real cleanup if their inits fail.
2005-10-02 19:44:28 -07:00
sergefp@mysql.com
90414dcaaf
BUG#13484: In ha_innobase::cmp_ref call Field::key_cmp() as this is the function
...
that compares key images.
2005-10-01 11:56:01 +04:00
timour@mysql.com
77cf84186e
Fix for BUG#13410 - qualified reference to a view column in the HAVING clause cannot be resolved.
...
The problem was then when a column reference was resolved to a view column, the new Item
created for this column contained the name of the view, and not the view alias.
2005-10-01 09:35:30 +03:00
eric@mysql.com
b2f5281929
Merge eherman@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/Users/eric/dev/hton-mysql-5.0
2005-09-30 16:28:47 -07:00
eric@mysql.com
5008a5f208
Move handler specific options into handlerton flag check
...
BUG#13108
2005-09-30 16:26:48 -07:00
kent@mysql.com
aef1f4cd2e
Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
...
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
2005-09-30 22:37:55 +02:00
serg@mysql.com
78001860a6
Merge
2005-09-30 20:30:09 +02:00
serg@serg.mylan
bef3c587c6
Bug#11238
...
"SELECT ... FOR UPDATE executed as consistent read inside LOCK TABLES"
Do not discard lock_type information as handler::start_stmt() may require knowledge.
(fixed by Antony)
2005-09-30 20:20:10 +02:00
dlenev@mysql.com
09370d6527
Merge mysql.com:/home/dlenev/src/mysql-5.0-bg13629
...
into mysql.com:/home/dlenev/src/mysql-5.0-merges
2005-09-30 21:45:20 +04:00
msvensson@neptunus.(none)
92b1d080c9
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/bug13231/my50-bug13231
2005-09-30 16:51:35 +02:00
timour@mysql.com
1740f72305
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
...
into mysql.com:/home/timka/mysql/src/5.0-bug-13597
2005-09-30 17:01:55 +03:00
dlenev@mysql.com
e0cfaeaaf6
Fix for bug #13629 "view test crashes for debug build" (also includes better
...
fix for bug #13451 "view test produces warning about unfreed memory").
2005-09-30 17:30:33 +04:00
marko@hundin.mysql.fi
17b0098127
InnoDB: After review fix
2005-09-30 15:06:41 +03:00
kent@mysql.com
21cf818a8d
Many files:
...
New VC7 project files
des_key_file.cc:
Visual C++ wants '"' for local include
mysql.cc:
Cast my_cgets() argument for VC6 and VC7
dummy.cpp:
Added to convince VS .Net generate a lib for mysqlserver
2005-09-30 14:03:55 +02:00
sergefp@mysql.com
e9f2f9437a
BUG#12915: Added single-table UPDATE/DELTE ... ORDER BY ... LIMIT
...
optimization: now can use index to find records to update/delete
when there is no WHERE clause.
2005-09-30 15:21:37 +04:00
marko@hundin.mysql.fi
8c1ccbc903
InnoDB: On UPDATE, trim UCS2 columns correctly. (Bug #12178 )
2005-09-30 13:58:00 +03:00
jani@a193-229-222-105.elisa-laajakaista.fi
26b3ef7f44
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0-icc
2005-09-30 13:56:32 +03:00
sergefp@mysql.com
49954f6735
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/psergey/mysql-5.0-sept30-test
2005-09-30 14:21:10 +04:00
sergefp@mysql.com
3625ec5127
BUG#13081: Disable ROR-index_merge for NDB tables (by adding a
...
HA_KEY_SCAN_NOT_ROR index flag) as NDB index scans are not guaranteed to be ROR
scans.
2005-09-30 14:20:15 +04:00
serg@serg.mylan
fff2737b0e
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-09-30 12:04:10 +02:00
serg@serg.mylan
8c813c0a16
duplicate error message removed
2005-09-30 12:01:39 +02:00
jani@a193-229-222-105.elisa-laajakaista.fi
43b544a968
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0-icc
2005-09-30 12:36:23 +03:00
serg@serg.mylan
69909c460a
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-09-30 09:40:49 +02:00
timour@mysql.com
638198e17d
Fix for BUG#13597 - columns in ON condition not resolved if references a table in a nested right join.
...
The problem was in that when finding the last table reference in a nested join tree,
the procedure doing the iteration over the right-most branches of a join tree
was testing for RIGHT JOINs the table reference that represents the join, and not
the second operand of the JOIN. Currently the information whether a join is LEFT/RIGHT
is stored not on the join object itself, but on one of its operands.
2005-09-30 10:39:17 +03:00
ramil@mysql.com
4dbe76d035
Comment adjusted (see fix for #13545 )
2005-09-30 12:37:58 +05:00
ramil@mysql.com
63fa48c0f6
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/home/ram/work/mysql-5.0
2005-09-30 12:30:32 +05:00
lars@mysql.com
bf19d02b27
mysqlbinlog --hexdump additional patch 2
...
- Fixes related to Guilhems review
- Special printing of event header
2005-09-30 00:12:14 +02:00
sergefp@mysql.com
7d383eecb5
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/psergey/mysql-5.0-bug13455
2005-09-30 01:38:04 +04:00
sergefp@mysql.com
71d8990f8e
Fix for BUG#13455: Make "ref" optimizer able to make this inference:
...
"t.key BETWEEN c1 AND c2" and c1 = c2 -> can access table t using "t.key = c1".
2005-09-30 01:34:19 +04:00
pem@mysql.com
9ca73fac4a
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/home/pem/work/mysql-5.0
2005-09-29 16:59:25 +02:00
pem@mysql.com
44b4e9fc82
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/usr/home/pem/mysql-5.0
2005-09-29 16:41:46 +02:00
ramil@mysql.com
920e456549
fix for bug #13545 : Server crash caused by select query.
2005-09-29 19:34:21 +05:00
georg@lmy002.wdf.sap.corp
e445a3d8e3
Merge grichter@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into lmy002.wdf.sap.corp:/home/georg/work/mysql/bugs/mysql-5.0
2005-09-29 16:15:00 +02:00
pem@mysql.com
f78ea0265d
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/home/pem/work/mysql-5.0
2005-09-29 15:06:08 +02:00
pem@mysql.com
9f20feea5b
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/usr/home/pem/mysql-5.0
2005-09-29 14:35:08 +02:00
gluh@mysql.com
b36f63e3ab
4.1 -> 5.0 merge
2005-09-29 16:35:50 +05:00
gluh@eagle.intranet.mysql.r18.ru
f9762c47d0
Fix for bug #7977 in sql_mode=ANSI, show create table ignores auto_increment
...
"CHARACTER SET", "COLLATE", and "DEFAULT" are always
printed(excepting MODE_MYSQL323 and MODE_MYSQL40)
"AUTO_INCREMENT", "ON UPDATE CURRENT_TIMESTAMP" are printed only
if NO_FIELD_OPTIONS is not set.
2005-09-29 16:17:45 +05:00
bar@mysql.com
7fe434098e
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/bar/mysql-4.1.b13046
2005-09-29 16:07:33 +05:00
lars@mysql.com
835a24cb13
Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0
...
into mysql.com:/users/lthalmann/bk/mysql-5.0-hexdump
2005-09-29 12:34:03 +02:00
georg@lmy002.wdf.sap.corp
2e05b3b125
Fix for bug #13451 (memleak in rename view) after Dmitri's review:
...
- call explicitly destructor for view's LEX
- cs fixes
2005-09-29 12:29:58 +02:00
jan@hundin.mysql.fi
43b2dc617b
Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into hundin.mysql.fi:/home/jan/mysql-5.0
2005-09-29 13:15:09 +03:00
pem@mysql.com
66fa4ffbdf
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/usr/home/pem/mysql-5.0
2005-09-29 11:37:28 +02:00
marko@hundin.mysql.fi
d426c109f4
Minor corrections to InnoDB function comments
2005-09-29 12:37:27 +03:00
lars@mysql.com
d81d57d408
mysqlbinlog --hexdump augments each log entry with byte information
2005-09-29 10:42:23 +02:00
msvensson@neptunus.(none)
9b7a3bec70
Bug #13231 mysqltest: fails to dectect when mysql_next_result fails
...
- Packets out of order when reading cached data stored by a normal select from a ps or vice versa.
- Add pkt_nr to query cache flags
2005-09-29 10:25:44 +02:00
jan@hundin.mysql.fi
6734ca6cbe
Fixed a bug checksum table locks the InnoDB table and does not use a
...
consistent read (Bug #12669 ). This fixes InnoDB part of the bug.
2005-09-29 08:34:38 +03:00
brian@zim.(none)
db486f4da1
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/archive-move
2005-09-28 19:07:43 -07:00
brian@zim.(none)
da101b3b5a
Moving archive from example to sql.
2005-09-28 19:04:51 -07:00
kent@mysql.com
656b0cc15a
Merge
2005-09-29 03:20:31 +02:00
kent@mysql.com
844d964f2d
Many files:
...
Prefix regex functions/types with "my_" as our
library is not compatible with normal regex lib.
my_regex.h:
Rename: regex/regex.h -> regex/my_regex.h
2005-09-29 02:08:24 +02:00
evgen@moonbone.local
1bf2fbdb35
select.result, item.cc:
...
After merge fix for bug#13356
2005-09-28 21:30:10 +04:00
msvensson@neptunus.(none)
8ccd9e37ad
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-09-28 18:23:23 +02:00
dlenev@mysql.com
6f7928c293
Fix for bug #13546 "Build errors with --with-embedded-server
...
--with-embedded-privilege-control options". One more (hopefully last) build
failure which was introduced during work on WL#2787 "Add view definer/owner
to the view definition..."
2005-09-28 18:43:46 +04:00
msvensson@neptunus.(none)
13161c2a84
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-09-28 15:32:05 +02:00
msvensson@neptunus.(none)
60e5493d5d
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-09-28 13:30:33 +02:00
osku@127.(none)
d440270dcd
InnoDB: Remove compiler warnings.
2005-09-28 14:26:33 +03:00
jan@hundin.mysql.fi
dc80450410
Fixed a bug checksum table locks the InnoDB table and does not use a
...
consistent read (Bug #12669 ).
2005-09-28 14:14:49 +03:00
msvensson@neptunus.(none)
fbf4a5e079
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-09-28 11:34:53 +02:00
bar@mysql.com
6e88f14eea
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/bar/mysql-4.1.b13046
2005-09-28 11:51:03 +05:00
evgen@moonbone.local
4f4711bd49
Fix bug#13356 resolve_const_item() wasn't able to handle Item_row items.
...
resolve_const_item() assumed to be not called for Item_row items. For
ensuring that DBUG_ASSERT(0) was set there.
This patch adds section for Item_row items. If it can it recursively calls
resolve_const_item() for each item the Item_row contains. If any of the
contained items is null then whole Item_row substitued by Item_null. Otherwise
it just returns.
2005-09-28 00:58:12 +04:00
serg@serg.mylan
6716d16bc7
CHECKSUM TABLE now allows concurrent inserts
2005-09-27 20:11:09 +02:00
pem@mysql.com
2f3682db7e
Fixed BUG#12589: Assert when creating temp. table from decimal stored
...
procedure variable
Second version, after review.
Keep the unsigned_flag in Item_decimal updated. Note that this also changed
the result of several old test results - creating tables from decimal
templates now gives unsigned columns and different sizes. (Several tests
had Length > Max_length before.)
2005-09-27 17:07:28 +02:00
hf@deer.(none)
9b88d25247
additional fix to the bug #13372 (decimal union)
2005-09-27 15:31:38 +05:00
hf@deer.(none)
7f3e2dc48d
Fix for bug #13372 (decimal union)
2005-09-27 15:11:39 +05:00
igor@rurik.mysql.com
6e2fb27af6
item.cc:
...
Fixed bug #13410 .
Fixed name resolution for qualified reference to a view column
in the HAVING clause.
view.result, view.test:
Added a test case for bug #13410 .
2005-09-26 23:29:02 -07:00
igor@rurik.mysql.com
75c43f9663
Merge rurik.mysql.com:/home/igor/mysql-5.0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.0-2
2005-09-26 20:28:49 -07:00
igor@rurik.mysql.com
a43b341c8a
sql_base.cc, item.cc:
...
Fixed bug #13411 .
Fixed name resolution for non-qualified reference to a view column
in the HAVING clause.
view.result, view.test:
Added a test case for bug #13411 .
2005-09-26 20:18:59 -07:00
pem@mysql.com
6a84506af7
Fixed BUG#7049: Stored procedure CALL errors are ignored
...
Search the chain of sp_rcontexts recursively for handlers. If one is found,
it will be detected in the sp_head::execute() method at the corresponding
level.
2005-09-26 18:46:31 +02:00
pem@mysql.com
6ac4c47f7b
Fixed BUG#6127: Stored procedure handlers within handlers don't work
...
Replaced the dumb in-handler/not-in-handler check with a proper recursion
check of handlers being executed.
(Re-commit in a different tree, to make push possible.)
2005-09-26 18:22:00 +02:00
evgen@moonbone.local
0032165acf
Fix bug #13424 locking view with query cache enabled crashes server
...
For LOCK view is opened but not prepared thus leaving 'table' field set to
NULL. invalidate_locked_for_write() wasn't checking that and call to
invalidate_table(NULL) crashes server.
To invalidate_locked_for_write() added check that ensures that table is
completely opened.
2005-09-26 19:08:26 +04:00
lars@mysql.com
9528d0aefd
Fixed gcc error on AMD64: cast from 'char*' to 'unsigned int' loses precision
2005-09-26 16:49:18 +02:00
hf@deer.(none)
836bc2638e
Fix for bug #12267 (primary key over GEOMETRY field)
2005-09-26 14:55:52 +05:00
hf@deer.(none)
6890eae9e5
Merging
2005-09-26 13:15:01 +05:00
monty@mysql.com
ea6d5f9ec3
Fixed error found during review of new pushed code
2005-09-25 21:22:23 +03:00
serg@serg.mylan
4b24f83f8f
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-09-25 16:07:13 +02:00
sergefp@mysql.com
2294c9b57a
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/psergey/mysql-5.0-bug13317
2005-09-25 01:36:26 +04:00
serg@serg.mylan
e9d8f0940b
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-09-24 21:45:30 +02:00
sergefp@mysql.com
061d660615
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/psergey/mysql-5.0-merge-sept24
2005-09-24 03:33:26 +04:00
monty@mysql.com
6c6a25e9d7
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2005-09-24 02:32:34 +03:00
sergefp@mysql.com
9a05a887de
Manually merged
2005-09-24 02:39:52 +04:00
sergefp@mysql.com
d0a97917a2
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/psergey/mysql-4.1-bug13419
2005-09-24 01:55:09 +04:00
jimw@mysql.com
844d1244d7
Merge bk-internal:/home/bk/mysql-5.0
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-09-23 14:44:41 -07:00
sergefp@mysql.com
d90b988da7
BUG#12232: Addressing docs team feedback: s/inequal/unequal/
2005-09-24 01:39:50 +04:00
paul@kite-hub.kitebird.com
67a643f931
mysqld.cc:
...
Fix out-of-order status variable.
2005-09-23 15:59:32 -05:00
jimw@mysql.com
e80673d69d
Merge bk-internal:/home/bk/mysql-5.0
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-09-23 13:59:14 -07:00
paul@kite-hub.kitebird.com
b83f29d56d
mysqld.cc:
...
Fix out-of-order status variable.
2005-09-23 14:14:34 -05:00
jani@a193-229-222-105.elisa-laajakaista.fi
8d3036c35e
Some minor fixes revealed as warnings by
...
Intel compiler.
2005-09-23 21:28:56 +03:00
dlenev@mysql.com
19b2cd58e8
Fix for yet another compilation failure on Windows which was introduced during
...
work on WL#2787 "Add view definer/owner to the view definition (.frm) to check
privileges on used tables and stored routines when using a VIEW."
(aka bug #13402 "Windows VS 2003 Compiler error")
2005-09-23 21:28:47 +04:00
jimw@mysql.com
3cd331c29f
Merge mysql.com:/home/jimw/my/mysql-5.0-13361
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-09-23 10:03:29 -07:00
dlenev@mysql.com
d68f3ea17d
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-bg13407
2005-09-23 18:30:08 +04:00
jani@a193-229-222-105.elisa-laajakaista.fi
acf218b708
Several fixes revelaled by Intel compiler.
2005-09-23 16:47:08 +03:00
osku@127.(none)
93671fb91e
Merge osalerma@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into 127.(none):/home/osku/mysql/5.0/clean
2005-09-23 16:46:59 +03:00
osku@127.(none)
d563a01afe
Merge 127.(none):/home/osku/mysql/5.0/clean
...
into 127.(none):/home/osku/mysql/5.0/3443
2005-09-23 16:44:25 +03:00
osku@127.(none)
d61708d1c9
Fix bug #3443 , better foreign key error messsages.
2005-09-23 16:22:27 +03:00
dlenev@mysql.com
77ac122350
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-bg13407
2005-09-23 17:10:05 +04:00
msvensson@neptunus.(none)
22c1bb4e6d
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-09-23 14:38:26 +02:00
msvensson@neptunus.(none)
d55eeed8fd
Merge from 4.1 to 5.0
2005-09-23 14:37:22 +02:00
serg@serg.mylan
d4eaa0ecc5
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-09-23 14:36:38 +02:00
osku@127.(none)
06077eb1eb
InnoDB: Minor fixes.
2005-09-23 14:31:31 +03:00
sergefp@mysql.com
40ba88ca07
Fix for BUG#13419: In "ref" optimizer, take into account that item=Item_func_in(x,y) is
...
not equivalent to "x=y" when item->negated == TRUE.
2005-09-23 13:43:20 +04:00
osku@127.(none)
945ea8a98b
Merge 127.(none):/home/osku/mysql/5.0/clean
...
into 127.(none):/home/osku/mysql/5.0/13315
2005-09-23 11:22:05 +03:00
osku@127.(none)
e6b3261556
InnoDB: Fix bug #13315 , index columns having a maximum length of 767.
2005-09-23 11:20:34 +03:00
bar@mysql.com
1c38733f4a
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/bar/mysql-4.1.b13046
2005-09-23 12:57:40 +05:00
msvensson@neptunus.(none)
02c7645cc1
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-09-23 09:18:56 +02:00
brian@zim.(none)
f5c00b0dbd
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/fix-5.0
2005-09-22 19:46:16 -07:00
brian@zim.(none)
8eea3e5be0
This fixed bug 13369. Note, I dislike goto's as well.
...
The alias structure now is a bit more simple and just uses a pointer to replace with the currect name. The giant case statement should go away in the next patch.
2005-09-22 16:58:09 -07:00
jimw@mysql.com
3bfe3579d4
Fix CAST(1.0e+300 TO SIGNED). (Bug #13344 )
2005-09-22 15:59:13 -07:00
konstantin@mysql.com
2d4c54ba1b
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
...
into mysql.com:/opt/local/work/mysql-5.0-root
2005-09-23 00:46:59 +04:00
dlenev@mysql.com
87dcb3c6f5
Fix for bug #13407 "Remote connecting crashes server" and couple of similar
...
problems which were introduced during work on WL#2787 "Add view definer/owner
to the view definition (.frm) to check privileges on used tables and stored
routines when using a VIEW."
In some cases it is better to use value from Security_context::host_or_ip
instead of value from Security_context::host since the latter can be NULL
in certain situations (When we can't resolve hostname or we have not done
this yet).
2005-09-22 23:03:53 +04:00
jimw@mysql.com
90d6195f04
Fix handling of NULL values in decimal fields in FORMAT(). (Bug #13361 )
2005-09-22 11:40:22 -07:00
joerg@mysql.com
cb77a6accb
Fixes needed to build 5.0.13 on Windows:
...
- reflect two "Makefile.am" changes in the respective "VC project" files,
- correct a typo in a (normally) unused macro parameter.
2005-09-22 18:57:07 +02:00
serg@serg.mylan
40c43365c5
fixed a memory leak in ha_tina.cc
2005-09-22 16:05:05 +02:00
marko@hundin.mysql.fi
ff8127ffaa
InnoDB: correct two misleading comments
2005-09-22 13:09:14 +03:00
ramil@mysql.com
5cf4eb0e26
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/ram/work/4.1.b11553
2005-09-22 13:05:48 +05:00
gluh@eagle.intranet.mysql.r18.ru
88ef33e542
Fix for bug#12053 LOAD DATA INFILE ignores NO_AUTO_VALUE_ON_ZERO setting
...
set auto_increment_field_not_null to true to preserve zero values
for autoincrement fields during LOAD DATA execution if
NO_AUTO_VALUE_ON_ZERO sql mode is set
2005-09-22 12:46:01 +05:00
ramil@mysql.com
92306dd089
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/ram/work/4.1.b11553
2005-09-22 11:46:54 +05:00
ramil@mysql.com
66929c9540
a fix ( #11553 : gives error if aggregate user-defined function in HAVING clause).
2005-09-22 11:45:16 +05:00
ramil@mysql.com
d9eb8958a2
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/home/ram/work/5.0.b11553
2005-09-22 11:39:01 +05:00
monty@mysql.com
82fc54781b
Fixed problems found by valgrind
...
Fixed problems in test suite where some test failed
Fixed access to not initialized memory in federated
Fixed access to not initialized memory when using BIT fields in internal temporary tables
2005-09-22 03:23:07 +03:00
evgen@moonbone.local
2ba1eb1486
Manual merge
2005-09-22 02:38:14 +04:00
konstantin@mysql.com
6f8d3c4844
A fix and a test case for Bug#6513 "Test Suite: Values inserted by using
...
cursor is interpreted latin1 character and Bug#9819 "Cursors: Mysql Server
Crash while fetching from table with 5 million records."
A fix for a possible memory leak when fetching into an SP cursor
in a long loop.
The patch uses a common implementation of cursors in the binary protocol and
in stored procedures and implements materialized cursors.
For implementation details, see comments in sql_cursor.cc
2005-09-22 02:11:21 +04:00
evgen@moonbone.local
5065d73ebb
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into moonbone.local:/work/13180-bug-4.1-mysql
2005-09-22 01:48:39 +04:00
evgen@moonbone.local
b7e8c8b112
Fix bug #13180 thd->allow_sum_funcs wasn't reset before query processing.
...
thd->allow_sum_func was left 'true' after previous statement thus allowing
sum funcs to be present in conditions.
thd->allow_sum_func should be set to 0 for each query and each prepared
statement reinitialization. This is done in lex_start() and
reset_stmt_for_execute().
2005-09-22 01:38:39 +04:00
bar@mysql.com
d870612ac0
Bug#13046: LIKE pattern matching using prefix
...
index doesn't return correct result
item_cmpfunc.cc:
Use charset of LIKE to decide whether
to use 8bit or Unicode "escape" value.
But use charset of "escape" to scan escape character.
strings/ctype-xxx.c:
We cannot reduce "end" pointer using charpos(),
because of possible escape characters in the string.
Limit the loop using count of written characters instead.
ctype_like_escape.inc:
new file
mysql-test/t/ctype_xxx:
mysql-test/r/ctype_xxx:
Adding test case.
2005-09-21 23:10:51 +05:00
sergefp@mysql.com
7c590486d3
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/psergey/mysql-5.0-bug13317
2005-09-21 21:39:45 +04:00
sergefp@mysql.com
7aca974fc8
Fix for BUG#13317: Make range optimizer able to produce ranges for "view.field IN (c1,c2)"
...
and "view.field BETWEEN c1 AND c2"
2005-09-21 21:36:15 +04:00
timour@mysql.com
ba9e3ca1a4
Merge mysql.com:/home/timka/mysql/src/4.1-virgin
...
into mysql.com:/home/timka/mysql/src/4.1-dbg
2005-09-21 18:58:39 +03:00
serg@serg.mylan
306aa15391
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0-merged
2005-09-21 17:42:44 +02:00
serg@serg.mylan
3b41e3362b
aftermerge fix
2005-09-21 17:38:26 +02:00
monty@mysql.com
aaecf69525
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2005-09-21 17:28:51 +03:00
monty@mysql.com
1bd2beff5a
Ensure that hex strings are used as integers in cast(... signed/unsigned)
...
This fixes the new report for bug #7036
2005-09-21 17:28:25 +03:00
msvensson@neptunus.(none)
0581a7f23c
Bug #13231 mysqltest: fails to dectect when mysql_next_result fails
...
- Added functionality to check errors returned from mysql_next_result
- Exit from mysqltest when and unexpected error occurs.
- The above fixes reveal problems with rpl000009, sp-error and query_cache-
- Fix sp-error by adding an expected error
- Fix rpl000009 by not sending "ok" from mysql_create_db when called with silent flag from load_master_data
- Fix query_cache in separate patch
2005-09-21 15:28:28 +02:00
jonas@perch.ndb.mysql.com
d1ee898d34
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
2005-09-21 14:39:28 +02:00
jonas@perch.ndb.mysql.com
05d875f8c1
sql/item_func.cc
...
remove extra ";" after function
2005-09-21 14:36:55 +02:00
serg@serg.mylan
a083ff160e
merged
2005-09-21 13:53:22 +02:00
jonas@perch.ndb.mysql.com
f35c49f748
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
2005-09-21 13:22:59 +02:00
jonas@perch.ndb.mysql.com
6ed4539561
ndb post merge fixes (show engine ndb status)
2005-09-21 13:22:27 +02:00
serg@serg.mylan
23f35495ac
merged
2005-09-21 12:37:51 +02:00
ramil@mysql.com
986a51e447
a fix (bug #7589 : Decimal types are ignored when updating data from another column).
2005-09-21 14:32:19 +05:00
timour@mysql.com
6ae8a56f72
Merge mysql.com:/home/timka/mysql/src/4.1-virgin
...
into mysql.com:/home/timka/mysql/src/4.1-dbg
2005-09-21 09:53:42 +03:00
timour@mysql.com
633d118d01
Fix for BUG#12882 - min/max inconsistent on empty table.
...
The problem was in that the MIN/MAX optimization in opt_sum_query was
replacing MIN/MAX functions with their constant argument without
taking into account that a query has no result rows.
2005-09-21 09:49:19 +03:00
bell@sanja.is.com.ua
e6cb720095
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-owner5-5.0
2005-09-21 08:31:20 +03:00
bell@sanja.is.com.ua
506c6eb922
postmerge fixes
2005-09-21 08:29:47 +03:00
jimw@mysql.com
743cad72f6
Fix handling of password field at the old size (16 characters) but in
...
the UTF-8 character set. (Bug #13064 )
2005-09-20 16:57:58 -07:00
brian@zim.(none)
e3c87e16ae
Fixed a typo in handler.cc if CSV was built. I also added CSV to the default MAX builds so that more people test it.
2005-09-20 15:26:10 -07:00
sergefp@mysql.com
a26e1b7280
Merge mysql.com:/home/psergey/bk-trees/mysql-4.1
...
into mysql.com:/home/psergey/mysql-4.1-csc6030-r3
2005-09-21 02:20:55 +04:00
sergefp@mysql.com
f9475d1d15
BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index
...
statistics (like 4.0 did) (patch #3 , with review #1 & #2 feedback addressed)
2005-09-21 02:18:29 +04:00
bell@sanja.is.com.ua
3f66053a50
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-owner5-5.0
2005-09-20 21:27:28 +03:00
bell@sanja.is.com.ua
c1b185f5ff
WL#2787 (Add view definer/owner to the view definition (.frm) to check privileges on used tables and stored routines when using a VIEW.)
...
Part 2 postreview fixes.
2005-09-20 21:20:38 +03:00
evgen@moonbone.local
6383ab91db
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into moonbone.local:/work/12812-bug-5.0-mysql
2005-09-20 21:36:43 +04:00
evgen@moonbone.local
b7c42a65d1
item_func.cc:
...
Fixed mistake in fix for bug#12812
2005-09-20 21:35:57 +04:00
guilhem@mysql.com
388cf622ee
Fix fur BUG#13348: "multi-table updates and deletes are not logged if no rows were affected".
...
Not fixed in 4.1 as not critical. Also I'm correcting error checking of multi-UPDATE/DELETE
when it comes to binlogging, to make it consistent with when we rollback the statement.
2005-09-20 17:41:47 +02:00
tomas@poseidon.ndb.mysql.com
d0c578294e
Bug #10694 LOAD DATA FROM INFILE fails with 'Out of operation records'
2005-09-20 14:20:02 +02:00
jonas@perch.ndb.mysql.com
34eba4b439
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
2005-09-20 13:04:30 +02:00
timour@mysql.com
ad53c58eb5
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
...
into mysql.com:/home/timka/mysql/src/5.0-bug-13127
2005-09-20 14:03:50 +03:00
timour@mysql.com
e609eac0d9
Fix for BUG#13127.
...
The problem was in the way table references are pre-filtered when
resolving a qualified field. When resolving qualified table references
we search recursively in the operands of the join. If there is
natural/using join with a merge view, the first call to find_field_in_table_ref
makes a recursive call to itself with the view as the new table reference
to search for the column. However the view has both nested_join and
join_columns != NULL so it skipped the test whether the view name matches
the field qualifier. As a result the field was found in the view since the
view already has a field with the same name. Thus the field was incorrectly
resolved as the view field.
2005-09-20 14:00:39 +03:00
jonas@perch.ndb.mysql.com
09c88914e2
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
2005-09-20 12:22:31 +02:00
jonas@perch.ndb.mysql.com
75cc4ef28a
ndb - post merge fixes
2005-09-20 12:07:18 +02:00
ramil@mysql.com
6f64f66d8b
a fix (bug #11553 : gives error if aggregate user-defined function in HAVING clause).
2005-09-20 14:28:23 +05:00
jonas@perch.ndb.mysql.com
2119a88abe
Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
2005-09-20 10:46:33 +02:00
jonas@perch.ndb.mysql.com
8983e39070
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
2005-09-20 09:50:10 +02:00
brian@zim.(none)
c10323fdf2
Cleanups for storage engine patch. Changed two test results to now reflect the changes in storage engines and a couple of comment changes in the code.
2005-09-19 22:08:22 -07:00
evgen@moonbone.local
e9c3396cd4
Manual merge
2005-09-20 03:31:00 +04:00
evgen@moonbone.local
de4e941e3f
Fix bug #12812 create view calling a function works without execute right on function
...
Execution rigths on function was checked just before function execution,
thus it was unknown on prepare stage whether user have right to execute
particular function.
Added access rights checking function which is called right after fixing
Item_func_sp.
This have additional effect that if user don't have rights for execution
query will fail on earlier stage and will not waste resources on optimizing
with failing on execution stage.
2005-09-20 03:05:35 +04:00
sasha@asksasha.com
c4f16269f3
Merge spachev@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into asksasha.com:/reiser-data/mysql-dev/mysql-4.1-bug11139
2005-09-19 15:45:01 -06:00
brian@zim.(none)
4dace2c4e0
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/mysql-5.0
2005-09-19 12:12:41 -07:00
brian@zim.(none)
616c324436
Cleanup for handlerton structure to allow for loadable engine work. This is the first in a series of patches.
2005-09-19 12:06:23 -07:00
tulin@dl145b.mysql.com
c753d587ca
Corrected last fix for
...
Bug #13152 bit fields and fields that follow become corrupted when dumped from NDB tables
2005-09-19 15:52:57 +02:00
jonas@perch.ndb.mysql.com
668a192ce5
ndb - imlp. show engine ndb status;
...
that dump free list allocation per connection
2005-09-19 15:35:07 +02:00
bar@mysql.com
6424e9cce1
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/home/bar/mysql-5.0.b10504
2005-09-19 09:46:25 +05:00
georg@lmy002.wdf.sap.corp
541d3ae89b
Merge grichter@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into lmy002.wdf.sap.corp:/home/georg/work/mysql/bugs/mysql-5.0-master
2005-09-19 05:32:38 +02:00
evgen@moonbone.local
afa8187fb7
Fix bug #13218 : InnoDB: using a partial-field key prefix in search
...
This is backport from 5.0 of fix for bug #11039
2005-09-19 04:39:49 +04:00
georg@lmy002.wdf.sap.corp
53a7bbf7ca
Changes after discussion/review with Sanja
2005-09-18 21:43:28 +02:00
sasha@asksasha.com
c87bc3ef64
Merge spachev@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into asksasha.com:/reiser-data/mysql-dev/mysql-4.1-bug11139
2005-09-17 18:46:54 -06:00
georg@lmy002.wdf.sap.corp
afe8dcf2e7
Fix for bug#5508 after Sanja's review
2005-09-16 17:13:21 +02:00
evgen@moonbone.local
72f530ef3d
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into moonbone.local:/work/12291-bug-5.0-mysql
2005-09-16 16:08:11 +04:00
kent@mysql.com
19bae53ddc
log.cc:
...
Cast my_munmap() argument to be able to compile on Solaris
2005-09-16 12:02:19 +02:00
bell@sanja.is.com.ua
c5ff0d6953
Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-owner2-5.0
2005-09-16 09:20:00 +03:00
bell@sanja.is.com.ua
27aa2ae30c
fixed length detection
2005-09-16 09:15:45 +03:00
bar@mysql.com
1d12ac8849
Bug#10504
...
Character set does not support traditional mode
ctype_utf8.result, ctype_utf8.test:
adding test case.
password.c, mysql_com.h
Changeing octet2hex availability from static to public.
item_strfunc.cc:
Result string is now checked to be well-formed.
Warning/error is generated, depending on sql_mode.
2005-09-16 10:24:37 +05:00
evgen@moonbone.local
097ca8ad90
Fix bug #12291 Table wasn't reinited for index scan after sequential scan
...
Optimizer did choose "Range checked for each record" for one of the tables.
For first few loops over that table it choose sequential access, on later
stage it choose to use index. Because table was previously initialized for
sequential access, it skips intitialization for index access, and when
server tries to retrieve data error occurs.
QUICK_RANGE_SELECT::init() changes so if file already initialized for
sequential access, it calls ha_rnd_end() and initializes file for index
access.
2005-09-16 01:19:43 +04:00
reggie@fedora.(none)
66e6453e2a
some last minute Windows compile fixes and makefile corrections
2005-09-15 14:32:01 -05:00
bell@sanja.is.com.ua
aec371f910
WL#2787 (part 2, ver 3 (merged)) changed securety context switching
2005-09-15 22:29:07 +03:00
evgen@moonbone.local
3065cc0edf
Manual merge
2005-09-15 22:21:30 +04:00
evgen@moonbone.local
dbfc28cec1
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into moonbone.local:/work/12887-bug-4.1-mysql
2005-09-15 21:34:53 +04:00
evgen@moonbone.local
1685040e2b
Fix bug#12887 Distinct is not always applied after rollup
...
For queries with GROUP BY and without hidden GROUP BY fields DISTINCT is
optimized away becuase such queries produce result set without duplicates.
But ROLLUP can add rows which may be same to some rows and this fact was
ignored.
Added check so if ROLLUP is present DISTINCT can't be optimized away.
2005-09-15 21:34:11 +04:00
evgen@moonbone.local
d693323b69
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into moonbone.local:/work/11416-bug-5.0-mysql
2005-09-15 21:24:41 +04:00
evgen@moonbone.local
fcfcc016bd
Merge
2005-09-15 20:50:10 +04:00
bell@sanja.is.com.ua
ff994c326e
Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-owner2-5.0
2005-09-15 15:39:44 +03:00
bell@sanja.is.com.ua
630cdd7d0c
Information schema fix for WL#2787
2005-09-15 11:56:06 +03:00
ingo@mysql.com
6712aa1a7d
Merge mysql.com:/home/mydev/mysql-5.0
...
into mysql.com:/home/mydev/mysql-5.0-5000
2005-09-15 09:02:26 +02:00
dlenev@mysql.com
ff4a6e139e
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-bg12704-2
2005-09-15 05:06:54 +04:00
dlenev@mysql.com
2a96aa110f
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-bg12704-2
2005-09-15 03:57:59 +04:00
dlenev@mysql.com
e231ebe5fb
Fix for bug #12704 "Server crashes during trigger execution".
...
This bug occurs when some trigger for table used by DML statement is created
or changed while statement was waiting in lock_tables(). In this situation
prelocking set which we have calculated becames invalid which can easily lead
to errors and even in some cases to crashes.
With proposed patch we no longer silently reopen tables in lock_tables(),
instead caller of lock_tables() becomes responsible for reopening tables and
recalculation of prelocking set.
2005-09-15 03:56:09 +04:00
eric@mysql.com
b4c9c778c3
Merge eherman@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/eric/mysql-5.0-fed-err
2005-09-14 14:46:07 -07:00
evgen@moonbone.local
ac32450609
Fix bug #11416 Server crash if using a view that uses function convert_tz
...
When parser parses function convert_tz it loads available timezone tables in
thd->lex->time_zone_tables_used. But view have another lex that main query.
Thus time_zone_tables_used of main query left uninitialized.
When Item_func_conver_tz is fixed it takes timezone tables from main query
and later when it executed it assumes that timezone tables are loaded and
failed that assertion.
2005-09-15 00:08:12 +04:00
ingo@mysql.com
39ae05dfc9
Merge mysql.com:/home/mydev/mysql-5.0
...
into mysql.com:/home/mydev/mysql-5.0-5000
2005-09-14 20:57:45 +02:00
elliot@mysql.com
86882cc8f9
Merge mysql.com:/home/emurphy/src/work/mysql-5.0-bug-12870
...
into mysql.com:/home/emurphy/src/bk-clean/mysql-5.0
2005-09-14 14:44:48 -04:00
elliot@mysql.com
8e7e17166c
BUG#12870 (CREATE PROCEDURE followed by ROLLBACK is not replicated)
...
Fixed by making CREATE/ALTER/DROP PROCEDURE cause implicit commit.
2005-09-14 14:42:39 -04:00
eric@mysql.com
63961bcbe9
Per LenZ, changed calculated buffer size to constant and removed some unused variables.
2005-09-14 11:02:33 -07:00
aivanov@mysql.com
a42b5000ca
Merge mysql.com:/home/alexi/mysql-5.0
...
into mysql.com:/home/alexi/dev/mysql-5.0-13000
2005-09-14 20:32:59 +04:00
aivanov@mysql.com
53e90b53bc
Fixed BUG#12963, BUG#13000: wrong VIEW creation with DAYNAME(),
...
DAYOFWEEK(), and WEEKDAY().
2005-09-14 20:25:00 +04:00
ingo@mysql.com
e0d668baa3
Merge mysql.com:/home/mydev/mysql-5.0
...
into mysql.com:/home/mydev/mysql-5.0-5000
2005-09-14 18:22:43 +02:00
ingo@mysql.com
e564b723cb
Merge mysql.com:/home/mydev/mysql-5.0
...
into mysql.com:/home/mydev/mysql-5.0-5000
2005-09-14 16:30:32 +02:00
bell@sanja.is.com.ua
d1c4241aa5
Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-owner2-5.0
2005-09-14 17:28:28 +03:00
sasha@asksasha.com
a9a612f1b6
Merge spachev@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into asksasha.com:/reiser-data/mysql-dev/mysql-4.1-bug11139
2005-09-14 06:37:52 -06:00
sasha@asksasha.com
00eae49b5c
fix for BUG#11139 (multi-delete with alias breaking replication if table rules are
...
present): the problem originally was that the tables in auxilliary_tables did not have
the correct real_name, which caused problems in the second call to tables_ok().
The fix corrects the real_name problem, and also sets the updating flag properly,
which makes the second call to tables_ok() unnecessary.
2005-09-14 06:31:38 -06:00
tulin@dl145c.mysql.com
ee39253467
indentation correction
2005-09-14 13:44:44 +02:00
ingo@mysql.com
18cb2e8388
Merge mysql.com:/home/mydev/mysql-4.1-4100
...
into mysql.com:/home/mydev/mysql-5.0-5000
2005-09-14 13:37:16 +02:00
tulin@dl145c.mysql.com
f1e6ee04bc
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.0
2005-09-14 13:27:57 +02:00
tulin@dl145c.mysql.com
1b5eb117f5
(corrected typo in prev patch) Bug #13152 bit fields and fileds that follow become corrupted when dumped from NDB
2005-09-14 13:24:41 +02:00
ingo@mysql.com
6e725adc00
Bug#12920 - key_read_requests counter appears to re-set
...
After merge fix.
2005-09-14 13:18:16 +02:00
petr@mysql.com
c1348ec13a
Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
2005-09-14 14:54:48 +04:00
bell@sanja.is.com.ua
4a18f890e6
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-owner2-5.0
2005-09-14 13:37:40 +03:00
tulin@dl145c.mysql.com
415ec2bf89
Bug #13152 bit fields and fileds that follow become corrupted when dumped from NDB tables
2005-09-14 11:41:36 +02:00
bell@sanja.is.com.ua
9388f7277c
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-owner2-5.0
2005-09-14 12:26:09 +03:00
pem@mysql.com
f698d25b3a
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/usr/home/pem/mysql-5.0
2005-09-14 10:54:52 +02:00
pem@mysql.com
9cf77e404e
Post-review fix for BUG#12712: SET AUTOCOMMIT should fail within SP/functions/triggers
2005-09-14 10:54:02 +02:00
petr@mysql.com
d019da7dd8
Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
2005-09-14 12:42:23 +04:00
bell@sanja.is.com.ua
914b961d01
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-owner2-5.0
2005-09-14 11:07:04 +03:00
ingo@mysql.com
7314307762
Bug#12920 - key_read_requests counter appears to re-set
...
Enlarged the counter variables to ulonglong.
2005-09-14 09:56:49 +02:00
bell@sanja.is.com.ua
71ffbbf81b
part 1 (ver 2, postreview fix) of WL#2787
...
view definer information syntax/storage/replication
fixed SOURCE field of .frm
2005-09-14 10:53:09 +03:00
gluh@mysql.com
5549bc3329
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/gluh/MySQL/Bugs/5.0.cml
2005-09-14 12:46:03 +05:00
pem@mysql.com
d825ed1a6b
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/usr/home/pem/mysql-5.0
2005-09-14 09:43:02 +02:00
msvensson@neptunus.(none)
d5ae0825d9
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/bug10713_new/my50-bug10713_new
2005-09-14 09:35:56 +02:00
gluh@mysql.com
2184915127
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/gluh/MySQL/Bugs/5.0.cml
2005-09-14 12:11:19 +05:00
gluh@eagle.intranet.mysql.r18.ru
f66e51e735
formatting typo fix
2005-09-14 12:10:07 +05:00
eric@mysql.com
ef06401549
Improvement to federated for BUG#12659
...
Now many direct references to my_error() have been removed.
2005-09-13 23:31:17 -07:00