mirror of
https://github.com/MariaDB/server.git
synced 2025-11-28 17:36:30 +03:00
This is a major update concerning many source files.
Fix MDEV-12035. modified: storage/connect/jsonudf.cpp Working on MDEV-11832: Srcdef performance enhancement This require to mark place holders into srcdef to indicate where to insert the where/having clauses that are retrieved in push_cond. However this also make necessary to handle aliases in the srcdef. This was the opportunity to base all external tables on common classes called EXTDEF, TABEXT and EXTCOL. modified: storage/connect/array.cpp modified: storage/connect/array.h modified: storage/connect/colblk.cpp modified: storage/connect/connect.cc modified: storage/connect/filamdbf.cpp modified: storage/connect/ha_connect.cc modified: storage/connect/jdbconn.cpp modified: storage/connect/mycat.cc modified: storage/connect/myconn.cpp modified: storage/connect/odbconn.cpp modified: storage/connect/plgdbsem.h modified: storage/connect/reldef.cpp modified: storage/connect/reldef.h modified: storage/connect/tabdos.cpp modified: storage/connect/tabdos.h modified: storage/connect/tabfix.cpp modified: storage/connect/tabfix.h modified: storage/connect/tabfmt.cpp modified: storage/connect/tabfmt.h modified: storage/connect/tabjdbc.cpp modified: storage/connect/tabjdbc.h modified: storage/connect/tabjson.cpp modified: storage/connect/tabjson.h modified: storage/connect/table.cpp modified: storage/connect/tabmac.cpp modified: storage/connect/tabmac.h modified: storage/connect/tabmul.cpp modified: storage/connect/tabmul.h modified: storage/connect/tabmysql.cpp modified: storage/connect/tabmysql.h modified: storage/connect/taboccur.cpp modified: storage/connect/tabodbc.cpp modified: storage/connect/tabodbc.h modified: storage/connect/tabpivot.cpp modified: storage/connect/tabpivot.h modified: storage/connect/tabsys.cpp modified: storage/connect/tabsys.h modified: storage/connect/tabtbl.cpp modified: storage/connect/tabutil.cpp modified: storage/connect/tabutil.h modified: storage/connect/tabvct.cpp modified: storage/connect/tabvct.h modified: storage/connect/tabvir.cpp modified: storage/connect/tabwmi.cpp modified: storage/connect/tabxcl.cpp modified: storage/connect/tabxcl.h modified: storage/connect/tabxml.cpp modified: storage/connect/tabxml.h modified: storage/connect/xindex.cpp modified: storage/connect/xindex.h modified: storage/connect/xobject.h modified: storage/connect/xtable.h added: storage/connect/tabext.cpp added: storage/connect/tabext.h
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/************* TabMul C++ Program Source Code File (.CPP) **************/
|
||||
/* PROGRAM NAME: TABMUL */
|
||||
/* ------------- */
|
||||
/* Version 1.7 */
|
||||
/* Version 1.8 */
|
||||
/* */
|
||||
/* COPYRIGHT: */
|
||||
/* ---------- */
|
||||
/* (C) Copyright to PlugDB Software Development 2003 - 2015 */
|
||||
/* (C) Copyright to PlugDB Software Development 2003 - 2017 */
|
||||
/* Author: Olivier BERTRAND */
|
||||
/* */
|
||||
/* WHAT THIS PROGRAM DOES: */
|
||||
@@ -73,7 +73,7 @@
|
||||
/***********************************************************************/
|
||||
/* TABMUL constructors. */
|
||||
/***********************************************************************/
|
||||
TDBMUL::TDBMUL(PTDBASE tdbp) : TDBASE(tdbp->GetDef())
|
||||
TDBMUL::TDBMUL(PTDB tdbp) : TDBASE(tdbp->GetDef())
|
||||
{
|
||||
Tdbp = tdbp;
|
||||
Filenames = NULL;
|
||||
@@ -94,22 +94,22 @@ TDBMUL::TDBMUL(PTDBMUL tdbp) : TDBASE(tdbp)
|
||||
} // end of TDBMUL copy constructor
|
||||
|
||||
// Method
|
||||
PTDB TDBMUL::CopyOne(PTABS t)
|
||||
PTDB TDBMUL::Clone(PTABS t)
|
||||
{
|
||||
PTDBMUL tp;
|
||||
PGLOBAL g = t->G; // Is this really useful ???
|
||||
|
||||
tp = new(g) TDBMUL(this);
|
||||
tp->Tdbp = (PTDBASE)Tdbp->CopyOne(t);
|
||||
tp->Tdbp = Tdbp->Clone(t);
|
||||
tp->Columns = tp->Tdbp->GetColumns();
|
||||
return tp;
|
||||
} // end of CopyOne
|
||||
} // end of Clone
|
||||
|
||||
PTDB TDBMUL::Duplicate(PGLOBAL g)
|
||||
{
|
||||
PTDBMUL tmup = new(g) TDBMUL(this);
|
||||
|
||||
tmup->Tdbp = (PTDBASE)Tdbp->Duplicate(g);
|
||||
tmup->Tdbp = Tdbp->Duplicate(g);
|
||||
return tmup;
|
||||
} // end of Duplicate
|
||||
|
||||
@@ -658,7 +658,7 @@ TDBDIR::TDBDIR(PTDBDIR tdbp) : TDBASE(tdbp)
|
||||
} // end of TDBDIR copy constructor
|
||||
|
||||
// Method
|
||||
PTDB TDBDIR::CopyOne(PTABS t)
|
||||
PTDB TDBDIR::Clone(PTABS t)
|
||||
{
|
||||
PTDB tp;
|
||||
PGLOBAL g = t->G; // Is this really useful ???
|
||||
@@ -666,7 +666,7 @@ PTDB TDBDIR::CopyOne(PTABS t)
|
||||
tp = new(g) TDBDIR(this);
|
||||
tp->SetColumns(Columns);
|
||||
return tp;
|
||||
} // end of CopyOne
|
||||
} // end of Clone
|
||||
|
||||
/***********************************************************************/
|
||||
/* Initialize/get the components of the search file pattern. */
|
||||
@@ -974,7 +974,7 @@ TDBSDR::TDBSDR(PTDBSDR tdbp) : TDBDIR(tdbp)
|
||||
} // end of TDBSDR copy constructor
|
||||
|
||||
// Method
|
||||
PTDB TDBSDR::CopyOne(PTABS t)
|
||||
PTDB TDBSDR::Clone(PTABS t)
|
||||
{
|
||||
PTDB tp;
|
||||
PGLOBAL g = t->G; // Is this really useful ???
|
||||
@@ -982,7 +982,7 @@ PTDB TDBSDR::CopyOne(PTABS t)
|
||||
tp = new(g) TDBSDR(this);
|
||||
tp->SetColumns(Columns);
|
||||
return tp;
|
||||
} // end of CopyOne
|
||||
} // end of Clone
|
||||
|
||||
/***********************************************************************/
|
||||
/* SDR GetMaxSize: returns the number of retrieved files. */
|
||||
@@ -1251,7 +1251,7 @@ TDBDHR::TDBDHR(PTDBDHR tdbp) : TDBASE(tdbp)
|
||||
} // end of TDBDHR copy constructor
|
||||
|
||||
// Method
|
||||
PTDB TDBDHR::CopyOne(PTABS t)
|
||||
PTDB TDBDHR::Clone(PTABS t)
|
||||
{
|
||||
PTDB tp;
|
||||
PGLOBAL g = t->G; // Is this really useful ???
|
||||
@@ -1259,7 +1259,7 @@ PTDB TDBDHR::CopyOne(PTABS t)
|
||||
tp = new(g) TDBDHR(this);
|
||||
tp->Columns = Columns;
|
||||
return tp;
|
||||
} // end of CopyOne
|
||||
} // end of Clone
|
||||
|
||||
/***********************************************************************/
|
||||
/* Allocate DHR column description block. */
|
||||
|
||||
Reference in New Issue
Block a user