Debian Codegraph @

src/interfaces/ecpg/preproc/t/err_warn_msg_informix.pgc

raw
1 /* Test ECPG warning/error messages in INFORMIX mode */
2
3 #include <stdlib.h>
4
5 int
6 main(void)
7 {
8 /* For consistency with other tests */
9 $CONNECT TO testdb AS con1;
10
11 /* Test AT option usage at CLOSE DATABASE statement in INFORMIX mode */
12 $AT con1 CLOSE DATABASE;
13
14 /* Test cursor name errors in INFORMIX mode */
15 $DECLARE database CURSOR FOR SELECT * FROM test;
16
17 return 0;
18 }