[-]
[+]
|
Changed |
cego.changes
|
|
[-]
[+]
|
Changed |
cego.spec
^
|
|
[-]
[+]
|
Changed |
cego-2.17.8.tar.bz2/README
^
|
@@ -4,7 +4,7 @@
----
A relational and transactional database system
- Version 2.17.7
+ Version 2.17.8
(C)opyright 2006,2007,2008,2009,2010,2011,2012,2013 by Bjoern Lemke
|
[-]
[+]
|
Changed |
cego-2.17.8.tar.bz2/samples/chkdb/check037.sql
^
|
@@ -31,10 +31,12 @@
select sum(a) + sum(b) as mergesum, c from t2 group by c;
+select sum(a), sum(b), count(*) as c from t2;
+
create view v3 as select sum(a) + sum(b) as ms, c from t2 group by c;
desc view v3;
select ms from v3;
-select case when ms = 4 then 'XXX' else 'YYY' end from v3;
+select case when ms = 92 then 'XXX' else ms end from v3;
|
[-]
[+]
|
Changed |
cego-2.17.8.tar.bz2/src/CegoDatabaseManager.cc
^
|
@@ -601,14 +601,19 @@
throw Exception(EXLOC, msg);
}
- if ( pOR->getMode() == SHARED )
+ // cout << "NumUsed = " << pOR->numUsed() << endl;
+
+ // if ( pOR->getMode() == SHARED )
+
+ if ( pOR->getMode() == SHARED && pOR->numUsed() == 0 )
{
pOR->setMode(mode);
pOR->setTid(tid);
}
else
{
- while ( pOR && pOR->getMode() != SHARED )
+ // while ( pOR && pOR->getMode() != SHARED )
+ while ( pOR && pOR->numUsed() != 0 )
{
V();
Sleeper ns;
|
[-]
[+]
|
Changed |
cego-2.17.8.tar.bz2/src/CegoDefs.h
^
|
@@ -40,7 +40,7 @@
#endif
#define CEGO_PRODUCT "Cego"
-#define CEGO_VERSION "2.17.7"
+#define CEGO_VERSION "2.17.8"
#define CEGO_COPYRIGHT "Copyright (C) 2000-2013 by Bjoern Lemke. All rights reserved"
#define CGEXESHELLVARNAME "CGEXESHELL"
|
[-]
[+]
|
Changed |
cego-2.17.8.tar.bz2/src/CegoDistManager.cc
^
|
@@ -1331,20 +1331,7 @@
}
catch ( Exception e )
- {
-
- Chain msg;
- Chain module;
- int line;
-
- Chain exep;
- while ( e.pop(module, line, msg) )
- {
- exep += Chain("\n\t") + module + Chain("(") + Chain(line) + Chain(") : ") + msg;
- }
-
- _pDBMng->log(_modId, Logger::NOTICE, Chain("Update for ") + oe.getTabName() + Chain(" failed, rolling back, reason was ") + exep);
-
+ {
_pDBMng->unuseObject(oe.getTabSetId(), oe.getTabName(), CegoObject::TABLE, CegoDatabaseManager::EXCLUSIVE_WRITE);
if ( forceTransaction )
|
[-]
[+]
|
Changed |
cego-2.17.8.tar.bz2/src/CegoQuery.cc
^
|
@@ -628,6 +628,7 @@
}
catch ( Exception e )
{
+
Chain msg;
e.pop(msg);
throw CegoQueryException(COREOP_EXCEP, EXLOC, msg);
|
[-]
[+]
|
Changed |
cego-2.17.8.tar.bz2/src/CegoSelect.cc
^
|
@@ -3513,7 +3513,7 @@
CegoField* pF = resultList.First();
while ( pF && notFound )
{
- if ( pF->getAttrName() == (*pExpr)->getAlias() )
+ if ( pF->getAttrName() != Chain() && pF->getAttrName() == (*pExpr)->getAlias() )
{
pF->setValue(fv);
notFound = false;
@@ -3522,7 +3522,7 @@
}
// if native aggregation, we add it to list
- if ( notFound )
+ if ( notFound )
resultList.Insert(CegoField(fv));
pExpr = _exprList.Next();
|