fix ndb odbc compile

BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
This commit is contained in:
unknown 2004-05-18 09:58:30 +02:00
parent e858cd9642
commit d6cf9dd9b7
9 changed files with 10 additions and 4 deletions

View file

@ -121,6 +121,7 @@ paul@ice.local
paul@ice.snake.net
paul@kite-hub.kitebird.com
paul@teton.kitebird.com
pekka@mysql.com
pem@mysql.com
peter@linux.local
peter@mysql.com

View file

@ -14,6 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <common/common.hpp>
#include <NdbMutex.h>
#include <common/StmtArea.hpp>
#include <FlexLexer.h>

View file

@ -14,7 +14,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <ndb_global.h>
#include <NdbApi.hpp>
#include <common/common.hpp>
#include "DiagArea.hpp"

View file

@ -14,7 +14,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <ndb_global.h>
#include "DataField.hpp"
#ifndef INT_MAX

View file

@ -14,7 +14,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <ndb_global.h>
#include "OdbcData.hpp"
OdbcData::OdbcData() :

View file

@ -17,6 +17,10 @@
#ifndef ODBC_COMMON_common_hpp
#define ODBC_COMMON_common_hpp
#define stpcpy stpcpy
#include <ndb_global.h>
#undef swap
// misc defs
#ifdef NDB_GCC // only for odbc

View file

@ -17,8 +17,8 @@
#ifndef ODBC_HANDLES_PoolNdb_hpp
#define ODBC_HANDLES_PoolNdb_hpp
#include <list>
#include <common/common.hpp>
#include <list>
class Ndb;

View file

@ -37,6 +37,7 @@
*/
#include <ndb_global.h>
#undef test
#include <ndb_version.h>
#include <kernel/ndb_limits.h>
#include <Bitmask.hpp>
@ -1281,6 +1282,7 @@ struct Fld {
return test.verify(m_double, m_ind, fld.m_double, fld.m_ind);
}
assert(false);
return false;
}
// debug
void print() const {

View file

@ -138,6 +138,7 @@ bool emptyString(const char* s) {
* to obtain the row count.
*/
#define MAXCOLS 100
#undef max
#define max(a,b) ((a)>(b)?(a):(b))
#define MAX_MESSAGE 500