QSqlDatabase::rollback() after QSqlQuery DDL: Qt driver and backend DBMS interoperability
Goal Determine whether calling QSqlDatabase::rollback() after a QSqlQuery executes a data-definition statement reliably reverses the schema change across Qt SQL drivers. Constraints and uncertainty Qt maps transaction() , commit() , and rollback() to the connected driver; Qt does not provide its own transactional storage layer. Whether CREATE TABLE , ALTER T