On 07/03/14 17:48, Dimitry Sibiryakov wrote:
> 03.07.2014 12:04, Alex Peshkoff wrote:
>> On 07/03/14 13:59, Dimitry Sibiryakov wrote:
>>> If a plugin has failed to create because of misconfiguration or for
>>> any other reason,
>>> how can IPluginFactory::createPlugin() method return the err
Per-database plugin configuration
-
Key: CORE-4482
URL: http://tracker.firebirdsql.org/browse/CORE-4482
Project: Firebird Core
Issue Type: Improvement
Components: Engine
Affects Versions: 3.0 Alp
03.07.2014 12:04, Alex Peshkoff wrote:
> On 07/03/14 13:59, Dimitry Sibiryakov wrote:
>> If a plugin has failed to create because of misconfiguration or for any
>> other reason,
>> how can IPluginFactory::createPlugin() method return the error code/text?
>
> Update your tree please.
> Fix was
03.07.2014 14:09, Alex Peshkoff wrote:
> Parameter of plugin is something different from the list of plugins of
> given type, used by GetPlugins.
From your syntax I decided that you suggest to combine them.
--
WBR, SD.
--
On 07/03/14 16:04, Dimitry Sibiryakov wrote:
> 03.07.2014 13:58, Alex Peshkoff wrote:
>> On 07/03/14 15:36, Dimitry Sibiryakov wrote:
03.07.2014 13:25, Alex Peshkoff wrote:
>> This syntax fits much better into current config files.
Can GetPlugins() handle it?
>> How is it re
03.07.2014 13:58, Alex Peshkoff wrote:
> On 07/03/14 15:36, Dimitry Sibiryakov wrote:
>> >03.07.2014 13:25, Alex Peshkoff wrote:
>>> >>This syntax fits much better into current config files.
>> > Can GetPlugins() handle it?
>> >
> How is it related with GetPlugins?
GetPlugins() will have to
On 07/03/14 15:36, Dimitry Sibiryakov wrote:
> 03.07.2014 13:25, Alex Peshkoff wrote:
>> This syntax fits much better into current config files.
> Can GetPlugins() handle it?
>
How is it related with GetPlugins?
--
O
03.07.2014 13:25, Alex Peshkoff wrote:
> This syntax fits much better into current config files.
Can GetPlugins() handle it?
--
WBR, SD.
--
Open source business process management suite built on Java and Eclipse
T
On 07/03/14 14:33, Dimitry Sibiryakov wrote:
> 03.07.2014 11:27, Alex Peshkoff wrote:
>> Mixing plugin-specific parameters with firebird parameters in same heap
>> is bad idea. Mixing 2 sets of parameters of 2 plugins in same heap is
>> even more bad - each plugin would like to have parameter 'Foo'
03.07.2014 11:27, Alex Peshkoff wrote:
> Mixing plugin-specific parameters with firebird parameters in same heap
> is bad idea. Mixing 2 sets of parameters of 2 plugins in same heap is
> even more bad - each plugin would like to have parameter 'Foo' for
> different purporses. Can we suggest a forma
On 07/03/14 13:59, Dimitry Sibiryakov wrote:
> Hello, All.
>
> If a plugin has failed to create because of misconfiguration or for any
> other reason,
> how can IPluginFactory::createPlugin() method return the error code/text?
>
Update your tree please.
Fix was committed yesterday for a l
Hello, All.
If a plugin has failed to create because of misconfiguration or for any
other reason,
how can IPluginFactory::createPlugin() method return the error code/text?
--
WBR, SD.
--
Open source business
On 07/03/14 13:26, Dmitry Yemanov wrote:
> 03.07.2014 13:18, Dimitry Sibiryakov wrote:
>
>>> No. Do you have a suggestion?
>> IMHO, databases.conf is an obvious (from end-user POV) and the best place.
> Or just pass the database name into plugin and allow it to store/parse
> its own config (databas
On 07/03/14 13:18, Dimitry Sibiryakov wrote:
> 03.07.2014 11:14, Alex Peshkoff wrote:
>>> Ok. Is there a place where user can put database-wide parameters
and where a plugin can
get it from exactly for the database it was loaded for?
>> No. Do you have a suggestion?
> IMHO, datab
03.07.2014 13:18, Dimitry Sibiryakov wrote:
>> No. Do you have a suggestion?
>
> IMHO, databases.conf is an obvious (from end-user POV) and the best place.
Or just pass the database name into plugin and allow it to store/parse
its own config (database-wide or global) in whatever way the develope
03.07.2014 11:14, Alex Peshkoff wrote:
>> Ok. Is there a place where user can put database-wide parameters
>> >and where a plugin can
>> >get it from exactly for the database it was loaded for?
> No. Do you have a suggestion?
IMHO, databases.conf is an obvious (from end-user POV) and the be
On 07/03/14 13:04, Dmitry Yemanov wrote:
> 03.07.2014 12:45, Alex Peshkoff wrote:
>
>> In databases.conf one can use only present in firebird.conf fixed set of
>> parameters.
>> See config.cpp for details.
>> I suppose we have no problems adding replication parameters in it.
> I don't think *plugin
03.07.2014 11:04, Dmitry Yemanov wrote:
> I don't think*plugin-specific* settings belong to our config.
Ok. Is there a place where user can put database-wide parameters and where a
plugin can
get it from exactly for the database it was loaded for?
--
WBR, SD.
--
03.07.2014 12:45, Alex Peshkoff wrote:
> In databases.conf one can use only present in firebird.conf fixed set of
> parameters.
> See config.cpp for details.
> I suppose we have no problems adding replication parameters in it.
I don't think *plugin-specific* settings belong to our config.
Dmitr
03.07.2014 10:45, Alex Peshkoff wrote:
> In databases.conf one can use only present in firebird.conf fixed set of
> parameters.
> See config.cpp for details.
I saw it and really hoped that IConfig or IConfigEntry may help in this case.
> I suppose we have no problems adding replication paramet
On 07/03/14 12:34, Dimitry Sibiryakov wrote:
> 03.07.2014 10:23, Alex Peshkoff wrote:
>>> Which interface a plugin can use to get "Bar" for "Foo" when it is
>>> loaded for this
database?
>> IFirebirdConf.
> I tried, but getKey("Foo") returns -1.
> What did I wrong?
>
In databas
03.07.2014 10:23, Alex Peshkoff wrote:
>> Which interface a plugin can use to get "Bar" for "Foo" when it is
>> loaded for this
>> >database?
> IFirebirdConf.
I tried, but getKey("Foo") returns -1.
What did I wrong?
--
WBR, SD.
On 07/03/14 12:00, Dimitry Sibiryakov wrote:
> Hello, All.
>
> Is subj possible?
> If I write in database.conf something like this:
>
> MyDB=MyDB
> {
> Foo=Bar
> }
>
> Which interface a plugin can use to get "Bar" for "Foo" when it is loaded
> for this
> database?
IFirebirdC
Local database mode parameters are ignored
--
Key: CORE-4481
URL: http://tracker.firebirdsql.org/browse/CORE-4481
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Version
Hello, All.
Is subj possible?
If I write in database.conf something like this:
MyDB=MyDB
{
Foo=Bar
}
Which interface a plugin can use to get "Bar" for "Foo" when it is loaded
for this
database?
--
WBR, SD.
---
25 matches
Mail list logo