[unixODBC-support] unixodbc connection pooling how to take effect

J Jayavasanthan jayavasanthan at gmail.com
Wed Sep 30 09:51:02 BST 2009


Hi,

You should also set the connection pooling attribute for your environment, I
believe you have already done this,
SQLSetEnvAttr(henv_,
SQL_ATTR_CONNECTION_POOLING,
(SQLPOINTER)SQL_CP_ONE_PER_HENV,
SQL_IS_UINTEGER);
(or)
SQL_CP_ONE_PER_DRIVER

Regards,
Jay

On Wed, Sep 30, 2009 at 1:00 PM, w.h <win.acc at gmail.com> wrote:

> Thanks for you repaly ,how can i know or decice my entry points is unicode
> or ansi ?
>
>
> On Wed, Sep 30, 2009 at 3:06 PM, Nick Gorham <nick at lurcher.org> wrote:
>
>> w.h wrote:
>>
>>> I checked my source code my app is single process.
>>> Any more this is my odbc.ini is:
>>>  [ODBC]
>>> Trace = Yes
>>> Trace File = /tmp/sql.log
>>> Pooling = Yes
>>>
>>>  That all looks right, it may be a problem due to that driver only
>> seeming to use the unicode entry points, the pooling code (I will have to
>> check) makes use of the ansi entry points at the moment,
>>
>> --
>> Nick
>> _______________________________________________
>> unixODBC-support mailing list
>> unixODBC-support at mailman.unixodbc.org
>> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
>>
>
>
>
> --
> All you best !
> -----------------------------------------------
>                                   w.h
>
>
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
>
>


-- 
first me then home
first home then country
first country then world
fools always read inverse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20090930/a28664fa/attachment.html>


More information about the unixODBC-support mailing list