summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2010-06-24 17:55:36 (GMT)
committer Don Pellegrino <don@drexel.edu>2010-06-24 17:55:36 (GMT)
commitcb41becd23ff810a245cda22f0308e552783040f (patch) (unidiff)
treef152c999933b4e6a28b7bc5db53fbbeb44c9084f
parent17fd5ba7712a14a0a99ed74556568c0f6ca7eaae (diff)
downloadexp005-cb41becd23ff810a245cda22f0308e552783040f.zip
exp005-cb41becd23ff810a245cda22f0308e552783040f.tar.gz
exp005-cb41becd23ff810a245cda22f0308e552783040f.tar.bz2
Modified to use the DB2INCLUDE environment variable for proper
compilation in dedicated build directories (usually on local rather than home).
-rw-r--r--src/controller/actions/selection_from_db.sqc2
-rw-r--r--src/model/data/base.sqc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/controller/actions/selection_from_db.sqc b/src/controller/actions/selection_from_db.sqc
index 675bc2c..8e52bd2 100644
--- a/src/controller/actions/selection_from_db.sqc
+++ b/src/controller/actions/selection_from_db.sqc
@@ -19,7 +19,7 @@ selection_from_db (void)
19 * db2dclgn -d exp004 -t vis_sel_set19 * db2dclgn -d exp004 -t vis_sel_set
20 */20 */
21 EXEC SQL BEGIN DECLARE SECTION;21 EXEC SQL BEGIN DECLARE SECTION;
22 EXEC SQL INCLUDE 'controller/actions/vis_sel_set.h';22 EXEC SQL INCLUDE vis_sel_set;
23 EXEC SQL END DECLARE SECTION;23 EXEC SQL END DECLARE SECTION;
2424
25 EXEC SQL DECLARE c3 CURSOR FOR25 EXEC SQL DECLARE c3 CURSOR FOR
diff --git a/src/model/data/base.sqc b/src/model/data/base.sqc
index 4627bea..9d02ce5 100644
--- a/src/model/data/base.sqc
+++ b/src/model/data/base.sqc
@@ -29,7 +29,7 @@ base (void)
29 * db2dclgn -d exp004 -t coordinates29 * db2dclgn -d exp004 -t coordinates
30 */30 */
31 EXEC SQL BEGIN DECLARE SECTION;31 EXEC SQL BEGIN DECLARE SECTION;
32 EXEC SQL INCLUDE 'model/data/coordinates.h';32 EXEC SQL INCLUDE coordinates;
33 sqlint32 rows;33 sqlint32 rows;
34 EXEC SQL END DECLARE SECTION;34 EXEC SQL END DECLARE SECTION;
3535

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.