MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:pem Date:April 21 2006 12:30pm
Subject:bk commit into 5.0 tree (pem:1.2170) BUG#18344
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of pem. When pem 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.2170 06/04/21 14:30:44 pem@stripped +1 -0
  Post-push fix for BUG#18344: DROP DATABASE does not drop associated routines
  Fixed windows compile error in sql/sp.cc (missing cast to byte*)

  sql/sp.cc
    1.111 06/04/21 14:30:40 pem@stripped +2 -2
    Fixed windows compile error. (missing cast to byte*)

# 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:	pem
# Host:	pem.mysql.com
# Root:	/extern/mysql/5.0/bug18344/mysql-5.0-runtime

--- 1.110/sql/sp.cc	2006-04-18 16:00:57 +02:00
+++ 1.111/sql/sp.cc	2006-04-21 14:30:40 +02:00
@@ -901,7 +901,7 @@
   ret= SP_OK;
   table->file->ha_index_init(0);
   if (! table->file->index_read(table->record[0],
-                                table->field[MYSQL_PROC_FIELD_DB]->ptr,
+                                (byte *)table->field[MYSQL_PROC_FIELD_DB]->ptr,
 				key_len, HA_READ_KEY_EXACT))
   {
     int nxtres;
@@ -918,7 +918,7 @@
 	break;
       }
     } while (! (nxtres= table->file->index_next_same(table->record[0],
-                                        table->field[MYSQL_PROC_FIELD_DB]->ptr,
+                                (byte *)table->field[MYSQL_PROC_FIELD_DB]->ptr,
 						     key_len)));
     if (nxtres != HA_ERR_END_OF_FILE)
       ret= SP_KEY_NOT_FOUND;
Thread
bk commit into 5.0 tree (pem:1.2170) BUG#18344pem21 Apr