aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/t/err_warn_msg_informix.pgc
blob: e8db65eefa1d6a1d3afcf7a4cff4f3844dd81e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Test ECPG warning/error messages in INFORMIX mode */

#include <stdlib.h>

int
main(void)
{
    /* For consistency with other tests */
    $CONNECT TO testdb AS con1;

    /* Test AT option usage at CLOSE DATABASE statement in INFORMIX mode */
    $AT con1 CLOSE DATABASE;

    /* Test cursor name errors in INFORMIX mode */
    $DECLARE database CURSOR FOR SELECT * FROM test;

    return 0;
}