This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/106467/

This review has been submitted with commit f8747bc9d8fa916907d90b7f2bf84ffba923becb by Vishesh Handa to branch 2.9.

- Commit


On September 17th, 2012, 9:37 a.m. UTC, Vishesh Handa wrote:

Review request for Nepomuk, Soprano and Sebastian Trueg.
By Vishesh Handa.

Updated Sept. 17, 2012, 9:37 a.m.

Description

    Only use 1 SQLFetchData command in most of the cases.
    
    Callgrind stats show that 67.5% of the time in this function is spent in
    the first SQLFetchData, and an additional 27% in the second SQLGetData.
    We can avoid some of this extra cost, by only calling the function
    once.

I can change the size of the default buffer if required.

Diffs

  • backends/virtuoso/odbcqueryresult.cpp (a4f2387)

View Diff