Commit e1fe5ab9 authored by unknown's avatar unknown

sp_head.cc:

  Made sp_head::operator delete() match prototype, added throw()
mysql_test_run.c, mysqld_safe.c:
  Include "mysql_version.h" to get MYSQL_PORT defined


sql/sp_head.cc:
  Made sp_head::operator delete() match prototype, added throw()
netware/mysql_test_run.c:
  Include "mysql_version.h" to get MYSQL_PORT defined
netware/mysqld_safe.c:
  Include "mysql_version.h" to get MYSQL_PORT defined
parent 12504d90
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/mode.h> #include <sys/mode.h>
#include "my_manage.h" #include "my_manage.h"
#include "mysql_version.h"
#ifdef __NETWARE__ #ifdef __NETWARE__
#define strindex(a,b) ((char*)strindex(a,b)) #define strindex(a,b) ((char*)strindex(a,b))
#define strstr(a,b) ((char*)strstr(a,b)) #define strstr(a,b) ((char*)strstr(a,b))
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "my_config.h" #include "my_config.h"
#include "my_manage.h" #include "my_manage.h"
#include "mysql_version.h"
/****************************************************************************** /******************************************************************************
......
...@@ -453,7 +453,7 @@ sp_head::operator new(size_t size) throw() ...@@ -453,7 +453,7 @@ sp_head::operator new(size_t size) throw()
} }
void void
sp_head::operator delete(void *ptr, size_t size) sp_head::operator delete(void *ptr, size_t size) throw()
{ {
DBUG_ENTER("sp_head::operator delete"); DBUG_ENTER("sp_head::operator delete");
MEM_ROOT own_root; MEM_ROOT own_root;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment