|
|
Up |
|
|
  |
Author: Bruce KeatsBruce Keats
Date: Jan 19, 2007 09:22
------=_Part_128924_799098.1169227239627
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I am willing to do get it into the extras, but I am new to Fedora's
packaging guidelines. Are they documented somewhere?
If I do the work then can the mysql++ RPMs be included in the FC5, FC6, etc
releases?
As well, where do the binary RPMs come from? Do I build them or is there a
special build system that creates the binary RPMs once the source RPM is
created?
Thanks,
Bruce
On 1/18/07, Peter Gordon thecodergeek.com> wrote:
>
> On Thu, 2007-01-18 at 11:27 -0500, Bruce Keats wrote:
>> Are there any plans to add mysql++ library support in FC5, FC6 or
>> future Fedora...
|
| Show full article (1.88Kb) |
|
| |
no comments
|
|
  |
|
|
  |
Author: Bruce KeatsBruce Keats
Date: Jan 18, 2007 08:30
------=_Part_115116_9005509.1169137620553
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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
------=_Part_115116_9005509.1169137620553--
|
| |
|
no comments
|
|
  |
|
|
  |
Author: Urscheler, Roger (COM Chantry CAUrscheler, Roger (COM Chantry CA
Date: Jan 18, 2007 08:00
------_=_NextPart_001_01C73B19.8C936931
Content-Type: text/plain
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
------_=_NextPart_001_01C73B19.8C936931--
|
| |
|
no comments
|
|
  |
Author: Oliver HinkenOliver Hinken
Date: Jan 18, 2007 07:53
------=_NextPart_000_0009_01C73B22.4997CB00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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 my system. I copied =
them from VC6 but i got some errors, redefinitons, no declared things =
aso.
I have done all what is written in der readme file which comes with =
mysql++, set folders and settings, listed there. but it didn't work. The =
only thing i can't find in VCE is managed extension i'm using VCE in =
German (cause im German). I tried to use the newest version of the 4.1 =
series but i also don't want to work.
I have written a little Intranetpage for my office in php with that =
(older version of) mysql server and now i want to rewritte it with c++. =
The examples that comes with mysql++ also don't work.
|
| Show full article (1.26Kb) |
|
no comments
|
|
  |
Author: Jim WallaceJim Wallace
Date: Jan 17, 2007 09:30
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's what I do
In main init:
UINT tsafe =3D mysql_thread_safe();=20
assert( tsafe =3D=3D 1 );
On thread:
if ( mysql_thread_init() !=3D 0 )
error=20
...
mysql_thread_end();
-----Original Message-----
From: Warren Young [mailto:mysqlpp@ etr-usa.com]=20
Sent: Wednesday, January 17, 2007 12:05 PM
To: MySQL++ Mailing List
Subject: Re: Lost connection to MySQL server during query
Urscheler, Roger (COM Chantry CA) wrote:
>=20
> Does mysql++ 2.2 provide more functionallity regarding threading?=20
|
| Show full article (1.30Kb) |
|
no comments
|
|
  |
Author: Warren YoungWarren Young
Date: Jan 17, 2007 09:06
Urscheler, Roger (COM Chantry CA) wrote:
>
> Does mysql++ 2.2 provide more functionallity regarding threading?
Not really. It's all scheduled for v2.4. (Not v2.3 because that's a
release for stuff I want to get out of the way fairly quickly, which
ideally would have been in v2.2. v2.3 basically exists because I didn't
want to delay v2.2 any longer.)
|
| |
|
no comments
|
|
  |
Author: Urscheler, Roger (COM Chantry CAUrscheler, Roger (COM Chantry CA
Date: Jan 17, 2007 08:53
Thanks for your reply. Yes I am interessted in your marcos.
I am not sure what you mean by init mysql. All I do is instantiate a
mysqlpp::Connection object per thread and call its connect() function. I
don't see any mysqlpp interface to initialize the thread.
I see following comment in mysql++ 2.1 whishlist:
Need some way to call mysql_thread_init() and
mysql_thread_end() per thread. Also, work in some way to
call mysql_thread_safe() automatically, perhaps the first
time through the function that calls mysql_thread_init().
If the C API library reports that it is not thread-safe,
report this to the caller, perhaps through an exception,
or simply by refusing to init more than one thread.
Does mysql++ 2.2 provide more functionallity regarding threading? According
to Bill's reply, he has the same problem with mysql++ 2.2.
Roger
|
| Show full article (4.35Kb) |
|
no comments
|
|
  |
|
|
  |
Author: Jim WallaceJim Wallace
Date: Jan 17, 2007 08:35
Our server is set to disconnect idle sessions, so it is a 'normal'
occurrence to get this error. Ping() doesn't appear to help, so I use a
set of macros to handle exceptions and do retry. Below is how I use
them. I can send them to you if your interested.
And here's how I use them
CHECK_CONNECTION
BEGIN_TRY_SQL
.....
END_TRY_SQL( "DeletePlayer" )
As an aside, did you init mysql on each thread? (mysql_thread_init,
etc.)
-----Original Message-----
From: Urscheler, Roger (COM Chantry CA)
[mailto:roger.urscheler@ siemens.com]=20
Sent: Wednesday, January 17, 2007 10:33 AM
To: Bill K
Cc: MySQL++ Mailing List
Subject: RE: Lost connection to MySQL server during query
Thanks Bill,
|
| Show full article (3.09Kb) |
|
no comments
|
|
|
|
|