  | | | MySQL++ | I tried pasting the whole cpp file then parts of it... no go. I 'll try
again with less data
Multiquery code- modified multiquery example from 2.3.2. Pretty
self-explanatory with comments at thePaul Martin wrote
> I cant attach b/c of size limits on this list
Actually I think the list just strips all attachments. Just paste the
code inline instead.
If you are in fact pasting it inlinddneilson wrote
> I just tried checking this out of the svn and noticed that the
> ./configure script seems to be missing from the repository.
It 's a generated file not an original source file so <quote >
Anyone reading this who wants to use Null <T > types in SSQLSes please
try this and report to the list if it doesn 't work. This is a very
invasive patch and I 'm not convinced it 's completelI 'm having some issues using multi-queries... I 'm using a C++ dialog app with MySQL 5.0.19-nt and MySQL++ 2.3.2 on a Windows XP platform. I have modified the 'multiquery example ' to demonstrate theseWaba wrote
> Here is my patch that enables one to use nullable fields in SQLSS.
So it 's only 21 months since you posted this but it 's applied now. )
Not even close to applied as-is but I hope IRichard Forrest wrote
>
> class subscript_iterator public std iterator <ReturnType SizeType >
>
> should probably read
>
> class subscript_iterator public
> std iterator <std random_access_itOk. I appreciate your patience with me on this and hope it is a useful
addition. Let me know if I need to do anything else.
> -----Original Message-----
> From Warren Young [mailto mysqlpp@(protected)Jim Wallace wrote
> I 'm thinking the deadlock test may not be a useful for mysql++. I 've
> altered xaction.cpp to test errnum() which is much simpler. Here 's the
> patch.
Argh... ) I was goingI 'm thinking the deadlock test may not be a useful for mysql++. I 've
altered xaction.cpp to test errnum() which is much simpler. Here 's the
patch.
Index xaction.cpp
> -----Original Message-----
> From Warren Young [mailto mysqlpp@(protected)]
>
> I think we don 't want the example to succeed. It 's
> intentionally demonstrating a programming bug so it should fJim Wallace wrote
> > 2. Why does the first example need the loop? The second pass
> > isn 't actually needed to make it deadlock is it?
> Not to get the deadlock but to have it succeed it must do <blush > Yes I was going to ask you about the other exceptions since
there where places those were used that didn 't have a MySQL errnum.
But it looks like you resolved it.
> -----Original Message---I put some inline comments in. I 'll redo the samples after we hammer
this out.
> -----Original Message-----
> From Warren Young [mailto mysqlpp@(protected)]
> Sent Thursday October 25 2007 10 24I put some inline comments in. I 'll redo the samples after we hammer
this out.
> -----Original Message-----
> From Warren Young [mailto mysqlpp@(protected)]
> Sent Thursday October 25 2007 10 24That 's correct you can 't reproduce the problem unless there 's a sql
call between the exception and your call to errnum() which occurs on
the rollback of a transaction. If you run the deadlock testsJim Wallace wrote
> + deadlock1 and deadlock2 Tests detecting a deadlock between
> + two transactions using the BadQuery what_errnum() value
I 've looked at these and have some concernJim Wallace wrote
>
> This is the new BadQuery exception with the new errnum parameter.
Applied with a lot of changes. Also applied the same change to
ConnectionFailed and DBSelectionFailed asJim Wallace wrote
> + /// If you want the string *and* number you must
> + /// call errnum() before calling error() since error() clears
I tried to replicate that by causing an error in one of the Jim Wallace wrote
>
> Add the 1 on the end of line 39 of common.h otherwise you get this
> error
> lib\beemutex.cpp(65) fatal error C1017 invalid integer constant
> expression
>
> --- c \tmp\coOn Wed Oct 24 2007 at 04 49 48AM -0600 Warren Young wrote
> Michael Hanselmann wrote
> > Actually I 'm a Gentoo dev too and just bumped the package last week.
>
> Thanks! The current .ebuild fiI 've attached sample source files. If they don 't make in into the list
I can send then inline.
Added sample projects to bkl file and a blurb in the readme.
See http //lists.mysql.com/plusplus/7060Part 4 of broken up new version of BadQuery update patches after review
by Warren. This is the mother lode.
This is the new BadQuery exception with the new errnum parameter.
See http //lists.mysql.Part 3 of broken up new version of BadQuery update patches after review
by Warren.
This was needed for the new BadQuery exception and since isolated it
is a separate patch.
See http //lists.mysql.Part 2 of broken up new version of BadQuery update patches after review
by Warren.
Again per Warren the BadQuery was misused in this case.
See http //lists.mysql.com/plusplus/7060 for reference
DPart 1 of broken up new version of BadQuery update patches after review
by Warren.
In this case the BadQuery was being misused in this case and Warren
suggested a new exception.
See http //lists.mysI got the tip from SVN a this morning and had to make two minor changes
to get it to compile using VS2003
Add the 1 on the end of line 39 of common.h otherwise you get this
error
lib\beemutex.cpp(65There are two problems I can see.
1. there is no end control for variable i
2. res is a vector (i guess) res.at(i) will out of boundary when i is
exceed the size
ALeX <logocomune@(protected) >
10/Got it fine. Thanks.
Odd. I seems to get all the other postings from the list but not yours.
I 'll subscribe with my other e-mail to see if I can figure out what 's
up. I used to get your but a fewALeX wrote
> I have this little problem if i use this code of exemple
> if (res) {
> mysqlpp Row row
> mysqlpp Row size_type i
> for (i 0 row res.at(i) ++i) {
> cout < < '\t ' < <  |
|
 |