  | | | MySQL++ | The doc is included in \downloads\mysql++-2.3.2.tar.gz
-----Original Message-----
From jeromebarotin@(protected) [mailto jeromebarotin@(protected)] On Behalf
Of Monsieur Bidon
Sent Tuesday October 09 Hello everybody
I 'm still using Visual C++ 6.0 with mysql++. The binary are available to
download but I definitely can 't find the reported documentation.
I 'm really interested by it so if somebodyAnt?nio Santos wrote
>
> How can I now use the site_survey_point structure type in other .cpp
> files?
Look at the top of examples/util.cpp for MYSQLPP_SSQLS_NO_STATICS. This
allows the util moHi
I 'm new to the project and I 've been having some difficulties using
SSQLS macros with multiple files. Suppose I have a macro like the
following
sql_create_5(site_survey_point 1 0
mysqlpp Jim Wallace wrote
>
> To get around it I switched the parameter around but was curious if
> there was a fix to avoid the confusion?
Explicitly cast the second parameter to SQLString.
--
MySQL++ Please point me to the link if this has already been answered. I tried
search the archive but I didn 't find a good hit.
I recently got a point in my project to update from 2.1.1 to 2.3.2. The
migrIt is set in mysql 's config file.
Have you traced into your program?
Albert Sanchez
> Is there a limit of connections (open and close) that mysql can carry? or a
> limit by second?
>
> I have a bigIs there a limit of connections (open and close) that mysql can carry? or a
limit by second?
I have a big memory crash (double free or corruption) in my program and I
smell that it could be mysql
tMaarten Schrijvers wrote
>
> I had to increase column 'item ' from char(20) to char(22) - "Nuerenberger
> Bratwurst " is 22 characters )
I was aware that it truncated that column but I never reaOK. I Google 'd and saw many people had similar problems with ambiguity in
VS2005. However I didn 't find how they resolved their problems (if at all).
So I decided to create a work-around which I woulThanks Warren
I had to increase column 'item ' from char(20) to char(22) - "Nuerenberger
Bratwurst " is 22 characters ) but then it worked
I have probably tinkered too much with my code in the meaIt looks like your exception is coming from the underlining c++ string
stuff and not from mysql++.
You can try adding in a catch all for std exception or just a "... " e.g.
catch ( const std exceHerv? accidently sent this to my email...
Hello all
I using mysql++-2.3.2 on hp-ux
I use a instance of
mysqlpp Connection m_db
the exception it 's normaly at true.
it 's a example of use
void Maarten Schrijvers wrote
>
> Is there another step I have to take before a template-query actually
> performs an action on the database?
Try examples/tquery. If it works and your code doesn 't youI have some fields which can be (SQL) NULL. If they are filled they are
varchar but they 're not necessary so they could be NULL.
Compiling gives me an error though
c \mysql++\include\null.h(206) >
> You must pass parameters to preview() when using template queries. In
> this case pass the same parameters you passed to execute(). It doesn 't
> keep the assembled query in memory it rebuilds I figured it out.
Turns out the problem was that I had two references to the same data. res
and RawRes. Basically it was deconstructing one and then bombing when it
tried to deconstruct the other. Sorry for all the questions lately I 'm pretty new to c++ and much
more of a database guy then a pure programmer.
Anyway I have a new problem that I 'm struggling with.
I created a wrapper to run a David Sevier wrote
>
> Query query con.query()
> String QueryString "select * from diagnostics "
>
> query < < QueryString.cString()
Why are you doing this the hard way? What 's wrong with
Maarten Schrijvers wrote
>
> String^ prev ToUCS2(qInsRel.preview().c_str()) //using this in a
> messagebox to see what the query looks like...This is my last breakpoint
> before things go wrong
Hi
I managed to solve my problem with the libraries not building properly
by adding in some additional includes into my program. So now at
least I can connect to my database.
But now I 'm having a I have written the following code using a template query. But it goes wrong
somehow. I am using VS2005
static std string vNaam
// etc...
mysqlpp Query qInsRel con.query()
qInsRel < < "INSERT IHello all
where can I find the function "mysql_real_connect(.....) ".
TIA
Mosaed
--
MySQL++ Mailing List
For list archives http //lists.mysql.com/plusplus
To unsubscribe http //lists.mysql.com/Hi Warren
Thanks for your (and Jim 's) e-mail. Apparently the problem was mixing
exception and return codes together (I opened the connection with false but
expected exceptions to be thrown. They weJim Wallace wrote
> Some of you may have thought this was pretty bogus.
Some of us maintainers were skeptical yes. )
> However what I thought was causing mysql_errno to be cleared was
> incorrecJim Wallace wrote
>
> any constructive criticism is welcome.
Oooh you asked for it. )
> + throw BadQuery(error() errnum())
When submitting patches to any project not just MySQL++ follow tPlease don 't reply to a post on the list to start a new topic. It
messes up threading in mail programs that understand how to do it.
Compose a new message to the mailing list address instead. ThanJack Monflower wrote
>
> Connection goes fine (I check if connect returns false and it does not).
You can 't mix the return-code and exception error handling mechanisms in
this way.
I don 't mean Jerry Ro wrote
>
> I tried using the --with-mysql-lib /usr/local/lib64/mysql
> --with-mysql-include /usr/local/include but this still does not help
You 're saying here that the library in /usr/locSome of you may have thought this was pretty bogus. I was thinking that
too when doing to more testing but digging in found the patch is still
valid.
However what I thought was causing mysql_errno |
|
 |