Need an explanation

Поиск
Список
Период
Сортировка
Искать

Need an explanation

От:
"Dr. Michael Meskes" <meskes@online-club.de>
Дата:
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! 
FAQ