summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Meskes2013-11-26 16:12:39 +0000
committerMichael Meskes2013-11-26 16:32:26 +0000
commitb05c415c8115840f5340d65be0ca3dd437edd5bd (patch)
tree97d8618a6a1536451fd0d2c844f35b8a10cd2cb8 /doc/src
parent0aec900bf0af687211701f39c7bb93bdda887c2c (diff)
ECPG: Make the preprocessor emit ';' if the variable type for a list of
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>
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions