evgen@moonbone.local
f89352602c
Fix bug #9669 Ordering on IF function with FROM_UNIXTIME function fails
...
Integer overflow results in wrong field sortlength.
2005-06-02 17:00:07 +04:00
msvensson@neptunus.(none)
f588da546f
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-ndb
...
into neptunus.(none):/home/msvensson/mysql/bug9626
2005-06-02 14:57:46 +02:00
mskold@mysql.com
ca679df824
Modified handling of guarded predicates at condition pushdown to storage engine, to make valgrind happy
2005-06-02 14:48:19 +02:00
mskold@mysql.com
cc524b4fda
Removed bug introduced when implementing support for IN and BETWEEN
2005-06-02 14:46:58 +02:00
msvensson@neptunus.(none)
abd3a84f7a
BUG#9626 Several serious errors reported by Valgrind in latest 5.0 bk tree
...
- Fix several valgrind warnings.
2005-06-02 14:32:06 +02:00
bar@mysql.com
95484f7996
Merge mysql.com:/usr/home/bar/mysql-4.1.sysvar
...
into mysql.com:/usr/home/bar/mysql-5.0
2005-06-02 17:13:37 +05:00
bar@mysql.com
e686057259
item_func.cc:
...
set_var.cc:
variables.result
variables.test
Bug #10904 Illegal mix of collations between a system variable and a constant
Changing coercibility of system variables to SYSCONST,
to be the same with USER(), DATABASE(), etc.
2005-06-02 16:17:44 +05:00
gluh@eagle.intranet.mysql.r18.ru
477feba00f
Fix for bug#10964: Information Schema:Authorization check on(2nd version, after review)
...
privilege tables is improper
added privilege check for USER_PRIVILEGES, SCHEMA_PRIVILEGES,
TABLE_PRIVILEGES, COLUMN_PRIVILEGES tables
2005-06-02 15:33:53 +05:00
serg@serg.mylan
f3a95357fe
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-06-02 11:02:01 +02:00
brian@zim.(none)
d11ba2ca04
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/mysql-5.0
2005-06-01 22:50:00 -07:00
brian@zim.(none)
113a99626d
Merge of 4.1->5.0. This contained the fixes for GCC 4.0
2005-06-01 21:56:30 -07:00
kent@mysql.com
f0fcc54b0c
Merge
2005-06-02 04:45:09 +02:00
brian@zim.(none)
efb5ed5bab
Merge
2005-06-01 18:48:29 -07:00
jimw@mysql.com
1c387c8f71
Restore a bit of code accidently deleted during merge
2005-06-01 18:08:39 -07:00
kent@mysql.com
f889f0884c
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/Users/kent/mysql/bk/mysql-4.1
2005-06-02 02:57:18 +02:00
kent@mysql.com
bd48eed988
tztime.cc:
...
Set #pragma implementation" earlier
Many files:
Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
2005-06-02 02:43:32 +02:00
brian@zim.(none)
ba9b9f8993
Mainly cleanups for gcc 4.0. Some small pieces from looking at -Wall. Removed a number of dumb things in ha_tina.
2005-06-01 17:34:10 -07:00
jimw@mysql.com
8b0daa8445
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-06-01 16:13:25 -07:00
jimw@mysql.com
5a271e2c12
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-06-01 16:13:24 -07:00
jimw@mysql.com
f5f88703b2
Fix compile error when HAVE_BERKELEY_DB
2005-06-01 16:03:41 -07:00
jimw@mysql.com
b8f3c515ba
Merge mysql.com:/home/jimw/my/mysql-4.1-9660
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-06-01 13:02:26 -07:00
jimw@mysql.com
4f6db49795
Merge mysql.com:/home/jimw/my/mysql-4.1-10944
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-06-01 13:00:32 -07:00
jimw@mysql.com
0a2d95e983
Merge mysql.com:/home/jimw/my/mysql-4.1-8135
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-06-01 12:59:11 -07:00
serg@serg.mylan
0c69fe8428
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-06-01 20:04:53 +02:00
jimw@mysql.com
7ac7bfc3c8
Fix handling of NULL fields in FIELD(). (Bug #10944 )
2005-06-01 09:48:25 -07:00
serg@serg.mylan
34df99ab82
more than 64 indexes per table. bugfixes. bug#10995
2005-06-01 18:33:16 +02:00
lars@mysql.com
2b3c8b9dc5
BUG#6883: Added tests for create/drop temporary table, UNLOCK TABLES
...
If a create table can not do implicit commit, the stmt now fails
CREATE/DROP TEMPORARY TABLE is now flushed to binlog
2005-06-01 15:52:32 +02:00
pem@mysql.com
f711a3d7c1
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/home/pem/work/mysql-5.0
2005-06-01 15:50:52 +02:00
pem@mysql.comhem.se
5afef58364
Fixed BUG#10969: Stored procedures: crash if default() function
...
Return an error if default() is used on a local variable.
This is actaully a side-effect of BUG#5967: Stored procedure declared
variable used instead of column (to be fixed later), so this is really a
workaround until that is fixed.
2005-06-01 15:42:40 +02:00
monty@mysql.com
a69f432115
Code cleanups during code reviews
...
Ensure we get error if INSERT IGNORE ... SELECT fails
Fixed wrong key_part->key_length usage in index_merge
2005-06-01 16:35:09 +03:00
ramil@mysql.com
086d81207b
A fix (bug #10568 : Function 'LAST_DAY(date)' does not return NULL for invalid argument).
2005-06-01 17:09:46 +05:00
ingo@mysql.com
4a25417394
Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
...
After merge fixes.
2005-06-01 13:22:17 +02:00
pem@mysql.comhem.se
85f19d5da5
Fixed BUG#10961: Stored procedures: crash if select * from dual
...
Have to catch errors from SELECT when opening a cursor.
2005-06-01 12:18:41 +02:00
mskold@mysql.com
e8613e53b9
Fixed handling of condition pushdown to storage engine of NO BETWEEN and NOT IN
2005-06-01 11:56:47 +02:00
ingo@mysql.com
0a1e38b7ed
Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
...
Manual merge from 4.1.
2005-06-01 11:15:21 +02:00
ingo@mysql.com
effd338f67
Merge
2005-05-31 20:55:42 +02:00
acurtis@xiphis.org
fb10cfd08d
Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into xiphis.org:/usr/home/antony/work2/p4-bug10413.2
2005-05-31 19:21:08 +01:00
ingo@mysql.com
c420599581
Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
...
Hand merged from 4.0.
2005-05-31 19:37:24 +02:00
acurtis@xiphis.org
c4f37eda65
Bug#10413 - Invalid column name is not rejected
...
Stop ignoring name parts and check for validity
2005-05-31 18:06:54 +01:00
pem@mysql.comhem.se
76073d7bf5
Fixed BUG#9529: Stored Procedures: No Warning on truncation of procedure name
...
during creation.
Although it returns an error, consistent with the behaviour for other objects.
(Unclear why we would allow the creation of SPs with truncated names.)
2005-05-31 18:36:32 +02:00
igor@rurik.mysql.com
da6c4bd5b1
Merge rurik.mysql.com:/home/igor/mysql-5.0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
2005-05-31 06:00:41 -07:00
igor@rurik.mysql.com
a7d28e20aa
olap.result:
...
Fixed bug #10982 .
item.cc:
Fixed bug #10982 . In the function Item_ref::val_decimal
by mistake the method Item_ref::val_decimal was used
instead of Item_ref::val_decimal_result.
2005-05-31 05:56:22 -07:00
monty@mysql.com
e253b7815a
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-05-31 15:22:44 +03:00
reggie@mdk10.(none)
db81ebec28
BUG# 10181-mysqld.exe crash with an access vioation after INSERT INTO mysql.host
...
this is a followup cset after changes suggested by Serg.
2005-05-31 07:21:10 -05:00
pem@mysql.comhem.se
7eaf78de85
Small bug fix in SP item reusal (debug mode only).
2005-05-31 13:12:23 +02:00
reggie@mdk10.(none)
0ff928b0cc
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mdk10.(none):/home/reggie/bk/41test3
2005-05-31 06:07:44 -05:00
pem@mysql.com
53abbdc39b
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/home/pem/work/mysql-5.0
2005-05-31 12:07:16 +02:00
pem@mysql.comhem.se
063896a6e7
Post-review fixes of BUG#9937: Crash on call to stored procedure.
2005-05-31 12:06:15 +02:00
monty@mysql.com
bfcf3c6ac9
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-05-31 12:29:24 +03:00
ingo@mysql.com
51d80960ea
Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
...
1.) Added a new option to mysql_lock_tables() for ignoring FLUSH TABLES.
Used the new option in create_table_from_items().
It is necessary to prevent the SELECT table from being reopend.
It would get new storage assigned for its fields, while the
SELECT part of the command would still use the old (freed) storage.
2.) Protected the CREATE TABLE and CREATE TABLE ... SELECT commands
against a global read lock. This prevents a deadlock in
CREATE TABLE ... SELECT in conjunction with FLUSH TABLES WITH READ LOCK
and avoids the creation of new tables during a global read lock.
3.) Replaced set_protect_against_global_read_lock() and
unset_protect_against_global_read_lock() by
wait_if_global_read_lock() and start_waiting_global_read_lock()
in the INSERT DELAYED handling.
2005-05-31 11:08:14 +02:00