Revision 5bffd42a3b0b049ea0e44a69c99ce3c3c5418af0 authored by Michael Meskes on 26 November 2013, 16:12:39 UTC, committed by Michael Meskes on 26 November 2013, 16:32:06 UTC
variables is varchar. This fixes this test case: int main(void) { exec sql begin declare section; varchar a[50], b[50]; exec sql end declare section; return 0; } Since varchars are internally turned into custom structs and the type name is emitted for these variable declarations, the preprocessed code previously had: struct varchar_1 { ... } a _,_ struct varchar_2 { ... } b ; The comma in the generated C file was a syntax error. There are no regression test changes since it's not exercised. Patch by Boszormenyi Zoltan <zb@cybertec.at>
1 parent 20ada26
File | Mode | Size |
---|---|---|
config | ||
contrib | ||
doc | ||
src | ||
.gitignore | -rw-r--r-- | 360 bytes |
COPYRIGHT | -rw-r--r-- | 1.2 KB |
GNUmakefile.in | -rw-r--r-- | 3.7 KB |
Makefile | -rw-r--r-- | 1.5 KB |
README | -rw-r--r-- | 1.3 KB |
README.git | -rw-r--r-- | 816 bytes |
aclocal.m4 | -rw-r--r-- | 385 bytes |
configure | -rwxr-xr-x | 850.2 KB |
configure.in | -rw-r--r-- | 62.7 KB |
Computing file changes ...