dlenev@mockturtle.local
186fa6c291
Fix for bug#21216 "Simultaneous DROP TABLE and SHOW OPEN TABLES causes
...
server to crash".
Crash caused by assertion failure happened when one ran SHOW OPEN TABLES
while concurrently doing DROP TABLE (or RENAME TABLE, CREATE TABLE LIKE
or any other command that takes name-lock) in other connection.
For non-debug version of server problem exposed itself as wrong output
of SHOW OPEN TABLES statement (it was missing name-locked tables).
Finally in 5.1 both debug and non-debug versions simply crashed in
this situation due to NULL-pointer dereference.
This problem was caused by the fact that table placeholders which were
added to table cache in order to obtain name-lock had TABLE_SHARE::table_name
set to 0. Therefore they broke assumption that this member is non-0 for
all tables in table cache which was checked by assert in list_open_tables()
(in 5.1 this function simply relies on it).
The fix simply sets this member for such placeholders to appropriate value
making this assumption true again.
This patch also includes test for similar bug 12212 "Crash that happens
during removing of database name from cache" reappeared in 5.1 as bug 19403.
2006-08-21 12:18:59 +04:00
jonas@perch.ndb.mysql.com
21bfd9849b
ndb - revert timeout changes, as a test depends on it, it mysterious ways
...
(mysql-test-run only)
2006-08-21 07:53:27 +02:00
evgen@moonbone.local
b4c2f3f8e5
Fixed bug#21475: Wrongly applied constant propagation leads to a false comparison.
...
A date can be represented as an int (like 20060101) and as a string (like
"2006.01.01"). When a DATE/TIME field is compared in one SELECT against both
representations the constant propagation mechanism leads to comparison
of DATE as a string and DATE as an int. In this example it compares 2006 and
20060101 integers. Obviously it fails comparison although they represents the
same date.
Now the Item_bool_func2::fix_length_and_dec() function sets the comparison
context for items being compared. I.e. if items compared as strings the
comparison context is STRING.
The constant propagation mechanism now doesn't mix items used in different
comparison contexts. The context check is done in the
Item_field::equal_fields_propagator() and in the change_cond_ref_to_const()
functions.
Also the better fix for bug 21159 is introduced.
2006-08-21 00:23:57 +04:00
holyfoot/hf@mysql.com/deer.(none)
cf76884b38
Fix for the failing gis.test
2006-08-18 22:29:35 +05:00
joerg@trift2.
1f79db41fa
mysql-test-run.pl : Fix the search path for "ndb_mgmd" and "ndbd". bug#21721
2006-08-18 18:24:38 +02:00
petr/cps@mysql.com/owlet
30ef47a93c
Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
2006-08-18 16:48:32 +04:00
rburnett@bk-internal.mysql.com
4b7e3775be
Merge bk-internal.mysql.com:/data0/bk/mysql-5.1
...
into bk-internal.mysql.com:/data0/bk/mysql-5.1-kt
2006-08-17 22:30:32 +02:00
jonas@perch.ndb.mysql.com
40754dd6e3
ndb - rpl_ndb_basic
...
fix for change of deadlock timeout in config.ini
2006-08-17 20:59:42 +02:00
jonas@perch.ndb.mysql.com
560fc3e3b3
Merge perch.ndb.mysql.com:/home/jonas/src/51-clean
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2006-08-17 19:49:00 +02:00
rburnett@bk-internal.mysql.com
d65095b451
Merge bk-internal.mysql.com:/data0/bk/tmp_reg
...
into bk-internal.mysql.com:/data0/bk/mysql-5.1
2006-08-17 17:19:41 +02:00
cmiller@zippy.cornsilk.net
64092ca93b
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/merge/tmp_merge
...
into zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0
2006-08-17 10:55:57 -04:00
evgen@moonbone.local
270629a158
ndb_condition_pushdown.result:
...
Corrected test case result after fix for bug#18165
view.result, view.test:
Corrected test case for bug#21261
2006-08-17 18:50:53 +04:00
cmiller@zippy.cornsilk.net
030ddb48f3
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/merge/tmp_merge
...
into zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0
2006-08-17 10:47:23 -04:00
cmiller@zippy.cornsilk.net
c627a6ce84
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/merge/tmp_merge
...
into zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0
2006-08-17 10:42:50 -04:00
rburnett@bk-internal.mysql.com
1bfe766869
Merge bk-internal.mysql.com:/data0/bk/mysql-5.1
...
into bk-internal.mysql.com:/data0/bk/mysql-5.1-kt
2006-08-17 16:37:16 +02:00
mikael/pappa@dator5.(none)
ddbdc16a21
Merge dator5.(none):/home/pappa/bug21350
...
into dator5.(none):/home/pappa/bug21388
2006-08-17 09:32:13 -04:00
mikael/pappa@dator5.(none)
82e942ef97
merge fix
2006-08-17 09:08:53 -04:00
mats@romeo.(none)
a6461a64e4
BUG#20863 (if binlog format is changed between update and unlock of table, wrong binlog):
...
Post-merge fixes.
2006-08-17 09:31:46 +02:00
pgalbraith/patg@govinda.patg.net
dd1d46c2cd
merge warning test results (!)
2006-08-16 20:39:33 -07:00
pgalbraith/patg@govinda.patg.net
ceb7cb55e7
test result changes (non-functional) for 5.1-5.0 merge
2006-08-16 17:16:36 -07:00
iggy@rolltop.ignatz42.dyndns.org
00ab7be7b9
Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-4.1-maint_20328
...
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-merge
2006-08-16 19:31:33 -04:00
iggy@rolltop.ignatz42.dyndns.org
ca6532af50
Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-4.1-maint_20328
...
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint_20328
2006-08-16 16:16:10 -04:00
mikael/pappa@dator5.(none)
b738fd4db8
Merge dator5.(none):/home/pappa/clean-mysql-5.1-kt
...
into dator5.(none):/home/pappa/bug21388
2006-08-16 14:46:30 -04:00
iggy@rolltop.ignatz42.dyndns.org
a86f035a08
Bug#20328 - Correction to test/result for broken Windows build.
2006-08-16 13:55:16 -04:00
pgalbraith/patg@govinda.patg.net
370f22418b
merge 5.0 -> 5.1, re-enabling federated, disabled partition
2006-08-16 10:47:53 -07:00
igor@rurik.mysql.com
cabb55a64f
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
...
into rurik.mysql.com:/home/igor/mysql-5.0-opt
2006-08-16 10:21:23 -07:00
patg@govinda.patg.net
b56ff54805
Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into govinda.patg.net:/home/patg/mysql-build/mysql-5.1-clean2
2006-08-16 10:05:24 -07:00
patg@govinda.patg.net
79ad722e39
Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into govinda.patg.net:/home/patg/mysql-build/mysql-5.1-clean2
2006-08-16 10:03:24 -07:00
igor@rurik.mysql.com
067d6fdfca
Fixed bug #18165 .
...
Made [NOT]BETWEEN predicates SARGable in respect to the second and
the third arguments.
2006-08-16 09:37:19 -07:00
rburnett@bk-internal.mysql.com
38a36da86d
Merge bk-internal.mysql.com:/data0/bk/mysql-5.0
...
into bk-internal.mysql.com:/data0/bk/mysql-5.0-kt
2006-08-16 17:47:20 +02:00
reggie@big_geek.
55165b2f55
small fix to enable the test suite to find executables and scripts on Windows
2006-08-16 10:19:48 -05:00
msvensson@shellback.(none)
da60a5194c
Merge shellback.(none):/home/msvensson/mysql/bug20328/my50-bug20328
...
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-08-16 17:14:40 +02:00
msvensson@shellback.(none)
98eaa07600
Bug#20328 mysql client: dumb about trailing spaces on 'help' command
...
Fix testcase to also work on windows
2006-08-16 17:03:41 +02:00
mikael/pappa@dator5.(none)
a6df8abf2c
Merge dator5.(none):/home/pappa/bug21143
...
into dator5.(none):/home/pappa/bug21388
2006-08-16 10:53:20 -04:00
mikael/pappa@dator5.(none)
8d8b2b38df
Merge dator5.(none):/home/pappa/bug21173
...
into dator5.(none):/home/pappa/bug21388
2006-08-16 10:47:13 -04:00
mikael/pappa@dator5.(none)
142af8c26f
Merge dator5.(none):/home/pappa/bug15890
...
into dator5.(none):/home/pappa/bug21388
2006-08-16 10:41:17 -04:00
mikael/pappa@dator5.(none)
9ba77eb876
Merge dator5.(none):/home/pappa/clean-mysql-5.1
...
into dator5.(none):/home/pappa/bug21388
2006-08-16 10:36:01 -04:00
evgen@sunlight.local
db17048cac
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
...
into sunlight.local:/local_work/21261-bug-5.0-mysql
2006-08-16 18:17:58 +04:00
rburnett@bk-internal.mysql.com
8baecf7ed6
Merge bk-internal.mysql.com:/data0/bk/mysql-5.0
...
into bk-internal.mysql.com:/data0/bk/mysql-5.0-kt
2006-08-16 16:04:10 +02:00
mats@romeo.(none)
a982db81e4
Merging with mysql-5.1-new-rpl tree
2006-08-16 15:59:41 +02:00
rburnett@bk-internal.mysql.com
f23643cc54
Merge bk-internal.mysql.com:/data0/bk/mysql-5.1
...
into bk-internal.mysql.com:/data0/bk/mysql-5.1-kt
2006-08-16 15:58:25 +02:00
msvensson@shellback.(none)
27a4154631
Merge shellback.(none):/home/msvensson/mysql/bug20219/my50-bug20219
...
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-08-16 15:52:52 +02:00
msvensson@shellback.(none)
b963293595
Merge shellback.(none):/home/msvensson/mysql/mysql-5.0
...
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-08-16 15:50:50 +02:00
msvensson@shellback.(none)
ba1ac55acf
Bug#20219 make bin-dist produces unportable for testing tarball
...
- Setup LD_LIBRARY_PATH to favor local libs
2006-08-16 15:25:30 +02:00
mats@romeo.(none)
691355b6a3
BUG#20863 (if binlog format is changed between update and unlock table, wrong binlogging):
...
Fix to allow the binlog format to be changed between the LOCK and
UNLOCK tables, as well as under MIXED mode.
2006-08-16 14:55:57 +02:00
jonas@perch.ndb.mysql.com
a13d114d02
Merge perch.ndb.mysql.com:/home/jonas/src/51-work
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2006-08-16 11:06:56 +02:00
jonas@perch.ndb.mysql.com
1425f18373
ndb -
...
Increase deadlock-timeout to cater for slow test-machines (possibly running several tests in parallell)
This will hopefully remove some volatile testfailures in pushbuild
(i've seen a couple by looking at logs)
2006-08-16 11:05:02 +02:00
holyfoot/hf@mysql.com/deer.(none)
c965eea789
Merge bk@192.168.21.1:mysql-5.0-kt
...
into mysql.com:/home/hf/work/mysql-5.0.20910
2006-08-16 09:57:05 +05:00
ramil/rkalimullin@production.mysql.com
4ef5116425
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into production.mysql.com:/usersnfs/rkalimullin/mysql-5.0
2006-08-16 06:37:39 +02:00
brian@zim.(none)
8d83366bac
Merge zim.(none):/home/brian/mysql/dep-5.1
...
into zim.(none):/home/brian/mysql/remove-bdb-5.1
2006-08-15 13:53:13 -07:00