mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
ODBC fixes and tests (Oracle, SQL Server, MySQL on Windows)
MySQL back-end compile fixes on Windows Nullable/NullType
This commit is contained in:
@@ -65,6 +65,7 @@ using Poco::Nullable;
|
||||
using Poco::Ascii;
|
||||
using Poco::BasicEvent;
|
||||
using Poco::delegate;
|
||||
using Poco::NullType;
|
||||
using Poco::InvalidAccessException;
|
||||
|
||||
|
||||
@@ -828,6 +829,13 @@ void CoreTest::testNullable()
|
||||
assert (n2 < n1);
|
||||
assert (n2 != n1);
|
||||
assert (n1 > n2);
|
||||
|
||||
NullType nd;
|
||||
assert (n1 != nd);
|
||||
assert (nd != n1);
|
||||
n1.clear();
|
||||
assert (n1 == nd);
|
||||
assert (nd == n1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user