Alexey Milovidov
6139cc8f7a
Add Documentation to FunctionFactory
2022-08-27 22:06:57 +02:00
Robert Schulze
4d7627e45e
Fix include
2022-07-31 07:36:40 +00:00
Robert Schulze
8ca236de08
Enable SQL function getOSKernelVersion() on all platforms
...
Follow up to PR #38615
2022-07-30 22:36:47 +00:00
Li Yin
4088c0a7f3
Automated function registration
...
Automated register all functions with below naming convention by
iterating through the symbols:
void DB::registerXXX(DB::FunctionFactory &)
2022-07-29 15:39:50 +08:00
Azat Khuzhin
a47355877e
Add revision() function ( #38555 )
...
It can be useful to match versions, since in some tables
(system.trace_log) there is only revision column.
P.S. came to this when was digging into stress reports from CI.
P.P.S. case insensitive by analogy with version().
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-30 12:58:26 +02:00
Robert Schulze
1a0b5f33b3
More consistent use of platform macros
...
cmake/target.cmake defines macros for the supported platforms, this
commit changes predefined system macros to our own macros.
__linux__ --> OS_LINUX
__APPLE__ --> OS_DARWIN
__FreeBSD__ --> OS_FREEBSD
2022-06-10 10:22:31 +02:00
Alexey Milovidov
29d28c531f
Move code around to avoid dlsym on Musl
2021-12-24 12:25:27 +03:00
Alexey Milovidov
8b4a6a2416
Remove cruft
2021-10-28 02:10:39 +03:00
Azat Khuzhin
cc1fbe27a7
Fix build due to conflicts in serverConstants
...
Refs: #29755
Refs: #29913
2021-10-10 03:40:51 +03:00
Maksim Kita
daf9cf12d9
Merge pull request #29755 from Joeywzr/new_func
...
add function getOSKernelVersion
2021-10-10 01:12:54 +03:00
WangZengrui
96a9d99ab6
add test
2021-10-09 19:53:21 +08:00
WangZengrui
2204597cfe
add FunctionOSKernelVersion
2021-10-09 16:49:49 +08:00
Amos Bird
89a52930c6
Cosmetic refactoring of server constants.
2021-10-09 11:47:27 +08:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
tavplubix
23f54658a6
Update serverConstants.cpp
2021-09-16 12:15:22 +03:00
Alexander Tokmakov
d0c3b87d84
improvements
2021-09-16 00:17:54 +03:00