evgen@moonbone.local
b5d426623f
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into moonbone.local:/work/14016-bug-4.1-mysql
2005-10-25 20:37:45 +04:00
evgen@moonbone.local
90cf3e78f0
Fix bug #14016 date_format() 2nd parameter was compared using case insensitive
...
collation
By default constant strings in second parameter of date_time() have case
insensitive collation. Because of this expressions date_format(f,'%m') and
date_format(f,'%M') wrongly becomes equal, which results in choosing wrong
column to sort by.
Now if second parameter of date_format() is constant then it's collation is
changed to case sensitive.
2005-10-25 20:37:26 +04:00
evgen@moonbone.local
8cb0dff904
Fix bug#13392 Wrong VALUES() behaviour in INSERT SELECT with ON DUPLICATE
...
VALUES() can only refer to table insert going to.
But Item_insert_value::fix_fields() were passing to it's arg full table list,
This results in finding second column which shouldn't be found, and
failing with error about ambiguous field.
Item_insert_value::fix_fields() now passes only first table of full table
list.
2005-10-25 20:04:12 +04:00
monty@mysql.com
3e653fb922
Added more tests for new UPDATE ... ORDER BY ... LIMIT optimization
2005-10-25 02:27:40 +03:00
sergefp@mysql.com
ea3ea9ed10
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/psergey/mysql-4.1-nulls-stats-r2
2005-10-23 02:49:57 +04:00
jimw@mysql.com
2d018862fa
Merge mysql.com:/home/jimw/my/mysql-4.1-11203
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-10-21 17:57:51 -07:00
serg@serg.mylan
721873f7cd
compilation failure fixed
2005-10-21 14:56:59 +02:00
bar@mysql.com
a167ddc6e7
Bug#13233
...
select distinct char(column) fails with utf8
ctype_utf8.result, ctype_utf8.test:
Adding test case
sql_yacc.yy:
Adding new syntax.
item_strfunc.h:
Fixing wrong max_length calculation.
Also, adding CHAR(x USING charset),
for easier migrating from 4.1 to 5.0,
according to Monty's suggestion.
2005-10-21 14:41:56 +05:00
sergefp@mysql.com
15a78334c3
BUG#9622, stage 2, work together with fix for BUG#12232:
...
added "nulls_ignored" index statistics collection method for MyISAM tables.
(notification trigger: this is about BUG#9622).
2005-10-21 06:29:17 +04:00
jimw@mysql.com
746251a47c
Merge bk-internal:/home/bk/mysql-4.1
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-10-18 10:49:28 -07:00
jimw@mysql.com
e284a57c88
Merge mysql.com:/home/jimw/my/mysql-4.1-13334
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-10-18 09:45:12 -07:00
jimw@mysql.com
162b3de29a
Merge mysql.com:/home/jimw/my/mysql-4.1-13064
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-10-18 09:44:29 -07:00
jani@ua141d10.elisa.omakaista.fi
1b7a4abf59
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
2005-10-18 18:04:00 +03:00
jani@ua141d10.elisa.omakaista.fi
8e1dac44b4
Some fixes to avoid compiler warnings.
2005-10-18 18:03:26 +03:00
sergefp@mysql.com
d6903c4566
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/psergey/mysql-4.1-bug12915-r2
2005-10-18 14:08:50 +04:00
sergefp@mysql.com
b91173af11
BUG#12915: post-review fixes
2005-10-18 14:04:14 +04:00
guilhem@mysql.com
b709578f1f
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/mysql_src/mysql-4.1
2005-10-14 15:35:57 +02:00
guilhem@mysql.com
845b9fbf58
fix for Valgrind errors: query_id needs to be inited early (already fixed in 5.0 by Konstantin) and so does client_capabilities (not fixed in 5.0);
...
because they are used by net_printf() and push_warning(), which can be called if check_connection() fails.
2005-10-14 15:34:52 +02:00
mskold@mysql.com
997e78c7f4
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
2005-10-14 11:52:52 +02:00
mskold@mysql.com
f9b58b0805
Fix for Bug #13961 Triggers on tables with auto_increment insert bogus values into table (clean version)
2005-10-14 11:23:02 +02:00
bar@mysql.com
5df9c6c2a3
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/bar/mysql-4.1.b13751
2005-10-14 11:54:10 +05:00
bar@mysql.com
58343bede3
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/bar/mysql-4.1.b13751
2005-10-14 09:09:25 +05:00
bell@sanja.is.com.ua
6d6e107f12
- set 'updating' in both tables list if we have two of them (because of subquery) (BUG#13236)
...
- fixed test
2005-10-14 00:02:38 +03:00
monty@mysql.com
829a4831b1
Fixes during review of new code
2005-10-13 19:24:01 +03:00
hf@deer.(none)
62ffbea5e4
merging
2005-10-13 19:31:09 +05:00
hf@deer.(none)
c933505d2d
Fix for bug #3874 (Group by field is not considered)
2005-10-13 19:23:52 +05:00
evgen@moonbone.local
818c37ac68
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into moonbone.local:/work/13535-bug-4.1-mysql
2005-10-13 17:17:32 +04:00
jimw@mysql.com
701a137844
Merge bk-internal:/home/bk/mysql-4.1
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-10-12 16:07:16 -07:00
evgen@moonbone.local
fb0074a6ad
Manual merged
2005-10-13 01:14:58 +04:00
evgen@moonbone.local
551961b207
select.test, sql_select.cc, sql_lex.cc, item.cc:
...
Bug #7672 after merge fix
2005-10-13 00:58:59 +04:00
jimw@mysql.com
cb0d8aba46
Merge mysql.com:/home/jimw/my/mysql-4.1-8731b
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-10-12 13:28:46 -07:00
jimw@mysql.com
626c8a1c8c
Merge mysql.com:/home/jimw/my/mysql-4.1-13344
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-10-12 13:27:49 -07:00
jimw@mysql.com
6a19058c55
Merge mysql.com:/home/jimw/my/mysql-4.1-13619
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-10-12 13:26:49 -07:00
evgen@moonbone.local
902b06ecb1
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into moonbone.local:/work/13535-bug-4.1-mysql
2005-10-13 00:16:33 +04:00
guilhem@mysql.com
ab05c75ea7
merge
2005-10-12 13:31:48 +02:00
guilhem@mysql.com
4c1c9db823
Fix for BUG#13023: "SQL Thread is up but doesn't move forward". Details in slave.cc;
...
in short we now record whenever the slave I/O thread ignores a master's event because of its server id,
and use this info in the slave SQL thread to advance Exec_master_log_pos. Because if we
do not, this variable stays at the position of the last executed event, i.e. the last *non-ignored*
executed one, which may not be the last of the master's binlog (and so the slave *looks* behind
the master though it's data-wise it's not).
2005-10-12 13:29:55 +02:00
grog@mysql.com
c248a36e30
sql_yacc.yy:
...
Bug #10308 : Parse 'purge master logs' with subselect correctly.
subselect.test:
Bug #10308 : Test for 'purge master logs' with subselect.
subselect.result:
Bug #10308 : Test result for 'purge master logs' with subselect.
2005-10-12 09:47:59 +02:00
evgen@moonbone.local
c16410d3a1
Manual merge, fix for bug #7672
2005-10-12 03:32:14 +04:00
jimw@mysql.com
c8a6c2c614
Fix wait_timeout (and kill) handling on Mac OS X by cleaning up how
...
signal handlers are set up, the blocking flags for sockets are set,
and which thread-related functions are used. (Bug #8731 )
2005-10-11 09:12:12 -07:00
gluh@eagle.intranet.mysql.r18.ru
8d01ea1be7
Fix for bug#9270 multiple SSL race conditions (for 5.0 tree)
...
The fix is needed to perform locking on shared data structures
This is modification of patch proposed by Leandro Santi
(see http://webs.sinectis.com.ar/lesanti/misc/mysql-4.0.23a-openssl_locking.patch )
2005-10-11 16:26:00 +05:00
jimw@mysql.com
083c032ec3
Fix minimum value of query_prealloc_size to be the same as its default. (Bug #13334 )
2005-10-10 19:39:16 -07:00
lars@mysql.com
cd0e0a9933
Added missing HAVE_REPLICATION define
2005-10-10 19:23:13 +02:00
hf@deer.(none)
83c103ed81
Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.13372
2005-10-10 21:09:34 +05:00
lars@mysql.com
998380521f
BUG#12618: Removing fake locking
2005-10-10 15:10:14 +02:00
evgen@moonbone.local
1b15a2d482
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into moonbone.local:/work/7672-bug-4.0-mysql
2005-10-09 23:12:12 +04:00
evgen@moonbone.local
6bfc2d4b89
Fix bug#7672 Unknown column error in order clause
...
When fixing Item_func_plus in ORDER BY clause field c is searched in all
opened tables, but because c is an alias it wasn't found there.
This patch adds a flag to select_lex which allows Item_field::fix_fields()
to look up in select's item_list to find aliased fields.
2005-10-09 23:05:44 +04:00
serg@serg.mylan
da625424e0
Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2005-10-08 16:59:08 +02:00
serg@serg.mylan
ae293f9ac5
Bug #10942 "deadlock with FLUSH TABLES WITH READ LOCK + STOP SLAVE"
...
don't allow STOP SLAVE if global read lock is in taken
2005-10-08 14:46:04 +02:00
bar@mysql.com
62ad8922b8
ctype_utf8.result, ctype_utf8.test:
...
Adding test case.
item_func.cc:
Bug#13751 find_in_set: Illegal mix of collations.
Character set conversion was forgotten in find_in_set.
2005-10-07 09:52:15 +05:00
monty@mysql.com
3f73d25fba
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2005-10-07 04:02:53 +03:00