#include <sys/locking.h>
#include <windows.h>
#include <math.h>
#include <fcntl.h>
#include <io.h>
#include <malloc.h>
Go to the source code of this file.
Defines | |
#define | HAVE_SMEM 1 |
#define | SYSTEM_TYPE "Windows" |
#define | MACHINE_TYPE "unknown" |
#define | _WIN32 |
#define | __WIN__ |
#define | O_SHARE 0x1000 |
#define | F_RDLCK _LK_NBLCK |
#define | F_WRLCK _LK_NBRLCK |
#define | F_UNLCK _LK_UNLCK |
#define | F_EXCLUSIVE 1 |
#define | F_TO_EOF (INT_MAX32/2) |
#define | F_OK 0 |
#define | S_IROTH S_IREAD |
#define | O_BINARY _O_BINARY |
#define | FILE_BINARY _O_BINARY |
#define | O_TEMPORARY _O_TEMPORARY |
#define | O_SHORT_LIVED _O_SHORT_LIVED |
#define | SH_DENYNO _SH_DENYNO |
#define | NO_OPEN_3 |
#define | SIGQUIT SIGTERM |
#define | LONGLONG_MIN ((__int64) 0x8000000000000000) |
#define | LONGLONG_MAX ((__int64) 0x7FFFFFFFFFFFFFFF) |
#define | ULONGLONG_MAX ((unsigned __int64) 0xFFFFFFFFFFFFFFFF) |
#define | LL(A) ((__int64) A) |
#define | ULL(A) ((unsigned __int64) A) |
#define | HAVE_UINT |
#define | longlong_defined |
#define | Socket_defined |
#define | my_socket SOCKET |
#define | bool BOOL |
#define | SIGPIPE SIGINT |
#define | RETQSORTTYPE void |
#define | QSORT_TYPE_IS_VOID |
#define | RETSIGTYPE void |
#define | SOCKET_SIZE_TYPE int |
#define | my_socket_defined |
#define | bool_defined |
#define | byte_defined |
#define | HUGE_PTR |
#define | STDCALL __stdcall |
#define | isnan(X) _isnan(X) |
#define | finite(X) _finite(X) |
#define | THREAD |
#define | VOID_SIGHANDLER |
#define | SIZEOF_CHAR 1 |
#define | SIZEOF_LONG 4 |
#define | SIZEOF_LONG_LONG 8 |
#define | SIZEOF_OFF_T 8 |
#define | SIZEOF_CHARP 4 |
#define | HAVE_BROKEN_NETINET_INCLUDES |
#define | USE_MB 1 |
#define | USE_MB_IDENT 1 |
#define | USE_STRCOLL 1 |
#define | USE_SYMDIR |
#define | ENABLED_LOCAL_INFILE 1 |
#define | sigset(A, B) signal((A),(B)) |
#define | finite(A) _finite(A) |
#define | sleep(A) Sleep((A)*1000) |
#define | popen(A) popen(A,B) _popen((A),(B)) |
#define | pclose(A) _pclose(A) |
#define | access(A, B) _access(A,B) |
#define | inline __inline |
#define | my_off_t2double(A) ulonglong2double(A) |
#define | lseek(A, B, C) _lseeki64((A),(longlong) (B),(C)) |
#define | tell(A) _telli64(A) |
#define | set_timespec(ABSTIME, SEC) { (ABSTIME).tv_sec=time((time_t*)0) + (time_t) (SEC); (ABSTIME).tv_nsec=0; } |
#define | STACK_DIRECTION -1 |
#define | sint2korr(A) (*((int16 *) (A))) |
#define | sint3korr(A) |
#define | sint4korr(A) (*((long *) (A))) |
#define | uint2korr(A) (*((uint16 *) (A))) |
#define | uint3korr(A) (long) (*((unsigned int *) (A)) & 0xFFFFFF) |
#define | uint4korr(A) (*((unsigned long *) (A))) |
#define | uint5korr(A) |
#define | uint8korr(A) (*((ulonglong *) (A))) |
#define | sint8korr(A) (*((longlong *) (A))) |
#define | int2store(T, A) *((uint16*) (T))= (uint16) (A) |
#define | int3store(T, A) |
#define | int4store(T, A) *((long *) (T))= (long) (A) |
#define | int5store(T, A) |
#define | int8store(T, A) *((ulonglong *) (T))= (ulonglong) (A) |
#define | doubleget(V, M) |
#define | doublestore(T, V) |
#define | float4get(V, M) { *((long *) &(V)) = *((long*) (M)); } |
#define | floatstore(T, V) memcpy((byte*)(T), (byte*)(&V), sizeof(float)) |
#define | float8get(V, M) doubleget((V),(M)) |
#define | float4store(V, M) memcpy((byte*) V,(byte*) (&M),sizeof(float)) |
#define | float8store(V, M) doublestore((V),(M)) |
#define | HAVE_PERROR |
#define | HAVE_VFPRINT |
#define | HAVE_RENAME |
#define | HAVE_BINARY_STREAMS |
#define | HAVE_LONG_JMP |
#define | HAVE_LOCKING |
#define | HAVE_ERRNO_AS_DEFINE |
#define | HAVE_STDLIB |
#define | HAVE_MEMCPY |
#define | HAVE_MEMMOVE |
#define | HAVE_GETCWD |
#define | HAVE_TELL |
#define | HAVE_TZNAME |
#define | HAVE_PUTENV |
#define | HAVE_SELECT |
#define | HAVE_SETLOCALE |
#define | HAVE_SOCKET |
#define | HAVE_FLOAT_H |
#define | HAVE_LIMITS_H |
#define | HAVE_STDDEF_H |
#define | HAVE_RINT |
#define | NO_FCNTL_NONBLOCK |
#define | HAVE_ALLOCA |
#define | HAVE_STRPBRK |
#define | HAVE_STRSTR |
#define | HAVE_COMPRESS |
#define | HAVE_CREATESEMAPHORE |
#define | HAVE_ISNAN |
#define | HAVE_FINITE |
#define | HAVE_QUERY_CACHE |
#define | SPRINTF_RETURNS_INT |
#define | HAVE_SETFILEPOINTER |
#define | HAVE_VIO |
#define | my_reinterpret_cast(A) reinterpret_cast <A> |
#define | my_const_cast(A) const_cast<A> |
#define | DEFAULT_MYSQL_HOME "c:\\mysql" |
#define | PACKAGE "mysql" |
#define | DEFAULT_BASEDIR "C:\\" |
#define | SHAREDIR "share" |
#define | DEFAULT_CHARSET_HOME "C:/mysql/" |
#define | FN_LIBCHAR '\\' |
#define | FN_ROOTDIR "\\" |
#define | FN_NETWORK_DRIVES |
#define | FN_NO_CASE_SENCE |
#define | OS_FILE_LIMIT 2048 |
#define | DO_NOT_REMOVE_THREAD_WRAPPERS |
#define | thread_safe_increment(V, L) InterlockedIncrement((long*) &(V)) |
#define | thread_safe_add(V, C, L) pthread_mutex_lock((L)); (V)+=(C); pthread_mutex_unlock((L)); |
#define | thread_safe_sub(V, C, L) pthread_mutex_lock((L)); (V)-=(C); pthread_mutex_unlock((L)); |
#define | statistic_add(V, C, L) (V)+=(C) |
#define | statistic_increment(V, L) thread_safe_increment((V),(L)) |
#define | shared_memory_buffer_length 16000 |
#define | default_shared_memory_base_name "MYSQL" |
#define | MYSQL_DEFAULT_CHARSET_NAME "latin1" |
#define | MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci" |
#define | HAVE_SPATIAL 1 |
#define | HAVE_RTREE_KEYS 1 |
#define | HAVE_CHARSET_big5 1 |
#define | HAVE_CHARSET_cp1250 1 |
#define | HAVE_CHARSET_cp932 1 |
#define | HAVE_CHARSET_euckr 1 |
#define | HAVE_CHARSET_gb2312 1 |
#define | HAVE_CHARSET_gbk 1 |
#define | HAVE_CHARSET_latin1 1 |
#define | HAVE_CHARSET_latin2 1 |
#define | HAVE_CHARSET_sjis 1 |
#define | HAVE_CHARSET_tis620 1 |
#define | HAVE_CHARSET_ucs2 1 |
#define | HAVE_CHARSET_ujis 1 |
#define | HAVE_CHARSET_utf8 1 |
#define | HAVE_UCA_COLLATIONS 1 |
Typedefs | |
typedef unsigned short | ushort |
typedef unsigned int | uint |
typedef unsigned __int64 | ulonglong |
typedef __int64 | longlong |
typedef int | sigset_t |
typedef long | off_t |
typedef __int64 | os_off_t |
typedef unsigned int | size_t |
typedef uint | rf_SetTimer |
Functions | |
double | rint (double nr) |
double | ulonglong2double (ulonglong value) |
|
Definition at line 61 of file config-win.h. |
|
Definition at line 54 of file config-win.h. |
|
Definition at line 202 of file config-win.h. Referenced by CheckLogDir(), CreatePidFile(), OpenAlertSock(), and ParseCmdLine(). |
|
Definition at line 141 of file config-win.h. |
|
Definition at line 148 of file config-win.h. |
|
Definition at line 149 of file config-win.h. |
|
Definition at line 348 of file config-win.h. |
|
Definition at line 350 of file config-win.h. |
|
Definition at line 346 of file config-win.h. |
|
Definition at line 378 of file config-win.h. |
|
Definition at line 361 of file config-win.h. |
|
Value: { *((long *) &V) = *((long*) M); \ *(((long *) &V)+1) = *(((long*) M)+1); } Definition at line 281 of file config-win.h. |
|
Value: { *((long *) T) = *((long*) &V); \ *(((long *) T)+1) = *(((long*) &V)+1); } Definition at line 283 of file config-win.h. |
|
Definition at line 191 of file config-win.h. |
|
Definition at line 76 of file config-win.h. |
|
Definition at line 78 of file config-win.h. |
|
Definition at line 71 of file config-win.h. |
|
Definition at line 77 of file config-win.h. |
|
Definition at line 73 of file config-win.h. |
|
Definition at line 72 of file config-win.h. |
|
Definition at line 89 of file config-win.h. |
|
Definition at line 196 of file config-win.h. |
|
Definition at line 196 of file config-win.h. |
|
Definition at line 285 of file config-win.h. |
|
Definition at line 288 of file config-win.h. |
|
Definition at line 287 of file config-win.h. |
|
Definition at line 289 of file config-win.h. |
|
Definition at line 286 of file config-win.h. |
|
Definition at line 355 of file config-win.h. |
|
Definition at line 357 of file config-win.h. |
|
Definition at line 358 of file config-win.h. |
|
Definition at line 356 of file config-win.h. |
|
Definition at line 314 of file config-win.h. |
|
Definition at line 295 of file config-win.h. |
|
Definition at line 168 of file config-win.h. |
|
Definition at line 388 of file config-win.h. |
|
Definition at line 389 of file config-win.h. |
|
Definition at line 396 of file config-win.h. |
|
Definition at line 398 of file config-win.h. |
|
Definition at line 399 of file config-win.h. |
|
Definition at line 400 of file config-win.h. |
|
Definition at line 407 of file config-win.h. |
|
Definition at line 408 of file config-win.h. |
|
Definition at line 413 of file config-win.h. |
|
Definition at line 415 of file config-win.h. |
|
Definition at line 416 of file config-win.h. |
|
Definition at line 417 of file config-win.h. |
|
Definition at line 418 of file config-win.h. |
|
Definition at line 317 of file config-win.h. |
|
Definition at line 318 of file config-win.h. |
|
Definition at line 298 of file config-win.h. |
|
Definition at line 320 of file config-win.h. |
|
Definition at line 309 of file config-win.h. |
|
Definition at line 302 of file config-win.h. |
|
Definition at line 319 of file config-win.h. |
|
Definition at line 310 of file config-win.h. |
|
Definition at line 297 of file config-win.h. |
|
Definition at line 296 of file config-win.h. |
|
Definition at line 300 of file config-win.h. |
|
Definition at line 301 of file config-win.h. |
|
Definition at line 292 of file config-win.h. |
|
Definition at line 305 of file config-win.h. |
|
Definition at line 321 of file config-win.h. |
|
Definition at line 294 of file config-win.h. |
|
Definition at line 312 of file config-win.h. |
|
Definition at line 383 of file config-win.h. |
|
Definition at line 306 of file config-win.h. |
|
Definition at line 323 of file config-win.h. |
|
Definition at line 307 of file config-win.h. |
|
Definition at line 32 of file config-win.h. |
|
Definition at line 308 of file config-win.h. |
|
Definition at line 382 of file config-win.h. |
|
Definition at line 311 of file config-win.h. |
|
Definition at line 299 of file config-win.h. |
|
Definition at line 315 of file config-win.h. |
|
Definition at line 316 of file config-win.h. |
|
Definition at line 303 of file config-win.h. |
|
Definition at line 304 of file config-win.h. |
|
Definition at line 419 of file config-win.h. |
|
Definition at line 111 of file config-win.h. |
|
Definition at line 293 of file config-win.h. |
|
Definition at line 324 of file config-win.h. |
|
Definition at line 150 of file config-win.h. |
|
Definition at line 206 of file config-win.h. |
|
Definition at line 269 of file config-win.h. |
|
Value: Definition at line 270 of file config-win.h. |
|
Definition at line 273 of file config-win.h. |
|
Value: { *(T)= (uchar)((A));\ *((T)+1)=(uchar) (((A) >> 8));\ *((T)+2)=(uchar) (((A) >> 16));\ *((T)+3)=(uchar) (((A) >> 24)); \ *((T)+4)=(uchar) (((A) >> 32)); } Definition at line 274 of file config-win.h. |
|
Definition at line 279 of file config-win.h. |
|
Definition at line 152 of file config-win.h. |
|
Definition at line 104 of file config-win.h. |
|
Definition at line 121 of file config-win.h. |
|
Definition at line 102 of file config-win.h. |
|
Definition at line 101 of file config-win.h. |
|
Definition at line 232 of file config-win.h. |
|
Definition at line 49 of file config-win.h. |
|
Definition at line 338 of file config-win.h. |
|
Definition at line 228 of file config-win.h. |
|
Definition at line 337 of file config-win.h. |
|
Definition at line 140 of file config-win.h. |
|
Definition at line 147 of file config-win.h. |
|
Definition at line 379 of file config-win.h. |
|
Definition at line 380 of file config-win.h. |
|
Definition at line 313 of file config-win.h. |
|
Definition at line 94 of file config-win.h. |
|
Definition at line 88 of file config-win.h. |
|
Definition at line 65 of file config-win.h. |
|
Definition at line 91 of file config-win.h. |
|
Definition at line 90 of file config-win.h. |
|
Definition at line 359 of file config-win.h. |
|
Definition at line 347 of file config-win.h. |
|
Definition at line 199 of file config-win.h. |
|
Definition at line 198 of file config-win.h. |
|
Definition at line 144 of file config-win.h. |
|
Definition at line 143 of file config-win.h. |
|
Definition at line 145 of file config-win.h. |
|
Definition at line 80 of file config-win.h. |
|
Definition at line 236 of file config-win.h. |
|
Definition at line 92 of file config-win.h. |
|
Definition at line 377 of file config-win.h. |
|
Definition at line 349 of file config-win.h. |
|
Definition at line 142 of file config-win.h. |
|
Definition at line 96 of file config-win.h. |
|
Definition at line 195 of file config-win.h. |
|
Definition at line 243 of file config-win.h. |
|
Value: ((int32) ((((uchar) (A)[2]) & 128) ? \ (((uint32) 255L << 24) | \ (((uint32) (uchar) (A)[2]) << 16) |\ (((uint32) (uchar) (A)[1]) << 8) | \ ((uint32) (uchar) (A)[0])) : \ (((uint32) (uchar) (A)[2]) << 16) |\ (((uint32) (uchar) (A)[1]) << 8) | \ ((uint32) (uchar) (A)[0]))) Definition at line 244 of file config-win.h. |
|
Definition at line 252 of file config-win.h. |
|
Definition at line 268 of file config-win.h. |
|
Definition at line 159 of file config-win.h. |
|
Definition at line 166 of file config-win.h. |
|
Definition at line 160 of file config-win.h. |
|
Definition at line 161 of file config-win.h. |
|
Definition at line 162 of file config-win.h. |
|
Definition at line 197 of file config-win.h. |
|
Definition at line 139 of file config-win.h. |
|
Definition at line 146 of file config-win.h. |
|
Definition at line 322 of file config-win.h. |
|
Definition at line 238 of file config-win.h. |
|
Definition at line 373 of file config-win.h. |
|
Definition at line 375 of file config-win.h. |
|
Definition at line 151 of file config-win.h. |
|
Definition at line 39 of file config-win.h. |
|
Definition at line 233 of file config-win.h. |
|
Definition at line 156 of file config-win.h. |
|
Definition at line 369 of file config-win.h. |
|
Definition at line 362 of file config-win.h. |
|
Definition at line 371 of file config-win.h. |
|
Definition at line 253 of file config-win.h. |
|
Definition at line 260 of file config-win.h. |
|
Definition at line 261 of file config-win.h. |
|
Value: ((ulonglong)(((uint32) ((uchar) (A)[0])) +\ (((uint32) ((uchar) (A)[1])) << 8) +\ (((uint32) ((uchar) (A)[2])) << 16) +\ (((uint32) ((uchar) (A)[3])) << 24)) +\ (((ulonglong) ((uchar) (A)[4])) << 32)) Definition at line 262 of file config-win.h. |
|
Definition at line 267 of file config-win.h. |
|
Definition at line 105 of file config-win.h. |
|
Definition at line 103 of file config-win.h. |
|
Definition at line 182 of file config-win.h. |
|
Definition at line 183 of file config-win.h. |
|
Definition at line 184 of file config-win.h. |
|
Definition at line 188 of file config-win.h. |
|
Definition at line 158 of file config-win.h. |
|
Definition at line 117 of file config-win.h. |
|
Definition at line 127 of file config-win.h. |
|
Definition at line 129 of file config-win.h. |
|
Definition at line 136 of file config-win.h. |
|
Definition at line 119 of file config-win.h. |
|
Definition at line 134 of file config-win.h. |
|
Definition at line 113 of file config-win.h. |
|
Definition at line 116 of file config-win.h. |
|
Definition at line 112 of file config-win.h. |
|
Definition at line 209 of file config-win.h. |
|
Definition at line 221 of file config-win.h. |