gqlplus crashes if invoked like gqlplus "/ as sysdba"
and the database is closed. The problem is that
gqlplus expects to be able to run the query to find all
tables but oracle gives back an exception. The code
then assumes certain fields are available when they're
not, thus the seg fault. The attached patch corrects
the problem by detecting the ORA- exception.
Thanks for writing this program, I think is it great.
Nice and simple in concept and very cool to have
readline working with Oracle.
gqlplus.c patch
Logged In: YES
user_id=551800
Steven,
Thanks for the bug fix! I merged it into the main branch,
and it will be released with gqlplus 1.8. I'd like to gather
a few more items before releasing it...
Regards, Ljubomir
Logged In: YES
user_id=898209
Thanks for this fix !
It is still segfaulting when the instance is started by the
database close
Regards
Laurent
Logged In: YES
user_id=898209
for example with "startup mount" or "startup nomount" or
"startup mount / alter database mount standby database" ...