Skip to content

Commit 234b17f

Browse files
committed
PS-9233: Implementation of UUID v1-v7 functions according to RFC 9562
https://perconadev.atlassian.net/browse/PS-9233 This squashed commit contains also fixes done or suggested by Yura Sorokin (cherry picked from commit 63952bf)
1 parent 9fe9e26 commit 234b17f

File tree

5 files changed

+1619
-0
lines changed

5 files changed

+1619
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Copyright (c) 2024 Percona LLC and/or its affiliates. All rights reserved.
2+
3+
# This program is free software; you can redistribute it and/or
4+
# modify it under the terms of the GNU General Public License
5+
# as published by the Free Software Foundation; version 2 of
6+
# the License.
7+
8+
# This program is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
13+
# You should have received a copy of the GNU General Public License
14+
# along with this program; if not, write to the Free Software
15+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16+
17+
option(WITH_UUID_VX_UDF "Build UUID_VX UDF plugin" ON)
18+
19+
if(WITH_UUID_VX_UDF)
20+
message(STATUS "Building UUID_VX UDF component")
21+
else()
22+
message(STATUS "Not building UUID_VX UDF component")
23+
return()
24+
endif()
25+
26+
# We are not interesting in profiling tests.
27+
DISABLE_MISSING_PROFILE_WARNING()
28+
29+
MYSQL_ADD_COMPONENT(uuid_vx_udf
30+
uuid_vx_udf_component.cc
31+
MODULE_ONLY
32+
)
33+
34+
target_include_directories(component_uuid_vx_udf SYSTEM PRIVATE ${BOOST_PATCHES_DIR} ${BOOST_INCLUDE_DIR})
35+
36+
if(NOT APPLE)
37+
target_link_libraries(component_uuid_vx_udf PRIVATE atomic)
38+
endif()

0 commit comments

Comments
 (0)