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

w.h win.acc at gmail.com
Fri Oct 9 09:36:01 BST 2009


Yes,ive added.q

On Wed, Sep 30, 2009 at 4:51 PM, J Jayavasanthan <jayavasanthan at gmail.com>wrote:

> 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
>
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
>
>


-- 
All you best !
-----------------------------------------------
                                  w.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20091009/f53ffca1/attachment.html>


More information about the unixODBC-support mailing list