Pro*C precomplier failed when using dblink with option common_parser=yes
We hit an Oracle error : "CSF-S-00000, ORA-01041: internal error. hostdef extension doesn't exist" when precompile a Pro*C source using dblink .
content of tested file test4.pc :
int f1 () {
int i1;
EXEC SQL SELECT column1 into :i1 from table1@dblink1;
return (0);
}
Precompile with common_parser=yes :
proc common_parser=yes iname=test4.pc
Pro*C/C++: Release 11.1.0.7.0 - Production on Fri Mar 27 16:35:30 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
System default option values taken from: /lect/intra/mw/as/precomp/admin/pcscfg.cfg
Error at line 4, column 2 in file test4.pc
EXEC SQL SELECT column1 into :i1 from table1@dblink1;