Beginners guide to MariaDB Development by Anel Husakovic of the MariaDB Foundation.
0:00 Start
1:05 Getting the source code
1:40 Releases
2:49 Configuring and compiling the builds
4:44 About plugins
6:13 Check CMAKE options
7:33 Compiling
7:52 Compiling can take time when plugins are disabled
7:56 Try to use other build system like ninja
8:12 Check the binaries
8:46 Alternative to cmake with build scripts
9:30 Running the tests with mysql-test-run
10:28 Checking the suite
10:43 Result directory has .r
11:21 Single test run
11:51 Multiple test run
12:05 Suite tests run
12:47 Simulate the failing test
13:58 Run all tests
14:09 Write the test and create result file
MariaDB GitHub: https://github.com/MariaDB/server
MariaDB Foundation tutorial: https://mariadb.org/get-involved/getting-started-for-developers/get-code-build-test/
cmake: https://cmake.org/
Specifying which plugins to build : https://mariadb.com/kb/en/specifying-which-plugins-to-build/
Generic Build instructions: https://mariadb.com/kb/en/generic-build-instructions/
Mysqltest overview: https://mariadb.com/kb/en/mysql-test-overview/
source
3 replies on “Getting Started with MariaDB Development”
Such a great tutorial. Thank you.
Would you please make a video for starting mariadb as a service similar to sudo systemctl start mariadb?
While going from scratch at Ubuntu 20.04 LTS used command (at 2:57 installing packages) is very helpful:
sudo apt install build-essential libncurses5-dev gnutls-dev bison -y
Actually without parameters it will not run all tests, but some default set of test suites.