Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Michal Kubecek
On Mon, Mar 30, 2015 at 10:33:16AM +0300, Alex Peshkoff wrote: On 03/29/15 21:56, Egor Pugin wrote: I ran fbserver from Xcode and the standard socket() function cannot create socket. remote/inet.cpp:3060 fd = ::socket(domain, type | O_CLOEXEC, protocol); (The execution does not go into

Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Egor Pugin
I built 64-bit version of Firebird (OS X 10.10, AppleClang 6.0.0, Xcode 6.2). The symbol O_CLOEXEC is present, but as you see it has negative effect on socket() call. By the way the build is broken on the latest trunk . I used older revision to test with Xcode (61006). Trunk build log -

Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Paul Beach
I built 64-bit version of Firebird (OS X 10.10, AppleClang 6.0.0, Xcode 6.2). The symbol O_CLOEXEC is present, but as you see it has negative effect on socket() call. Ahh - good - that gets rid of one possible reason for failure. Perhaps FD_CLOEXEC instead? Paul

Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Alex Peshkoff
On 03/30/15 12:44, Egor Pugin wrote: There's no SOCK_CLOEXEC symbol on my system or it is not included. That's better than blindly use of wrong flag. I will add check to configure.ac. Same should be reflected in cmake. On 30 March 2015 at 12:38, Alex Peshkoff peshk...@mail.ru wrote: On

Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Egor Pugin
Don't try to guess the right flag. FD_CLOEXEC is defined as 1 which is SOCK_STREAM also. Better solution is to write ifdef for OS X near the flag or to remove the errno check at the next if statement, so the execution always tries to call second socket() without any tricky flags in case when

Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Alex Peshkoff
On 03/30/15 12:23, Michal Kubecek wrote: On Mon, Mar 30, 2015 at 11:37:42AM +0300, Egor Pugin wrote: On 30 March 2015 at 11:26, Michal Kubecek m...@mk-sys.cz wrote: According to my socket(2), it should be SOCK_CLOEXEC rather than O_CLOEXEC (but these constants seem to be equal on most

Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Paul Beach
On 03/29/15 21:56, Egor Pugin wrote: Hi, Actually I didn't try to run Firebird on OS X before, but... I ran fbserver from Xcode and the standard socket() function cannot create socket. remote/inet.cpp:3060 fd = ::socket(domain, type | O_CLOEXEC, protocol); (The execution does not go into

Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Michal Kubecek
On Mon, Mar 30, 2015 at 11:37:42AM +0300, Egor Pugin wrote: On 30 March 2015 at 11:26, Michal Kubecek m...@mk-sys.cz wrote: According to my socket(2), it should be SOCK_CLOEXEC rather than O_CLOEXEC (but these constants seem to be equal on most architectures). I built 64-bit version of

Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Egor Pugin
There's no SOCK_CLOEXEC symbol on my system or it is not included. On 30 March 2015 at 12:38, Alex Peshkoff peshk...@mail.ru wrote: On 03/30/15 12:23, Michal Kubecek wrote: On Mon, Mar 30, 2015 at 11:37:42AM +0300, Egor Pugin wrote: On 30 March 2015 at 11:26, Michal Kubecek m...@mk-sys.cz

Re: [Firebird-devel] Y-valve and DPBs

2015-03-30 Thread James Starkey
Why not just establish a mechanism for other providers to register their dpb codes. It isn't like their is either a shortage of unused codes or a large number of new providers. That would also provide an opportunity to discuss and possibly improve a proposal. I can't help but think that people

[Firebird-devel] SUPERSERVER_V2 define and code can be removed ?

2015-03-30 Thread marius adrian popa
Seems that it is not used for years https://github.com/FirebirdSQL/core/search?utf8=%E2%9C%93q=SUPERSERVER_V2 Jim removed it in Vulcan -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by

Re: [Firebird-devel] SUPERSERVER_V2 define and code can be removed ?

2015-03-30 Thread Alex Peshkoff
On 03/30/15 16:16, marius adrian popa wrote: Seems that it is not used for years https://github.com/FirebirdSQL/core/search?utf8=%E2%9C%93q=SUPERSERVER_V2 Jim removed it in Vulcan Please do not cleanup it. -- Dive

Re: [Firebird-devel] SUPERSERVER_V2 define and code can be removed ?

2015-03-30 Thread marius adrian popa
No problem this is why i asked related old thread with cleanup question https://sourceforge.net/p/firebird/mailman/message/15759466/ On Mon, Mar 30, 2015 at 4:31 PM, Alex Peshkoff peshk...@mail.ru wrote: On 03/30/15 16:16, marius adrian popa wrote: Seems that it is not used for years

Re: [Firebird-devel] Y-valve and DPBs

2015-03-30 Thread Alex Peshkoff
On 03/21/15 17:46, Adriano dos Santos Fernandes wrote: On 21-03-2015 05:52, Dimitry Sibiryakov wrote: 21.03.2015 2:18, Adriano dos Santos Fernandes wrote: All these constants are mixed in the same number space. So we say we support multiple providers, but at the same time we expect that all

[Firebird-devel] [FB-Tracker] Created: (CORE-4725) Command Alter table T alter C NULL is allowed for column C which was already defined as PRIMARY KEY for T

2015-03-30 Thread Pavel Zotov (JIRA)
Command Alter table T alter C NULL is allowed for column C which was already defined as PRIMARY KEY for T - Key: CORE-4725 URL:

[Firebird-devel] [FB-Tracker] Created: (CORE-4727) Leave in nested FOR SELECT ... DO statements will not cause refresh of parameters for the left FOR SELECT ... DO

2015-03-30 Thread Jan-Martin (JIRA)
Leave in nested FOR SELECT ... DO statements will not cause refresh of parameters for the left FOR SELECT ... DO Key: CORE-4727 URL: