fixed GH #1236: Remove Poco::Data::Row::checkEmpty() as it prevents Row from being used with all NULL rows

This commit is contained in:
Guenter Obiltschnig
2016-04-11 10:38:33 +02:00
parent d82b6b3975
commit ed23f24639
3 changed files with 0 additions and 36 deletions

View File

@@ -953,18 +953,6 @@ void DataTest::testRow()
fail ("must fail");
}catch (NotFoundException&) {}
try
{
row4.set("field1", Var());
row4.addSortField(1);
row4.removeSortField(0);
fail ("must fail - field 1 is empty");
}
catch (IllegalStateException&)
{
row4.removeSortField(1);
}
row4.set("field0", 0);
row4.set("field1", 1);
row4.set("field2", 2);