freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: James Cameron <cameron AT stl.dec.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: set textsize 1048576 fails
- Date: Fri, 26 Oct 2001 15:04:26 +1000
James Cameron wrote:
> I've yet to try the current CVS copy.
I've tried it. Same problem there.
Got any ideas, Brian?
I took the current CVS copy, pushed it through the Debian packaging
process, installed the result, confirmed the library had recent CVS
idents, restarted apache, reloaded my test page.
The test page looks like this;
<pre>
<?php
$link = sybase_connect('database','username','password');
if ($link == 0) { echo "connect failed\n"; exit; }
function query($link, $text) {
echo "$text\n";
$result = sybase_query($text, $link);
var_dump($result);
if ($result < 1) { echo "query failed\n"; return; }
while($row = sybase_fetch_row($result)) { var_dump($row); }
}
query($link, 'set textsize 1048576');
query($link, 'select @@version');
# successful run without set textsize
# select @@version
# resource(2) of type (sybase-ct result)
# array(1) {
# [0]=>
# string(188) "Microsoft SQL Server 7.00 - 7.00.842 (Intel X86)
# Mar 2 2000 06:49:37
# Copyright (c) 1988-1998 Microsoft Corporation
# Enterprise Edition on Windows NT 4.0 (Build 1381: Service Pack
6)
# "
# }
# failed run with set textsize
# set textsize 1048576
# bool(false)
# query failed
# select @@version
# bool(false)
# query failed
?>
--
James Cameron
-
set textsize 1048576 fails,
James Cameron, 10/24/2001
- <Possible follow-up(s)>
- Re: set textsize 1048576 fails, James Cameron, 10/26/2001
- Re: set textsize 1048576 fails, Brian Bruns, 10/26/2001
- Re: set textsize 1048576 fails, James Cameron, 10/28/2001
- Re: set textsize 1048576 fails, Brian Bruns, 10/29/2001
- Re: set textsize 1048576 fails, James Cameron, 10/29/2001
- Re: set textsize 1048576 fails, Brian Bruns, 10/29/2001
- Re: set textsize 1048576 fails, James Cameron, 10/29/2001
- Re: set textsize 1048576 fails, Brian Bruns, 10/29/2001
- Re: set textsize 1048576 fails, James Cameron, 10/29/2001
- Re: set textsize 1048576 fails, Brian Bruns, 10/29/2001
- Re: set textsize 1048576 fails, James Cameron, 10/29/2001
Archive powered by MHonArc 2.6.24.