Skip to content
Snippets Groups Projects
Commit 6842616e authored by Jordi Inglada's avatar Jordi Inglada
Browse files

ENH: default value for remove existing table

parent 503b9776
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,9 @@
namespace otb
{
PostGISCreateTableTransactor::PostGISCreateTableTransactor() : PostGISCreateTableTransactor::Superclass("CreateTable") {};
PostGISCreateTableTransactor::PostGISCreateTableTransactor() : PostGISCreateTableTransactor::Superclass("CreateTable") {
m_RemoveExistingTable = false;
};
PostGISCreateTableTransactor::PostGISCreateTableTransactor(const PostGISCreateTableTransactor& pgt)
: PostGISCreateTableTransactor::Superclass("CreateTable")
......@@ -37,7 +39,7 @@ PostGISCreateTableTransactor& PostGISCreateTableTransactor::operator=(const Post
m_TableName = pgt.GetTableName();
m_SRID = pgt.GetSRID();
m_Dimension = pgt.GetDimension();
m_RemoveExistingTable = false;
m_RemoveExistingTable = pgt.GetRemoveExistingTable();
return *this;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment