MCPcopy Create free account
hub / github.com/Tencent/phxsql / openssl_lock_function

Function openssl_lock_function

phx_percona/percona/sql/mysqld.cc:4609–4618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4607
4608
4609static void openssl_lock_function(int mode, int n, const char *file, int line)
4610{
4611 if (n < 0 || n > CRYPTO_num_locks())
4612 {
4613 /* Lock number out of bounds. */
4614 sql_print_error("Fatal: OpenSSL interface problem (n = %d)", n);
4615 abort();
4616 }
4617 openssl_lock(mode, &openssl_stdlocks[n], file, line);
4618}
4619
4620
4621static void openssl_lock(int mode, openssl_lock_t *lock, const char *file,

Callers

nothing calls this directly

Calls 1

openssl_lockFunction · 0.85

Tested by

no test coverage detected