Hello Minji I guess you're using SQLite as an in-memory storage layer only.
But that still begs the question: why did you need SQLite? On Monday 13 April 2015 10:34:34 minji park wrote: > Hi Thiago, > > About your comments, > > We are now testing SSM in 64-bit, and investigating the 64 bit problems > including warnings and C-style casts. > And, the reason for storing application pointer to DB is > that the pointer is needed for the address to deliver events to the upper > layer and sqlite doesn't allow to store user pointer that > accessed by multiple threads. > > > Thank you. > Minji Park > > > ------- Original Message ------- > Sender : Thiago Macieira<thiago.macieira at intel.com> > Date : 2015-04-11 10:57 (GMT+09:00) > Title : Re: [dev] Why does the soft sensor manager need SQLite? > > > On Friday 10 April 2015 18:49:08 Thiago Macieira wrote: > > Is there a design document for SSM? As seen in the other thread, it > > appears > > people are confused about what this is supposed to do. > > By the way, is anyone testing SSM in 64-bit? I'm getting quite a few > warnings about pointer mistakes. For example: > > service/soft-sensor-manager/SSMCore/src/QueryProcessor/QueryEngine.cpp:264: > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] pResult = (std::vector *)(((int *)pArg)[2]); > > service/soft-sensor-manager/SSMCore/src/QueryProcessor/EvaluationEngine.cpp: > 78 CEvaluationEngine *pEvaluationEngine = (CEvaluationEngine > *)sqlite3_value_int(argv[0]); > > > The above are wrong and need to be fixed. Please don't ignore warnings. > > Also, please don't use C-style casts in C++ Code. > > And why are we storing pointers in a database? > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
