dlenev@mysql.com
40614adf66
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-bg11555-2
2005-12-07 12:47:25 +03:00
dlenev@mysql.com
06b895c096
Fix for bug #11555 "Stored procedures: current SP tables locking make
...
impossible view security".
We should not expose names of tables which are explicitly or implicitly (via
routine or trigger) used by view even if we find that they are missing.
So during building of list of prelocked tables for statement we track which
routines (and therefore tables for these routines) are used from views. We
mark elements of LEX::routines set which correspond to routines used in views
by setting Sroutine_hash_entry::belong_to_view member to point to TABLE_LIST
object for topmost view which uses routine. We propagate this mark to all
routines which are used by this routine and which we add to this set. We also
mark tables used by such routine which we add to the list of tables for
prelocking as belonging to this view.
2005-12-07 12:27:17 +03:00
timour@mysql.com
ecb41e28f2
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
...
into mysql.com:/home/timka/mysql/src/5.0-2486
2005-12-07 08:20:59 +02:00
jimw@mysql.com
642984d420
Fix innodb.result file (was missing a line)
2005-12-06 18:18:35 -08:00
jimw@mysql.com
a910cfd663
Merge bk-internal:/home/bk/mysql-5.0
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-12-06 18:15:18 -08:00
jimw@mysql.com
68bc3dd1fd
Merge mysql.com:/home/jimw/my/mysql-5.0-14299
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-12-06 14:16:34 -08:00
konstantin@mysql.com
712385568f
A fix and a test case for Bug#15392 "Server crashes during
...
prepared statement execute
2005-12-07 00:57:15 +03:00
aivanov@mysql.com
adc8051c71
Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/alexi/innodb-ss/mysql-5.0-ss52
2005-12-06 23:15:21 +03:00
aivanov@mysql.com
9eee25472e
Fix BUG#14747: "Race condition can cause btr_search_drop_page_hash_index()
...
to crash".
Changes from snapshot innodb-5.0-ss52.
Note that buf_block_t::index should be protected by btr_search_latch
or an s-latch or x-latch on the index page.
btr_search_drop_page_hash_index(): Read block->index while holding
btr_search_latch and use the cached value in the loop. Remove some
redundant assertions.
Also fix 13778. When FOREIGN_KEY_CHECKS=0 we still need to check that
datatypes between foreign key references are compatible.
Also added test cases to 9802.
2005-12-06 22:02:40 +03:00
timour@mysql.com
6d6b617a2e
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
...
into mysql.com:/home/timka/mysql/src/5.0-2486
2005-12-06 18:04:26 +02:00
pem@mysql.com
c6fc5d35cc
Final review fix of #14233 : Crash after tampering with the mysql.proc table.
...
Changed variable type and added comment in sp.c.
2005-12-06 14:25:12 +01:00
pem@mysql.com
a0ed1d5aba
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/usr/home/pem/bug14233/mysql-5.0
2005-12-06 13:34:18 +01:00
stewart@mysql.com
df48873089
Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main
...
into mysql.com:/home/stewart/Documents/MySQL/5.0/bug15512
2005-12-06 11:45:51 +01:00
stewart@mysql.com
d54c878f7b
BUG#15512 crash during online add of API/SQL node
2005-12-06 11:25:53 +01:00
joerg@mysql.com
56e35734c2
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/M50/mysql-5.0
2005-12-05 20:42:44 +01:00
mleich@mysql.com
4024577205
Merge mleich@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/matthias/Arbeit/mysql-5.0/src-Z
2005-12-05 19:47:18 +01:00
joerg@mysql.com
b9451ee51f
Merge from 4.1, partly manual.
2005-12-05 18:33:48 +01:00
mleich@mysql.com
2fd30b61d5
Fix for Bug#12429: Replication tests fail: "Slave_IO_Running" (?) differs
...
Solution according to the comments made by Guilhem
- rpl_relayrotate Remove the SHOW SLAVE STATUS It is not needed.
- rpl_until, rpl_deadlock Omit the printing of the "Slave_IO_Running" value
2005-12-05 17:57:48 +01:00
joerg@mysql.com
7ce92291f0
Not all RPM builds can use the bundled zlib, due to dependency and link conflicts. Solve this.
...
(Backport of an identical change from 5.0)
2005-12-05 17:53:42 +01:00
joerg@mysql.com
84db1b25a2
Merge mysql.com:/M41/mysql-4.1 into mysql.com:/M41/push-4.1
2005-12-05 17:10:43 +01:00
joerg@mysql.com
b5293c415f
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/M50/mysql-5.0
2005-12-05 16:42:28 +01:00
msvensson@neptunus.(none)
3ed00e8595
Merge bk-internal:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-12-05 16:01:19 +01:00
msvensson@neptunus.(none)
0a45078dd8
Fix for mysqltest.test failing with mysql-test-run.pl and --ps-protocol
2005-12-05 16:00:23 +01:00
knielsen@mysql.com
17cab43fcf
Bug#15097: Missing \n in header printed by mysql --help when HAVE_READLINE
...
is not defined.
2005-12-05 12:12:08 +01:00
jani@a193-229-222-105.elisa-laajakaista.fi
c6d933c629
Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
...
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
2005-12-04 20:57:34 +02:00
jani@a193-229-222-105.elisa-laajakaista.fi
4f6a321bb8
Fixes multi_statement test case on NetWare.
2005-12-04 15:39:44 +02:00
jani@a193-229-222-105.elisa-laajakaista.fi
d88d8081da
Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0
...
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
2005-12-04 15:34:47 +02:00
jani@a193-229-222-105.elisa-laajakaista.fi
669a12fdb0
A set of Netware related patches.
2005-12-04 15:02:06 +02:00
kent@mysql.com
9fd13ba93d
my_global.h:
...
Make __cxa_pure_virtual weak symbol
2005-12-03 20:52:34 +01:00
kent@mysql.com
28fa86f45e
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
2005-12-03 14:40:24 +01:00
msvensson@devsrv-b.mysql.com
997f7027ae
Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into devsrv-b.mysql.com:/space/magnus/my50-bug11731
2005-12-02 23:37:38 +01:00
bell@sanja.is.com.ua
58c581ab62
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-merge1-5.0
2005-12-02 22:59:29 +02:00
msvensson@devsrv-b.mysql.com
75bd92f1c6
Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into devsrv-b.mysql.com:/space/magnus/my50-bug11731
2005-12-02 21:06:35 +01:00
konstantin@mysql.com
6f63650d72
Add a test case for Bug#5967 "Stored procedure declared variable
...
used instead of column", the bug is to be fixed later.
2005-12-02 22:43:56 +03:00
bell@sanja.is.com.ua
b1f0e78146
Merge sanja.is.com.ua:/home/bell/mysql/bk/work-bug1-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-merge1-5.0
2005-12-02 21:20:25 +02:00
bell@sanja.is.com.ua
45e59f3d76
Now we shall store only position (index of first character)
...
of SELECT from query begining, to be independet of query buffer
allocation.
Correct procedure used to find beginning of the current statement
during parsing (BUG#14885).
2005-12-02 21:18:12 +02:00
bell@sanja.is.com.ua
54b7e6e3dc
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-merge1-5.0
2005-12-02 20:50:54 +02:00
evgen@moonbone.local
b7d7f78fd0
query_cache.result:
...
After merge fix
2005-12-02 21:05:23 +03:00
msvensson@devsrv-b.mysql.com
17cc99470b
Merge msvensson@msvensson.mysql.internal:/home/msvensson/mysql/bug11731/my50-bug11731
...
into devsrv-b.mysql.com:/space/magnus/my50-bug11731
2005-12-02 18:37:16 +01:00
msvensson@neptunus.(none)
c753df999c
Bug #11731 mysqltest in multi-statement queries ignores errors in non-1st queries
...
- Add tests to mysqltest.test
- Problem no longer exists
2005-12-02 18:29:15 +01:00
evgen@moonbone.local
00b902b065
Manually merged
2005-12-02 19:42:14 +03:00
evgen@moonbone.local
151350536c
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into moonbone.local:/work/15028-bug-4.1-mysql
2005-12-02 18:42:05 +03:00
pem@mysql.com
035c24beeb
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/usr/home/pem/bug14376/mysql-5.0
2005-12-02 15:04:50 +01:00
pem@mysql.com
ed6e09a38c
Post-review fixes for BUG#14376: MySQL crash on scoped variable (re)initialization
2005-12-02 14:30:42 +01:00
bell@sanja.is.com.ua
68a20f3ef7
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-merge1-5.0
2005-12-02 14:00:12 +02:00
stewart@mysql.com
00d95a8bea
BUG#15425 Small window for NF during backup failing without error
2005-12-02 09:27:06 +01:00
ramil@mysql.com
681252c82d
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/home/ram/work/5.0.b12956
2005-12-02 11:57:26 +04:00
bell@sanja.is.com.ua
c98fbc0320
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-merge1-5.0
2005-12-02 08:43:05 +02:00
jimw@mysql.com
3d223afb28
Post-merge result file cleanup
2005-12-01 15:10:35 -08:00
evgen@moonbone.local
3f72e7645f
Fix bug#15028 Multitable update returns different numbers of matched rows
...
depending on table order
multi_update::send_data() was counting updates, not updated rows. Thus if one
record have several updates it will be counted several times in 'rows matched'
but updated only once.
multi_update::send_data() now counts only unique rows.
2005-12-01 23:22:20 +03:00