https://github.com/vcputtini/udf_mariadb_cpp
MariaDB(tm) native User-defined functions in C++
https://github.com/vcputtini/udf_mariadb_cpp
cpp cpp17 database lib library mariadb mariadb-database mariadb-mysql mariadb-server mysql parser
Last synced: 5 months ago
JSON representation
MariaDB(tm) native User-defined functions in C++
- Host: GitHub
- URL: https://github.com/vcputtini/udf_mariadb_cpp
- Owner: vcputtini
- Created: 2022-04-26T11:54:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-12T19:17:59.000Z (about 4 years ago)
- Last Synced: 2025-05-30T14:56:42.889Z (about 1 year ago)
- Topics: cpp, cpp17, database, lib, library, mariadb, mariadb-database, mariadb-mysql, mariadb-server, mysql, parser
- Language: C++
- Homepage:
- Size: 210 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## MariaDB(tm) native User-defined functions in C++
This library was initially developed for study purposes and its own use, however,
its functions can be used in a productive environment without problems.
This isn't a generic library and has not been tested in environments other
than the one used in its development.
An objective that we greatly appreciated during development was that we can
contribute so that more people can understand how UDF's in C++ can be programmed
for use in MariaDB(tm) and take advantage the best of this technique.
This project is still in its early stages of development and I hope to be able to improve it as much as possible.
As I consider QtCreator(tm) to be an excellent development environment,
I use it for my projects, even if these don't directly involve using the Qt(tm) tools.
### Dependencies for Compilation:
- At least C++17.
- Boost
- tinyxml2-7.0.1
### My Environment
- Fedora 35
- clang (clang++) version 13.0.0
- g++ (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
(Under Oracle Linux 8 install gcc-devtool-10 or 8.5 install gcc-devtool-11)
- cmake version 3.14 or greater
- QtCreator 6.x.y or greater (Code Style: clang-format -style=Mozilla)
- MariaDB Server version: 10.5.xx
### Libraries
- vcplocation - A minimal library of functions related to Geo localization.
- vcpsquidlogparser - Functions to handle the log line generated by the Squid-cache(tm) proxy.
- vcputilities - Miscellaneous utility functions, such as: count_if(), sum_if() and avg_if().
### Examples and Docs
Please access the documentation, each project has its own 'docs/' folder with relevant documents.