LCOV - code coverage report
Current view: top level - src/odbc/unittests - lang_error.c (source / functions) Hit Total Coverage
Test: FreeTDS coverage Lines: 7 7 100.0 %
Date: 2026-07-19 14:02:14 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #include "common.h"
       2             : 
       3             : /* Test if SQLExecDirect return error if a error in row is returned */
       4             : 
       5          10 : TEST_MAIN()
       6             : {
       7          10 :         odbc_use_version3 = false;
       8          10 :         odbc_connect();
       9             : 
      10             :         /* issue print statement and test message returned */
      11          10 :         odbc_command2("SELECT DATEADD(dd,-100000,getdate())", "E");
      12             : 
      13          10 :         odbc_disconnect();
      14             : 
      15          10 :         printf("Done.\n");
      16          10 :         return 0;
      17             : }

Generated by: LCOV version 1.13