  | | | MySQL++ |
I need a nullable string type that can be inserted properly escaped
into a mysqlpp Query. I thought that Null <std string > would be
appropriate for this but it doesn 't quite work the way I expFixed! My bad. This works
try {
bool done false
Query query m_db- >query ()
query < < queue.m_fifo.top ().m_query
try {
for (Result result query.store () !done result This doesn 't work or to be precise doesn 't tell me the true no. of affected rows
The server is 5.0.22 and the problem arises using either MySQL++ 2.1 or 2.2. The statement is a 'multi query ' but coHello
I have a problem using mysqlpp in vectors.
Namely its the size of a column that I want to use its
approximately 25K. I originally had this as a VARCHAR
which had a maximum size of just over 21Hello
I 've got two bugs report
1. Query preview() adds extra null chars.
This one was reported by others but I see it 's still not fixed in SVN.
The fix is to remove "*this < < std ends " from QueThis will fix it (file datetime.cpp 194)
DateTime DateTime(time_t t)
{
struct tm tm
#if defined(_MSC_VER) && !defined(_STLP_VERSION) // we have MS compiler
/* Totaly it 's not a good idea to useDear All
Using win32 C++ using Visual C++ 2005 express edition MySQL 5.1 and
MySQL++-2.2.0 on Windows xp pro to develop a network application.
The application that I am writing uses many SSQDear All
This is my first email in this forum. I am writing a network application
that uses MySQL as the data repository using win32 C++ using Visual C++ 2005
express edition on windows xp in addHello.
I 'm new with compilation in c++.
What I have done
download mysql++ from tengentsoft.net/mysql++
cd mysql++-2.2.0
./configure --with-mysql /usr/local/mysql
make
sudo make install
It builds aThis doesn 't work or to be precise doesn 't tell me the true no. of affected rows
The server is 5.0.22 and the problem arises using either MySQL++ 2.1 or 2.2. The statement is a 'multi query ' but coHi there I have the same compiler error regarding there is no
localtime_s(). So I went to the svn and downloaded a new copy of
datetime.cpp and added it to my copy. Now I 'm getting the an error
regar--Boundary-00 _XCfwFWYICHFb9JZ
Content-Type text/plain
charset "utf-8 "
Content-Transfer-Encoding 7bit
Content-Disposition inline
I guess this patch should give a little acceleration
--BoundaryHi
I have just installed mysql++ 2.2.0 with vs2003 RTL
This generates the following compiler error
lib\datetime.cpp(194) error C3861 'localtime_s ' identifier not found
even with argument-depenHello
I 've compile and install svn version and have got some troubles
i 've code like this
Query q
q < < "... "
cerr < < q.preview() < < endl
q.execute()
On 2.1.1 it was ok but now it (sometimes)At long last v2.2.0 is here. There is only one minor bug fix since the
beta but if you didn 't see the previous announcement here 's the change
list since v2.1.1
o ColData const_string anBill K wrote
>
> These links are broken currently on your site.
Patience my man. I 'm literally in the process of updating the site
right now. You can check for link integrity once the RELEASE
Hello everyone
I 'm running Microsoft Visual Studio 2005.net I also have installed mySQL 5.0 and mySQL++2.1.1.
I followed the instructions in the vc read me supplied in mySQL++. I also looked I noticed that FC5 FC6 etc support mysql 5. There also appears to be perl
support for mysql 5.
Are there any plans to add mysql++ library support in FC5 FC6 or future
Fedora releases?
Bruce
I am using template queries and want to set a string parameter to NULL. How
do I do that?
This does not work
query.def[ "col1 "] mysqlpp null
query.def[ "col1 "] NULL
Thanks
Roger
Hallo
i tried use the mysql++ api but i got some problems i can 't solve. One of the problems is with header files like winsock.h windows.h and win.h. They aren 't come with VCE can 't find them on I was doing the same thing just using MySQL on the other thread but
since MySQL++ isn 't MT you really need to use the mysql api calls to
setup threading. The online doc does a good job but here 'sHi
I have a multi-threaded application with a threadpool where each thread has
its own connection (and query and row objects). I did set the 'reconnect '
and 'multi statement ' options. Once a while (Hi everybody
Im have a strange problem. My programm is multithreaded and has different
MySQL Connections on a per thread basis. This works very well. But now i
have rewriten a part of my code which aIt 's been a long time coming but here it is. Changes so far relative
to v2.1.1
o ColData const_string and SQLString can now be constructed
with an explicit length parameter. FurtheWarren Young escreveu
> You may know from reading the Wishlist that I am already toying with
> making Boost a MySQL++ dependency (for portable mutexes) but it 's
> such a complex library that I keeI am trying to build from svn on an intel OS X box and I get the
following error
/Users/lasto/Downloads/mysqlpp/bk-deps g++ -c -o mysqlpp_vallist.o -
I. -dynamic -fPIC -DPIC -I/opt/local/incluHello
I seem to have troubles building the files in the /lib and /examples directories. I am using Visual C++ Express and after I open and convert the .dsw file to .vcproj I get the error appendedI 'm closing in on a v2.2 release. Here 's the current list of things
remaining all of which are polishing matters and (hopefully) small bug
fixes
o We probably don 't need both platform.h anThe mysqlpp Query class member function str() returns a std string
containing a null byte. I realize this is the actual documented
behavior of the function but this runs contrary to the normal useHello
I 've a question regarding the VARBINARY field type. I 'm using MySQL 5.0.27 and
mysql++-2.1.1.
Can I insert binary data it means a string of unsigned chars with values in
the range 0 - 255 |
|
 |