EmbeddedServer: USE_TLS in dbug, heap, innobase, myisam, strings, mysys, myisammrg
EmbeddedServer: USE_TLS in dbug, heap, innobase, myisam, strings, mysys, myisammrg
am 03.06.2003 11:32:35 von Vladimir Zheleznyak
Description:
In projects dbug, heap, innobase, myisam, strings, mysys, myisammrg
USE_TLS option is disabled by default that makes compiled Embedded Server
(libmysqld.dll) unfit for dynamic linking (thru LoadLibrary).
Fix:
Add USE_TLS option to dbug, heap, innobase, myisam, strings, mysys,
myisammrg projects at Project Settings -> C/C++ -> Preprocessor ->
Preprocessor
definitions.
Originator: Vladimir Zheleznyak
Organization: CoreLab
MySQL support: none
Severity: non-critical
Priority: medium
Category: libmysqld.dll
Class: sw-bug
Release: mysql-4.0.12
Exectutable: libmysqld.dll
System: Win2000
Compiler: VC++ 6.0
Architecture: i
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org
Re: EmbeddedServer: USE_TLS in dbug, heap, innobase, myisam, strings, mysys, myisammrg
am 04.06.2003 15:42:27 von Sinisa Milivojevic
Vladimir Zheleznyak writes:
> Description:
>
> In projects dbug, heap, innobase, myisam, strings, mysys, myisammrg
> USE_TLS option is disabled by default that makes compiled Embedded Server
> (libmysqld.dll) unfit for dynamic linking (thru LoadLibrary).
>
> Fix:
>
> Add USE_TLS option to dbug, heap, innobase, myisam, strings, mysys,
> myisammrg projects at Project Settings -> C/C++ -> Preprocessor ->
> Preprocessor
> definitions.
>
>
> Originator: Vladimir Zheleznyak
> Organization: CoreLab
> MySQL support: none
> Severity: non-critical
> Priority: medium
> Category: libmysqld.dll
> Class: sw-bug
> Release: mysql-4.0.12
>
> Exectutable: libmysqld.dll
> System: Win2000
> Compiler: VC++ 6.0
> Architecture: i
>
>
Hi!
Thanks a lot for your bug report.
There are two issues here actually.
First of all, USE_TLS is not defined in source files, but it is
defined in VC++ project files.
Second, embedded server library can not be used as dynamic, but only
as static, both on Unix and Windows.
We have plans to make it usable in dynamic version, but the
availability of it is not yet determined.
--
Regards,
--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org
Re: EmbeddedServer: USE_TLS in dbug, heap, innobase, myisam, strings, mysys, myisammrg
am 04.06.2003 15:52:18 von Martin Gainty
If you are to use TLS_ALLOC Read how to compile a threaded client
http://www.mysql.com/doc/en/Threaded_clients.html
Martin
----- Original Message -----
From: "Sinisa Milivojevic"
To:
Cc:
Sent: Wednesday, June 04, 2003 9:42 AM
Subject: Re: EmbeddedServer: USE_TLS in dbug, heap, innobase, myisam,
strings, mysys, myisammrg
> Vladimir Zheleznyak writes:
> > Description:
> >
> > In projects dbug, heap, innobase, myisam, strings, mysys, myisammrg
> > USE_TLS option is disabled by default that makes compiled Embedded
Server
> > (libmysqld.dll) unfit for dynamic linking (thru LoadLibrary).
> >
> > Fix:
> >
> > Add USE_TLS option to dbug, heap, innobase, myisam, strings, mysys,
> > myisammrg projects at Project Settings -> C/C++ -> Preprocessor ->
> > Preprocessor
> > definitions.
> >
> >
> > Originator: Vladimir Zheleznyak
> > Organization: CoreLab
> > MySQL support: none
> > Severity: non-critical
> > Priority: medium
> > Category: libmysqld.dll
> > Class: sw-bug
> > Release: mysql-4.0.12
> >
> > Exectutable: libmysqld.dll
> > System: Win2000
> > Compiler: VC++ 6.0
> > Architecture: i
> >
> >
>
> Hi!
>
> Thanks a lot for your bug report.
>
> There are two issues here actually.
>
> First of all, USE_TLS is not defined in source files, but it is
> defined in VC++ project files.
>
> Second, embedded server library can not be used as dynamic, but only
> as static, both on Unix and Windows.
>
> We have plans to make it usable in dynamic version, but the
> availability of it is not yet determined.
>
> --
>
> Regards,
>
> --
> For technical support contracts, go to https://order.mysql.com/?ref=msmi
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
> /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
> <___/ www.mysql.com
>
>
> --
> MySQL Bugs Mailing List
> For list archives: http://lists.mysql.com/bugs
> To unsubscribe: http://lists.mysql.com/bugs?unsub=mgainty@hotmail.com
>
>
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org
Re: EmbeddedServer: USE_TLS in dbug, heap, innobase, myisam, strings, mysys, myisammrg
am 05.06.2003 08:13:30 von Vladimir Zheleznyak
Hello,
> > Second, embedded server library can not be used as dynamic, but only
> > as static, both on Unix and Windows.
>
Do you know any other problems with dynamic linking besides using
TLS and mysql_server_end for InnoDB?
By our prior testing all work correctly if compile with USE_TLS.
Best regards,
Vladimir Zheleznyak
----- Original Message -----
From: "Sinisa Milivojevic"
To:
Cc:
Sent: Wednesday, June 04, 2003 4:42 PM
Subject: Re: EmbeddedServer: USE_TLS in dbug, heap, innobase, myisam,
strings, mysys, myisammrg
> Vladimir Zheleznyak writes:
> > Description:
> >
> > In projects dbug, heap, innobase, myisam, strings, mysys, myisammrg
> > USE_TLS option is disabled by default that makes compiled Embedded
Server
> > (libmysqld.dll) unfit for dynamic linking (thru LoadLibrary).
> >
> > Fix:
> >
> > Add USE_TLS option to dbug, heap, innobase, myisam, strings, mysys,
> > myisammrg projects at Project Settings -> C/C++ -> Preprocessor ->
> > Preprocessor
> > definitions.
> >
> >
> > Originator: Vladimir Zheleznyak
> > Organization: CoreLab
> > MySQL support: none
> > Severity: non-critical
> > Priority: medium
> > Category: libmysqld.dll
> > Class: sw-bug
> > Release: mysql-4.0.12
> >
> > Exectutable: libmysqld.dll
> > System: Win2000
> > Compiler: VC++ 6.0
> > Architecture: i
> >
> >
>
> Hi!
>
> Thanks a lot for your bug report.
>
> There are two issues here actually.
>
> First of all, USE_TLS is not defined in source files, but it is
> defined in VC++ project files.
>
> Second, embedded server library can not be used as dynamic, but only
> as static, both on Unix and Windows.
>
> We have plans to make it usable in dynamic version, but the
> availability of it is not yet determined.
>
> --
>
> Regards,
>
> --
> For technical support contracts, go to https://order.mysql.com/?ref=msmi
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
> /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
> <___/ www.mysql.com
>
>
>
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org
Re: EmbeddedServer: USE_TLS in dbug, heap, innobase, myisam, strings, mysys, myisammrg
am 05.06.2003 14:57:21 von Sinisa Milivojevic
Vladimir Zheleznyak writes:
>
> Hello,
>
> Do you know any other problems with dynamic linking besides using
> TLS and mysql_server_end for InnoDB?
> By our prior testing all work correctly if compile with USE_TLS.
>
> Best regards,
> Vladimir Zheleznyak
>
Problems could pop-up with several programs using simultaneously
dynamic embedded server library.
--
Regards,
--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org