Sheesh, you'd think I was a manager. I re-read your e-mail and it
works.
I guess I just have to remember about the quirky interface to avoid
getting tripped up again.
-----Original Message-----
From: Warren Young [mailto:mysqlpp@stripped]
Sent: Wednesday, August 05, 2009 2:27 PM
To: plusplus@stripped
Subject: Re: Question about store() override
On Aug 5, 2009, at 5:46 AM, Jim Wallace wrote:
> So for v3, no casting will help?
Re-read my reply. Casting the second parameter to SQLTypeAdatper
fixes it:
query.store(my_string, SQLTypeAdapter(my_int));
I tested this by modifying examples/tquery1.cpp. It works fine. If
it doesn't work for you, modify tquery1.cpp yourself to replicate the
symptom you're seeing and post the diff.
> Do you always talk about yourself in third-person? :-)
No, he doesn't. >:)
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=1