Commit 0276d38f authored by konstantin@mysql.com's avatar konstantin@mysql.com

Merge bk-internal.mysql.com:/home/bk/mysql-4.1

into mysql.com:/home/kostja/mysql/mysql-4.1-root
parents be642b9b f08bbd1f
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#undef MYSQL_SERVER #undef MYSQL_SERVER
#include "client_priv.h" #include "client_priv.h"
#include <time.h> #include <time.h>
#include <assert.h>
#include "log_event.h" #include "log_event.h"
#define BIN_LOG_HEADER_SIZE 4 #define BIN_LOG_HEADER_SIZE 4
......
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
#include <my_sys.h> #include <my_sys.h>
#include <m_string.h> #include <m_string.h>
#include <m_ctype.h> #include <m_ctype.h>
#include <assert.h>
#include "client_priv.h" #include "client_priv.h"
#include "mysql.h" #include "mysql.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "heapdef.h" #include "heapdef.h"
#include <m_ctype.h> #include <m_ctype.h>
#include <assert.h>
......
...@@ -123,7 +123,6 @@ extern void bmove_align(gptr dst,const gptr src,uint len); ...@@ -123,7 +123,6 @@ extern void bmove_align(gptr dst,const gptr src,uint len);
#endif #endif
#ifdef HAVE_purify #ifdef HAVE_purify
#include <assert.h>
#define memcpy_overlap(A,B,C) \ #define memcpy_overlap(A,B,C) \
DBUG_ASSERT((A) <= (B) || ((B)+(C)) <= (A)); \ DBUG_ASSERT((A) <= (B) || ((B)+(C)) <= (A)); \
bmove((byte*) (A),(byte*) (B),(size_t) (C)); bmove((byte*) (A),(byte*) (B),(size_t) (C));
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#ifndef _dbug_h #ifndef _dbug_h
#define _dbug_h #define _dbug_h
#include <assert.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <signal.h> #include <signal.h>
#include <time.h> #include <time.h>
#include <assert.h> /* for DBUG_ASSERT() */
#ifdef HAVE_PWD_H #ifdef HAVE_PWD_H
#include <pwd.h> #include <pwd.h>
#endif #endif
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <m_ctype.h> #include <m_ctype.h>
#include <my_tree.h> #include <my_tree.h>
#include <queues.h> #include <queues.h>
#include <assert.h>
#define true_word_char(s,X) (my_isalnum(s,X) || (X)=='_') #define true_word_char(s,X) (my_isalnum(s,X) || (X)=='_')
#define misc_word_char(X) ((X)=='\'') #define misc_word_char(X) ((X)=='\'')
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "fulltext.h" #include "fulltext.h"
#include "rt_index.h" #include "rt_index.h"
#include <assert.h>
static int d_search(MI_INFO *info,MI_KEYDEF *keyinfo,uint comp_flag, static int d_search(MI_INFO *info,MI_KEYDEF *keyinfo,uint comp_flag,
uchar *key,uint key_length,my_off_t page,uchar *anc_buff); uchar *key,uint key_length,my_off_t page,uchar *anc_buff);
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
*/ */
#include "myisamdef.h" #include "myisamdef.h"
#include <assert.h>
/* Enough for comparing if number is zero */ /* Enough for comparing if number is zero */
static char zero_string[]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; static char zero_string[]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "myisamdef.h" #include "myisamdef.h"
#include "m_ctype.h" #include "m_ctype.h"
#include "sp_defs.h" #include "sp_defs.h"
#include <assert.h>
#ifdef HAVE_IEEEFP_H #ifdef HAVE_IEEEFP_H
#include <ieeefp.h> #include <ieeefp.h>
#endif #endif
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "sp_defs.h" #include "sp_defs.h"
#include "rt_index.h" #include "rt_index.h"
#include <m_ctype.h> #include <m_ctype.h>
#include <assert.h>
#if defined(MSDOS) || defined(__WIN__) #if defined(MSDOS) || defined(__WIN__)
#ifdef __WIN__ #ifdef __WIN__
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "fulltext.h" #include "fulltext.h"
#include "m_ctype.h" #include "m_ctype.h"
#include <assert.h>
static my_bool _mi_get_prev_key(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page, static my_bool _mi_get_prev_key(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page,
uchar *key, uchar *keypos, uchar *key, uchar *keypos,
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "fulltext.h" #include "fulltext.h"
#include "rt_index.h" #include "rt_index.h"
#include <assert.h>
#define MAX_POINTER_LENGTH 8 #define MAX_POINTER_LENGTH 8
......
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
#include "mysys_err.h" #include "mysys_err.h"
static void my_aiowait(my_aio_result *result); static void my_aiowait(my_aio_result *result);
#endif #endif
#include <assert.h>
#include <errno.h> #include <errno.h>
#ifdef THREAD #ifdef THREAD
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <m_string.h> #include <m_string.h>
#include <stdarg.h> #include <stdarg.h>
#include <m_ctype.h> #include <m_ctype.h>
#include <assert.h>
my_off_t my_b_append_tell(IO_CACHE* info) my_off_t my_b_append_tell(IO_CACHE* info)
{ {
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
#include "my_static.h" #include "my_static.h"
#include <m_string.h> #include <m_string.h>
#include <errno.h> #include <errno.h>
#include <assert.h>
#include <stdarg.h> #include <stdarg.h>
/* /*
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include "mysys_priv.h" #include "mysys_priv.h"
#include <my_bitmap.h> #include <my_bitmap.h>
#include <assert.h>
#include <m_string.h> #include <m_string.h>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
/* Thread safe version of gethostbyname_r() */ /* Thread safe version of gethostbyname_r() */
#include "mysys_priv.h" #include "mysys_priv.h"
#include <assert.h>
#if !defined(MSDOS) && !defined(__WIN__) #if !defined(MSDOS) && !defined(__WIN__)
#include <netdb.h> #include <netdb.h>
#endif #endif
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <m_string.h> #include <m_string.h>
#include <stdlib.h> #include <stdlib.h>
#include <my_getopt.h> #include <my_getopt.h>
#include <assert.h>
#include <my_sys.h> #include <my_sys.h>
#include <mysys_err.h> #include <mysys_err.h>
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <signal.h> #include <signal.h>
#include <m_string.h> #include <m_string.h>
#include <thr_alarm.h> #include <thr_alarm.h>
#include <assert.h>
#if (defined(__BSD__) || defined(_BSDI_VERSION)) && !defined(HAVE_mit_thread) #if (defined(__BSD__) || defined(_BSDI_VERSION)) && !defined(HAVE_mit_thread)
#define SCHED_POLICY SCHED_RR #define SCHED_POLICY SCHED_RR
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "mysys_priv.h" #include "mysys_priv.h"
#include <assert.h>
/* Seek to position in file */ /* Seek to position in file */
/*ARGSUSED*/ /*ARGSUSED*/
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
*/ */
#include <my_global.h> #include <my_global.h>
#include <assert.h>
#include "rijndael.h" #include "rijndael.h"
/* /*
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include <m_string.h> #include <m_string.h>
#include <queues.h> #include <queues.h>
#include "thr_alarm.h" #include "thr_alarm.h"
#include <assert.h>
#ifdef HAVE_SYS_SELECT_H #ifdef HAVE_SYS_SELECT_H
#include <sys/select.h> /* AIX needs this for fd_set */ #include <sys/select.h> /* AIX needs this for fd_set */
......
...@@ -63,7 +63,6 @@ my_bool net_flush(NET *net); ...@@ -63,7 +63,6 @@ my_bool net_flush(NET *net);
#include "mysqld_error.h" #include "mysqld_error.h"
#include "errmsg.h" #include "errmsg.h"
#include <violite.h> #include <violite.h>
#include <assert.h>
#if defined(THREAD) && !defined(__WIN__) #if defined(THREAD) && !defined(__WIN__)
#include <my_pthread.h> /* because of signal() */ #include <my_pthread.h> /* because of signal() */
#endif /* defined(THREAD) && !defined(__WIN__) */ #endif /* defined(THREAD) && !defined(__WIN__) */
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h> #include <my_global.h>
#include <assert.h>
#include <mysql_version.h> #include <mysql_version.h>
#include <mysql_embed.h> #include <mysql_embed.h>
#include <my_sys.h> #include <my_sys.h>
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <my_sys.h> #include <my_sys.h>
#include <m_string.h> #include <m_string.h>
#include <m_ctype.h> #include <m_ctype.h>
#include <assert.h>
#ifdef HAVE_FCONVERT #ifdef HAVE_FCONVERT
#include <floatingpoint.h> #include <floatingpoint.h>
#endif #endif
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include <errno.h> #include <errno.h>
#include "stdarg.h" #include "stdarg.h"
#include "assert.h"
int my_strnxfrm_simple(CHARSET_INFO * cs, int my_strnxfrm_simple(CHARSET_INFO * cs,
......
...@@ -312,7 +312,6 @@ static int my_mbcharlen_ucs2(CHARSET_INFO *cs __attribute__((unused)) , ...@@ -312,7 +312,6 @@ static int my_mbcharlen_ucs2(CHARSET_INFO *cs __attribute__((unused)) ,
#include <m_string.h> #include <m_string.h>
#include <stdarg.h> #include <stdarg.h>
#include <assert.h>
static int my_vsnprintf_ucs2(char *dst, uint n, const char* fmt, va_list ap) static int my_vsnprintf_ucs2(char *dst, uint n, const char* fmt, va_list ap)
{ {
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <m_string.h> #include <m_string.h>
#include <stdarg.h> #include <stdarg.h>
#include <m_ctype.h> #include <m_ctype.h>
#include <assert.h>
/* /*
Limited snprintf() implementations Limited snprintf() implementations
......
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