-
Notifications
You must be signed in to change notification settings - Fork 0
Fix deadlock error from C++ 20 #143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,8 @@ | |
| // specific language governing permissions and limitations | ||
| // under the License. | ||
|
|
||
| #include <absl/synchronization/mutex.h> | ||
|
|
||
| #include "arrow/flight/sql/odbc/odbc_impl/flight_sql_driver.h" | ||
|
|
||
| #include "arrow/compute/api.h" | ||
|
|
@@ -37,6 +39,8 @@ FlightSqlDriver::FlightSqlDriver() | |
| RegisterComputeKernels(); | ||
| // Register log after compute kernels check to avoid segfaults | ||
| RegisterLog(); | ||
| // GH-48637: Disable Absl Deadlock detection from upstream projects | ||
| absl::SetMutexDeadlockDetectionMode(absl::OnDeadlockCycle::kIgnore); | ||
| } | ||
|
Comment on lines
41
to
44
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
|
|
||
| FlightSqlDriver::~FlightSqlDriver() { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARROW_HOMEandCMAKE_INSTALL_PREFIXshould match, so I fixed it