Re: patch for cleanup protocol

From: tomas(at)nocrew(dot)org (=?iso-8859-1?q?Tomas_Sk=E4re?=)
To: Ludek Finstrle <luf(at)pzkagis(dot)cz>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: patch for cleanup protocol
Date: 2005-12-20 08:42:50
Message-ID: 803bkognw5.fsf@junk.nocrew.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Ludek Finstrle <luf(at)pzkagis(dot)cz> writes:

> Hello,
>
> protocol option is no longer used with libpq driver version.
> So I clean up the code. I try change both languages (English and Japanese).
> I didn't sure how to clean up faq.html so I don't do it.
>
> Please review and comment

I'm not qualified to tell if the changes are correct, but I just
noticed this one thing:

> diff -c psqlodbc.orig\dlg_specific.c psqlodbc.full\dlg_specific.c
> *** psqlodbc.orig\dlg_specific.c Wed Nov 30 13:44:16 2005
> --- psqlodbc.full\dlg_specific.c Mon Dec 19 23:33:09 2005
> ***************
> *** 65,72 ****
> ";%s=%s;%s=%s;%s=%s;%s=%s;%s=%s;%s=%s;%s=%s;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%s;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d",
> INI_READONLY,
> ci->onlyread,
> - INI_PROTOCOL,
> - ci->protocol,
> INI_FAKEOIDINDEX,
> ci->fake_oid_index,
> INI_SHOWOIDCOLUMN,
> --- 65,70 ----

If you remove these arguments, you have to remove the corresponding
(second from start) "%s=%s" pair from the format string, otherwise
it'll use the wrong variables for the %d's further on.

Tomas

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Andrus 2005-12-20 09:31:10 Re: [ psqlodbc-Bugs-1000481 ] VFP and SQLCancel
Previous Message Dave Page 2005-12-20 08:15:15 Re: patch for cleanup protocol