tomas@poseidon.(none)
552d841be2
stylistic fixes
2004-08-23 08:42:31 +00:00
sergefp@mysql.com
263f2e3fe2
Fix for bug#5088:
...
* When executing EXPLAIN, do the same as for the query: convert join type to JT_CONST if keyuse array covers all key parts and all of them are constants.
* In remove_const, don't remove conditions that depend on some-const-table and current-table.
2004-08-23 12:31:56 +04:00
hf@deer.(none)
56a01acac5
Fix for bug #5066(Wrong result after subselect with an error)
...
In this case we have to clear thd->data after errorneous query.
So i just move thd->data cleanup to emb_advanced_command
2004-08-23 13:20:34 +05:00
bell@sanja.is.com.ua
74d7a092b2
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
2004-08-23 10:59:35 +03:00
tomas@poseidon.(none)
05853d95de
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into poseidon.(none):/home/tomas/mysql-4.1
2004-08-23 07:33:40 +00:00
serg@serg.mylan
f0fffbe21b
Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-08-22 14:24:45 +02:00
serg@serg.mylan
326992430f
check for mysql_bin_log.is_open() before my_b_tell(&thd->transaction.trans_log
...
in ha_commit_trans - why it didn't crash earlier ?
2004-08-22 14:23:52 +02:00
serg@serg.mylan
d0afecff15
merged
2004-08-22 12:47:11 +02:00
serg@serg.mylan
d5bf903e4d
after merge fixes
2004-08-22 12:43:26 +02:00
serg@serg.mylan
99bb6ff7a0
ported bugfix for #2408 from 3.23
...
(cannot call it a "merge" :)
2004-08-22 10:22:59 +02:00
serg@serg.mylan
ca35127739
bug#2408 - Multiple threads altering MERGE table UNIONs hang/crash.
...
Abandoned improper use of MyISAM data.
Thanks Ingo!
2004-08-22 09:36:17 +02:00
serg@serg.mylan
566344b42e
libedit safety fix: account for closing \0
2004-08-21 23:53:42 +02:00
hf@deer.(none)
6c136f99bf
Proposed fix for bug #5003 (subselect with MIN() and LIKE crashes server)
...
We have next problem here:
active_index is wrong in the subselect's handler on the second val_int() call.
Optimizer sees that we can use index-read for that kind of condition,
and matching_cond() (sql/opt_sum.cc) doesn't. I suspect, proper solution is
to add appropriate code to the matching_cond() but now just added
missed initialization.
2004-08-22 00:06:19 +05:00
paul@ice.snake.net
8f43d0c4b2
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
2004-08-21 12:35:33 -05:00
konstantin@mysql.com
df1d90d12b
Fix to skip flush_block_commit test if the server was compiled
...
without InnoDB.
2004-08-21 11:30:41 +04:00
igor@rurik.mysql.com
4b760fcb94
null.test, null.result:
...
Added test case for bug #4256 .
join_outer.result:
Fixed bug #4256 .
item_cmpfunc.h:
Fixed inconsistency of values of used_tables_cache and
const_item_cache for Item_func_isnull objects.
This inconsistency caused bug #4256 .
2004-08-20 23:48:30 -07:00
rburnett@build.mysql.com
3bd71971d6
Bug #4629 Crash after SLAVE STOP, if the IO thread is in special state.
...
client.c:
Added call to clear_slave_vio inside end_server only when under Windows with repliaction
slave.cc:
Added clear_slave_vio function for clearing active vio on THD under Windows replication
2004-08-21 05:07:32 +02:00
igor@rurik.mysql.com
02f9e068b9
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into rurik.mysql.com:/home/igor/mysql-4.1
2004-08-20 16:32:40 -07:00
paul@ice.snake.net
db40cfb43b
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
2004-08-20 17:22:56 -05:00
igor@rurik.mysql.com
b817b007f9
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into rurik.mysql.com:/home/igor/mysql-4.1
2004-08-20 15:10:12 -07:00
konstantin@mysql.com
75454b0a1d
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/kostja/work/mysql-4.1-4912
2004-08-21 02:08:20 +04:00
konstantin@mysql.com
568c6e8526
Fix for bug#4912 "mysqld crashs in case a statement is executed
...
a second time". The bug was caused by incompatibility of
negations elimination algorithm and PS: during first statement
execute a subtree with negation was replaced with equivalent
subtree without NOTs.
The problem was that although this transformation was permanent,
items of the new subtree were created in execute-local memory.
The patch adds means to check if it is the first execute of a
prepared statement, and if this is the case, to allocate items
in memory of the prepared statement.
The implementation:
- backports Item_arena from 5.0
- adds Item_arena::is_stmt_prepare(),
Item_arena::is_first_stmt_execute().
- deletes THD::allocate_temporary_pool_for_ps_preparing(),
THD::free_temporary_pool_for_ps_preparing(); they
were redundant.
and adds a few invariants:
- thd->free_list never contains junk (= freed items)
- thd->current_arena is never null. If there is no
prepared statement, it points at the thd.
The rest of the patch contains mainly mechanical changes and
cleanups.
2004-08-21 02:02:46 +04:00
mysqldev@mysql.com
325ea1b991
mysql-copyright:
...
Fixed it to work, added function to fix include/mysql_version.h LICENSE tag from GPL to Commercial
2004-08-21 00:02:45 +02:00
igor@rurik.mysql.com
3862914416
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into rurik.mysql.com:/home/igor/mysql-4.1
2004-08-20 14:09:50 -07:00
serg@serg.mylan
949348f576
after merge fix
2004-08-20 22:54:42 +02:00
serg@serg.mylan
f401650290
Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-08-20 22:37:19 +02:00
joreland@mysql.com
8c938872a2
variable scoop, compile fix
2004-08-20 22:18:39 +02:00
serg@serg.mylan
050bf6a89f
merged
2004-08-20 21:56:29 +02:00
joreland@mysql.com
9d44e240bd
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/jonas/src/mysql-4.1
2004-08-20 21:56:15 +02:00
rburnett@build.mysql.com
69ec557494
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into build.mysql.com:/users/rburnett/mysql-4.1
2004-08-20 21:48:16 +02:00
igor@rurik.mysql.com
433206c1f2
Merge rurik.mysql.com:/home/igor/mysql-4.1
...
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
2004-08-20 12:31:57 -07:00
joreland@mysql.com
3145031ae1
removed debug printout
2004-08-20 21:07:08 +02:00
joreland@mysql.com
c7f311c450
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/jonas/src/mysql-4.1
2004-08-20 20:58:55 +02:00
serg@serg.mylan
b267ce4bb4
sql_select.cc: compilation failure fixed
2004-08-20 20:10:49 +02:00
paul@ice.snake.net
71a57bbeb7
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
2004-08-20 13:10:05 -05:00
bar@mysql.com
7a27f2ce8c
Bug#4594 "column index make = failed for gbk, but like works"
...
Fix for MyISAM. Tests for MyISAM and HASH+BTREE.
2004-08-20 21:29:36 +05:00
joreland@mysql.com
ae522cc19c
Merge mysql.com:/home/jonas/src/mysql-4.1-ndb
...
into mysql.com:/home/jonas/src/mysql-4.1
2004-08-20 18:29:36 +02:00
tomas@poseidon.(none)
64fc12f3d2
compile error fixes for some platforms
2004-08-20 16:29:35 +00:00
tomas@poseidon.(none)
2aada533d4
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into poseidon.(none):/home/tomas/mysql-4.1
2004-08-20 16:25:04 +00:00
tomas@poseidon.(none)
91b352377c
added switch to mysqld to specify connectstring
2004-08-20 16:10:47 +00:00
dlenev@brandersnatch.localdomain
8bea792b14
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-bg4302
2004-08-20 20:04:49 +04:00
tomas@poseidon.(none)
d9b266d2da
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into poseidon.(none):/home/tomas/mysql-4.1
2004-08-20 16:04:48 +00:00
tomas@poseidon.(none)
b4c8431c18
fix compile error on some platforms
2004-08-20 16:04:06 +00:00
dlenev@brandersnatch.localdomain
b4105df897
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-bg4302
2004-08-20 19:30:45 +04:00
lenz@mysql.com
bc8228b6fc
Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/space/my/mysql-4.1
2004-08-20 17:30:45 +02:00
tomas@poseidon.(none)
a71f1894d0
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into poseidon.(none):/home/tomas/mysql-4.1
2004-08-20 15:30:44 +00:00
tomas@poseidon.(none)
90fde3f48d
small helptext fix
2004-08-20 15:29:54 +00:00
guilhem@mysql.com
02e93b5758
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/mysql_src/mysql-4.0
2004-08-20 17:16:03 +02:00
guilhem@mysql.com
5db56a106b
Making FLUSH TABLES WITH READ LOCK block COMMITs of existing transactions,
...
in a deadlock-free manner. This splits locking the global read lock in two steps.
This fixes a consequence of this bug, known as:
BUG#4953 'mysqldump --master-data may report incorrect binlog position if using InnoDB'
And a test.
2004-08-20 16:35:23 +02:00
joreland@mysql.com
f02ebd6fcc
bug#5128 - remove need of unique fs-path
...
bug#4761 - more validation of hosts
bug#4511 - only non depricated should be saved in config
- fix ConfigInfo::BOOL w.r.t deprication
2004-08-20 15:58:30 +02:00