[-]
[+]
|
Changed |
cego.changes
|
|
[-]
[+]
|
Changed |
cego-2.12.4.tar.bz2/README
^
|
@@ -4,7 +4,7 @@
----
A relational and transactional database system
- Version 2.12.3
+ Version 2.12.4
(C)opyright 2006,2007,2008,2009,2010,2011,2012 by Bjoern Lemke
|
[-]
[+]
|
Changed |
cego-2.12.4.tar.bz2/src/CegoDefs.h
^
|
@@ -40,7 +40,7 @@
#endif
#define CEGO_PRODUCT "Cego"
-#define CEGO_VERSION "2.12.3"
+#define CEGO_VERSION "2.12.4"
#define CEGO_COPYRIGHT "Copyright (C) 2000-2012 by Bjoern Lemke. All rights reserved"
/*******************************/
|
[-]
[+]
|
Changed |
cego-2.12.4.tar.bz2/src/CegoFactor.cc
^
|
@@ -315,7 +315,7 @@
void CegoFactor::setFieldListArray(ListT<CegoField> *fla, int size)
{
-
+ // cout << "Setting field list of size " << size << endl;
switch ( _type )
{
case ATTR:
|
[-]
[+]
|
Changed |
cego-2.12.4.tar.bz2/src/CegoSelect.cc
^
|
@@ -401,6 +401,46 @@
_rowCount=0;
+ // Last but not least, clear the attribute cache for all attributes
+
+ CegoPredDesc **pPred = _conjunctionList.First();
+ while ( pPred )
+ {
+ (*pPred)->clearAttrCache();
+ pPred = _conjunctionList.Next();
+ }
+ if (_pPred)
+ {
+ _pPred->clearAttrCache();
+ }
+
+ CegoExpr **pExpr = _exprList.First();
+ while ( pExpr )
+ {
+ (*pExpr)->clearAttrCache();
+ pExpr = _exprList.Next();
+ }
+
+ if ( _pHaving )
+ {
+ _pHaving->getExpr()->clearAttrCache();
+ _pHaving->getAggExpr()->clearAttrCache();
+ }
+
+
+ if ( _pOrderList )
+ {
+ pExpr = _pOrderList->First();
+ while ( pExpr )
+ {
+ (*pExpr)->clearAttrCache();
+ pExpr = _pOrderList->Next();
+ }
+ }
+
+ // end of cache clear
+
+
_isPrepared = true;
if ( _pUnionSelect )
@@ -495,6 +535,7 @@
void CegoSelect::analyzeJoin()
{
+
#ifdef DEBUG
_pLogger->log(_modId, Logger::DEBUG, Chain("Preparing join ..."));
#endif
@@ -1598,7 +1639,7 @@
{
(*pPred)->setChecked(false);
pPred = _conjunctionList.Next();
- }
+ }
}
|