|
From: <ken...@us...> - 2008-12-11 21:23:28
|
Revision: 942
http://andro.svn.sourceforge.net/andro/?rev=942&view=rev
Author: kendowns
Date: 2008-12-11 21:23:24 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
BUG FIX: auto_suffix and auto_prefix were not get picked up in the table definition.
SMALL CHANGE: Error on trying to build FETCH/DISTRIBUTE now halts build.
Modified Paths:
--------------
trunk/andro/application/androBuild.php
Modified: trunk/andro/application/androBuild.php
===================================================================
--- trunk/andro/application/androBuild.php 2008-12-10 05:40:46 UTC (rev 941)
+++ trunk/andro/application/androBuild.php 2008-12-11 21:23:24 UTC (rev 942)
@@ -1638,6 +1638,7 @@
$sq="INSERT INTO zdd.tabflat (
table_id,column_id_src,column_id,suffix,prefix
,primary_key,uisearch
+ ,auto_prefix,auto_suffix
,colprec,colscale,colres,type_id,inputmask
,flagcarry
,table_id_fko
@@ -1648,6 +1649,7 @@
'$table_id',tc.column_id_src
,tc.column_id
,tc.suffix,tc.prefix,tc.primary_key,tc.uisearch
+ ,tc.auto_prefix,tc.auto_suffix
,c.colprec,c.colscale,c.colres,c.type_id
,case when c.inputmask <> ''
then c.inputmask
@@ -4052,7 +4054,7 @@
function SpecDDL_Triggers_Automated() {
$retval = true;
- $this->SpecDDL_Triggers_Automated_FetchDistribute();
+ $retval = $retval && $this->SpecDDL_Triggers_Automated_FetchDistribute();
$retval = $retval && $this->SpecDDL_Triggers_Automated_Aggregate();
$retval = $retval && $this->specddl_triggers_automated_queuepos();
$retval = $retval && $this->specddl_triggers_automated_dominant();
@@ -4121,9 +4123,8 @@
$dddst[$tpi][$row['table_id']][]=$details;
}
}
+
-
-
// NOTE: FETCH and EXTEND columns are sequenced on dependencies, as
// one EXTEND may generate the foreign key for the next FETCH. This
// system goes column-by-column. However, we use just one column
@@ -4356,6 +4357,7 @@
}
}
}
+ return true;
}
function SpecDDL_Triggers_Automated_Aggregate() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|