Unix Technical Forum

dbnextrow error....

This is a discussion on dbnextrow error.... within the Sybase forums, part of the Database Server Software category; --> i m using the code... if(l_SqlResult_l == SUCCEED) { while (dbnextrow(g_DbProc_stp) != NO_MORE_ROWS) { } } in this the ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 06:05 PM
gunjanbadhey@gmail.com
 
Posts: n/a
Default dbnextrow error....

i m using the code...

if(l_SqlResult_l == SUCCEED)
{
while (dbnextrow(g_DbProc_stp) != NO_MORE_ROWS)
{
}
}

in this the procedure returns nothing and i should go out of this while
loop but when i m executing this code it gives bus error(core dump) i
have debug this code but unable to solve... plz reply as soon as
possible....

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 06:05 PM
SybaseNeal
 
Posts: n/a
Default Re: dbnextrow error....

Hello,

Can you provide a stacktrace for the core dump?

Also, what version of DB-Library are you using?
strings -a $SYBASE/$SYBASE_OCS/lib/libsybdb.so | grep Sybase

Finally, one note of caution. DB-Library is not threadsafe so
do not attempt to use it in a threaded application.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com