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
e432151e
Commit
e432151e
authored
Apr 21, 2010
by
Bo Thorsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bunch of Windows warnings
parent
ecf23c15
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
35 additions
and
2 deletions
+35
-2
extra/yassl/taocrypt/src/algebra.cpp
extra/yassl/taocrypt/src/algebra.cpp
+0
-1
sql/hash_filo.cc
sql/hash_filo.cc
+5
-0
sql/mf_iocache.cc
sql/mf_iocache.cc
+6
-0
sql/repl_failsafe.cc
sql/repl_failsafe.cc
+5
-0
sql/sql_repl.cc
sql/sql_repl.cc
+5
-0
storage/pbxt/src/locklist_xt.cc
storage/pbxt/src/locklist_xt.cc
+5
-0
storage/pbxt/src/pbms_enabled.cc
storage/pbxt/src/pbms_enabled.cc
+5
-0
storage/xtradb/include/univ.i
storage/xtradb/include/univ.i
+1
-1
storage/xtradb/sync/sync0sync.c
storage/xtradb/sync/sync0sync.c
+3
-0
No files found.
extra/yassl/taocrypt/src/algebra.cpp
View file @
e432151e
...
...
@@ -18,7 +18,6 @@
/* based on Wei Dai's algebra.cpp from CryptoPP */
#undef NDEBUG
#define DEBUG // GCC 4.0 bug if NDEBUG and Optimize > 1
#include "runtime.hpp"
#include "algebra.hpp"
...
...
sql/hash_filo.cc
View file @
e432151e
...
...
@@ -25,3 +25,8 @@
#include "mysql_priv.h"
#include "hash_filo.h"
#ifdef __WIN__
// Remove linker warning 4221 about empty file
namespace
{
char
dummy
;
};
#endif // __WIN__
sql/mf_iocache.cc
View file @
e432151e
...
...
@@ -85,6 +85,12 @@ int _my_b_net_read(register IO_CACHE *info, uchar *Buffer,
}
}
/* extern "C" */
#elif defined(__WIN__)
// Remove linker warning 4221 about empty file
namespace
{
char
dummy
;
};
#endif
/* HAVE_REPLICATION */
sql/repl_failsafe.cc
View file @
e432151e
...
...
@@ -1036,5 +1036,10 @@ err:
return
error
;
}
#elif defined(__WIN__)
// Remove linker warning 4221 about empty file
namespace
{
char
dummy
;
};
#endif
/* HAVE_REPLICATION */
sql/sql_repl.cc
View file @
e432151e
...
...
@@ -1835,6 +1835,11 @@ int init_replication_sys_vars()
return
0
;
}
#elif defined(__WIN__)
// Remove linker warning 4221 about empty file
namespace
{
char
dummy
;
};
#endif
/* HAVE_REPLICATION */
storage/pbxt/src/locklist_xt.cc
View file @
e432151e
...
...
@@ -186,5 +186,10 @@ void xt_trace_thread_locks(XTThread *self)
}
}
#elif defined(__WIN__)
// Remove linker warning 4221 about empty file
namespace
{
char
dummy
;
};
#endif
storage/pbxt/src/pbms_enabled.cc
View file @
e432151e
...
...
@@ -241,4 +241,9 @@ void pbms_completed(TABLE *table, bool ok)
return
;
}
#elif defined(__WIN__)
// Remove linker warning 4221 about empty file
namespace
{
char
dummy
;
};
#endif // PBMS_ENABLED
storage/xtradb/include/univ.i
View file @
e432151e
...
...
@@ -290,7 +290,7 @@ management to ensure correct alignment for doubles etc. */
/* The 2-logarithm of UNIV_PAGE_SIZE: */
#
define
UNIV_PAGE_SIZE_SHIFT
14
/* The universal page size of the database */
#
define
UNIV_PAGE_SIZE
(
1
<<
UNIV_PAGE_SIZE_SHIFT
)
#
define
UNIV_PAGE_SIZE
(
1
u
<<
UNIV_PAGE_SIZE_SHIFT
)
/* Maximum number of parallel threads in a parallelized operation */
#
define
UNIV_MAX_PARALLELISM
32
...
...
storage/xtradb/sync/sync0sync.c
View file @
e432151e
...
...
@@ -423,8 +423,11 @@ mutex_set_waiters(
mutex_t
*
mutex
,
/*!< in: mutex */
ulint
n
)
/*!< in: value to set */
{
#ifndef INNODB_RW_LOCKS_USE_ATOMICS
volatile
ulint
*
ptr
;
/* declared volatile to ensure that
the value is stored to memory */
#endif
ut_ad
(
mutex
);
#ifdef INNODB_RW_LOCKS_USE_ATOMICS
...
...
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