-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rfc89 sql logging callback implementation #1
base: master
Are you sure you want to change the base?
Conversation
autotest/cpp/test_ogr.cpp
Outdated
@@ -34,6 +34,9 @@ | |||
#include "ogr_recordbatch.h" | |||
|
|||
#include <string> | |||
#include <algorithm> | |||
#include <filesystem> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is C++17. We stick to C++11 for now in GDAL
@@ -7514,6 +7514,11 @@ void GDALDataset::ShareLockWithParentDataset(GDALDataset* poParentDataset) | |||
} | |||
} | |||
|
|||
bool GDALDataset::SetQueryLoggerFunc(CPL_UNUSED GDALQueryLoggerFunc callback, CPL_UNUSED void* context ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doxygen comments to add
static_cast<int>(osSQLCommandTruncated.size()), | ||
&hSQLStmt, nullptr ); | ||
|
||
if( rc != SQLITE_OK ) | ||
{ | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra whitespace
7f87b3b
to
51e233c
Compare
TODO: benchmarks