LCOV - code coverage report
Current view: top level - src/odbc/unittests - transaction3.c (source / functions) Hit Total Coverage
Test: FreeTDS coverage Lines: 7 7 100.0 %
Date: 2025-01-18 12:13:41 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #include "common.h"
       2             : 
       3             : /* Test commit/rollback with auto commit set to on (the default) */
       4             : 
       5           8 : int main(void)
       6             : {
       7           8 :         odbc_use_version3 = 1;
       8           8 :         odbc_connect();
       9             : 
      10           8 :         CHKEndTran(SQL_HANDLE_DBC, odbc_conn, SQL_COMMIT, "S");
      11           8 :         CHKEndTran(SQL_HANDLE_DBC, odbc_conn, SQL_ROLLBACK, "S");
      12             : 
      13           8 :         odbc_disconnect();
      14             : 
      15           8 :         printf("Done.\n");
      16             :         return 0;
      17             : }

Generated by: LCOV version 1.13