Menu

#15 bug report and patch

open
nobody
None
5
2014-07-11
2003-09-22
Anonymous
No

ODBCSS is good NT Service .
but there is a bug and when I rebuild from source pack,
behavior was different from a 2000/NT binary.
you can correct problems when use this patch.

--- main-server.cpp Mon Sep 22 18:17:59 2003
+++ patch/main-server.cpp Fri Mar 24 15:16:38
2000
@@ -255,9 +255,6 @@
break;
}

- delete fxElem;
- fxElem = NULL;
-
if
((sConnectionString.length() == 0) || (sSQL.length() ==
0)) break;

//now sub in >
for < , etc..
@@ -794,14 +791,14 @@
//start column heading
//print column names just
for the first set of cols returned

-// if (lIndex[1] == 0)
+ if (lIndex[1] == 0)
{
bsXML += "<column
name=\"";
bsXML +=
(CComBSTR)((BSTR)rsResult->Fields->Item[lIndex[0]]-
>Name);
bsXML += "\">";
}
-// else
-// bsXML
+= "<column>";
+ else
+ bsXML
+= "<column>";

try{
//convert var to
string

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.