LCOV - code coverage report | ||||||||||||||||||||||
![]() | ||||||||||||||||||||||
|
||||||||||||||||||||||
![]() |
Line data Source code 1 : #include "common.h" 2 : 3 : /* Check that on queries returning 0 rows and NOCOUNT active SQLExecDirect returns success. 4 : * Also SQLFetch should return NO_DATA for these queries. */ 5 : 6 : int 7 10 : main(void) 8 : { 9 10 : odbc_use_version3 = 1; 10 10 : odbc_connect(); 11 : 12 10 : odbc_command2("SET NOCOUNT ON\nSELECT 123 AS foo WHERE 0=1", "S"); 13 10 : CHKFetch("No"); 14 10 : CHKMoreResults("No"); 15 : 16 10 : odbc_disconnect(); 17 : return 0; 18 : } |
![]() |
Generated by: LCOV version 1.13 |