diff options
author | monty@mashka.mysql.fi <> | 2003-01-21 21:07:59 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-01-21 21:07:59 +0200 |
commit | 25c393a12ea7264f265f958027d6e0a1735acc77 (patch) | |
tree | b3f7b07e6d74a88c6ef0b3e8f43bc27b784bb24d /isam | |
parent | 6522ee6c9845cf61903592e9a36c78dc4f69f569 (diff) | |
download | mariadb-git-25c393a12ea7264f265f958027d6e0a1735acc77.tar.gz |
Portability fixes (for windows)
Some changes to the prepared statement protocol to make it easier to use and faster.
Diffstat (limited to 'isam')
-rw-r--r-- | isam/pack_isam.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/isam/pack_isam.c b/isam/pack_isam.c index 09825dd137f..fd12aac1e09 100644 --- a/isam/pack_isam.c +++ b/isam/pack_isam.c @@ -46,22 +46,6 @@ #define OLD_EXT ".OLD" #define WRITE_COUNT MY_HOW_OFTEN_TO_WRITE -#ifdef __WIN__ -static double ulonglong2double(ulonglong value) -{ - longlong nr=(longlong) value; - if (nr >= 0) - return (double) nr; - return (18446744073709551616.0 + (double) nr); -} - -#if SIZEOF_OFF_T > 4 -#define my_off_t2double(A) ulonglong2double(A) -#else -#define my_off_t2double(A) ((double) (A)) -#endif /* SIZEOF_OFF_T > 4 */ -#endif - struct st_file_buffer { File file; char *buffer,*pos,*end; |