Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
100a66e6
Commit
100a66e6
authored
Jun 04, 2003
by
monty@narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added [mysqld-base-version] as a default group for the mysqld server
Portability fix for Windows 64
parent
f6a365a5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
3 deletions
+14
-3
include/config-win.h
include/config-win.h
+7
-1
include/my_global.h
include/my_global.h
+1
-1
include/mysql_version.h.in
include/mysql_version.h.in
+1
-0
innobase/include/univ.i
innobase/include/univ.i
+4
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
include/config-win.h
View file @
100a66e6
...
...
@@ -130,6 +130,11 @@ typedef uint rf_SetTimer;
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_OFF_T 8
#ifdef _WIN64
#define SIZEOF_CHARP 8
#else
#define SIZEOF_CHARP 4
#endif
#define HAVE_BROKEN_NETINET_INCLUDES
#ifdef __NT__
#define HAVE_NAMED_PIPE
/* We can only create pipes on NT */
...
...
@@ -196,6 +201,7 @@ inline double ulonglong2double(ulonglong value)
/* Optimized store functions for Intel x86 */
#ifndef _WIN64
#define sint2korr(A) (*((int16 *) (A)))
#define sint3korr(A) ((int32) ((((uchar) (A)[2]) & 128) ? \
(((uint32) 255L << 24) | \
...
...
@@ -236,7 +242,7 @@ inline double ulonglong2double(ulonglong value)
#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))
#endif
/* _WIN64 */
#define HAVE_PERROR
#define HAVE_VFPRINT
...
...
include/my_global.h
View file @
100a66e6
...
...
@@ -848,7 +848,7 @@ typedef char bool; /* Ordinary boolean values 0 1 */
*/
/* Optimized store functions for Intel x86 */
#if
def __i386__
#if
defined(__i386__) && !defined(_WIN64)
#define sint2korr(A) (*((int16 *) (A)))
#define sint3korr(A) ((int32) ((((uchar) (A)[2]) & 128) ? \
(((uint32) 255L << 24) | \
...
...
include/mysql_version.h.in
View file @
100a66e6
...
...
@@ -10,6 +10,7 @@
#else
#define PROTOCOL_VERSION @PROTOCOL_VERSION@
#define MYSQL_SERVER_VERSION "@VERSION@"
#define MYSQL_BASE_VERSION "mysqld-@MYSQL_BASE_VERSION@"
#ifndef MYSQL_SERVER_SUFFIX
#define MYSQL_SERVER_SUFFIX "@MYSQL_SERVER_SUFFIX@"
#endif
...
...
innobase/include/univ.i
View file @
100a66e6
...
...
@@ -187,7 +187,11 @@ management to ensure correct alignment for doubles etc. */
/* Another basic type we use is unsigned long integer which is intended to be
equal to the word size of the machine. */
#
ifdef
_WIN64
typedef
unsigned
__int64
ulint
;
#
else
typedef
unsigned
long
int
ulint
;
#
endif
typedef
long
int
lint
;
...
...
sql/mysqld.cc
View file @
100a66e6
...
...
@@ -1923,7 +1923,7 @@ extern "C" pthread_handler_decl(handle_shutdown,arg)
#endif
const
char
*
load_default_groups
[]
=
{
"mysqld"
,
"server"
,
0
};
const
char
*
load_default_groups
[]
=
{
"mysqld"
,
"server"
,
MYSQL_BASE_VERSION
,
0
};
bool
open_log
(
MYSQL_LOG
*
log
,
const
char
*
hostname
,
const
char
*
opt_name
,
const
char
*
extension
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment