List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:October 23 2005 4:51am
Subject:Re: Nested queries
View as plain text  
Mattias Fliesberg wrote:
> 
> I'm trying to execute a query, within another queries loop.

The MySQL C API that underlies MySQL++ imposes restrictions on that. 
RTFM.  You must consume all rows from a SELECT before you can issue 
another query on the same connection.

To get around this, you can use separate Connection objects, and get a 
Query object from each one.
Thread
Nested queriesMattias Fliesberg21 Oct
  • Re: Nested queriesChris Frey21 Oct
    • MySQL DevelopmentFabricio Mota22 Oct
  • Re: Nested queriesWarren Young23 Oct
    • Re: Nested queriesMattias Fliesberg24 Oct
      • Re: Nested queriesChris Frey24 Oct
Re: Nested queriesJonatan Taminau21 Oct