diff options
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_uuid.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysys/my_uuid.c b/mysys/my_uuid.c index da947b09c48..72c8fa8507d 100644 --- a/mysys/my_uuid.c +++ b/mysys/my_uuid.c @@ -236,6 +236,17 @@ void my_uuid2str(const uchar *guid, char *s) } } +void my_uuid2str_oracle(const uchar *guid, char *s) +{ + int i; + for (i=0; i < MY_UUID_SIZE; i++) + { + *s++= _dig_vec_upper[guid[i] >>4]; + *s++= _dig_vec_upper[guid[i] & 15]; + } +} + + void my_uuid_end() { if (my_uuid_inited) |