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
74368a1d
Commit
74368a1d
authored
Sep 11, 2021
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.3' into 10.4
parents
101d10b8
8988e471
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
16 deletions
+62
-16
CMakeLists.txt
CMakeLists.txt
+37
-0
appveyor.yml
appveyor.yml
+24
-15
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
No files found.
CMakeLists.txt
View file @
74368a1d
...
...
@@ -543,3 +543,40 @@ IF(NON_DISTRIBUTABLE_WARNING)
MESSAGE
(
WARNING
"
You have linked MariaDB with
${
NON_DISTRIBUTABLE_WARNING
}
libraries! You may not distribute the resulting binary. If you do, you will put yourself into a legal problem with the Free Software Foundation."
)
ENDIF
()
IF
(
NOT WITHOUT_SERVER
)
# Define target for minimal mtr-testable build
ADD_CUSTOM_TARGET
(
minbuild
)
ADD_DEPENDENCIES
(
minbuild
aria_chk
aria_pack
mysql
mysqladmin
mysqlbinlog
mysqlcheck
mysql_client_test
mysqldump
mysqlimport
mysql_plugin
mysqlshow
mysqlslap
mysqltest
mysql_tzinfo_to_sql
mysql_upgrade
mysqld
my_print_defaults
my_safe_process
myisam_ftdump
myisamchk
myisamlog
myisampack
perror
replace
)
IF
(
WIN32
)
ADD_DEPENDENCIES
(
minbuild echo mysql_install_db my_safe_kill
)
ENDIF
()
ADD_CUSTOM_TARGET
(
smoketest
COMMAND perl ./mysql-test-run.pl main.1st
WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
/mysql-test
)
ADD_DEPENDENCIES
(
smoketest minbuild
)
ENDIF
()
appveyor.yml
View file @
74368a1d
version
:
build-{build}~branch-{branch}
before_build
:
-
md %APPVEYOR_BUILD_FOLDER%\win_build
-
cd %APPVEYOR_BUILD_FOLDER%\win_build
-
cmake .. -G "Visual Studio 15 2017 Win64" -DWITH_UNIT_TESTS=0 -DWITH_MARIABACKUP=0 -DMYSQL_MAINTAINER_MODE=ERR -DPLUGIN_ROCKSDB=NO -DPLUGIN_CONNECT=NO -DBISON_EXECUTABLE=C:\cygwin64\bin\bison
clone_depth
:
1
build
:
project
:
win_build\MySQL.sln
parallel
:
true
verbosity
:
minimal
configuration
:
RelWithDebInfo
platform
:
x64
build_script
:
# dump some system info
-
echo processor='%PROCESSOR_IDENTIFIER%' , processor count= %NUMBER_OF_PROCESSORS%
-
cd %APPVEYOR_BUILD_FOLDER%
# Disable unneeded submodules for the faster build
-
git config submodule.storage/columnstore/columnstore.update none
-
git config submodule.storage/maria/libmarias3.update none
-
git config submodule.storage/rocksdb/rocksdb.update none
-
git config submodule.wsrep-lib.update none
# Build minimal configuration
-
mkdir _build
-
cd _build
-
set BUILD_TYPE=MinSizeRel
-
set GENERATOR=-GNinja
-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
-
cmake -E time cmake %GENERATOR% .. -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DMYSQL_MAINTAINER_MODE=ERR -DFAST_BUILD=1 -DBISON_EXECUTABLE=C:\cygwin64\bin\bison -DPLUGIN_PERFSCHEMA=NO -DPLUGIN_FEEDBACK=NO
-
set /A jobs=2*%NUMBER_OF_PROCESSORS%
-
cmake -E time cmake --build . -j %jobs% --config %BUILD_TYPE% --target minbuild
test_script
:
-
set PATH=%PATH%;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64
-
cd %APPVEYOR_BUILD_FOLDER%\win_build\mysql-test
-
perl mysql-test-run.pl --force --max-test-fail=10 --parallel=4 --testcase-timeout=10 --skip-test-list=unstable-tests --suite=main
-
set PATH=C:\Strawberry\perl\bin;%PATH%;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64
-
cd %APPVEYOR_BUILD_FOLDER%\_build\mysql-test
-
set /A parallel=4*%NUMBER_OF_PROCESSORS%
-
perl mysql-test-run.pl --force --max-test-fail=10 --retry=2 -parallel=%parallel% --testcase-timeout=3 --suite=main --skip-test-list=unstable-tests --mysqld=--loose-innodb-flush-log-at-trx-commit=2
image
:
Visual Studio
201
7
image
:
Visual Studio
201
9
sql/sql_yacc.yy
View file @
74368a1d
...
...
@@ -80,7 +80,7 @@ int yylex(void *yylval, void *yythd);
#define yyoverflow(A,B,C,D,E,F) \
{ \
size_t val= *(F);
\
size_t val= *(F); \
if (unlikely(my_yyoverflow((B), (D), &val))) \
{ \
yyerror(thd, (char*) (A)); \
...
...
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