Re: _check_ini_cache Regression

Joshua Colp <[email protected]> Thu, 02 Jun 2016 13:06:54 -0300
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
Nick Gorham wrote:

<snip>

>> if ( nRetBuffer < ini_cache -> buffer_size )
>> continue;
>
> Yes, I would agree with you. TBH, the code is a bit odd there anyway, as
> the size of the buffer is less important than the size of the string
> that will be placed into it. But I think your fix should do the job. Let
> me know how you get on and I will make the change permanent it it works
> as expected.

Thanks for the quick response! My testing so far has shown it to resolve 
the issue and performance has returned to what it was before the change.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev