Commit 734aa69c authored by Denis Chapligin's avatar Denis Chapligin

Turned autocommit to on by default

parent 220968ce
......@@ -53,12 +53,11 @@ void db2_session_backend::parseKeyVal(std::string const & keyVal) {
if (!key.compare("Pwd")) {
this->password=value;
}
this->autocommit=true; //Default value
if (!key.compare("autocommit")) {
if (!value.compare("off")) {
this->autocommit=false;
} else {
this->autocommit=true;
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment