This repository was archived by the owner on Mar 1, 2026. It is now read-only.
Commit 037c6ca
[cmake] Link against major.minor.patch version of libmysqlclient to avoid runtime conflict
Summary: Someone shipped a libmysqlclient.so.21 in the system but that was of older version that didn't have mysql_result_metadata (actually it did - but locally and not exported). As a result libmysql_test_api is failing to locate mysql_result_metadata at runtime. The fix is to always link against major.minor.patch version that we are building to avoid conflicts.
Reviewed By: zhichengzhu
Differential Revision: D175079651 parent 83ca49e commit 037c6ca
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
0 commit comments