1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-16 20:23:18 +03:00

ndb - make YEAR and TIMESTAMP into ndb types

This commit is contained in:
pekka@mysql.com
2005-01-27 17:33:35 +01:00
parent 170fb5329b
commit 5cbadf4358
11 changed files with 209 additions and 43 deletions

View File

@@ -84,7 +84,9 @@ public:
Date, // Precision down to 1 day (size 4 bytes)
Blob, // Blob
Text, // Text blob
Time = 25 // Time without date
Time = 25, // Time without date
Year = 26, // Year (size 1 byte)
Timestamp = 27 // Unix seconds (uint32)
};
Enum m_typeId;
Cmp* m_cmp; // comparison method
@@ -137,6 +139,8 @@ private:
static Cmp cmpBlob;
static Cmp cmpText;
static Cmp cmpTime;
static Cmp cmpYear;
static Cmp cmpTimestamp;
};
#endif