[Tarantool-patches] [PATCH v5 17/52] sql: remove sql_column_to_messagepack()

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu Apr 15 01:58:57 MSK 2021


I appreciate the work you did here!

> diff --git a/src/box/sql/sqlInt.h b/src/box/sql/sqlInt.h
> index e075224c6..259ba3833 100644
> --- a/src/box/sql/sqlInt.h
> +++ b/src/box/sql/sqlInt.h
> @@ -471,8 +461,9 @@ const unsigned char *
>  sql_column_text(sql_stmt *,
>  		    int iCol);
>  
> -enum mp_type
> -sql_column_type(sql_stmt *stmt, int field_no);
> +char *
> +sql_result_to_msgpack(struct sql_stmt *stmt, uint32_t *tuple_size,
> +		      struct region *region);

I noticed just now - this is a method of sql_stmt, and therefore
must be called 'sql_stmt_result_to_msgpack()'. With 'sql_stmt'
prefix.


More information about the Tarantool-patches mailing list