Added an update by ALZ. Refer to changelog.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6079 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
c926706d40
commit
a71840da35
@ -3,6 +3,10 @@ Date Added
|
|||||||
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
|
2006/04/15
|
||||||
|
* Updated libs, Updated vc project files, And deleted uneeded DLLs.
|
||||||
|
Credits to ALZ. [Zido]
|
||||||
|
|
||||||
2006/04/14
|
2006/04/14
|
||||||
* Updated sql-files/mob_db.sql to current. [Skotlex]
|
* Updated sql-files/mob_db.sql to current. [Skotlex]
|
||||||
* Fixed being able to do all the stuff you shouldn't be able to during the
|
* Fixed being able to do all the stuff you shouldn't be able to during the
|
||||||
|
BIN
lib/libmysql.lib
BIN
lib/libmysql.lib
Binary file not shown.
BIN
lib/pcre.lib
BIN
lib/pcre.lib
Binary file not shown.
BIN
libmysql.dll
BIN
libmysql.dll
Binary file not shown.
@ -22,6 +22,11 @@ functions */
|
|||||||
#define _WIN32_WINNT 0x0500
|
#define _WIN32_WINNT 0x0500
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_MSC_VER) && _MSC_VER >= 1400
|
||||||
|
/* Avoid endless warnings about sprintf() etc. being unsafe. */
|
||||||
|
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/locking.h>
|
#include <sys/locking.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <math.h> /* Because of rint() */
|
#include <math.h> /* Because of rint() */
|
||||||
@ -61,6 +66,10 @@ functions */
|
|||||||
#define __WIN__ /* To make it easier in VC++ */
|
#define __WIN__ /* To make it easier in VC++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MAX_INDEXES
|
||||||
|
#define MAX_INDEXES 64
|
||||||
|
#endif
|
||||||
|
|
||||||
/* File and lock constants */
|
/* File and lock constants */
|
||||||
#define O_SHARE 0x1000 /* Open file in sharing mode */
|
#define O_SHARE 0x1000 /* Open file in sharing mode */
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
@ -99,11 +108,17 @@ functions */
|
|||||||
#undef _REENTRANT /* Crashes something for win32 */
|
#undef _REENTRANT /* Crashes something for win32 */
|
||||||
#undef SAFE_MUTEX /* Can't be used on windows */
|
#undef SAFE_MUTEX /* Can't be used on windows */
|
||||||
|
|
||||||
#define LONGLONG_MIN ((__int64) 0x8000000000000000)
|
#if defined(_MSC_VER) && _MSC_VER >= 1310
|
||||||
#define LONGLONG_MAX ((__int64) 0x7FFFFFFFFFFFFFFF)
|
#define LL(A) A##ll
|
||||||
#define ULONGLONG_MAX ((unsigned __int64) 0xFFFFFFFFFFFFFFFF)
|
#define ULL(A) A##ull
|
||||||
|
#else
|
||||||
#define LL(A) ((__int64) A)
|
#define LL(A) ((__int64) A)
|
||||||
#define ULL(A) ((unsigned __int64) A)
|
#define ULL(A) ((unsigned __int64) A)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define LONGLONG_MIN LL(0x8000000000000000)
|
||||||
|
#define LONGLONG_MAX LL(0x7FFFFFFFFFFFFFFF)
|
||||||
|
#define ULONGLONG_MAX ULL(0xFFFFFFFFFFFFFFFF)
|
||||||
|
|
||||||
/* Type information */
|
/* Type information */
|
||||||
|
|
||||||
@ -196,7 +211,7 @@ typedef uint rf_SetTimer;
|
|||||||
#define my_sigset(A,B) signal((A),(B))
|
#define my_sigset(A,B) signal((A),(B))
|
||||||
#define finite(A) _finite(A)
|
#define finite(A) _finite(A)
|
||||||
#define sleep(A) Sleep((A)*1000)
|
#define sleep(A) Sleep((A)*1000)
|
||||||
#define popen(A) popen(A,B) _popen((A),(B))
|
#define popen(A,B) _popen((A),(B))
|
||||||
#define pclose(A) _pclose(A)
|
#define pclose(A) _pclose(A)
|
||||||
|
|
||||||
#ifndef __BORLANDC__
|
#ifndef __BORLANDC__
|
||||||
@ -279,10 +294,10 @@ inline double ulonglong2double(ulonglong value)
|
|||||||
*((T)+4)=(uchar) (((A) >> 32)); }
|
*((T)+4)=(uchar) (((A) >> 32)); }
|
||||||
#define int8store(T,A) *((ulonglong *) (T))= (ulonglong) (A)
|
#define int8store(T,A) *((ulonglong *) (T))= (ulonglong) (A)
|
||||||
|
|
||||||
#define doubleget(V,M) { *((long *) &V) = *((long*) M); \
|
#define doubleget(V,M) do { *((long *) &V) = *((long*) M); \
|
||||||
*(((long *) &V)+1) = *(((long*) M)+1); }
|
*(((long *) &V)+1) = *(((long*) M)+1); } while(0)
|
||||||
#define doublestore(T,V) { *((long *) T) = *((long*) &V); \
|
#define doublestore(T,V) do { *((long *) T) = *((long*) &V); \
|
||||||
*(((long *) T)+1) = *(((long*) &V)+1); }
|
*(((long *) T)+1) = *(((long*) &V)+1); } while(0)
|
||||||
#define float4get(V,M) { *((long *) &(V)) = *((long*) (M)); }
|
#define float4get(V,M) { *((long *) &(V)) = *((long*) (M)); }
|
||||||
#define floatstore(T,V) memcpy((byte*)(T), (byte*)(&V), sizeof(float))
|
#define floatstore(T,V) memcpy((byte*)(T), (byte*)(&V), sizeof(float))
|
||||||
#define floatget(V,M) memcpy((byte*)(&V), (byte*)(M), sizeof(float))
|
#define floatget(V,M) memcpy((byte*)(&V), (byte*)(M), sizeof(float))
|
||||||
@ -324,6 +339,12 @@ inline double ulonglong2double(ulonglong value)
|
|||||||
#define SPRINTF_RETURNS_INT
|
#define SPRINTF_RETURNS_INT
|
||||||
#define HAVE_SETFILEPOINTER
|
#define HAVE_SETFILEPOINTER
|
||||||
#define HAVE_VIO_READ_BUFF
|
#define HAVE_VIO_READ_BUFF
|
||||||
|
#define HAVE_STRNLEN
|
||||||
|
|
||||||
|
#ifndef __NT__
|
||||||
|
#undef FILE_SHARE_DELETE
|
||||||
|
#define FILE_SHARE_DELETE 0 /* Not implemented on Win 98/ME */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NOT_USED
|
#ifdef NOT_USED
|
||||||
#define HAVE_SNPRINTF /* Gave link error */
|
#define HAVE_SNPRINTF /* Gave link error */
|
||||||
@ -386,20 +407,29 @@ inline double ulonglong2double(ulonglong value)
|
|||||||
|
|
||||||
#define shared_memory_buffer_length 16000
|
#define shared_memory_buffer_length 16000
|
||||||
#define default_shared_memory_base_name "MYSQL"
|
#define default_shared_memory_base_name "MYSQL"
|
||||||
|
|
||||||
|
#ifdef CYBOZU
|
||||||
|
#define MYSQL_DEFAULT_CHARSET_NAME "utf8"
|
||||||
|
#define MYSQL_DEFAULT_COLLATION_NAME "utf8_general_cs"
|
||||||
|
#define HAVE_UTF8_GENERAL_CS 1
|
||||||
|
#else
|
||||||
#define MYSQL_DEFAULT_CHARSET_NAME "latin1"
|
#define MYSQL_DEFAULT_CHARSET_NAME "latin1"
|
||||||
#define MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci"
|
#define MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define HAVE_SPATIAL 1
|
#define HAVE_SPATIAL 1
|
||||||
#define HAVE_RTREE_KEYS 1
|
#define HAVE_RTREE_KEYS 1
|
||||||
|
|
||||||
/* #undef HAVE_OPENSSL */
|
#define HAVE_OPENSSL 1
|
||||||
/* #undef HAVE_YASSL */
|
#define HAVE_YASSL 1
|
||||||
|
|
||||||
/* Define charsets you want */
|
/* Define charsets you want */
|
||||||
/* #undef HAVE_CHARSET_armscii8 */
|
/* #undef HAVE_CHARSET_armscii8 */
|
||||||
/* #undef HAVE_CHARSET_ascii */
|
/* #undef HAVE_CHARSET_ascii */
|
||||||
|
#ifndef CYBOZU
|
||||||
#define HAVE_CHARSET_big5 1
|
#define HAVE_CHARSET_big5 1
|
||||||
#define HAVE_CHARSET_cp1250 1
|
#define HAVE_CHARSET_cp1250 1
|
||||||
|
#endif
|
||||||
/* #undef HAVE_CHARSET_cp1251 */
|
/* #undef HAVE_CHARSET_cp1251 */
|
||||||
/* #undef HAVE_CHARSET_cp1256 */
|
/* #undef HAVE_CHARSET_cp1256 */
|
||||||
/* #undef HAVE_CHARSET_cp1257 */
|
/* #undef HAVE_CHARSET_cp1257 */
|
||||||
@ -408,27 +438,33 @@ inline double ulonglong2double(ulonglong value)
|
|||||||
/* #undef HAVE_CHARSET_cp866 */
|
/* #undef HAVE_CHARSET_cp866 */
|
||||||
#define HAVE_CHARSET_cp932 1
|
#define HAVE_CHARSET_cp932 1
|
||||||
/* #undef HAVE_CHARSET_dec8 */
|
/* #undef HAVE_CHARSET_dec8 */
|
||||||
|
#ifndef CYBOZU
|
||||||
#define HAVE_CHARSET_eucjpms 1
|
#define HAVE_CHARSET_eucjpms 1
|
||||||
#define HAVE_CHARSET_euckr 1
|
#define HAVE_CHARSET_euckr 1
|
||||||
#define HAVE_CHARSET_gb2312 1
|
#define HAVE_CHARSET_gb2312 1
|
||||||
#define HAVE_CHARSET_gbk 1
|
#define HAVE_CHARSET_gbk 1
|
||||||
|
#endif
|
||||||
/* #undef HAVE_CHARSET_greek */
|
/* #undef HAVE_CHARSET_greek */
|
||||||
/* #undef HAVE_CHARSET_hebrew */
|
/* #undef HAVE_CHARSET_hebrew */
|
||||||
/* #undef HAVE_CHARSET_hp8 */
|
/* #undef HAVE_CHARSET_hp8 */
|
||||||
/* #undef HAVE_CHARSET_keybcs2 */
|
/* #undef HAVE_CHARSET_keybcs2 */
|
||||||
/* #undef HAVE_CHARSET_koi8r */
|
/* #undef HAVE_CHARSET_koi8r */
|
||||||
/* #undef HAVE_CHARSET_koi8u */
|
/* #undef HAVE_CHARSET_koi8u */
|
||||||
|
#ifndef CYBOZU
|
||||||
#define HAVE_CHARSET_latin1 1
|
#define HAVE_CHARSET_latin1 1
|
||||||
#define HAVE_CHARSET_latin2 1
|
#define HAVE_CHARSET_latin2 1
|
||||||
|
#endif
|
||||||
/* #undef HAVE_CHARSET_latin5 */
|
/* #undef HAVE_CHARSET_latin5 */
|
||||||
/* #undef HAVE_CHARSET_latin7 */
|
/* #undef HAVE_CHARSET_latin7 */
|
||||||
/* #undef HAVE_CHARSET_macce */
|
/* #undef HAVE_CHARSET_macce */
|
||||||
/* #undef HAVE_CHARSET_macroman */
|
/* #undef HAVE_CHARSET_macroman */
|
||||||
#define HAVE_CHARSET_sjis 1
|
#define HAVE_CHARSET_sjis 1
|
||||||
/* #undef HAVE_CHARSET_swe7 */
|
/* #undef HAVE_CHARSET_swe7 */
|
||||||
|
#ifndef CYBOZU
|
||||||
#define HAVE_CHARSET_tis620 1
|
#define HAVE_CHARSET_tis620 1
|
||||||
#define HAVE_CHARSET_ucs2 1
|
#define HAVE_CHARSET_ucs2 1
|
||||||
#define HAVE_CHARSET_ujis 1
|
#define HAVE_CHARSET_ujis 1
|
||||||
|
#endif
|
||||||
#define HAVE_CHARSET_utf8 1
|
#define HAVE_CHARSET_utf8 1
|
||||||
#define HAVE_UCA_COLLATIONS 1
|
#define HAVE_UCA_COLLATIONS 1
|
||||||
|
|
||||||
|
@ -44,13 +44,23 @@ typedef struct unicase_info_st
|
|||||||
uint16 sort;
|
uint16 sort;
|
||||||
} MY_UNICASE_INFO;
|
} MY_UNICASE_INFO;
|
||||||
|
|
||||||
|
|
||||||
extern MY_UNICASE_INFO *my_unicase_default[256];
|
extern MY_UNICASE_INFO *my_unicase_default[256];
|
||||||
extern MY_UNICASE_INFO *my_unicase_turkish[256];
|
extern MY_UNICASE_INFO *my_unicase_turkish[256];
|
||||||
|
|
||||||
#define MY_CS_ILSEQ 0
|
|
||||||
#define MY_CS_ILUNI 0
|
/* wm_wc and wc_mb return codes */
|
||||||
#define MY_CS_TOOSMALL -1
|
#define MY_CS_ILSEQ 0 /* Wrong by sequence: wb_wc */
|
||||||
#define MY_CS_TOOFEW(n) (-1-(n))
|
#define MY_CS_ILUNI 0 /* Cannot encode Unicode to charset: wc_mb */
|
||||||
|
#define MY_CS_TOOSMALL -101 /* Need at least one byte: wc_mb and mb_wc */
|
||||||
|
#define MY_CS_TOOSMALL2 -102 /* Need at least two bytes: wc_mb and mb_wc */
|
||||||
|
#define MY_CS_TOOSMALL3 -103 /* Need at least three bytes: wc_mb and mb_wc */
|
||||||
|
/* These following three are currently not really used */
|
||||||
|
#define MY_CS_TOOSMALL4 -104 /* Need at least 4 bytes: wc_mb and mb_wc */
|
||||||
|
#define MY_CS_TOOSMALL5 -105 /* Need at least 5 bytes: wc_mb and mb_wc */
|
||||||
|
#define MY_CS_TOOSMALL6 -106 /* Need at least 6 bytes: wc_mb and mb_wc */
|
||||||
|
/* A helper macros for "need at least n bytes" */
|
||||||
|
#define MY_CS_TOOSMALLN(n) (-100-(n))
|
||||||
|
|
||||||
#define MY_SEQ_INTTAIL 1
|
#define MY_SEQ_INTTAIL 1
|
||||||
#define MY_SEQ_SPACES 2
|
#define MY_SEQ_SPACES 2
|
||||||
@ -360,6 +370,11 @@ int my_wildcmp_8bit(CHARSET_INFO *,
|
|||||||
const char *wildstr,const char *wildend,
|
const char *wildstr,const char *wildend,
|
||||||
int escape, int w_one, int w_many);
|
int escape, int w_one, int w_many);
|
||||||
|
|
||||||
|
int my_wildcmp_bin(CHARSET_INFO *,
|
||||||
|
const char *str,const char *str_end,
|
||||||
|
const char *wildstr,const char *wildend,
|
||||||
|
int escape, int w_one, int w_many);
|
||||||
|
|
||||||
uint my_numchars_8bit(CHARSET_INFO *, const char *b, const char *e);
|
uint my_numchars_8bit(CHARSET_INFO *, const char *b, const char *e);
|
||||||
uint my_numcells_8bit(CHARSET_INFO *, const char *b, const char *e);
|
uint my_numcells_8bit(CHARSET_INFO *, const char *b, const char *e);
|
||||||
uint my_charpos_8bit(CHARSET_INFO *, const char *b, const char *e, uint pos);
|
uint my_charpos_8bit(CHARSET_INFO *, const char *b, const char *e, uint pos);
|
||||||
|
@ -43,6 +43,15 @@
|
|||||||
#define HAVE_ERRNO_AS_DEFINE
|
#define HAVE_ERRNO_AS_DEFINE
|
||||||
#endif /* __CYGWIN__ */
|
#endif /* __CYGWIN__ */
|
||||||
|
|
||||||
|
#if defined(__QNXNTO__) && !defined(FD_SETSIZE)
|
||||||
|
#define FD_SETSIZE 1024 /* Max number of file descriptor bits in
|
||||||
|
fd_set, used when calling 'select'
|
||||||
|
Must be defined before including
|
||||||
|
"sys/select.h" and "sys/time.h"
|
||||||
|
*/
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* to make command line shorter we'll define USE_PRAGMA_INTERFACE here */
|
/* to make command line shorter we'll define USE_PRAGMA_INTERFACE here */
|
||||||
#ifdef USE_PRAGMA_IMPLEMENTATION
|
#ifdef USE_PRAGMA_IMPLEMENTATION
|
||||||
#define USE_PRAGMA_INTERFACE
|
#define USE_PRAGMA_INTERFACE
|
||||||
@ -453,6 +462,17 @@ typedef unsigned short ushort;
|
|||||||
#define __attribute__(A)
|
#define __attribute__(A)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
Wen using the embedded library, users might run into link problems,
|
||||||
|
dupicate declaration of __cxa_pure_virtual, solved by declaring it a
|
||||||
|
weak symbol.
|
||||||
|
*/
|
||||||
|
#ifdef USE_MYSYS_NEW
|
||||||
|
C_MODE_START
|
||||||
|
int __cxa_pure_virtual () __attribute__ ((weak));
|
||||||
|
C_MODE_END
|
||||||
|
#endif
|
||||||
|
|
||||||
/* From old s-system.h */
|
/* From old s-system.h */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -574,11 +594,7 @@ typedef SOCKET_SIZE_TYPE size_socket;
|
|||||||
#define FN_LEN 256 /* Max file name len */
|
#define FN_LEN 256 /* Max file name len */
|
||||||
#define FN_HEADLEN 253 /* Max length of filepart of file name */
|
#define FN_HEADLEN 253 /* Max length of filepart of file name */
|
||||||
#define FN_EXTLEN 20 /* Max length of extension (part of FN_LEN) */
|
#define FN_EXTLEN 20 /* Max length of extension (part of FN_LEN) */
|
||||||
#ifdef PATH_MAX
|
|
||||||
#define FN_REFLEN PATH_MAX/* Max length of full path-name */
|
|
||||||
#else
|
|
||||||
#define FN_REFLEN 512 /* Max length of full path-name */
|
#define FN_REFLEN 512 /* Max length of full path-name */
|
||||||
#endif
|
|
||||||
#define FN_EXTCHAR '.'
|
#define FN_EXTCHAR '.'
|
||||||
#define FN_HOMELIB '~' /* ~/ is used as abbrev for home dir */
|
#define FN_HOMELIB '~' /* ~/ is used as abbrev for home dir */
|
||||||
#define FN_CURLIB '.' /* ./ is used as abbrev for current dir */
|
#define FN_CURLIB '.' /* ./ is used as abbrev for current dir */
|
||||||
@ -658,11 +674,7 @@ typedef SOCKET_SIZE_TYPE size_socket;
|
|||||||
#define SET_STACK_SIZE(X) /* Not needed on real machines */
|
#define SET_STACK_SIZE(X) /* Not needed on real machines */
|
||||||
|
|
||||||
#if !defined(HAVE_mit_thread) && !defined(HAVE_STRTOK_R)
|
#if !defined(HAVE_mit_thread) && !defined(HAVE_STRTOK_R)
|
||||||
#ifdef __WIN32
|
#define strtok_r(A,B,C) strtok((A),(B))
|
||||||
#include "../common/strlib.h"
|
|
||||||
#else
|
|
||||||
#define strtok_r(A,B,C) strtok((A),(B))
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Remove some things that mit_thread break or doesn't support */
|
/* Remove some things that mit_thread break or doesn't support */
|
||||||
@ -783,13 +795,8 @@ typedef void *gptr; /* Generic pointer */
|
|||||||
typedef char *gptr; /* Generic pointer */
|
typedef char *gptr; /* Generic pointer */
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_INT_8_16_32
|
#ifndef HAVE_INT_8_16_32
|
||||||
#ifndef WIN32
|
|
||||||
typedef signed char int8; /* Signed integer >= 8 bits */
|
typedef signed char int8; /* Signed integer >= 8 bits */
|
||||||
typedef short int16; /* Signed integer >= 16 bits */
|
typedef short int16; /* Signed integer >= 16 bits */
|
||||||
#else
|
|
||||||
typedef __int8 int8;
|
|
||||||
typedef __int16 int16;
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_UCHAR
|
#ifndef HAVE_UCHAR
|
||||||
typedef unsigned char uchar; /* Short for unsigned char */
|
typedef unsigned char uchar; /* Short for unsigned char */
|
||||||
@ -804,18 +811,10 @@ typedef int int32;
|
|||||||
typedef unsigned int uint32; /* Short for unsigned integer >= 32 bits */
|
typedef unsigned int uint32; /* Short for unsigned integer >= 32 bits */
|
||||||
#elif SIZEOF_LONG == 4
|
#elif SIZEOF_LONG == 4
|
||||||
#ifndef HAVE_INT_8_16_32
|
#ifndef HAVE_INT_8_16_32
|
||||||
#ifndef WIN32
|
|
||||||
typedef long int32;
|
typedef long int32;
|
||||||
#else
|
|
||||||
typedef __int32 int32;
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
#ifndef WIN32
|
|
||||||
typedef unsigned long uint32; /* Short for unsigned integer >= 32 bits */
|
typedef unsigned long uint32; /* Short for unsigned integer >= 32 bits */
|
||||||
#else
|
#else
|
||||||
typedef unsigned __int32 uint32;
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#error "Neither int or long is of 4 bytes width"
|
#error "Neither int or long is of 4 bytes width"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -872,6 +871,7 @@ typedef off_t os_off_t;
|
|||||||
#define SOCKET_EAGAIN WSAEINPROGRESS
|
#define SOCKET_EAGAIN WSAEINPROGRESS
|
||||||
#define SOCKET_ETIMEDOUT WSAETIMEDOUT
|
#define SOCKET_ETIMEDOUT WSAETIMEDOUT
|
||||||
#define SOCKET_EWOULDBLOCK WSAEWOULDBLOCK
|
#define SOCKET_EWOULDBLOCK WSAEWOULDBLOCK
|
||||||
|
#define SOCKET_EADDRINUSE WSAEADDRINUSE
|
||||||
#define SOCKET_ENFILE ENFILE
|
#define SOCKET_ENFILE ENFILE
|
||||||
#define SOCKET_EMFILE EMFILE
|
#define SOCKET_EMFILE EMFILE
|
||||||
#elif defined(OS2)
|
#elif defined(OS2)
|
||||||
@ -880,6 +880,7 @@ typedef off_t os_off_t;
|
|||||||
#define SOCKET_EAGAIN SOCEINPROGRESS
|
#define SOCKET_EAGAIN SOCEINPROGRESS
|
||||||
#define SOCKET_ETIMEDOUT SOCKET_EINTR
|
#define SOCKET_ETIMEDOUT SOCKET_EINTR
|
||||||
#define SOCKET_EWOULDBLOCK SOCEWOULDBLOCK
|
#define SOCKET_EWOULDBLOCK SOCEWOULDBLOCK
|
||||||
|
#define SOCKET_EADDRINUSE SOCEADDRINUSE
|
||||||
#define SOCKET_ENFILE SOCENFILE
|
#define SOCKET_ENFILE SOCENFILE
|
||||||
#define SOCKET_EMFILE SOCEMFILE
|
#define SOCKET_EMFILE SOCEMFILE
|
||||||
#define closesocket(A) soclose(A)
|
#define closesocket(A) soclose(A)
|
||||||
@ -890,6 +891,7 @@ typedef off_t os_off_t;
|
|||||||
#define SOCKET_EAGAIN EAGAIN
|
#define SOCKET_EAGAIN EAGAIN
|
||||||
#define SOCKET_ETIMEDOUT SOCKET_EINTR
|
#define SOCKET_ETIMEDOUT SOCKET_EINTR
|
||||||
#define SOCKET_EWOULDBLOCK EWOULDBLOCK
|
#define SOCKET_EWOULDBLOCK EWOULDBLOCK
|
||||||
|
#define SOCKET_EADDRINUSE EADDRINUSE
|
||||||
#define SOCKET_ENFILE ENFILE
|
#define SOCKET_ENFILE ENFILE
|
||||||
#define SOCKET_EMFILE EMFILE
|
#define SOCKET_EMFILE EMFILE
|
||||||
#endif
|
#endif
|
||||||
|
@ -536,9 +536,15 @@ void safe_mutex_end(FILE *file);
|
|||||||
#define pthread_cond_timedwait(A,B,C) safe_cond_timedwait((A),(B),(C),__FILE__,__LINE__)
|
#define pthread_cond_timedwait(A,B,C) safe_cond_timedwait((A),(B),(C),__FILE__,__LINE__)
|
||||||
#define pthread_mutex_trylock(A) pthread_mutex_lock(A)
|
#define pthread_mutex_trylock(A) pthread_mutex_lock(A)
|
||||||
#define pthread_mutex_t safe_mutex_t
|
#define pthread_mutex_t safe_mutex_t
|
||||||
#define safe_mutex_assert_owner(mp) DBUG_ASSERT((mp)->count > 0 && pthread_equal(pthread_self(),(mp)->thread))
|
#define safe_mutex_assert_owner(mp) \
|
||||||
|
DBUG_ASSERT((mp)->count > 0 && \
|
||||||
|
pthread_equal(pthread_self(), (mp)->thread))
|
||||||
|
#define safe_mutex_assert_not_owner(mp) \
|
||||||
|
DBUG_ASSERT(! (mp)->count || \
|
||||||
|
! pthread_equal(pthread_self(), (mp)->thread))
|
||||||
#else
|
#else
|
||||||
#define safe_mutex_assert_owner(mp)
|
#define safe_mutex_assert_owner(mp)
|
||||||
|
#define safe_mutex_assert_not_owner(mp)
|
||||||
#endif /* SAFE_MUTEX */
|
#endif /* SAFE_MUTEX */
|
||||||
|
|
||||||
/* READ-WRITE thread locking */
|
/* READ-WRITE thread locking */
|
||||||
@ -637,10 +643,10 @@ extern int pthread_dummy(int);
|
|||||||
|
|
||||||
#define THREAD_NAME_SIZE 10
|
#define THREAD_NAME_SIZE 10
|
||||||
#ifndef DEFAULT_THREAD_STACK
|
#ifndef DEFAULT_THREAD_STACK
|
||||||
#if defined(__ia64__)
|
#if SIZEOF_CHARP > 4
|
||||||
/*
|
/*
|
||||||
MySQL can survive with 32K, but some glibc libraries require > 128K stack
|
MySQL can survive with 32K, but some glibc libraries require > 128K stack
|
||||||
To resolve hostnames
|
To resolve hostnames. Also recursive stored procedures needs stack.
|
||||||
*/
|
*/
|
||||||
#define DEFAULT_THREAD_STACK (256*1024L)
|
#define DEFAULT_THREAD_STACK (256*1024L)
|
||||||
#else
|
#else
|
||||||
|
@ -117,6 +117,9 @@ typedef unsigned long long my_ulonglong;
|
|||||||
|
|
||||||
#define MYSQL_COUNT_ERROR (~(my_ulonglong) 0)
|
#define MYSQL_COUNT_ERROR (~(my_ulonglong) 0)
|
||||||
|
|
||||||
|
/* backward compatibility define - to be removed eventually */
|
||||||
|
#define ER_WARN_DATA_TRUNCATED WARN_DATA_TRUNCATED
|
||||||
|
|
||||||
typedef struct st_mysql_rows {
|
typedef struct st_mysql_rows {
|
||||||
struct st_mysql_rows *next; /* list of rows */
|
struct st_mysql_rows *next; /* list of rows */
|
||||||
MYSQL_ROW data;
|
MYSQL_ROW data;
|
||||||
@ -127,14 +130,14 @@ typedef MYSQL_ROWS *MYSQL_ROW_OFFSET; /* offset to current row */
|
|||||||
|
|
||||||
#include "my_alloc.h"
|
#include "my_alloc.h"
|
||||||
|
|
||||||
|
typedef struct embedded_query_result EMBEDDED_QUERY_RESULT;
|
||||||
typedef struct st_mysql_data {
|
typedef struct st_mysql_data {
|
||||||
my_ulonglong rows;
|
my_ulonglong rows;
|
||||||
unsigned int fields;
|
unsigned int fields;
|
||||||
MYSQL_ROWS *data;
|
MYSQL_ROWS *data;
|
||||||
MEM_ROOT alloc;
|
MEM_ROOT alloc;
|
||||||
#if !defined(CHECK_EMBEDDED_DIFFERENCES) || defined(EMBEDDED_LIBRARY)
|
/* extra info for embedded library */
|
||||||
MYSQL_ROWS **prev_ptr;
|
struct embedded_query_result *embedded_info;
|
||||||
#endif
|
|
||||||
} MYSQL_DATA;
|
} MYSQL_DATA;
|
||||||
|
|
||||||
enum mysql_option
|
enum mysql_option
|
||||||
@ -284,6 +287,10 @@ typedef struct st_mysql
|
|||||||
from mysql_stmt_close if close had to cancel result set of this object.
|
from mysql_stmt_close if close had to cancel result set of this object.
|
||||||
*/
|
*/
|
||||||
my_bool *unbuffered_fetch_owner;
|
my_bool *unbuffered_fetch_owner;
|
||||||
|
#if defined(EMBEDDED_LIBRARY) || defined(EMBEDDED_LIBRARY_COMPATIBLE) || MYSQL_VERSION_ID >= 50100
|
||||||
|
/* needed for embedded server - no net buffer to store the 'info' */
|
||||||
|
char *info_buffer;
|
||||||
|
#endif
|
||||||
} MYSQL;
|
} MYSQL;
|
||||||
|
|
||||||
typedef struct st_mysql_res {
|
typedef struct st_mysql_res {
|
||||||
@ -752,6 +759,7 @@ typedef struct st_mysql_methods
|
|||||||
const char *(*read_statistics)(MYSQL *mysql);
|
const char *(*read_statistics)(MYSQL *mysql);
|
||||||
my_bool (*next_result)(MYSQL *mysql);
|
my_bool (*next_result)(MYSQL *mysql);
|
||||||
int (*read_change_user_result)(MYSQL *mysql, char *buff, const char *passwd);
|
int (*read_change_user_result)(MYSQL *mysql, char *buff, const char *passwd);
|
||||||
|
int (*read_rows_from_cursor)(MYSQL_STMT *stmt);
|
||||||
#endif
|
#endif
|
||||||
} MYSQL_METHODS;
|
} MYSQL_METHODS;
|
||||||
|
|
||||||
|
@ -27,6 +27,14 @@
|
|||||||
#define SERVER_VERSION_LENGTH 60
|
#define SERVER_VERSION_LENGTH 60
|
||||||
#define SQLSTATE_LENGTH 5
|
#define SQLSTATE_LENGTH 5
|
||||||
|
|
||||||
|
/*
|
||||||
|
USER_HOST_BUFF_SIZE -- length of string buffer, that is enough to contain
|
||||||
|
username and hostname parts of the user identifier with trailing zero in
|
||||||
|
MySQL standard format:
|
||||||
|
user_name_part@host_name_part\0
|
||||||
|
*/
|
||||||
|
#define USER_HOST_BUFF_SIZE HOSTNAME_LENGTH + USERNAME_LENGTH + 2
|
||||||
|
|
||||||
#define LOCAL_HOST "localhost"
|
#define LOCAL_HOST "localhost"
|
||||||
#define LOCAL_HOST_NAMEDPIPE "."
|
#define LOCAL_HOST_NAMEDPIPE "."
|
||||||
|
|
||||||
|
@ -9,15 +9,15 @@
|
|||||||
#include <custom_conf.h>
|
#include <custom_conf.h>
|
||||||
#else
|
#else
|
||||||
#define PROTOCOL_VERSION 10
|
#define PROTOCOL_VERSION 10
|
||||||
#define MYSQL_SERVER_VERSION "5.0.16"
|
#define MYSQL_SERVER_VERSION "5.0.20"
|
||||||
#define MYSQL_BASE_VERSION "mysqld-5.0"
|
#define MYSQL_BASE_VERSION "mysqld-5.0"
|
||||||
#define MYSQL_SERVER_SUFFIX_DEF ""
|
#define MYSQL_SERVER_SUFFIX_DEF "-community-max-nt"
|
||||||
#define FRM_VER 6
|
#define FRM_VER 6
|
||||||
#define MYSQL_VERSION_ID 50016
|
#define MYSQL_VERSION_ID 50020
|
||||||
#define MYSQL_PORT 3306
|
#define MYSQL_PORT 3306
|
||||||
#define MYSQL_UNIX_ADDR "/tmp/mysql.sock"
|
#define MYSQL_UNIX_ADDR "/tmp/mysql.sock"
|
||||||
#define MYSQL_CONFIG_NAME "my"
|
#define MYSQL_CONFIG_NAME "my"
|
||||||
#define MYSQL_COMPILATION_COMMENT "Official MySQL binary"
|
#define MYSQL_COMPILATION_COMMENT "MySQL Community Edition - Max (GPL)"
|
||||||
|
|
||||||
/* mysqld compile time options */
|
/* mysqld compile time options */
|
||||||
#endif /* _CUSTOMCONFIG_ */
|
#endif /* _CUSTOMCONFIG_ */
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_WIN32;PACKETVER=6;NEW_006b;__WIN32;LOCALZLIB;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
GeneratePreprocessedFile="0"
|
GeneratePreprocessedFile="0"
|
||||||
MinimalRebuild="FALSE"
|
MinimalRebuild="FALSE"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="0"
|
||||||
@ -38,7 +38,7 @@
|
|||||||
Name="VCCustomBuildTool"/>
|
Name="VCCustomBuildTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib zdll.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib"
|
||||||
OutputFile="../char-server_sql.exe"
|
OutputFile="../char-server_sql.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
@ -88,7 +88,7 @@
|
|||||||
OptimizeForProcessor="3"
|
OptimizeForProcessor="3"
|
||||||
OptimizeForWindowsApplication="TRUE"
|
OptimizeForWindowsApplication="TRUE"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_WIN32;PACKETVER=6;NEW_006b;__WIN32;LOCALZLIB;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
DefaultCharIsUnsigned="TRUE"
|
DefaultCharIsUnsigned="TRUE"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@ -100,7 +100,7 @@
|
|||||||
Name="VCCustomBuildTool"/>
|
Name="VCCustomBuildTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib zdll.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib"
|
||||||
OutputFile="../char-server_sql.exe"
|
OutputFile="../char-server_sql.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_WIN32;PACKETVER=6;TXT_ONLY;NEW_006b;__WIN32;LOCALZLIB;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;TXT_ONLY;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
GeneratePreprocessedFile="0"
|
GeneratePreprocessedFile="0"
|
||||||
MinimalRebuild="FALSE"
|
MinimalRebuild="FALSE"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="0"
|
||||||
@ -87,7 +87,7 @@
|
|||||||
OptimizeForProcessor="3"
|
OptimizeForProcessor="3"
|
||||||
OptimizeForWindowsApplication="TRUE"
|
OptimizeForWindowsApplication="TRUE"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_WIN32;PACKETVER=6;TXT_ONLY;NEW_006b;__WIN32;LOCALZLIB;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;TXT_ONLY;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
DefaultCharIsUnsigned="TRUE"
|
DefaultCharIsUnsigned="TRUE"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_WIN32;PACKETVER=6;NEW_006b;__WIN32;LOCALZLIB;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
GeneratePreprocessedFile="0"
|
GeneratePreprocessedFile="0"
|
||||||
MinimalRebuild="FALSE"
|
MinimalRebuild="FALSE"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="0"
|
||||||
@ -37,7 +37,7 @@
|
|||||||
Name="VCCustomBuildTool"/>
|
Name="VCCustomBuildTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib zdll.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib"
|
||||||
OutputFile="..\login-server_sql.exe"
|
OutputFile="..\login-server_sql.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
@ -87,7 +87,7 @@
|
|||||||
OptimizeForProcessor="3"
|
OptimizeForProcessor="3"
|
||||||
OptimizeForWindowsApplication="TRUE"
|
OptimizeForWindowsApplication="TRUE"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_WIN32;PACKETVER=6;NEW_006b;__WIN32;LOCALZLIB;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
DefaultCharIsUnsigned="TRUE"
|
DefaultCharIsUnsigned="TRUE"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@ -101,7 +101,7 @@
|
|||||||
Name="VCCustomBuildTool"/>
|
Name="VCCustomBuildTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib zdll.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib"
|
||||||
OutputFile="..\login-server_sql.exe"
|
OutputFile="..\login-server_sql.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_WIN32;PACKETVER=6;TXT_ONLY;NEW_006b;__WIN32;LOCALZLIB;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;TXT_ONLY;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
GeneratePreprocessedFile="0"
|
GeneratePreprocessedFile="0"
|
||||||
MinimalRebuild="FALSE"
|
MinimalRebuild="FALSE"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="0"
|
||||||
@ -93,7 +93,7 @@
|
|||||||
OptimizeForProcessor="3"
|
OptimizeForProcessor="3"
|
||||||
OptimizeForWindowsApplication="TRUE"
|
OptimizeForWindowsApplication="TRUE"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_WIN32;PACKETVER=6;TXT_ONLY;NEW_006b;__WIN32;LOCALZLIB;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;TXT_ONLY;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
DefaultCharIsUnsigned="TRUE"
|
DefaultCharIsUnsigned="TRUE"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_WIN32;PACKETVER=6;NEW_006b;__WIN32;LOCALZLIB;PCRE_SUPPORT;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION;MAPREGSQL"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;PCRE_SUPPORT;MAPREGSQL;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
GeneratePreprocessedFile="0"
|
GeneratePreprocessedFile="0"
|
||||||
MinimalRebuild="FALSE"
|
MinimalRebuild="FALSE"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="0"
|
||||||
@ -89,7 +89,7 @@
|
|||||||
OptimizeForProcessor="3"
|
OptimizeForProcessor="3"
|
||||||
OptimizeForWindowsApplication="TRUE"
|
OptimizeForWindowsApplication="TRUE"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_WIN32;PACKETVER=6;NEW_006b;__WIN32;LOCALZLIB;PCRE_SUPPORT;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION;MAPREGSQL"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;PCRE_SUPPORT;MAPREGSQL;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
DefaultCharIsUnsigned="TRUE"
|
DefaultCharIsUnsigned="TRUE"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_WIN32;PACKETVER=6;TXT_ONLY;NEW_006b;__WIN32;LOCALZLIB;PCRE_SUPPORT;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;PCRE_SUPPORT;TXT_ONLY;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
GeneratePreprocessedFile="0"
|
GeneratePreprocessedFile="0"
|
||||||
MinimalRebuild="FALSE"
|
MinimalRebuild="FALSE"
|
||||||
ExceptionHandling="TRUE"
|
ExceptionHandling="TRUE"
|
||||||
@ -90,7 +90,7 @@
|
|||||||
OptimizeForProcessor="3"
|
OptimizeForProcessor="3"
|
||||||
OptimizeForWindowsApplication="TRUE"
|
OptimizeForWindowsApplication="TRUE"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_WIN32;PACKETVER=6;TXT_ONLY;NEW_006b;__WIN32;LOCALZLIB;PCRE_SUPPORT;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;PCRE_SUPPORT;TXT_ONLY;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableEnhancedInstructionSet="2"
|
EnableEnhancedInstructionSet="2"
|
||||||
DefaultCharIsUnsigned="TRUE"
|
DefaultCharIsUnsigned="TRUE"
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib"
|
||||||
OutputFile="../char-server_sql.exe"
|
OutputFile="../char-server_sql.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
@ -128,6 +128,7 @@
|
|||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
|
EnableFiberSafeOptimizations="true"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
||||||
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@ -149,7 +150,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib"
|
||||||
OutputFile="../char-server_sql.exe"
|
OutputFile="../char-server_sql.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
|
@ -127,6 +127,7 @@
|
|||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
|
EnableFiberSafeOptimizations="true"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
||||||
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;TXT_ONLY;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;TXT_ONLY;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib"
|
||||||
OutputFile="..\login-server_sql.exe"
|
OutputFile="..\login-server_sql.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
@ -128,6 +128,7 @@
|
|||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
|
EnableFiberSafeOptimizations="true"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
||||||
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@ -151,7 +152,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib"
|
||||||
OutputFile="..\login-server_sql.exe"
|
OutputFile="..\login-server_sql.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
|
@ -135,6 +135,7 @@
|
|||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
|
EnableFiberSafeOptimizations="true"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
||||||
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;TXT_ONLY;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;TXT_ONLY;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib pcre.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib pcre.lib"
|
||||||
OutputFile="..\map-server_sql.exe"
|
OutputFile="..\map-server_sql.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
@ -128,6 +128,7 @@
|
|||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
|
EnableFiberSafeOptimizations="true"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib;..\src\mysql"
|
||||||
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;PCRE_SUPPORT;MAPREGSQL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;PCRE_SUPPORT;MAPREGSQL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@ -149,7 +150,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="WSOCK32.lib mysqlclient.lib pcre.lib"
|
AdditionalDependencies="WSOCK32.lib libmysql.lib zdll.lib pcre.lib"
|
||||||
OutputFile="..\map-server_sql.exe"
|
OutputFile="..\map-server_sql.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
AdditionalLibraryDirectories="..\lib"
|
AdditionalLibraryDirectories="..\lib"
|
||||||
|
@ -131,6 +131,7 @@
|
|||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
|
EnableFiberSafeOptimizations="true"
|
||||||
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
AdditionalIncludeDirectories="..\src\common;..\src\zlib"
|
||||||
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;PCRE_SUPPORT;TXT_ONLY;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;PCRE_SUPPORT;TXT_ONLY;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;DB_MANUAL_CAST_TO_UNION"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user