mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-12-05 11:35:26 +00:00
Fedora9, g++ 4.3 fixes; added MySQL to build
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user