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

Reduce a number of compiler warnings #226

Closed
netniV opened this issue Sep 2, 2021 · 0 comments
Closed

Reduce a number of compiler warnings #226

netniV opened this issue Sep 2, 2021 · 0 comments
Milestone

Comments

@netniV
Copy link
Member

netniV commented Sep 2, 2021

Describe the bug

ql.c:300:33: note: in expansion of macro 'MYSQL_SET_OPTION'
  300 |         if (strlen(ssl_key))    MYSQL_SET_OPTION(MYSQL_OPT_SSL_KEY, ssl_key,  "ssl key");
      |                                 ^~~~~~~~~~~~~~~~

As reported in @mortenstevens compiler logs on issue #220

@netniV netniV changed the title MYSQL_SET_OPTION macros should be encased in curly brackets Reduce a number of compiler warnings Sep 2, 2021
@netniV netniV added this to the v1.2.19 milestone Sep 5, 2021
@netniV netniV closed this as completed Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants