Below is the list of changes that have just been committed into a local
5.0 repository of brian. When brian does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.1933 05/06/07 18:23:58 brian@stripped +2 -0
Removed warnings for gcc 4.0
sql/sql_acl.cc
1.156 05/06/07 18:23:45 brian@stripped +2 -2
GCC 4.0
sql/log_event.cc
1.179 05/06/07 18:23:45 brian@stripped +1 -1
GCC 4.0 fix
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: brian
# Host: brian-akers-computer.local
# Root: /Users/brian/mysql/mysql-5.0
--- 1.178/sql/log_event.cc 2005-06-01 22:49:57 -07:00
+++ 1.179/sql/log_event.cc 2005-06-07 18:23:45 -07:00
@@ -708,7 +708,7 @@
Log_event *res= 0;
#ifndef max_allowed_packet
THD *thd=current_thd;
- uint max_allowed_packet= thd ? thd->variables.max_allowed_packet : ~0;
+ uint max_allowed_packet= thd ? thd->variables.max_allowed_packet : ~(ulong)0;
#endif
if (data_len > max_allowed_packet)
--- 1.155/sql/sql_acl.cc 2005-06-01 21:56:26 -07:00
+++ 1.156/sql/sql_acl.cc 2005-06-07 18:23:45 -07:00
@@ -5172,7 +5172,7 @@
grant_proc->db,
grant_proc->tname,
is_proc,
- ~0, 1))
+ ~(ulong)0, 1))
{
revoked= 1;
continue;
@@ -5240,7 +5240,7 @@
lex_user.host.length= strlen(grant_proc->host.hostname);
if (!replace_routine_table(thd,grant_proc,tables[4].table,lex_user,
grant_proc->db, grant_proc->tname,
- is_proc, ~0, 1))
+ is_proc, ~(ulong)0, 1))
{
revoked= 1;
continue;
| Thread |
|---|
| • bk commit into 5.0 tree (brian:1.1933) | Brian Aker | 8 Jun |