Skip to content

Commit

Permalink
SQLite dialect: make it compatibile with SQLite 3.49.1 in SQLITE_DQS=…
Browse files Browse the repository at this point in the history
…0 mode
  • Loading branch information
rouault committed Feb 18, 2025
1 parent 19690a5 commit 5adc13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ogr/ogrsf_frmts/sqlite/ogrsqliteexecutesql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ static void OGR2SQLITEAddLayer(const char *&pszStart, int &nNum,
{
oLayerDesc.osSubstitutedName =
CPLString().Printf("_OGR_%d", nNum++);
osModifiedSQL += "\"";
osModifiedSQL += "'";
osModifiedSQL += oLayerDesc.osSubstitutedName;
osModifiedSQL += "\"";
osModifiedSQL += "'";
}
else
{
Expand Down

0 comments on commit 5adc13b

Please sign in to comment.