Commit ff05239
authored
Fix control flow in rb_set_ssl_mode_option for some client library versions (#1088)
MySQL Connector/C 6.1.3 and above configure as HAVE_CONST_MYSQL_OPT_SSL_ENFORCE,
but their client library version is a different range than MySQL 5.7.3 - 5.7.10
that also have this option.
And generally there's a compiler warning here because of an incomplete control
flow if the library version doesn't match and exits the function without an
explicit return as required, so add a warning in this case.
Closes #10621 parent dee108d commit ff05239
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
| |||
0 commit comments