-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
(#4530) Include the mysqld_error.h header in mariadb-connector-c #4532
(#4530) Include the mysqld_error.h header in mariadb-connector-c #4532
Conversation
All green in build 1 (
|
I had to reupload my commit with my correct email in order to sign the CLA. |
@SpaceIm I would appreciate it if you could review this, given you originally wrote that recipe 😃 |
All green in build 2 (
|
Why do you need this file? Trying to see if it meets #3903 Looking through the code it's completely private and I do not see why it's required. It was also explicitly excluded mariadb-corporation/mariadb-connector-c@11321f1 (see commit message) though I am not sure the meaning of "server" |
Hi, First of all, thanks for your interest in my pull request! I understand your concerns, and I will try to address them. So, our source code uses these error codes to interpret what the errors returned by I have tried looking for another way to source the definition of these errors, but I haven't managed to find anything saying that you need a second library of headers to get a definition of error codes. I guess that makes sense, since MariaDB is supposed to be a drop-in replacement for MySQL. It wouldn't make sense to mix the two. And they don't really provide a set of headers, as far as I can tell. If you download their distribution there, the file is in there, so I wouldn't say it's private. I think they would have removed it from the release otherwise. Moreover, the I could try setting Worst case scenario, if we determine we do in fact need to set Now, take what I say about Unfortunately, that issue prevents us from moving to the official recipe. Thanks a lot for your time! |
PS: I think the Maria DB server is the actual database daemon, as opposed to the client which talks to it or the connector which is meant to be used as a library in external programs. |
See mariadb-corporation/mariadb-connector-c@d3644be for a commit message explaining what The file itself is here. |
Seems like it's a common problem... https://github.com/search?q=mysqld_error.h&type=commits |
Specify library name and version: lib/1.0
conan-center hook activated.