mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- Implement the SERVID special columns. This imply modifying the way
special columns are processed. This will be documented. Also some code cleanup and some changes to prepare the indexing of nullable columns (not achieve yet) modified: storage/connect/colblk.cpp storage/connect/colblk.h storage/connect/connect.cc storage/connect/connect.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/macutil.cpp storage/connect/mycat.cc storage/connect/plgdbsem.h storage/connect/reldef.cpp storage/connect/reldef.h storage/connect/table.cpp storage/connect/tabmysql.cpp storage/connect/tabmysql.h storage/connect/tabodbc.h storage/connect/tabtbl.cpp storage/connect/tabutil.h storage/connect/value.h storage/connect/xindex.cpp storage/connect/xindex.h storage/connect/xtable.h
This commit is contained in:
@@ -2797,7 +2797,7 @@ bool KXYCOL::Init(PGLOBAL g, PCOL colp, int n, bool sm, int kln)
|
||||
if (Asc)
|
||||
IsSorted = colp->GetOpt() < 0;
|
||||
|
||||
//MayHaveNulls = colp->HasNulls();
|
||||
//SetNulls(colp->IsNullable()); for when null columns will be indexable
|
||||
return false;
|
||||
} // end of Init
|
||||
|
||||
@@ -2956,6 +2956,11 @@ void KXYCOL::InitBinFind(void *vp)
|
||||
void KXYCOL::FillValue(PVAL valp)
|
||||
{
|
||||
valp->SetValue_pvblk(Kblp, Val_K);
|
||||
|
||||
// Set null when applicable (NIY)
|
||||
//if (valp->GetNullable())
|
||||
// valp->SetNull(valp->IsZero());
|
||||
|
||||
} // end of FillValue
|
||||
|
||||
/***********************************************************************/
|
||||
|
Reference in New Issue
Block a user