Merge commit 'b1888bb5d68d0ae9736556acd5702d44448eb492'

This commit is contained in:
Darth Vader 2024-04-19 19:50:20 +00:00
commit 01a8b140bc

View File

@ -1056,8 +1056,13 @@ int IPhreeqc::test_db(void)
{
std::ostringstream oss;
int sn = this->PhreeqcPtr->next_user_number(Keywords::KEY_SOLUTION);
oss << "SOLUTION " << sn <<"; DELETE; -solution " << sn;
//oss << "SOLUTION " << sn <<"; DELETE; -solution " << sn;
oss << "SOLUTION " << sn << ";";
if (this->PhreeqcPtr->llnl_temp.size() > 0)
{
oss << "-temp " << this->PhreeqcPtr->llnl_temp[0] << ";";
}
oss << "DELETE; -solution " << sn;
this->PhreeqcPtr->set_reading_database(TRUE);
int n = this->RunString(oss.str().c_str());
this->PhreeqcPtr->set_reading_database(FALSE);