List:MySQL++« Previous MessageNext Message »
From:Jason Barnes Date:May 29 2004 12:48am
Subject:Re: Broken code: mysql++ not seeing my tables
View as plain text  
> > 	Okay, I just rebuilt the mysql server, client, and mysql++ to
> > versions:
> >
> > mysql-server-4.0.18_1
> > mysql-client-4.0.18_1
> > mysql++-1.7.9_2
> >
> > 	However, unfortunately the problem is unchanged.  The connection
> > works fine, but no tables seem to be found, based on the fact that a
> > select * from each of them and those that I know don't exist all come up
> > "Error: Query was empty".
> > 	Thank you so much for your help on this, I apreciate any further
> > clues that might occur to anyone.  Thanks,
> >
>
> ARe any of examples working.
>
> Try sinisa_ex.cc and simple1.cc.
>
> If any of them are working then everything is fine with MySQL++.

	Aha -- I did this and they worked, which led me to find the
problem.  I had a method that took a Query as one of its arguments, which
used to work.  Perhaps as a result of migrating to gcc 3.3.3, I had to
change the method to instead accept a Query& .  It works fine now.  Thanks
for all your help,

				- Jason Barnes
Thread
Broken code: mysql++ not seeing my tablesJason Barnes17 May
  • Re: Broken code: mysql++ not seeing my tablesSinisa Milivojevic18 May
    • Re: Broken code: mysql++ not seeing my tablesJason Barnes18 May
      • Re: Broken code: mysql++ not seeing my tablesSinisa Milivojevic21 May
        • Re: Broken code: mysql++ not seeing my tablesJason Barnes28 May