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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c664c487
Commit
c664c487
authored
Dec 30, 2017
by
Igor Babaev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.3' into bb-10.3-igor
parents
4f0299f8
b2a102fb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
.travis.compiler.sh
.travis.compiler.sh
+7
-0
cmake/ssl.cmake
cmake/ssl.cmake
+3
-4
strings/dtoa.c
strings/dtoa.c
+1
-1
No files found.
.travis.compiler.sh
View file @
c664c487
...
...
@@ -14,6 +14,10 @@ if [[ "${TRAVIS_OS_NAME}" == 'linux' ]]; then
export
CXX
CC
=
${
CXX
/++/
}
elif
[[
"
${
CXX
}
"
==
'g++'
]]
;
then
CMAKE_OPT
=
""
if
[[
"
${
MYSQL_TEST_SUITES
}
"
==
'rpl'
]]
;
then
CMAKE_OPT
=
"
${
CMAKE_OPT
}
-DWITHOUT_TOKUDB_STORAGE_ENGINE=TRUE"
CMAKE_OPT
=
"
${
CMAKE_OPT
}
-DWITHOUT_MROONGA_STORAGE_ENGINE=TRUE"
fi
export
CXX
=
g++-
${
GCC_VERSION
}
export
CC
=
gcc-
${
GCC_VERSION
}
fi
...
...
@@ -33,6 +37,9 @@ else
if
which ccache
;
then
CMAKE_OPT
=
"
${
CMAKE_OPT
}
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache"
fi
if
[[
"
${
MYSQL_TEST_SUITES
}
"
==
'rpl'
]]
;
then
CMAKE_OPT
=
"
${
CMAKE_OPT
}
-DWITHOUT_TOKUDB_STORAGE_ENGINE=ON"
fi
CMAKE_OPT
=
"
${
CMAKE_OPT
}
-DWITHOUT_MROONGA_STORAGE_ENGINE=ON"
if
[[
"
${
TYPE
}
"
==
"Debug"
]]
;
then
CMAKE_OPT
=
"
${
CMAKE_OPT
}
-DWITHOUT_TOKUDB_STORAGE_ENGINE=ON"
...
...
cmake/ssl.cmake
View file @
c664c487
...
...
@@ -129,10 +129,6 @@ MACRO (MYSQL_CHECK_SSL)
IF
(
OPENSSL_FOUND
)
SET
(
OPENSSL_LIBRARY
${
OPENSSL_SSL_LIBRARY
}
)
INCLUDE
(
CheckSymbolExists
)
SET
(
CMAKE_REQUIRED_INCLUDES
${
OPENSSL_INCLUDE_DIR
}
)
CHECK_SYMBOL_EXISTS
(
SHA512_DIGEST_LENGTH
"openssl/sha.h"
HAVE_SHA512_DIGEST_LENGTH
)
SET
(
CMAKE_REQUIRED_INCLUDES
)
SET
(
SSL_SOURCES
""
)
SET
(
SSL_LIBRARIES
${
OPENSSL_SSL_LIBRARY
}
${
OPENSSL_CRYPTO_LIBRARY
}
)
IF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
)
...
...
@@ -151,6 +147,7 @@ MACRO (MYSQL_CHECK_SSL)
SET
(
SSL_INTERNAL_INCLUDE_DIRS
""
)
SET
(
SSL_DEFINES
"-DHAVE_OPENSSL"
)
SET
(
CMAKE_REQUIRED_INCLUDES
${
OPENSSL_INCLUDE_DIR
}
)
SET
(
CMAKE_REQUIRED_LIBRARIES
${
SSL_LIBRARIES
}
)
CHECK_SYMBOL_EXISTS
(
ERR_remove_thread_state
"openssl/err.h"
HAVE_ERR_remove_thread_state
)
...
...
@@ -158,6 +155,8 @@ MACRO (MYSQL_CHECK_SSL)
HAVE_EncryptAes128Ctr
)
CHECK_SYMBOL_EXISTS
(
EVP_aes_128_gcm
"openssl/evp.h"
HAVE_EncryptAes128Gcm
)
SET
(
CMAKE_REQUIRED_INCLUDES
)
SET
(
CMAKE_REQUIRED_LIBRARIES
)
ELSE
()
IF
(
WITH_SSL STREQUAL
"system"
)
MESSAGE
(
SEND_ERROR
"Cannot find appropriate system libraries for SSL. Use WITH_SSL=bundled to enable SSL support"
)
...
...
strings/dtoa.c
View file @
c664c487
...
...
@@ -1290,7 +1290,7 @@ static double ratio(Bigint *a, Bigint *b)
dval
(
&
db
)
=
b2d
(
b
,
&
kb
);
k
=
ka
-
kb
+
32
*
(
a
->
wds
-
b
->
wds
);
if
(
k
>
0
)
word0
(
&
da
)
+=
k
*
Exp_msk1
;
word0
(
&
da
)
+=
k
*
Exp_msk1
*
1
.
0
;
else
{
k
=
-
k
;
...
...
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