| 373 | constexpr std::array<const char*, 2> BufferedProjectBlobStream::Columns; |
| 374 | |
| 375 | bool ProjectFileIO::InitializeSQL() |
| 376 | { |
| 377 | if (audacity::sqlite::Initialize().IsError()) |
| 378 | return false; |
| 379 | |
| 380 | audacity::sqlite::SetLogCallback( |
| 381 | [](int code, std::string_view message) { |
| 382 | // message is forwarded from SQLite, so it is null-terminated |
| 383 | wxLogMessage("SQLite error (%d): %s", code, message.data()); |
| 384 | }); |
| 385 | |
| 386 | return true; |
| 387 | } |
| 388 | |
| 389 | static const AudacityProject::AttachedObjects::RegisteredFactory sFileIOKey{ |
| 390 | []( AudacityProject &parent ){ |
nothing calls this directly
no test coverage detected