Thread: Need an explanation

Need an explanation

From
"Dr. Michael Meskes"
Date:
Is there any reason why the sqlca array is defined in every source file?
That way adding initialization code breaks the whole procedure as the
initialized sqlca counts as a double definition.

However, that's exactly how Oracle does things. I think it's a better idea
to include the variable definition in the library itself instead of the
source files and just include the extern definition in the sources.

Comments?

Michael
--
Michael Meskes            meskes@online-club.de, meskes@debian.org
Go SF49ers! Go Rhein Fire!    Use Debian GNU/Linux!