| 28 | } |
| 29 | |
| 30 | static std::string getRememberedArrowTableID(Connection* connection, const char* tableName) { |
| 31 | std::lock_guard<std::mutex> lock(arrowTableIDMutex); |
| 32 | if (!arrowTableIDs.contains(connection) || !arrowTableIDs.at(connection).contains(tableName)) { |
| 33 | return ""; |
| 34 | } |
| 35 | return arrowTableIDs.at(connection).at(tableName); |
| 36 | } |
| 37 | |
| 38 | static void forgetArrowTableID(Connection* connection, const char* tableName) { |
| 39 | std::lock_guard<std::mutex> lock(arrowTableIDMutex); |
no test coverage detected