Skip to Content.
Sympa Menu

freetds - [freetds] problem with ct_send command in FreeTDS 1.*

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Becker <m.becker AT spider-software.net>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] problem with ct_send command in FreeTDS 1.*
  • Date: Thu, 26 Oct 2017 11:15:33 +0200

Hi,

starting with FreeTDS 1.00.1 ct_send works as follows:

-------------------
CS_RETCODE
ct_send(CS_COMMAND * cmd)
{
...
if (cmd->command_type == CS_DYNAMIC_CMD) {
...
switch (cmd->dynamic_cmd) {
...
case CS_EXECUTE:
...
if (!pparam_info)
return CS_FAIL;
...
-------------------

The check "if (!pparam_info)" is added in version 1, up to 0.95.95
pparam_info was allowed to be NULL. This behaviour
runs into an error if ct_send is performed on a cursor having bind arguments
only.
Without this check it's working fine. So please remove this check.

Regards: Michael
begin:vcard
fn:Michael Becker
n:Becker;Michael
email;internet:m.becker AT spider-software.net
x-mozilla-html:FALSE
version:2.1
end:vcard

Attachment: signature.asc
Description: OpenPGP digital signature



  • [freetds] problem with ct_send command in FreeTDS 1.*, Michael Becker, 10/26/2017

Archive powered by MHonArc 2.6.24.

Top of Page