mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
fixed GH #1236: Remove Poco::Data::Row::checkEmpty() as it prevents Row from being used with all NULL rows
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user