A few clean ups and also tested, its working fine

master
BeniS 11 years ago
parent 8db85e4e3a
commit 48ac91d173

@ -239,7 +239,7 @@ class DBInsert
/**
* Associates with given database handler.
*
* @param Database* database wrapper
* @param DatabasePtr database wrapper
*/
DBInsert(DatabasePtr db): m_db(db), m_rows(0) {}
~DBInsert() {}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2010-2012 OTClient <https://github.com/edubart/otclient>
* Copyright (c) 2010-2013 OTClient <https://github.com/edubart/otclient>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal

@ -253,8 +253,6 @@ void MySQLResult::free()
}
mysql_free_result(m_resultHandle);
delete m_resultHandle;
m_resultHandle = NULL;
}

@ -20,8 +20,8 @@
* THE SOFTWARE.
*/
#ifndef __DATABASE_MYSQL__
#define __DATABASE_MYSQL__
#ifndef DATABASEMYSQL_H
#define DATABASEMYSQL_H
#include "database.h"

Loading…
Cancel
Save