Loading BitKeeper/etc/logging_ok +1 −2 Original line number Diff line number Diff line monty@tramp.mysql.fi monty@donna.mysql.com monty@narttu.mysql.fi Docs/manual.texi +4 −0 Original line number Diff line number Diff line Loading @@ -30180,6 +30180,10 @@ with these, change the columns to @code{DATETIME}. In some cases, Access may generate illegal SQL queries that @strong{MySQL} can't understand. You can fix this by selecting @code{"Query|SQLSpecific|Pass-Through"} from the Access menu. @item If you have in Access a column defined as BYTE, Access will try to export this as @code(TINYINT} instead of @code{TINYINT UNSIGNED}. This will give you problems if you have values > 127 in the column! @end itemize @cindex ADO program extra/perror.c +12 −6 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ /* Return error-text for system error messages and nisam messages */ #define PERROR_VERSION "2.4" #define PERROR_VERSION "2.5" #include <global.h> #include <my_sys.h> Loading @@ -31,6 +31,7 @@ static struct option long_options[] = {"help", no_argument, 0, '?'}, {"info", no_argument, 0, 'I'}, {"all", no_argument, 0, 'a'}, {"silent", no_argument, 0, 's'}, {"verbose", no_argument, 0, 'v'}, {"version", no_argument, 0, 'V'}, {0, 0, 0, 0} Loading @@ -41,7 +42,7 @@ typedef struct ha_errors { const char *msg; } HA_ERRORS; static int verbose=0,print_all_codes=0; static int verbose=1,print_all_codes=0; static HA_ERRORS ha_errlist[]= { Loading Loading @@ -79,7 +80,8 @@ static void usage(void) { print_version(); puts("This software comes with ABSOLUTELY NO WARRANTY. This is free software,\nand you are welcome to modify and redistribute it under the GPL license\n"); printf("Usage: %s [OPTIONS] [ERRORCODES]\n",my_progname); printf("Print a description for a system error code or a error code from\na MyISAM/ISAM table handler\n"); printf("Usage: %s [OPTIONS] [ERRORCODE [ERRORCODE...]]\n",my_progname); printf("\n\ -?, --help Displays this help and exits.\n\ -I, --info Synonym for the above."); Loading @@ -88,7 +90,8 @@ static void usage(void) -a, --all Print all the error messages and the number."); #endif printf("\n\ -v, --verbose Print info about various stages.\n\ -s, --silent Only print the error message\n\ -v, --verbose Print error code and message (default).\n\ -V, --version Displays version information and exits.\n"); } Loading @@ -97,7 +100,7 @@ static int get_options(int *argc,char ***argv) { int c,option_index; while ((c=getopt_long(*argc,*argv,"avVI?",long_options, while ((c=getopt_long(*argc,*argv,"asvVI?",long_options, &option_index)) != EOF) { switch (c) { Loading @@ -109,6 +112,9 @@ static int get_options(int *argc,char ***argv) case 'v': verbose=1; break; case 's': verbose=0; break; case 'V': print_version(); exit(0); Loading Loading @@ -183,7 +189,7 @@ int main(int argc,char *argv[]) { found=1; if (verbose) printf("%3d = %s\n",code,msg); printf("Error code %3d: %s\n",code,msg); else puts(msg); } Loading include/my_pthread.h +3 −3 Original line number Diff line number Diff line Loading @@ -91,9 +91,9 @@ void pthread_exit(unsigned A); /* was #define pthread_exit(A) ExitThread(A)*/ #define pthread_key_create(A,B) ((*A=TlsAlloc())==0xFFFFFFFF) #define pthread_getspecific(A) (TlsGetValue(A)) #define my_pthread_getspecific(T,A) ((T) TlsGetValue(A)) #define my_pthread_getspecific_ptr(T,V) ((T) TlsGetValue(A)) #define my_pthread_setspecific_ptr(T,V) TlsSetValue(T,V) #define pthread_setspecific(A,B) TlsSetValue(A,B) #define my_pthread_getspecific_ptr(T,V) ((T) TlsGetValue(V)) #define my_pthread_setspecific_ptr(T,V) (!TlsSetValue((T),(V))) #define pthread_setspecific(A,B) (!TlsSetValue((A),(B))) #else #define pthread_key(T,V) __declspec(thread) T V #define pthread_key_create(A,B) pthread_dummy(0) Loading mysys/my_init.c +1 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,7 @@ void my_end(int infoflag) if (have_tcpip); WSACleanup( ); #endif /* __WIN__ */ my_init_done=0; } /* my_end */ #ifdef __WIN__ Loading Loading
BitKeeper/etc/logging_ok +1 −2 Original line number Diff line number Diff line monty@tramp.mysql.fi monty@donna.mysql.com monty@narttu.mysql.fi
Docs/manual.texi +4 −0 Original line number Diff line number Diff line Loading @@ -30180,6 +30180,10 @@ with these, change the columns to @code{DATETIME}. In some cases, Access may generate illegal SQL queries that @strong{MySQL} can't understand. You can fix this by selecting @code{"Query|SQLSpecific|Pass-Through"} from the Access menu. @item If you have in Access a column defined as BYTE, Access will try to export this as @code(TINYINT} instead of @code{TINYINT UNSIGNED}. This will give you problems if you have values > 127 in the column! @end itemize @cindex ADO program
extra/perror.c +12 −6 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ /* Return error-text for system error messages and nisam messages */ #define PERROR_VERSION "2.4" #define PERROR_VERSION "2.5" #include <global.h> #include <my_sys.h> Loading @@ -31,6 +31,7 @@ static struct option long_options[] = {"help", no_argument, 0, '?'}, {"info", no_argument, 0, 'I'}, {"all", no_argument, 0, 'a'}, {"silent", no_argument, 0, 's'}, {"verbose", no_argument, 0, 'v'}, {"version", no_argument, 0, 'V'}, {0, 0, 0, 0} Loading @@ -41,7 +42,7 @@ typedef struct ha_errors { const char *msg; } HA_ERRORS; static int verbose=0,print_all_codes=0; static int verbose=1,print_all_codes=0; static HA_ERRORS ha_errlist[]= { Loading Loading @@ -79,7 +80,8 @@ static void usage(void) { print_version(); puts("This software comes with ABSOLUTELY NO WARRANTY. This is free software,\nand you are welcome to modify and redistribute it under the GPL license\n"); printf("Usage: %s [OPTIONS] [ERRORCODES]\n",my_progname); printf("Print a description for a system error code or a error code from\na MyISAM/ISAM table handler\n"); printf("Usage: %s [OPTIONS] [ERRORCODE [ERRORCODE...]]\n",my_progname); printf("\n\ -?, --help Displays this help and exits.\n\ -I, --info Synonym for the above."); Loading @@ -88,7 +90,8 @@ static void usage(void) -a, --all Print all the error messages and the number."); #endif printf("\n\ -v, --verbose Print info about various stages.\n\ -s, --silent Only print the error message\n\ -v, --verbose Print error code and message (default).\n\ -V, --version Displays version information and exits.\n"); } Loading @@ -97,7 +100,7 @@ static int get_options(int *argc,char ***argv) { int c,option_index; while ((c=getopt_long(*argc,*argv,"avVI?",long_options, while ((c=getopt_long(*argc,*argv,"asvVI?",long_options, &option_index)) != EOF) { switch (c) { Loading @@ -109,6 +112,9 @@ static int get_options(int *argc,char ***argv) case 'v': verbose=1; break; case 's': verbose=0; break; case 'V': print_version(); exit(0); Loading Loading @@ -183,7 +189,7 @@ int main(int argc,char *argv[]) { found=1; if (verbose) printf("%3d = %s\n",code,msg); printf("Error code %3d: %s\n",code,msg); else puts(msg); } Loading
include/my_pthread.h +3 −3 Original line number Diff line number Diff line Loading @@ -91,9 +91,9 @@ void pthread_exit(unsigned A); /* was #define pthread_exit(A) ExitThread(A)*/ #define pthread_key_create(A,B) ((*A=TlsAlloc())==0xFFFFFFFF) #define pthread_getspecific(A) (TlsGetValue(A)) #define my_pthread_getspecific(T,A) ((T) TlsGetValue(A)) #define my_pthread_getspecific_ptr(T,V) ((T) TlsGetValue(A)) #define my_pthread_setspecific_ptr(T,V) TlsSetValue(T,V) #define pthread_setspecific(A,B) TlsSetValue(A,B) #define my_pthread_getspecific_ptr(T,V) ((T) TlsGetValue(V)) #define my_pthread_setspecific_ptr(T,V) (!TlsSetValue((T),(V))) #define pthread_setspecific(A,B) (!TlsSetValue((A),(B))) #else #define pthread_key(T,V) __declspec(thread) T V #define pthread_key_create(A,B) pthread_dummy(0) Loading
mysys/my_init.c +1 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,7 @@ void my_end(int infoflag) if (have_tcpip); WSACleanup( ); #endif /* __WIN__ */ my_init_done=0; } /* my_end */ #ifdef __WIN__ Loading