MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / openssl_lock_function

Function openssl_lock_function

sql/mysqld.cc:1848–1857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1846
1847
1848static void openssl_lock_function(int mode, int n, const char *file, int line)
1849{
1850 if (n < 0 || n > CRYPTO_num_locks())
1851 {
1852 /* Lock number out of bounds. */
1853 sql_print_error("Fatal: OpenSSL interface problem (n = %d)", n);
1854 abort();
1855 }
1856 openssl_lock(mode, &openssl_stdlocks[n], file, line);
1857}
1858
1859
1860static void openssl_lock(int mode, openssl_lock_t *lock, const char *file,

Callers

nothing calls this directly

Calls 2

sql_print_errorFunction · 0.85
openssl_lockFunction · 0.85

Tested by

no test coverage detected