fixes for 1.3.3 (see sf bugtracker)

This commit is contained in:
Guenter Obiltschnig
2008-09-16 19:04:32 +00:00
parent e80b27bbca
commit 66ef5ab958
215 changed files with 65142 additions and 38656 deletions

View File

@@ -1,7 +1,7 @@
//
// MySQLTest.cpp
//
// $Id: //poco/1.3/Data/MySQL/testsuite/src/MySQLTest.cpp#4 $
// $Id: //poco/1.3/Data/MySQL/testsuite/src/MySQLTest.cpp#1 $
//
// Copyright (c) 2008, Applied Informatics Software Engineering GmbH.
// and Contributors.
@@ -43,15 +43,18 @@
#include "Poco/Data/MySQL/MySQLException.h"
#include <iostream>
using namespace Poco::Data;
using Poco::Data::MySQL::ConnectionException;
using Poco::Data::MySQL::StatementException;
using Poco::format;
using Poco::NotFoundException;
Poco::SharedPtr<Poco::Data::Session> MySQLTest::_pSession = 0;
Poco::SharedPtr<SQLExecutor> MySQLTest::_pExecutor = 0;
// Parameters for barebone-test
#define MYSQL_USER "root"
#define MYSQL_PWD ""
@@ -59,6 +62,7 @@ Poco::SharedPtr<SQLExecutor> MySQLTest::_pExecutor = 0;
#define MYSQL_PORT 3306
#define MYSQL_DB "test"
// Connection string to POCO
std::string MySQLTest::_dbConnString = "user=root;password=;db=test;compress=true;auto-reconnect=true";
@@ -363,7 +367,6 @@ void MySQLTest::testCombinedLimits()
}
void MySQLTest::testRange()
{
if (!_pSession) fail ("Test not available.");