Commit graph

29005 commits

Author SHA1 Message Date
pem@mysql.com
c6dfbefa67 Post-merge fix of sql/share/errmsg.txt 2005-12-07 15:22:01 +01:00
anozdrin@mysql.com
5b981a4844 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into  mysql.com:/home/alik/Documents/AllProgs/MySQL/devel/5.0-sp-vars-merge-2
2005-12-07 17:17:42 +03:00
pem@mysql.com
8e0e421943 Merge mysql.com:/usr/home/pem/bug14834/mysql-5.0
into  mysql.com:/usr/home/pem/mysql-5.1-new
2005-12-07 15:17:18 +01:00
anozdrin@mysql.com
0ff8f60b45 Patch for WL#2894: Make stored routine variables work
according to the standard.

The idea is to use Field-classes to implement stored routines
variables. Also, we should provide facade to Item-hierarchy
by Item_field class (it is necessary, since SRVs take part
in expressions).

The patch fixes the following bugs:
  - BUG#8702: Stored Procedures: No Error/Warning shown for inappropriate data 
    type matching; 
 
  - BUG#8768: Functions: For any unsigned data type, -ve values can be passed 
    and returned; 
 
  - BUG#8769: Functions: For Int datatypes, out of range values can be passed 
    and returned; 
 
  - BUG#9078: STORED PROCDURE: Decimal digits are not displayed when we use 
    DECIMAL datatype; 
 
  - BUG#9572: Stored procedures: variable type declarations ignored; 
 
  - BUG#12903: upper function does not work inside a function; 
 
  - BUG#13705: parameters to stored procedures are not verified; 
 
  - BUG#13808: ENUM type stored procedure parameter accepts non-enumerated
    data; 
 
  - BUG#13909: Varchar Stored Procedure Parameter always BINARY string (ignores 
    CHARACTER SET); 
 
  - BUG#14161: Stored procedure cannot retrieve bigint unsigned;

  - BUG#14188: BINARY variables have no 0x00 padding;

  - BUG#15148: Stored procedure variables accept non-scalar values;
2005-12-07 17:01:17 +03:00
dlenev@mysql.com
c5c2874152 Fixed sp-error.test result after merging fix for bug #11555 "Stored procedures:
current SP tables locking make impossible view security" with main tree.
2005-12-07 16:55:16 +03:00
pem@mysql.com
771b8c1774 Merge pmartin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/usr/home/pem/mysql-5.1-new
2005-12-07 12:59:44 +01:00
pem@mysql.com
178fcc4fcd Fixed compile error in sql_acl.cc. 2005-12-07 12:58:33 +01:00
knielsen@mysql.com
e9e782900f Merge bk-internal:/home/bk/mysql-5.0
into  mysql.com:/data0/mysqldev/my/mysql-5.0
2005-12-07 12:50:14 +01:00
knielsen@mysql.com
e7d218d2e9 Bump version number following 5.0.17 release clone-off 2005-12-07 12:43:32 +01:00
lenz@mysql.com
be6b8c3b03 Merge lgrimmer@bk-internal:/home/bk/mysql-5.0
into  mysql.com:/space/my/mysql-5.0
2005-12-07 12:42:36 +01:00
lenz@mysql.com
aaa29e7439 Merge lgrimmer@bk-internal:/home/bk/mysql-5.1-new
into  mysql.com:/space/my/mysql-5.1
2005-12-07 12:38:52 +01:00
dlenev@mysql.com
b5e21b60d9 Merge mysqldev@production.mysql.com:my/mysql-5.0-release
into  mysql.com:/home/dlenev/src/mysql-5.0-bg11555-2
2005-12-07 14:38:20 +03:00
lenz@mysql.com
87fc028284 Merge mysql.com:/space/my/mysql-5.0-merg
into  mysql.com:/space/my/mysql-5.0
2005-12-07 12:23:53 +01:00
lenz@mysql.com
61a7844163 Merge mysql.com:/space/my/mysql-5.0
into  mysql.com:/space/my/mysql-5.1
2005-12-07 11:52:47 +01:00
pem@mysql.com
f998eefe0e Merge pmartin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/usr/home/pem/mysql-5.1-new
2005-12-07 11:19:51 +01:00
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
lenz@mysql.com
cf7e2b2d6d Merge mysql.com:/space/my/mysql-4.1
into  mysql.com:/space/my/mysql-5.0-merg
2005-12-07 10:40:26 +01: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
3d01a3affc Merge mysql.com:/home/timka/mysql/src/5.0-2486
into  mysql.com:/home/timka/mysql/src/5.1-dbg
2005-12-07 10:47:43 +02:00
ingo@mysql.com
0d1413411a Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-5.0
into  mysql.com:/home/mydev/mysql-5.0-bug10932
2005-12-07 09:06:18 +01:00
serg@serg.mylan
e4821e3e9d merged 2005-12-07 08:50:14 +01: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
lenz@mysql.com
74f44b9b9a Merge mysql.com:/space/my/mysql-4.0
into  mysql.com:/space/my/mysql-4.1
2005-12-07 06:46:43 +01:00
jimw@mysql.com
548bacf41b Fix innodb result file (merge clean-up) 2005-12-06 19:55:48 -08:00
jimw@mysql.com
bc4e6f822b Merge mysql.com:/home/jimw/my/mysql-5.0-clean
into  mysql.com:/home/jimw/my/mysql-5.1-clean
2005-12-06 18:27:39 -08: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
e228b43946 Fix value returned by mysql_warning_count() after fetching a prepared
statement that generated a warning. (Bug #15510)
2005-12-06 15:50:03 -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
serg@serg.mylan
eb5ccee783 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-12-06 22:31:09 +01:00
jimw@mysql.com
5d701c2db5 Merge bk-internal:/home/bk/mysql-5.1-new
into  mysql.com:/home/jimw/my/mysql-5.1-clean
2005-12-06 12:29:30 -08: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
paul@kite-hub.kitebird.com
5cf9a20c9a mysqld.cc:
Put options in order.
set_var.cc:
  Put system variables back in order.
2005-12-06 13:21:29 -06: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
jimw@mysql.com
6ec4bcc664 Merge mysql.com:/home/jimw/my/mysql-5.1-bdb
into  mysql.com:/home/jimw/my/mysql-5.1-clean
2005-12-06 10:57:55 -08:00
jimw@mysql.com
692a5ebbf9 Update BDB project file for Windows build 2005-12-06 09:54:28 -08:00
kent@mysql.com
cd7a86601c Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/Users/kent/mysql/bk/mysql-5.1-new
2005-12-06 18:50:18 +01:00
ingo@mysql.com
56a59f9851 Merge mysql.com:/home/mydev/mysql-5.0
into  mysql.com:/home/mydev/mysql-5.0-bug10932
2005-12-06 18:38:03 +01:00
serg@serg.mylan
1aa775aa44 Merge 2005-12-06 18:21:46 +01:00
jimw@mysql.com
5dfc1fd5d8 Fix 'make dist' with new bundled BDB 2005-12-06 08:21:15 -08:00
pem@mysql.com
4dba0aa438 Merge mysql.com:/usr/home/pem/bug14233/mysql-5.0
into  mysql.com:/usr/home/pem/mysql-5.1-new
2005-12-06 17:14:02 +01: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
ingo@production.mysql.com
f4cfef9049 Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  production.mysql.com:/usersnfs/istruewing/autopush/mysql-5.1-new
2005-12-06 14:33:58 +01: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
hartmut@mysql.com
d2ec3d0c75 Merge hholzgraefe@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/home/hartmut/projects/mysql/dev/5.1
2005-12-06 14:19:17 +01:00
lenz@mysql.com
d4a1aab217 - commit emails are now sent to commits@lists.mysql.com instead of
internals@lists.mysql.com to reduce the noise on the internals list.
2005-12-06 14:07:23 +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
bar@mysql.com
fc19590b41 cp1250.xml:
Index.xml:
  Adding Polish collation for cp1250.
2005-12-06 16:19:50 +04: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