summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2021-01-04 17:27:26 +0200
committerSergei Golubchik <serg@mariadb.org>2021-05-19 22:54:11 +0200
commitb8c3159594421f1fa5ab9b84815726bf042c9295 (patch)
tree8570fe816328826266579de4ae8cc6aebef84da7 /include/my_sys.h
parentbe093c81a7955aa8309e650b0a0c44a5afe113fb (diff)
downloadmariadb-git-b8c3159594421f1fa5ab9b84815726bf042c9295.tar.gz
MDEV-24285 support oracle build-in function: sys_guid
SYS_GUID() returns same as UUID(), but without any '-' author: woqutech
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index acaf2f0972f..dcc303730f2 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -1017,10 +1017,12 @@ int my_msync(int, void *, size_t, int);
#define MY_UUID_SIZE 16
#define MY_UUID_STRING_LENGTH (8+1+4+1+4+1+4+1+12)
+#define MY_UUID_ORACLE_STRING_LENGTH (8+4+4+4+12)
void my_uuid_init(ulong seed1, ulong seed2);
void my_uuid(uchar *guid);
void my_uuid2str(const uchar *guid, char *s);
+void my_uuid2str_oracle(const uchar *guid, char *s);
void my_uuid_end(void);
const char *my_dlerror(const char *dlpath);