freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] [nativecode=00000 "ÂÁ@] error when doing query
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] [nativecode=00000 "ÂÁ@] error when doing query
- Date: Fri, 23 Jun 2006 11:46:01 +0200
>
> I am wondering if it might be related to multiple connections
> being open/persistent connections/multiple result sets. The
> code is doing something like this:
>
> 1. Return various rows
> 2. Iterate over them
> 3. If a certain field is not null, call a function which runs
> another select to get a value based on that field
> 4. Add the value to that particular row
>
> (I'm aware that I could do this with a left join)
>
> How can I enable TDSDUMP? I've read
> http://www.freetds.org/userguide/logging.htm
>
> And done
> export TDSDUMP="/tmp/freetds.log"
> export TDSDUMPCONFIG=""
>
> However, I'm seeing nothing in the /tmp/freetds.log file,
> whether I run queries through isql or PHP.
>
> Ben
>
You have to launch isql/php from same session where you issue the commands.
Or using php you could include environment setting using php like
<?php
putenv("TDSDUMP=/tmp/freetds.log");
?>
(remember to remove it in production environments :) )
freddy77
-
Re: [freetds] [nativecode=00000 "ÂÁ@] error when doing query,
Sims, Benjamin, 06/23/2006
- <Possible follow-up(s)>
- Re: [freetds] [nativecode=00000 "ÂÁ@] error when doing query, ZIGLIO, Frediano, VF-IT, 06/23/2006
- Re: [freetds] [nativecode=00000 "ÂÁ@] error when doing query, Sims, Benjamin, 06/23/2006
- Re: [freetds] [nativecode=00000 "ÂÁ@] error when doing query, ZIGLIO, Frediano, VF-IT, 06/23/2006
- Re: [freetds] [nativecode=00000 "ÂÁ@] error when doing query, Sims, Benjamin, 06/23/2006
- Re: [freetds] [nativecode=00000 "ÂÁ@] error when doing query, Sims, Benjamin, 06/23/2006
Archive powered by MHonArc 2.6.24.