Skip to content

Commit 6660d0b

Browse files
committed
Merge branch '12.3' into 13.0
changed deprecation version for wsrep_slave_FK_checks, because it was just deprecated this month
2 parents bdbd63e + 868ab47 commit 6660d0b

344 files changed

Lines changed: 8456 additions & 3832 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,15 @@ ELSE()
191191
SET (SKIP_COMPONENTS "N-O-N-E")
192192
ENDIF()
193193

194+
# I/O buffer size. May be smaller than the disk page size.
195+
# 4096 is a common block size on SSDs.
196+
# This influences the speed of the isam btree library.
197+
# E.g.: too big may become too slow.
198+
SET(IO_SIZE 4096 CACHE STRING "Specify the I/O buffer size")
199+
MATH(EXPR IS_POWER_OF_TWO "(${IO_SIZE} & (${IO_SIZE} - 1))")
200+
IF(IO_SIZE LESS 512 OR NOT IS_POWER_OF_TWO EQUAL 0)
201+
MESSAGE(FATAL_ERROR "IO_SIZE ${IO_SIZE} must be >= 512 and a power of 2.")
202+
ENDIF()
194203

195204
SET(MEMPROTECT_DEFAULT ON)
196205

@@ -265,6 +274,16 @@ IF (WITH_MSAN)
265274
ENDIF()
266275
ENDIF()
267276

277+
# SANs, with their additional processing workload, should have a basic
278+
# but debuggable optimization unless user specifies otherwise.
279+
IF((WITH_ASAN OR WITH_UBSAN OR WITH_TSAN OR WITH_MSAN)
280+
AND NOT CMAKE_C_FLAGS MATCHES "-O[0-9sgzf]"
281+
AND NOT CMAKE_CXX_FLAGS MATCHES "-O[0-9sgzf]"
282+
AND NOT CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE} MATCHES "-O[0-9sgzf]"
283+
AND NOT CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE} MATCHES "-O[0-9sgzf]")
284+
MY_CHECK_AND_SET_COMPILER_FLAG("-Og")
285+
ENDIF()
286+
268287
OPTION(WITH_GPROF "Enable profiling with gprof" OFF)
269288
IF (WITH_GPROF)
270289
MY_CHECK_AND_SET_COMPILER_FLAG("-pg -g -no-pie -fPIC")
@@ -565,9 +584,6 @@ INSTALL_DOCUMENTATION(README.md CREDITS COPYING THIRDPARTY COMPONENT Readme)
565584

566585
IF(UNIX)
567586
INSTALL_DOCUMENTATION(Docs/INSTALL-BINARY COMPONENT Readme)
568-
IF(WITH_WSREP)
569-
INSTALL_DOCUMENTATION(Docs/README-wsrep COMPONENT Readme)
570-
ENDIF()
571587
ENDIF()
572588

573589
INCLUDE(build_depends)

CONTRIBUTING.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ MariaDB Server has a vibrant community contributing in a wide range of areas. Th
1515
- Contribute towards [documenting MariaDB Server](https://mariadb.com/docs/general-resources/about/readme/contributing-documentation) and its ecosystem by adding new content or improving existing content.
1616
- [Translate](https://mariadb.com/docs/general-resources/about/readme/contributing-documentation) existing documentation.
1717

18-
### Help debug and develop MariaDB
18+
### Help develop MariaDB
1919
-----
20-
- [Report bugs](https://jira.mariadb.org/)
21-
- Test development versions
22-
- Write code to fix bugs or develop new features (see [Getting Started for Developers](https://mariadb.org/getting-started-for-developers)).See also [list of beginner friendly tasks](https://jira.mariadb.org/browse/MDEV-15736?jql=resolution%20%3D%20Unresolved%20AND%20labels%20%3D%20beginner-friendly%20ORDER%20BY%20updated%20DESC)
23-
- Help with code quality control
24-
- Participate in packaging for different Linux distributions
25-
- Coding standards for the main source code can be found in [CODING_STANDARDS.md](CODING_STANDARDS.md).
20+
- Fix bugs or develop new features
21+
- Review code contributions
22+
- Test bug fixes and features
23+
- Participate in packaging for different distributions
24+
25+
Check the [list of beginner friendly tasks](https://jira.mariadb.org/issues/?jql=status%3DConfirmed%20AND%20labels%3Dbeginner-friendly%20ORDER%20BY%20updated%20DESC). Or talk to the [MariaDB developers](#engage-online-with-other-community-members).
26+
27+
See also [Getting Started for Developers](https://mariadb.org/getting-started-for-developers). Coding standards for the main source code can be found in [CODING_STANDARDS.md](CODING_STANDARDS.md).
2628

2729
### Sponsor or donate
2830
---
@@ -34,7 +36,7 @@ You’re very welcome to support MariaDB Server as an individual, or talk your c
3436
- [Events and Conferences page](https://mariadb.org/events/)
3537
- [mariadb.meetup.com](http://mariadb.meetup.com/)
3638

37-
### Live QA for beginner contributors
39+
### Live Q&A for beginner contributors
3840
----
3941
MariaDB has a dedicated time each week when we answer new contributor questions live on Zulip.
4042
From 8:00 to 10:00 UTC on Mondays, and 10:00 to 12:00 UTC on Thursdays, anyone can ask any questions they’d like,
@@ -43,5 +45,5 @@ New contributors can ask questions any time, but we will provide immediate feedb
4345

4446
### Additional resources
4547
----
46-
- [MariaDB Foundation ](https://mariadb.org/)
48+
- [MariaDB Foundation](https://mariadb.org/)
4749
- [MariaDB Documentation](https://mariadb.com/docs/)

0 commit comments

Comments
 (0)