[unixODBC-dev] for with strlen

Nick Gorham nick at lurcher.org
Mon Sep 12 10:03:32 BST 2005

Oren Nechushtan wrote:
>>Several sources for the PostgreSQL(libodbcpsql.so) and Postgre7.3  libraries use non efficient code as shown below.
>>for ( i = 0; i < strlen( zcstr ); i ++ )
>>generating non optimal calls.
>>Attached is a patch that solves this assuming the string does not change during the call.> >  <<unixODBC-2.2.11-strlen.patch>> 
>>The solution was suggested by <comay at forescout.com

Cheers for that I have added it.

If you want to send me the full name of comay at forescout.com I will add 
it to the AUTHORS file.


More information about the unixODBC-dev mailing list