Show
Ignore:
Timestamp:
18.04.2012 10:43:19 (9 years ago)
Author:
jmt12
Message:

Adding in required cpp code for TDBServer support (using existing TDB interactions - we don't actually support the runtime in a distributed environment... yet)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/tdb-edit/trunk/src/disable_tdb.sh

    r25251 r25412  
    3737sed -i '/^#include "tdbclass.h" \/\/TDB/ d' $GSDLHOME/runtime-src/src/colservr/collectset.cpp 
    3838sed -i '/^if (infodbtype == "tdb") {db_ptr = new tdbclass(gsdlhome);} \/\/TDB/ d' $GSDLHOME/runtime-src/src/colservr/collectset.cpp 
     39sed -i '/^if (infodbtype == "tdbserver") {db_ptr = new tdbclass(gsdlhome);} \/\/TDBServer/ d' $GSDLHOME/runtime-src/src/colservr/collectset.cpp 
    3940# - collectserver.cpp 
    4041sed -i '/^if (infodbtype == "tdb") { } \/\/ TDB Do nothing/ d' $GSDLHOME/runtime-src/src/colservr/collectset.cpp 
     42sed -i '/^if (infodbtype == "tdbserver") { } \/\/ TDBServer Do nothing/ d' $GSDLHOME/runtime-src/src/colservr/collectset.cpp 
    4143# - Remove compiled files 
    4244rm -f $GSDLHOME/runtime-src/src/colservr/gsdlcolservr.a