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 21:21:48 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             : static char software_version[] = "$Id: lang_error.c,v 1.6 2010-07-05 09:20:33 freddy77 Exp $";
       6             : static void *no_unused_var_warn[] = { software_version, no_unused_var_warn };
       7             : 
       8             : int
       9           8 : main(int argc, char *argv[])
      10             : {
      11           8 :         odbc_connect();
      12             : 
      13             :         /* issue print statement and test message returned */
      14           8 :         odbc_command2("SELECT DATEADD(dd,-100000,getdate())", "E");
      15             : 
      16           8 :         odbc_disconnect();
      17             : 
      18           8 :         printf("Done.\n");
      19             :         return 0;
      20             : }

Generated by: LCOV version 1.13