1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-11 05:52:26 +03:00

ndb - wl-1442 fix Time ordering

This commit is contained in:
pekka@mysql.com
2005-01-08 19:28:44 +01:00
parent 0462ccfe3c
commit 50c3a883b2
11 changed files with 132 additions and 4 deletions

View File

@@ -148,6 +148,12 @@ NdbColumnImpl::init(Type t)
m_length = 4;
m_cs = default_cs;
break;
case Time:
m_precision = 0;
m_scale = 0;
m_length = 1;
m_cs = NULL;
break;
case Undefined:
assert(false);
break;
@@ -1177,6 +1183,7 @@ columnTypeMapping[] = {
{ DictTabInfo::ExtDate, NdbDictionary::Column::Date },
{ DictTabInfo::ExtBlob, NdbDictionary::Column::Blob },
{ DictTabInfo::ExtText, NdbDictionary::Column::Text },
{ DictTabInfo::ExtTime, NdbDictionary::Column::Time },
{ -1, -1 }
};