Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDF_ARGS' has no member named 'attributes' #32

Open
pluzmedia opened this issue Oct 9, 2018 · 1 comment
Open

UDF_ARGS' has no member named 'attributes' #32

pluzmedia opened this issue Oct 9, 2018 · 1 comment

Comments

@pluzmedia
Copy link

Hi,

I am having the following error when compiling the program

ghmysql.c:115:23: error: 'UDF_ARGS' has no member named 'attributes'
!strncmp( args->attributes[argNum], "NULL" , 4 ) ) {
I am using mariaDB.

Thank you

@Jazzgeir
Copy link

I have tried commenting out a part of the if test in the code in question:
if( args->arg_count > argNum && !args->args[argNum] /* && !strncmp( args->attributes[argNum], "NULL" , 4 ) */ ) {
return 1 ;
}

This enables me to compile, and the functions work in mariadb... I have not reviewed other consequences of commenting out that test, though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants