Skip to content
Snippets Groups Projects
Commit 95b516b1 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Increased maximum packet size.

Rev: lib/modules/Sql.pmod/tds.pike:1.9
parent 9855ff5d
Branches
Tags
No related merge requests found
/* /*
* $Id: tds.pike,v 1.8 2006/02/10 16:28:31 grubba Exp $ * $Id: tds.pike,v 1.9 2006/02/10 16:33:48 grubba Exp $
* *
* A Pike implementation of the TDS protocol. * A Pike implementation of the TDS protocol.
* *
...@@ -453,7 +453,7 @@ static { ...@@ -453,7 +453,7 @@ static {
tds_error("Sending packet on busy connection!\n"); tds_error("Sending packet on busy connection!\n");
} }
array(string) packets = ((string) p)/512.0; array(string) packets = ((string) p)/32768.0;
foreach(packets; int i; string raw) { foreach(packets; int i; string raw) {
// NOTE: Network byteorder!! // NOTE: Network byteorder!!
raw = sprintf("%1c%1c%2c\0\0%1c\0%s", raw = sprintf("%1c%1c%2c\0\0%1c\0%s",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment