MCPcopy Create free account
hub / github.com/MariaDB/server / lock

Method lock

sql/sql_insert.cc:2732–2735  ·  view source on GitHub ↗

The following is for checking when we can delete ourselves */

Source from the content-addressed store, hash-verified

2730
2731 /* The following is for checking when we can delete ourselves */
2732 inline void lock()
2733 {
2734 locks_in_memory++; // Assume LOCK_delay_insert
2735 }
2736 void unlock()
2737 {
2738 mysql_mutex_lock(&LOCK_delayed_insert);

Callers 2

find_handlerFunction · 0.45
delayed_get_tableFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected