[Firebird-devel] Unnecessary pass sorting INTL_DATA

2018-01-18 Thread Adriano dos Santos Fernandes
Hi! Most of types generates reversible sort keys, so only key is written in sort blocks and data is regenerated from it. INTL strings (IS_INTL_DATA) does not generate reversible sort keys, so original data is also written. I think there is an unnecessary pass for them, there is no need to

[Firebird-devel] [FB-Tracker] Created: (CORE-5716) invalid size in free() for gpre_current

2018-01-18 Thread The Mad Doctor (JIRA)
invalid size in free() for gpre_current --- Key: CORE-5716 URL: http://tracker.firebirdsql.org/browse/CORE-5716 Project: Firebird Core Issue Type: Bug Components: Build Issues / Porting

[Firebird-devel] [FB-Tracker] Created: (CORE-5715) create_db segfaults and kills my build

2018-01-18 Thread The Mad Doctor (JIRA)
create_db segfaults and kills my build -- Key: CORE-5715 URL: http://tracker.firebirdsql.org/browse/CORE-5715 Project: Firebird Core Issue Type: Bug Components: Installation Affects

Re: [Firebird-devel] Database restore problem with 3.0(.3.32882)

2018-01-18 Thread Gabor Boros
2018. 01. 18. 17:50 keltezéssel, Alex Peshkoff via Firebird-devel írta: Sorry -  did not reproduce, restore log for: ./gbak -v -c BSP2018_20180118_121408.fbk /mnt/db/BSP2018_20180118_121408.FDB >log I use "gbak -v -c -user BSPOWNER BSP2018..." form. BSPOWNER is the creator and owner of the

Re: [Firebird-devel] About support for embed into iOS/Android

2018-01-18 Thread Dimitry Sibiryakov
18.01.2018 16:56, Carlos H. Cantu wrote: And you notified them that is available? And in conferences talk about this? Most of them I don't have the personal contact, because it was just talks during the FDD conferences. And yes, in the last FDD (2017) we had a entire session about "FB for

Re: [Firebird-devel] Database restore problem with 3.0(.3.32882)

2018-01-18 Thread Alex Peshkoff via Firebird-devel
On 01/18/18 16:01, Gabor Boros wrote: 2018. 01. 18. 13:41 keltezéssel, Alex Peshkoff via Firebird-devel írta: Send them to me please. Done. Sorry -  did not reproduce, restore log for: ./gbak -v -c BSP2018_20180118_121408.fbk /mnt/db/BSP2018_20180118_121408.FDB >log is attached. BTW

Re: [Firebird-devel] About support for embed into iOS/Android

2018-01-18 Thread Carlos H. Cantu
Title: Re: [Firebird-devel] About support for embed into iOS/Android @ Carlos H. Cantu Personally, I'm very disappointed that those people who asked me about an Android port, seems to be ignoring it. And you notified them that is available? And in conferences talk about this? Most

[Firebird-devel] SKD_time / SKD_timestamp

2018-01-18 Thread Adriano dos Santos Fernandes
Hi! In little endian version of Sort::diddleKey:         case SKD_timestamp:         case SKD_sql_time:         case SKD_sql_date:             p[3] ^= 1 << 7;             break; How can this be correct for time or timestamp? As a timestamp consists of a date and a time, and a time (alone) has

Re: [Firebird-devel] About support for embed into iOS/Android

2018-01-18 Thread mario alejandro
@Paul Beach > > I got virtually no feed back, which maked me wonder who, other that > yourself actually wants it. Maybe is true that not exist a decent level of interest on this, but a post in a blog (that is not a oficial one?) is not what I consider a proper way to know. Just waiting to

Re: [Firebird-devel] About support for embed into iOS/Android

2018-01-18 Thread Carlos H. Cantu
Title: Re: [Firebird-devel] About support for embed into iOS/Android Speaking about Android port: I pushed Alex a lot to make a Android port of Firebird. Not because I would need to use it (I still don't), but because I was questioned about its availability by several people, in conferences and

Re: [Firebird-devel] About support for embed into iOS/Android

2018-01-18 Thread Paul Beach
Karol, <> Then please feel free to add an item to the tracker, and we will see... If there is enough interest maybe people would be prepared to fund the development work... Regards Paul -- Check out the vibrant tech

Re: [Firebird-devel] About support for embed into iOS/Android

2018-01-18 Thread Paul Beach
> But since nobody seemed to want it, I stopped work on it. > Its not a simple exercise > Thats your opinion, I did a port for firebird 2.x a few years ago...

Re: [Firebird-devel] About support for embed into iOS/Android

2018-01-18 Thread liviuslivius
Hi Paul, this is wrong assumption :)The interest exists but if work is not advertised, nobody can vote on it.I know that tracker exists but maybe this should be described on web page with link to the tracker to vote on it. You then will se the real interest. You have my vote at start :)

Re: [Firebird-devel] Weird date/time literals

2018-01-18 Thread liviuslivius
Hi, I see only one usage case. To know when proc eas compiled. But i do not know if this can be usefull. I do not know how this is documented, but if as warning than it can be changed without problem. And as Adriano this looks more like bug then feature Regards,Karol Bieniaszewski

Re: [Firebird-devel] About support for embed into iOS/Android

2018-01-18 Thread mario alejandro
> But since nobody seemed to want it, I stopped work on it. Its not a simple exercise I understand. But *must* be a market for this, Embarcadero have it with interbase, https://realm.io/ is kind of popular (as many other NoSql options). The problem is that I found this only because: 1- I know

Re: [Firebird-devel] Database restore problem with 3.0(.3.32882)

2018-01-18 Thread Gabor Boros
2018. 01. 18. 13:41 keltezéssel, Alex Peshkoff via Firebird-devel írta: Send them to me please. Done. Gabor -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [Firebird-devel] Database restore problem with 3.0(.3.32882)

2018-01-18 Thread Alex Peshkoff via Firebird-devel
On 01/18/18 15:17, Gabor Boros wrote: Hi All, I have a very minimal database, just created it and added some SQL users into it. After execute the script which create tables, etc. make a backup with gbak. At restore the below error message appears. I found an issue on the tracker which have

[Firebird-devel] Database restore problem with 3.0(.3.32882)

2018-01-18 Thread Gabor Boros
Hi All, I have a very minimal database, just created it and added some SQL users into it. After execute the script which create tables, etc. make a backup with gbak. At restore the below error message appears. I found an issue on the tracker which have same error message. I can send the

Re: [Firebird-devel] Weird date/time literals

2018-01-18 Thread Vlad Khorsun via Firebird-devel
18.01.2018 13:10, Dimitry Sibiryakov wrote: 18.01.2018 11:57, Dmitry Yemanov wrote: IMO, no sane person would rely on that intentionally.   Why? This is the only method to get procedure compilation time, AFAIR. Time of CREATE and last ALTER of SP\Trigger\etc should be stored in system

Re: [Firebird-devel] Weird date/time literals

2018-01-18 Thread Michal Kubecek
On Thu, Jan 18, 2018 at 12:10:19PM +0100, Dimitry Sibiryakov wrote: > 18.01.2018 11:57, Dmitry Yemanov wrote: > >IMO, no sane person would rely on that intentionally. > > Why? This is the only method to get procedure compilation time, AFAIR. While I hate abusing it in general, in this case I

Re: [Firebird-devel] Weird date/time literals

2018-01-18 Thread Dimitry Sibiryakov
18.01.2018 11:57, Dmitry Yemanov wrote: IMO, no sane person would rely on that intentionally. Why? This is the only method to get procedure compilation time, AFAIR. -- WBR, SD. -- Check out the vibrant tech

Re: [Firebird-devel] Weird date/time literals

2018-01-18 Thread Dmitry Yemanov
18.01.2018 13:44, Dimitry Sibiryakov wrote:   Is this "issue" bad enough for breaking of backward compatibility?   AFAIK, this behavior is documented, so cannot be called "bug". IMO, no sane person would rely on that intentionally. And AFAIU old databases will still work, error will be

Re: [Firebird-devel] Weird date/time literals

2018-01-18 Thread Dimitry Sibiryakov
18.01.2018 11:39, Adriano dos Santos Fernandes wrote: On 18/01/2018 07:37, Dmitry Yemanov wrote: By design, these hardcoded strings are expressions, but date/time/timestamp prefixes imply literals (by standard). I'd rather suggest to validate the string at compile time and throw a misuse error.

Re: [Firebird-devel] Weird date/time literals

2018-01-18 Thread Adriano dos Santos Fernandes
On 18/01/2018 07:37, Dmitry Yemanov wrote: > > By design, these hardcoded strings are expressions, but > date/time/timestamp prefixes imply literals (by standard). I'd rather > suggest to validate the string at compile time and throw a misuse error. This is ok for me too. Adriano

Re: [Firebird-devel] Error compiling FB for android

2018-01-18 Thread Alex Peshkoff via Firebird-devel
On 01/18/18 12:47, Jorge Gonçalves wrote: Hi, I want to make some tests with FB embedded on android, and I'm getting the follow error compiling the source.

[Firebird-devel] Error compiling FB for android

2018-01-18 Thread Jorge Gonçalves
Hi, I want to make some tests with FB embedded on android, and I'm getting the follow error compiling the source. /home/jgoncalves/dev/android/android-ndk-r16b/toolchains/ arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc

Re: [Firebird-devel] About support for embed into iOS/Android

2018-01-18 Thread Paul Beach
Mario, <