LCOV - code coverage report
Current view: top level - src/odbc/unittests - lang_error.c (source / functions) Hit Total Coverage
Test: FreeTDS coverage Lines: 6 6 100.0 %
Date: 2025-04-22 08:52:13 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_connect();
       8             : 
       9             :         /* issue print statement and test message returned */
      10          10 :         odbc_command2("SELECT DATEADD(dd,-100000,getdate())", "E");
      11             : 
      12          10 :         odbc_disconnect();
      13             : 
      14          10 :         printf("Done.\n");
      15          10 :         return 0;
      16             : }

Generated by: LCOV version 1.13