mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
2331344909
mysql-test/r/ndb_alter_table.result: wl-1442 new varchar mysql-test/r/ndb_bitfield.result: wl-1442 new varchar mysql-test/r/ndb_charset.result: wl-1442 new varchar mysql-test/t/ndb_charset.test: wl-1442 new varchar ndb/include/kernel/signaldata/DictTabInfo.hpp: wl-1442 new varchar ndb/include/ndb_constants.h: wl-1442 new varchar ndb/include/ndbapi/NdbDictionary.hpp: wl-1442 new varchar ndb/include/util/NdbSqlUtil.hpp: wl-1442 new varchar ndb/src/common/util/NdbSqlUtil.cpp: wl-1442 new varchar ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: wl-1442 new varchar ndb/src/kernel/blocks/dbdict/Dbdict.cpp: wl-1442 new varchar ndb/src/kernel/blocks/dbtc/Dbtc.hpp: wl-1442 new varchar ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: wl-1442 new varchar ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp: wl-1442 new varchar ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp: wl-1442 new varchar ndb/src/ndbapi/NdbDictionary.cpp: wl-1442 new varchar ndb/src/ndbapi/NdbDictionaryImpl.cpp: wl-1442 new varchar ndb/src/ndbapi/NdbDictionaryImpl.hpp: wl-1442 new varchar ndb/src/ndbapi/NdbOperationDefine.cpp: wl-1442 new varchar ndb/src/ndbapi/NdbOperationSearch.cpp: wl-1442 new varchar ndb/src/ndbapi/NdbRecAttr.cpp: wl-1442 new varchar ndb/src/ndbapi/NdbTransaction.cpp: wl-1442 new varchar ndb/test/ndbapi/testOIBasic.cpp: wl-1442 new varchar sql/ha_ndbcluster.cc: wl-1442 new varchar
66 lines
2.3 KiB
C
66 lines
2.3 KiB
C
/* Copyright (C) 2003 MySQL AB
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
|
|
/**
|
|
* @file ndb_constants.h
|
|
*
|
|
* Constants common to NDB API and NDB kernel.
|
|
* Changing the values makes database upgrade impossible.
|
|
*
|
|
* New or removed definitions must be replicated to
|
|
* NdbDictionary.hpp and NdbSqlUtil.hpp.
|
|
*
|
|
* Not for use by application programs.
|
|
* Use the enums provided by NdbDictionary instead.
|
|
*/
|
|
|
|
#ifndef NDB_CONSTANTS_H
|
|
#define NDB_CONSTANTS_H
|
|
|
|
/*
|
|
* Data type constants.
|
|
*/
|
|
|
|
#define NDB_TYPE_UNDEFINED 0
|
|
|
|
#define NDB_TYPE_TINYINT 1
|
|
#define NDB_TYPE_TINYUNSIGNED 2
|
|
#define NDB_TYPE_SMALLINT 3
|
|
#define NDB_TYPE_SMALLUNSIGNED 4
|
|
#define NDB_TYPE_MEDIUMINT 5
|
|
#define NDB_TYPE_MEDIUMUNSIGNED 6
|
|
#define NDB_TYPE_INT 7
|
|
#define NDB_TYPE_UNSIGNED 8
|
|
#define NDB_TYPE_BIGINT 9
|
|
#define NDB_TYPE_BIGUNSIGNED 10
|
|
#define NDB_TYPE_FLOAT 11
|
|
#define NDB_TYPE_DOUBLE 12
|
|
#define NDB_TYPE_DECIMAL 13 // not used
|
|
#define NDB_TYPE_CHAR 14
|
|
#define NDB_TYPE_VARCHAR 15
|
|
#define NDB_TYPE_BINARY 16
|
|
#define NDB_TYPE_VARBINARY 17
|
|
#define NDB_TYPE_DATETIME 18 // need to fix
|
|
#define NDB_TYPE_TIMESPEC 19 // need to fix
|
|
#define NDB_TYPE_BLOB 20
|
|
#define NDB_TYPE_TEXT 21
|
|
#define NDB_TYPE_BIT 22
|
|
#define NDB_TYPE_LONG_VARCHAR 23
|
|
#define NDB_TYPE_LONG_VARBINARY 24
|
|
|
|
#define NDB_TYPE_MAX 25
|
|
|
|
#endif
|