rdmenezes / remote-testbed

Automatically exported from code.google.com/p/remote-testbed
0 stars 1 forks source link

Compatibility issues with mysqlpp version 3.09 #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We are trying to get ReMote up and running. We are struggling because the 
mysqlpp
interface has changed considerably from mysqlpp 2 to 3. Unfortunately mysqlpp 2 
is not
available in Debian anymore, so we were trying to go with mysqlpp 3.09.

In Host.cc we made several changes:
* UseQueryResult instead of ResUse
* SimpleResult instead of ResNSel

We needed to uncomment some purge(), however now we get:
"terminate called after throwing an instance of 'mysqlpp::BadQuery'
  what():  Commands out of sync; you can't run this command now
Aborted"

Are there efforts to move to mysqlpp 3.09? Do you have any suggestions?

Thanks,
Markus

Original issue reported on code.google.com by marku...@gmail.com on 11 Jun 2009 at 9:36

GoogleCodeExporter commented 9 years ago
No, there is no such effort. I assume you have looked at: 
http://tangentsoft.org/mysql++/doc/html/userman/breakages.html#api-3.0.0

As part of my thesis I moved much of the code to a single (Maven-based) 
repository of 
which you can find a snapshot at 
http://testbed.ekstranet.diku.dk/pub/download/remote/. I also started to port 
part of 
the MCI code namely the mote control server to Java, but didn't get very far. 
However, in the long run I think that is a better solution since it will make 
all the 
server code more easily deployable.

Original comment by jonas.fonseca on 15 Jun 2009 at 4:27

GoogleCodeExporter commented 9 years ago
markushx
What did your patch look like?  I have a patch that gets the source compiled 
but did
not run any tests on it (I'll post my patch).  How did you solve that issue?

From a dude that might be interested in working with this.
Regards.

Original comment by joel.gra...@gmail.com on 22 Oct 2009 at 5:47

Attachments: