summaryrefslogtreecommitdiff
path: root/cmake/libfmt.cmake
Commit message (Collapse)AuthorAgeFilesLines
* MDBF-348: libfmt=system, custom include pathDaniel Black2022-04-011-0/+2
| | | | | | With testing the system libfmt, use the LIBFMT_INCLUDE_DIR in case the system include path isn't sufficient.
* libfmt fix for cmake <3.0Sergei Golubchik2021-10-251-1/+5
| | | | this is CentOOOOOOS 7
* disallow old <7.0 fmtSergei Golubchik2021-10-121-2/+5
| | | | | | | | | libfmt 6.1 is in Ubuntu focal repositories. it's easy to compile with 6.1 by doing #define detail internal but 6.1 also produces different results in main.func_sformat and we want MariaDB to behave identically everywhere.
* don't build bundled libfmt, we use it in header-only mode anywaySergei Golubchik2021-10-121-21/+6
|
* MDEV-25015 Custom formatting of strings in MariaDB queriesAlan Cueva2021-10-121-0/+59
SFORMAT() SQL function that uses fmtlib (https://fmt.dev/) for python-like (also Rust, C++20, etc) string formatting Only fmtlib 7.0.0+ is supported, older fmtlib produces different results in the test. No native support for temporal and decimal values, * TIME_RESULT is handled as STRING_RESULT * DECIMAL_RESULT as REAL_RESULT