[Tarantool-patches] [PATCH v1 12/21] sql: rework UUID() function
Mergen Imeev
imeevma at tarantool.org
Mon Oct 25 11:38:10 MSK 2021
Thank you for the review! I added a description to the function.
On Fri, Oct 08, 2021 at 08:31:55PM +0300, Mergen Imeev via Tarantool-patches wrote:
<cut>
diff --git a/src/box/sql/func.c b/src/box/sql/func.c
index 0d9002ac8..a32dd8fb6 100644
--- a/src/box/sql/func.c
+++ b/src/box/sql/func.c
@@ -984,7 +984,11 @@ func_row_count(struct sql_context *ctx, int argc, struct Mem *argv)
return mem_set_uint(ctx->pOut, sql_get()->nChange);
}
-/** Implementation of the UUID() function. */
+/**
+ * Implementation of the UUID() function.
+ *
+ * Returns a randomly generated UUID value.
+ */
static void
func_uuid(struct sql_context *ctx, int argc, struct Mem *argv)
{
More information about the Tarantool-patches
mailing list