diff --git a/include/my_sys.h b/include/my_sys.h
index 0b99d0dbccc..d2aaa5192a4 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -1021,12 +1021,10 @@ 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);
diff --git a/mysys/my_uuid.c b/mysys/my_uuid.c
index 72c8fa8507d..da947b09c48 100644
--- a/mysys/my_uuid.c
+++ b/mysys/my_uuid.c
@@ -236,17 +236,6 @@ 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)
diff --git a/sql/item_create.cc b/sql/item_create.cc
index 57487a2025e..62f4d9f9fee 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -2233,17 +2233,6 @@ class Create_func_uuid : public Create_func_arg0
   virtual ~Create_func_uuid() {}
 };
 
-class Create_func_sys_guid : public Create_func_arg0
-{
-public:
-  virtual Item *create_builder(THD *thd);
-
-  static Create_func_sys_guid s_singleton;
-
-protected:
-  Create_func_sys_guid() {}
-  virtual ~Create_func_sys_guid() {}
-};
 
 class Create_func_uuid_short : public Create_func_arg0
 {
@@ -5242,17 +5231,6 @@ Create_func_uuid::create_builder(THD *thd)
   DBUG_RETURN(new (thd->mem_root) Item_func_uuid(thd));
 }
 
-Create_func_sys_guid Create_func_sys_guid::s_singleton;
-
-Item*
-Create_func_sys_guid::create_builder(THD *thd)
-{
-  DBUG_ENTER("Create_func_sys_guid::create");
-  thd->lex->set_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_SYSTEM_FUNCTION);
-  thd->lex->safe_to_cache_query= 0;
-  DBUG_RETURN(new (thd->mem_root) Item_func_sys_guid(thd));
-}
-
 
 Create_func_uuid_short Create_func_uuid_short::s_singleton;
 
@@ -5594,7 +5572,6 @@ static Native_func_registry func_array[] =
       BUILDER(Create_func_substr_oracle)},
   { { STRING_WITH_LEN("SUBSTRING_INDEX") }, BUILDER(Create_func_substr_index)},
   { { STRING_WITH_LEN("SUBTIME") }, BUILDER(Create_func_subtime)},
-  { { STRING_WITH_LEN("SYS_GUID") }, BUILDER(Create_func_sys_guid)},
   { { STRING_WITH_LEN("TAN") }, BUILDER(Create_func_tan)},
   { { STRING_WITH_LEN("TIMEDIFF") }, BUILDER(Create_func_timediff)},
   { { STRING_WITH_LEN("TIME_FORMAT") }, BUILDER(Create_func_time_format)},
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index a6a06ea7c34..176a6e6efc9 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -4328,20 +4328,6 @@ String *Item_func_uuid::val_str(String *str)
   return str;
 }
 
-String *Item_func_sys_guid::val_str(String *str)
-{
-  DBUG_ASSERT(fixed == 1);
-  uchar guid[MY_UUID_SIZE];
-
-  str->alloc(MY_UUID_ORACLE_STRING_LENGTH+1);
-  str->length(MY_UUID_ORACLE_STRING_LENGTH);
-  str->set_charset(system_charset_info);
-  my_uuid(guid);
-  my_uuid2str_oracle(guid, (char *)str->ptr());
-
-  return str;
-}
-
 
 Item_func_dyncol_create::Item_func_dyncol_create(THD *thd, List<Item> &args,
                                                  DYNCALL_CREATE_DEF *dfs):
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 48c0418e899..186efdf7fb9 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -1677,28 +1677,6 @@ class Item_func_uuid: public Item_str_func
   { return get_item_copy<Item_func_uuid>(thd, this); }
 };
 
-class Item_func_sys_guid: public Item_str_func
-{
-public:
-  Item_func_sys_guid(THD *thd): Item_str_func(thd) {}
-  bool fix_length_and_dec()
-  {
-    collation.set(DTCollation_numeric());
-    fix_char_length(MY_UUID_ORACLE_STRING_LENGTH);
-    return FALSE;
-  }
-  bool const_item() const { return false; }
-  table_map used_tables() const { return RAND_TABLE_BIT; }
-  const char *func_name() const{ return "sys_guid"; }
-  String *val_str(String *);
-  bool check_vcol_func_processor(void *arg)
-  {
-    return mark_unsupported_function(func_name(), "()", arg, VCOL_NON_DETERMINISTIC);
-  }
-  Item *get_copy(THD *thd)
-  { return get_item_copy<Item_func_sys_guid>(thd, this); }
-};
-
 
 class Item_func_dyncol_create: public Item_str_func
 {
