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

Generated by: LCOV version 1.13