ODBC fixes and tests (Oracle, SQL Server, MySQL on Windows)

MySQL back-end compile fixes on Windows
Nullable/NullType
This commit is contained in:
Aleksandar Fabijanic
2012-09-17 00:18:13 +00:00
parent 7029c95e07
commit 32c5b6b998
21 changed files with 572 additions and 444 deletions

View File

@@ -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);
}