Unknown marker: 0!!
Vanderlei Silva
vandersilva at hotmail.com
Fri Dec 10 18:32:24 EST 1999
Hello,
Well, I was unable to reproduce the error!!! Hopefully for your changes, but
I'm not sure: I changed my code since that error, in a lot of ways, and I
tried to restore to the previus version to test, but I'm not sure if it was
the same code as before!!!
As I sad, hopefully it's solved. I'll let you know if I see this error
again.
THANK YOU!
Vanderlei.
>Hi,
>
>I checked some stuff into CVS, can you test it and see if it clears this
>up?
>
>Brian
>
>On Wed, 8 Dec 1999, Vanderlei Silva wrote:
>
> > I installed the 0.5pre1. I recompiled my program, and I still have that
> > problem. Have you ever tryed to stop the MSSQL 7 while freetds was
>sending
> > commands through DB-Lib???
> > By setting dberrhandle I got the following:
> >
> > CLICKD.TCP: MAINDB: insert into click_stream values
> > (10000021,73601234,'1999-12-08 18:10:31','x.x.x.x')
> > Msg 6002, Level 0, State 1
> > SHUTDOWN is in progress. Log off.
> > CLICKD.TCP: MAINDB: insert into click_stream values
> > (10000016,73601234,'1999-12-08 18:10:33','x.x.x.x')
> > Unknown marker: 0!!
> > Unknown marker: 0!!
> > Unknown marker: 0!!
> > Unknown marker: 0!!
> >
> > Now I'm really desperate!!!
> >
> > > > > > > >Which version of freetds are you running? I fixed a similar
> > >problem
> > > > > > > >recently which should be in freetds 0.50pre1
> > > > > > > >
> > > > > > > >Brian
> > > > > > > >
> > > > > > > >On Tue, 7 Dec 1999, Vanderlei Silva wrote:
> > > > > > > >
> > > > > > > > > Hi folks,
> > > > > > > > > I have a program that uses freeTDS 4.2/DB-Lib to make
>inserts
> > >in a
> > > > > > > > > SQL-Server 7. Everything works fine until I someone stops
>the
> > > > >server.
> > > > > > > >When
> > > > > > > > > this occurs, my program start sending the following
>message:
> > > > > > > > > Unknown marker: 0!!
> > > > > > > > > Unknown marker: 0!!
> > > > > > > > > Unknown marker: 0!!
> > > > > > > > > In a loop, and keep there forever.
> > > > > > > > > The only place I could imagine the error was been
>generated in
> > >my
> > > > >code
> > > > > > > >is
> > > > > > > > > the following:
> > > > > > > > > .
> > > > > > > > > .
> > > > > > > > > .
> > > > > > > > > dbcmd(dbproc, query_buf);
> > > > > > > > > dbsqlexec(dbproc);
> > > > > > > > > while ((result_code = dbresults(dbproc)) !=
> > > > >NO_MORE_RESULTS) {
> > > > > > > > > if (result_code != SUCCEED) {
> > > > > > > > > dbcancel(dbproc);
> > > > > > > > > break;
> > > > > > > > > }
> > > > > > > > > }
> > > > > > > > > if ((result_code != SUCCEED) &&
> > > > > > > > > (result_code != NO_MORE_RESULTS)) {
> > > > > > > > > dbcancel(dbproc);
> > > > > > > > > backupDBWrite_log(d);
> > > > > > > > > mainDBOK = 0;
> > > > > > > > > mainDBRecheckCount = 100;
> > > > > > > > > }
> > > > > > > > > .
> > > > > > > > > .
> > > > > > > > > .
> > > > > > > > >
> > > > > > > > > But, seems to be right for me. I have no clue in how to
>detect
> > >the
> > > > > > > > > connection was lost. I do have a backup database strategy
> > > > >implemented,
> > > > > > > >using
> > > > > > > > > mySQL, but it will only work if I manage to detect the
>error.
> > > > > > > > > Any help will be apreciated.
> > > > > > > > > Thanks,
> > > > > > > > >
> > > > > > > > > Vanderlei
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ______________________________________________________
> > > > > > > > > Get Your Private, Free Email at http://www.hotmail.com
> > > > > > > > >
> > > > > > > > > ---
> > > > > > > > > You are currently subscribed to freetds as: camber at ais.org
> > > > > > > > > To unsubscribe, forward this message to
> > > > > > > >$subst('Email.Unsub')
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >---
> > > > > > > >You are currently subscribed to freetds as:
> > >vandersilva at hotmail.com
> > > > > > > >To unsubscribe, forward this message to
> > > > > > > >$subst('Email.Unsub')
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > ______________________________________________________
> > > > > > > Get Your Private, Free Email at http://www.hotmail.com
> > > > > > >
> > > > > > > ---
> > > > > > > You are currently subscribed to freetds as: camber at ais.org
> > > > > > > To unsubscribe, forward this message to
> > > > >$subst('Email.Unsub')
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > ---
> > > > > > You are currently subscribed to freetds as: camber at ais.org
> > > > > > To unsubscribe, forward this message to
> > > > >$subst('Email.Unsub')
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >---
> > > > >You are currently subscribed to freetds as: vandersilva at hotmail.com
> > > > >To unsubscribe, forward this message to
> > > > >$subst('Email.Unsub')
> > > > >
> > > >
> > > > ______________________________________________________
> > > > Get Your Private, Free Email at http://www.hotmail.com
> > > >
> > > > ---
> > > > You are currently subscribed to freetds as: camber at ais.org
> > > > To unsubscribe, forward this message to
> > >$subst('Email.Unsub')
> > > >
> > > >
> > >
> > >
> > >---
> > >You are currently subscribed to freetds as: vandersilva at hotmail.com
> > >To unsubscribe, forward this message to
> > >$subst('Email.Unsub')
> > >
> > >
> >
> > ______________________________________________________
> > Get Your Private, Free Email at http://www.hotmail.com
> >
> > ---
> > You are currently subscribed to freetds as: camber at ais.org
> > To unsubscribe, forward this message to
>$subst('Email.Unsub')
> >
> >
>
>
>---
>You are currently subscribed to freetds as: vandersilva at hotmail.com
>To unsubscribe, forward this message to
>$subst('Email.Unsub')
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
More information about the FreeTDS
mailing list