Re: [Firebird-devel] Firebird 2.5 built from source code on AIX 6.1 - core dump

2014-06-10 Thread Alex Peshkoff
On 06/11/14 06:04, vv m wrote: > Thank you! > > Actually, I reproduced it once on Linux also. It happened when > FIREBIRD_LOCK was not set. It seems unrelated. > P.S. I'm trying to build the same code on HP-UX IA64 and Sun SPARC. Having > core dump on HP on the same stage - create_db on empty.fdb

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Alex Peshkoff
On 06/10/14 22:24, Dimitry Sibiryakov wrote: >> When you asked about a way to iterate through a set of plugins - what >> type of plugins did you talk about? > Replication plugin. > May be you can say a few words about it? Where will be replication plugins plugged into firebird? ---

Re: [Firebird-devel] Firebird 2.5 built from source code on AIX 6.1 - core dump

2014-06-10 Thread vv m
Thank you! Actually, I reproduced it once on Linux also. It happened when FIREBIRD_LOCK was not set. P.S. I'm trying to build the same code on HP-UX IA64 and Sun SPARC. Having core dump on HP on the same stage - create_db on empty.fdb, but the stack looks different. Should I post details in this

[Firebird-devel] [FB-Tracker] Created: (CORE-4460) Expressions containing some built-in functions may be badly optimized

2014-06-10 Thread Dmitry Yemanov (JIRA)
Expressions containing some built-in functions may be badly optimized - Key: CORE-4460 URL: http://tracker.firebirdsql.org/browse/CORE-4460 Project: Firebird Core Issue Type

[Firebird-devel] [FB-Tracker] Created: (CORE-4459) Add precision specification to TIME and TIMESTAMP in datatype and cast

2014-06-10 Thread Mark Rotteveel (JIRA)
Add precision specification to TIME and TIMESTAMP in datatype and cast -- Key: CORE-4459 URL: http://tracker.firebirdsql.org/browse/CORE-4459 Project: Firebird Core Issue Ty

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Dimitry Sibiryakov
10.06.2014 19:54, Alex Peshkoff wrote: > Well, Dimitry in that case please explain what do you mean by 'what > version should be assigned to plugin'. The only case when new version > should be chosen is when new type of plugin added. Right. That's what I'm trying to do now. > When you asked ab

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Dmitry Yemanov
10.06.2014 21:54, Alex Peshkoff wrote: > You are not completely right. Imagine someone adds own provider to > firebird. And that provider except other features wants to load some > modules to perform various user-specific code - that modules can be > treated as firebird plugins, at least plugin ma

Re: [Firebird-devel] Firebird 2.5 built from source code on AIX 6.1 - core dump

2014-06-10 Thread Alex Peshkoff
On 06/10/14 19:21, Alex Peshkoff wrote: > On 06/09/14 18:28, vv m wrote: >> Hi Alex, >> >> I'm attaching the requested file. > > Alternative (USE_FCNTL) ifdef is definitely less tested. > I will check in on linux and reply after it. > > I've reproduced an error on linux. Wait for a fix please.

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Alex Peshkoff
On 06/10/14 19:37, Dimitry Sibiryakov wrote: > And once again about versioning: if in future versions you decide to add > one more > method to IVersioned interface, how it'll cope with your autoupgrade system? Very bad - therefore we will not do it. > I mean that > new unknown methods are

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Alex Peshkoff
On 06/10/14 20:24, Dmitry Yemanov wrote: > 10.06.2014 19:37, Dimitry Sibiryakov wrote: > >> Actually, yes. I don't understand what you call "user types of plugins" and >> their >> difference from "system types", because support for any plugin type must be >> coded in >> engine code directly. I ca

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Dmitry Yemanov
10.06.2014 19:37, Dimitry Sibiryakov wrote: > Actually, yes. I don't understand what you call "user types of plugins" and > their > difference from "system types", because support for any plugin type must be > coded in > engine code directly. I cannot imagine a way to work with plugin that > pr

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Dimitry Sibiryakov
10.06.2014 15:57, Alex Peshkoff wrote: > That's not about versioning, but about choosing a way to assign to > plugins user types not conflicting with system types. Or having plugins > of different types is also completely unnecessary?;) Actually, yes. I don't understand what you call "user type

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Alex Peshkoff
On 06/10/14 19:21, Adriano dos Santos Fernandes wrote: > On 10/06/2014 08:42, Alex Peshkoff wrote: >> What if we change PluginType >> from unsigned to signed and let users' plugin types be negative (like >> blob types)? Do you any problems here? >> >> > Numbers are not a way to name things globally

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Adriano dos Santos Fernandes
On 10/06/2014 08:42, Alex Peshkoff wrote: > What if we change PluginType > from unsigned to signed and let users' plugin types be negative (like > blob types)? Do you any problems here? > > Numbers are not a way to name things globally in this world. As you cited blob sub types, it's an example

Re: [Firebird-devel] Firebird 2.5 built from source code on AIX 6.1 - core dump

2014-06-10 Thread Alex Peshkoff
On 06/09/14 18:28, vv m wrote: > Hi Alex, > > I'm attaching the requested file. flock() system call is detected as non-working on AIX by configure. Specially strange that I've failed to find something useful in the net re this. Alternative (USE_FCNTL) ifdef is definitely less tested. I will check

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Alex Peshkoff
On 06/10/14 15:51, Dimitry Sibiryakov wrote: >> Now let me return to one more aspect. Adding own plugin types by users >> was not taken into an account initially. What if we change PluginType >> from unsigned to signed and let users' plugin types be negative (like >> blob types)? Do you any proble

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Dimitry Sibiryakov
10.06.2014 13:42, Alex Peshkoff wrote: > Choosing version is needed only f you add new type of plugin - for > existing plugin types version number is already chosen. And this is exactly what I'm trying to do. > Now let me return to one more aspect. Adding own plugin types by users > was not ta

Re: [Firebird-devel] Plugin version number

2014-06-10 Thread Alex Peshkoff
On 06/10/14 14:19, Dimitry Sibiryakov wrote: > Hello, All. > > What is the right method to choose subj for a new plugin? Should it be a > sum of version > numbers of all parent classes (ie IVersioned+IPluginModule+IBasePlugin etc)? > Choosing version is needed only f you add new type of p

[Firebird-devel] Plugin version number

2014-06-10 Thread Dimitry Sibiryakov
Hello, All. What is the right method to choose subj for a new plugin? Should it be a sum of version numbers of all parent classes (ie IVersioned+IPluginModule+IBasePlugin etc)? -- WBR, SD. -- HPCC Systems Ope