native MySQL, ODBC, Nullable; OSX compile, tests and fixes

This commit is contained in:
Aleksandar Fabijanic
2012-09-22 02:16:58 +00:00
parent f36a12d0f1
commit 26d488044c
13 changed files with 68 additions and 56 deletions

View File

@@ -785,6 +785,10 @@ void CoreTest::testNullable()
assert (n1.value(42) == 42);
assert (n1.isNull());
assert (!(0 == n1));
assert (0 != n1);
assert (!(n1 == 0));
assert (n1 != 0);
try
{
@@ -804,6 +808,11 @@ void CoreTest::testNullable()
assert (n2.value() == 42);
assert (n2.value(99) == 42);
assert (!(0 == n2));
assert (0 != n2);
assert (!(n2 == 0));
assert (n2 != 0);
n1 = n2;
assert (!n1.isNull());
assert (n1.value() == 42);