mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-36337: mroonga_* udf correct ptr types for is_null/error
Shows up in mroonga UDF tests under clang with UBSAN: UndefinedBehaviorSanitizer: function-type-mismatch Accepted upstream: https://github.com/mroonga/mroonga/pull/902
This commit is contained in:
committed by
Sergei Golubchik
parent
b9a20752a9
commit
2c4fe3557a
@@ -151,7 +151,7 @@ error:
|
||||
}
|
||||
|
||||
MRN_API char *mroonga_normalize(UDF_INIT *init, UDF_ARGS *args, char *result,
|
||||
unsigned long *length, char *is_null, char *error)
|
||||
unsigned long *length, uchar *is_null, uchar *error)
|
||||
{
|
||||
st_mrn_normalize_info *info = (st_mrn_normalize_info *)init->ptr;
|
||||
grn_ctx *ctx = info->ctx;
|
||||
|
Reference in New Issue
Block a user