LCOV - code coverage report
Current view: top level - src/interfaces/ecpg/test/compat_informix - intoasc.pgc (source / functions) Coverage Total Hit
Test: Code coverage Lines: 0.0 % 8 0
Test Date: 2026-01-26 10:56:24 Functions: 0.0 % 1 0
Legend: Lines:     hit not hit

            Line data    Source code
       1              : #include <stdio.h>
       2              : #include <stdlib.h>
       3              : 
       4              : #include "pgtypes_interval.h"
       5              : 
       6              : EXEC SQL BEGIN DECLARE SECTION;
       7              :     char dirty_str[100] = "aaaaaaaaa_bbbbbbbb_ccccccccc_ddddddddd_";
       8              :     interval *interval_ptr;
       9              : EXEC SQL END DECLARE SECTION;
      10              : 
      11            0 : int main()
      12              : {
      13            0 :     interval_ptr = (interval *) malloc(sizeof(interval));
      14            0 :     interval_ptr->time = 100000000;
      15            0 :     interval_ptr->month = 240;
      16              : 
      17            0 :     printf("dirty_str contents before intoasc: %s\n", dirty_str);
      18            0 :     intoasc(interval_ptr, dirty_str);
      19            0 :     printf("dirty_str contents after intoasc: %s\n", dirty_str);
      20            0 :     return 0;
      21              : }
        

Generated by: LCOV version 2.3.2-1