mirror of
https://github.com/MariaDB/server.git
synced 2025-12-13 20:03:16 +03:00
branches/zip: eval_node_copy_and_alloc_val(): Add const qualifier.
This commit is contained in:
@@ -62,7 +62,7 @@ void
|
|||||||
eval_node_copy_and_alloc_val(
|
eval_node_copy_and_alloc_val(
|
||||||
/*=========================*/
|
/*=========================*/
|
||||||
que_node_t* node, /* in: query graph node */
|
que_node_t* node, /* in: query graph node */
|
||||||
byte* str, /* in: binary string */
|
const byte* str, /* in: binary string */
|
||||||
ulint len); /* in: string length or UNIV_SQL_NULL */
|
ulint len); /* in: string length or UNIV_SQL_NULL */
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
Copies a query node value to another node. */
|
Copies a query node value to another node. */
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ void
|
|||||||
eval_node_copy_and_alloc_val(
|
eval_node_copy_and_alloc_val(
|
||||||
/*=========================*/
|
/*=========================*/
|
||||||
que_node_t* node, /* in: query graph node */
|
que_node_t* node, /* in: query graph node */
|
||||||
byte* str, /* in: binary string */
|
const byte* str, /* in: binary string */
|
||||||
ulint len) /* in: string length or UNIV_SQL_NULL */
|
ulint len) /* in: string length or UNIV_SQL_NULL */
|
||||||
{
|
{
|
||||||
byte* data;
|
byte* data;
|
||||||
|
|||||||
Reference in New Issue
Block a user