| 36 | } |
| 37 | |
| 38 | static void forgetArrowTableID(Connection* connection, const char* tableName) { |
| 39 | std::lock_guard<std::mutex> lock(arrowTableIDMutex); |
| 40 | if (!arrowTableIDs.contains(connection)) { |
| 41 | return; |
| 42 | } |
| 43 | arrowTableIDs.at(connection).erase(tableName); |
| 44 | if (arrowTableIDs.at(connection).empty()) { |
| 45 | arrowTableIDs.erase(connection); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | static void forgetArrowTableIDs(Connection* connection) { |
| 50 | std::lock_guard<std::mutex> lock(arrowTableIDMutex); |
no test coverage detected