Fedora9, g++ 4.3 fixes; added MySQL to build

This commit is contained in:
Aleksandar Fabijanic
2008-09-20 23:00:38 +00:00
parent ce1fdf87fd
commit 76abe98d0f
7 changed files with 21 additions and 12 deletions

View File

@@ -35,6 +35,7 @@
#include "Poco/Data/MySQL/SessionHandle.h"
#include <cstring>
namespace Poco {
@@ -103,7 +104,7 @@ void SessionHandle::close()
void SessionHandle::query(const char* str)
{
int res = mysql_real_query(h, str, static_cast<unsigned long>(strlen(str)));
int res = mysql_real_query(h, str, static_cast<unsigned long>(std::strlen(str)));
if (res != 0)
{