fix: use const for name and path in SScriptUdfInfo
This commit is contained in:
parent
32ccc796a1
commit
029444e1c2
|
@ -271,7 +271,7 @@ typedef enum EUdfFuncType {
|
|||
} EUdfFuncType;
|
||||
|
||||
typedef struct SScriptUdfInfo {
|
||||
char *name;
|
||||
const char *name;
|
||||
|
||||
EUdfFuncType funcType;
|
||||
int8_t scriptType;
|
||||
|
@ -279,7 +279,7 @@ typedef struct SScriptUdfInfo {
|
|||
int32_t outputLen;
|
||||
int32_t bufSize;
|
||||
|
||||
char *path;
|
||||
const char *path;
|
||||
} SScriptUdfInfo;
|
||||
|
||||
typedef int32_t (*TScriptUdfScalarProcFunc)(SUdfDataBlock *block, SUdfColumn *resultCol, void *udfCtx);
|
||||
|
|
Loading…
Reference in New Issue