null support

This commit is contained in:
Aleksandar Fabijanic
2008-03-21 14:31:12 +00:00
parent 99040a3937
commit bed329e7d7
7 changed files with 87 additions and 23 deletions

View File

@@ -487,6 +487,15 @@ void MySQLTest::testInternalExtraction()
}
void MySQLTest::testNull()
{
if (!_pSession) fail ("Test not available.");
recreateVectorsTable();
_pExecutor->doNull();
}
void MySQLTest::dropTable(const std::string& tableName)
{
try
@@ -622,6 +631,7 @@ CppUnit::Test* MySQLTest::suite()
CppUnit_addTest(pSuite, MySQLTest, testTuple);
CppUnit_addTest(pSuite, MySQLTest, testTupleVector);
CppUnit_addTest(pSuite, MySQLTest, testInternalExtraction);
CppUnit_addTest(pSuite, MySQLTest, testNull);
return pSuite;
}