Skip to Content.
Sympa Menu

freetds - Re: Unknown marker: 0!!

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Vanderlei Silva" <vandersilva AT hotmail.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: Unknown marker: 0!!
  • Date: Tue, 07 Dec 1999 23:32:15 GMT


freetds-0_47.tar
Should I update to 0.50pre1? I'm trying to download this new release
from ftp://ftp.metalab.unc.edu/pub/Linux/ALPHA/freetds/freetds-0.50pre1.tgz
but looks like the server is down!!!
Do you have another link?
Thanks,

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




Archive powered by MHonArc 2.6.24.

Top of Page