summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sql_acl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 09609a7fa0c..9f8510cab03 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -8397,6 +8397,7 @@ static bool parse_com_change_user_packet(MPVIO_EXT *mpvio, uint packet_length)
DBUG_RETURN (0);
}
+#ifndef EMBEDDED_LIBRARY
/**
Get a null character terminated string from a user-supplied buffer.
@@ -8481,6 +8482,7 @@ char *get_length_encoded_string(char **buffer,
*buffer+= *string_length + 1;
return str;
}
+#endif
/* the packet format is described in send_client_reply_packet() */