Hi, Denis! On Jul 31, Denis Scherbakov wrote: > Hello guys, > > I am building a set of MariaDB UDFs that require to know a name of a > user who called them in each and every call. Users should not be able to > pretend as someone else, hence usernames as an argument cannot be used. > > I compile UDFs against MariaDB headers and I was able to obtain the > current_thd, but the security_ctx pointer inside is NULL. > > Could somebody give me a hint what I am doing wrong? > > Thank you for your answers!
Can you show a stack trace from where you see security_ctx being NULL in your UDF? Regards, Sergei VP of MariaDB Server Engineering and secur...@mariadb.org _______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp