Alexander Nozdrin
134fc397f8
Auto-merge from mysql-next-mr-summit0.3.
2009-12-16 21:50:45 +03:00
Alexander Nozdrin
09942fe8e8
Manual merge from mysql-trunk-merge.
...
Conflicts:
- include/my_no_pthread.h
- mysql-test/r/sp-ucs2.result
- sql/log.cc
- sql/sql_acl.cc
- sql/sql_yacc.yy
2009-12-16 21:02:21 +03:00
Vladislav Vaintroub
2ff2d1873a
merge
2009-12-16 15:34:11 +01:00
MySQL Build Team
57c69db903
Fix the version suffix, we use "-m2" currently.
2009-12-16 12:08:12 +01:00
MySQL Build Team
b254aee97c
Automerge with an intermediate build clone,
...
to prepare for a tree parent alignment.
No code changes.
2009-12-16 11:51:47 +01:00
Mikael Ronstrom
fdd269ad94
Merge to latest mysql-next-mr
2009-12-16 09:49:16 +01:00
Alexander Nozdrin
b3d9906907
Update version in mysql-next-mr.
...
According to new numbering scheme mysql-next-mr does not have
its own version. Some version placeholder is used instead.
It's been agreed that 5.5.99 will be used as a placeholder.
2009-12-16 11:32:31 +03:00
Mikael Ronstrom
5a31a8f619
Merge
2009-12-14 17:08:30 +01:00
Alexander Nozdrin
bc2d4e620a
Manual merge from mysql-trunk-merge.
...
Conflicts:
- extra/comp_err.c
- mysql-test/collections/default.experimental
- mysql-test/r/archive.result
- mysql-test/r/select.result
- mysql-test/suite/binlog/r/binlog_unsafe.result
- mysql-test/suite/binlog/t/binlog_unsafe.test
- mysql-test/suite/rpl/t/disabled.def
- mysql-test/t/archive.test
- mysql-test/t/select.test
- sql/item.cc
- sql/item.h
- sql/item_timefunc.cc
- sql/sql_base.cc
- sql/sql_delete.cc
- sql/sql_load.cc
- sql/sql_partition.cc
- sql/sql_table.cc
- storage/innobase/handler/ha_innodb.cc
- vio/vio.c
2009-12-12 23:38:59 +03:00
Alexey Kopytov
72b2943594
Manual merge of mysql-5.1-bugteam into mysql-trunk-merge.
2009-12-11 19:40:58 +03:00
Alexander Nozdrin
69cfd5c8ec
Manual merge from mysql-trunk.
...
Conflicts:
- client/mysqltest.cc
- mysql-test/collections/default.experimental
- mysql-test/suite/rpl/t/disabled.def
- sql/mysqld.cc
- sql/opt_range.cc
- sql/sp.cc
- sql/sql_acl.cc
- sql/sql_partition.cc
- sql/sql_table.cc
2009-12-11 12:39:38 +03:00
karen.langford@sun.com
d4d4e38413
Raise version number after cloning 5.0.89
2009-12-08 16:35:00 +01:00
Staale Smedseng
d5391ed61d
Merge from 5.0
2009-12-06 19:01:11 +01:00
Vladislav Vaintroub
aea6035c73
merge
2009-12-04 20:05:04 +00:00
karen.langford@sun.com
032f88055e
Raise version number after cloning 5.1.42
2009-12-02 18:52:19 +01:00
Alexander Nozdrin
3f797a46de
Auto-merge from mysql-next-mr.
2009-12-02 19:00:26 +03:00
Vladislav Vaintroub
f458a4c963
merge
2009-11-30 01:49:26 +00:00
Mikael Ronstrom
543125e7b0
Merged in WL#4949
2009-11-27 18:12:33 +01:00
Mikael Ronstrom
8b77e90380
Fixed kill_alarm test and got it working
2009-11-26 13:48:21 +01:00
Vladislav Vaintroub
53cc3b7bf8
merge
2009-11-25 15:20:14 +01:00
Alexander Nozdrin
4b28a6ce84
Auto-merge from mysql-next-mr.
2009-11-25 16:46:45 +03:00
Alexander Nozdrin
90f2a469c9
Backport of WL#798 (MySQL IPv6 support) from 6.0.
...
The following 6.0 revisions were analyzed:
- sp1r-brian@zim.(none)-20071228102738-21894
- sp1r-brian@zim.(none)-20071228121841-56447
- sp1r-brian@zim.(none)-20071228205403-56423
- sp1r-brian@zim.(none)-20071228221139-55341
- sp1r-brian@zim.(none)-20071228233443-55352
- sp1r-brian@zim.(none)-20071229094527-61763
- sp1r-brian@zim.(none)-20071230203739-61746
- sp1r-brian@zim.(none)-20080102213805-61741
- sp1r-brian@zim.(none)-20080103201041-61746
- sp1r-brian@zim.(none)-20080104234927-59875
- sp1r-brian@zim.(none)-20080105005827-59874
- sp1r-brian@zim.(none)-20080105012020-59865
- sp1r-brian@zim.(none)-20080106003858-59857
- sp1r-brian@zim.(none)-20080123195552-31680
- sp1r-brian@zim.(none)-20080124201848-29999
- sp1r-brian@zim.(none)-20080129075144-36991
- sp1r-cbell/Chuck@mysql_cab_desk.-20080215041806-21954
- sp1r-vvaintroub@wva.-20080212124547-06272
- sp1r-dfischer/mysqldev@mysql.com/production.mysql.com-20071223184258-15140
- sp1r-brian@zim.(none)-20080206122216-35774
- sp1r-baker@bk-internal.mysql.com-20080209005622-35947
- sp1r-baker@bk-internal.mysql.com-20080224215608-24613
- sp1r-baker@bk-internal.mysql.com-20080307170710-63543
- sp1r-baker@bk-internal.mysql.com-20080312233205-13069
- sp1r-Reggie@core.-20080402175211-28643
- kpettersson@mysql.com-20080901101150-4ne74r8v0492vv42
- alik@sun.com-20090805173811-9fzt0ymcp9tsvn7k
- alik@sun.com-20090805173937-fcv1fdveodq5x9gb
- alik@sun.com-20090805175009-g1od16i3t1xkw2qr
- kostja@sun.com-20090805200643-j9i4fy7ii8ijho5c
- alik@sun.com-20090807195303-j4fb5m4l1dgdahwo
- alik@sun.com-20090808114848-3rkzr9kifrijzaqy
- alik@sun.com-20090810041739-ugmx34h34uid8mox
- alik@sun.com-20090810105306-rf43rfyzzblsy5e7
- alik@sun.com-20090810123113-ccdjwai68b5woqdm
- alik@sun.com-20090811080423-gb7pibec1znaydzy
- alik@sun.com-20090811082130-5uckar1vx3kdsw7g
- alik@sun.com-20090812202051-uqkfwwxxcjvo5ean
The following bugfixes are also backported within this patch:
- Bug#34292: netdb.h missing in hostname.cc
- Bug#39153: Failing to lookup a host name can lead to crash
in current IPv6 implementation
- Bug#38247: Server does not resolve connecting ip's
- Bug#43006: main.skip_name_resolve fails on Windows in PB2
- Bug#45606: ACL requires IPv4-mapped addresses to be used
- Bug#45584: Host name cache does not work as a cache
2009-11-25 13:53:23 +03:00
Vladislav Vaintroub
a3e391dd3c
merge
2009-11-25 01:50:10 +01:00
Marc Alff
6e01be7552
WL#2373 Use cycle counter for timing
2009-11-24 16:36:31 -07:00
Alexander Nozdrin
0a9d4e675a
Auto-merge from mysql-next-mr.
2009-11-24 22:39:05 +03:00
Alexey Kopytov
f16b372b37
Manual merge from the mysql-5.1-bugteam.
2009-11-24 11:31:36 +03:00
Alexey Kopytov
acf5330ab8
Manual merge from the mysql-5.1-bugteam.
2009-11-24 11:19:06 +03:00
Konstantin Osipov
7edfae4e86
Backport of:
...
-------------------------------------------------------------
revno: 2877
committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
branch nick: 35164-6.0
timestamp: Wed 2008-10-15 19:53:18 -0300
message:
Bug#35164: Large number of invalid pthread_attr_setschedparam calls
Bug#37536: Thread scheduling causes performance degradation at low thread count
Bug#12702: Long queries take 100% of CPU and freeze other applications under Windows
The problem is that although having threads with different priorities
yields marginal improvements [1] in some platforms [2], relying on some
statically defined priorities (QUERY_PRIOR and WAIT_PRIOR) to play well
(or to work at all) with different scheduling practices and disciplines
is, at best, a shot in the dark as the meaning of priority values may
change depending on the scheduling policy set for the process.
Another problem is that increasing priorities can hurt other concurrent
(running on the same hardware) applications (such as AMP) by causing
starvation problems as MySQL threads will successively preempt lower
priority processes. This can be evidenced by Bug#12702.
The solution is to not change the threads priorities and rely on the
system scheduler to perform its job. This also enables a system admin
to increase or decrease the scheduling priority of the MySQL process,
if intended.
Furthermore, the internal wrappers and code for changing the priority
of threads is being removed as they are now unused and ancient.
1. Due to unintentional side effects. On Solaris this could artificially
help benchmarks as calling the priority changing syscall millions of
times is more beneficial than the actual setting of the priority.
2. Where it actually works. It has never worked on Linux as the default
scheduling policy SCHED_OTHER only accepts the static priority 0.
2009-11-23 19:57:31 +03:00
Davi Arnaut
0b87650887
Post-merge fixes: fix typo and remove unused variables.
2009-11-21 10:11:45 -02:00
Mikael Ronstrom
2361a596e3
Merge
2009-11-20 18:12:00 +01:00
Georgi Kodinov
fe9341129b
merge
2009-11-20 15:39:15 +02:00
Marc Alff
3ff74fb5fa
WL#3230 concurrent hash
...
Backport from 6.0.14 to 5.6.0
Original code from Sergei Golubchik
2009-11-17 19:31:40 -07:00
Marc Alff
1e46d6a032
WL#2595 kernel-independent atomic operations
...
Backport from 6.0.14 to 5.6.0
Original code from Sergei Golubchik
2009-11-17 17:11:32 -07:00
joerg.bruehe@sun.com
9585082215
Raise version number after cloning 5.5.0-beta
2009-11-13 16:15:38 +01:00
Vladislav Vaintroub
2925dcd169
automerge
2009-11-13 13:26:16 +01:00
Mikael Ronstrom
a31ed000ea
WL#4949, Remove use of LOCK_alarm by instead using SO_SNDTIME0/SO_RCVTIME0
2009-11-12 12:17:31 +01:00
Alexander Nozdrin
aaf2e7a003
Update version tag (new: 5.6).
2009-11-12 06:11:55 +03:00
hery.ramilison@sun.com
59951b113f
Raise version number after cloning 5.0.88
2009-11-09 19:22:35 +01:00
Vladislav Vaintroub
13cd7170cc
WL#5161 : Cross-platform build with CMake
2009-11-09 12:32:48 +01:00
Alexander Nozdrin
411a6bfeb9
Auto-merge from mysql-next-mr.
2009-11-05 15:08:37 +03:00
hery.ramilison@sun.com
c5a3082806
Raise version number after cloning 5.1.41
2009-11-04 19:22:09 +01:00
Sergei Golubchik
d101d144df
WL#4903 Plugin Service API part I
...
(mysql-next-mr backport)
2009-11-02 21:05:42 +01:00
Alexander Nozdrin
ac7ba1bcaa
Merge from mysql-next-mr.
2009-10-28 10:55:44 +03:00
Davi Arnaut
323a70c020
Introduce support for automake-1.11 silent-rules.
2009-11-05 07:48:50 -02:00
Alexander Nozdrin
069d78c067
Merge from mysql-next-mr.
2009-10-23 15:22:21 +04:00
Alexander Nozdrin
08ecfb9a8b
Automerge from mysql-next-mr.
2009-10-23 00:20:44 +04:00
Alexander Barkov
99eae48a97
WL#1349 Use operating system localization to send it as a default client character set
2009-10-21 17:59:47 +05:00
Alexander Nozdrin
b930b18ec3
Merge from mysql-5.1.
2009-10-19 17:28:31 +04:00
Joerg Bruehe
d12bd3f794
Merge the bug fixes into the push tree.
2009-10-15 20:28:04 +02:00
Alexander Nozdrin
0f51423532
Merge from mysql-5.1.
2009-10-13 13:42:38 +04:00