0

That's the error I get when I run this code :

if(mysqlpp::UseQueryResult  res = conn.query(sql).use())

Whats more interesting is that the next line doesn't have any problems

while(mysqlpp::Row row = res.fetch_row())

Really driving me crazy. I've even manually included result.h

I tried all combos of these

include result.h, mysql++.h, connection.h

stan
  • 4,885
  • 5
  • 49
  • 72

1 Answers1

1

Is it possible that you're using an old version of MySQL++? The StoreQueryResult class used to be called Result before version 3.0.0.

Edit: Er... and UseQueryResult used to be called ResUse, which is a bit more relevant to your error message.

Josh Townzen
  • 1,338
  • 1
  • 10
  • 17