diff --git a/gdal_nodes.cpp b/gdal_nodes.cpp index 2d09a45..0e81024 100644 --- a/gdal_nodes.cpp +++ b/gdal_nodes.cpp @@ -282,7 +282,9 @@ void OGRWriterNode::process() GDT_Unknown, papszOptions); } - bool do_transactions = poDS->TestCapability("ODsCTransactions"); + std::cout << "\nUsing driver: " << poDS->GetDriverName() << "\n"; + bool do_transactions = poDS->TestCapability(ODsCTransactions); + std::cout << "Transactions support: " << (do_transactions ? "yes" : "no") << "\n"; if (poDS == nullptr) { throw(gfException("Creation/Opening of output file failed."));