[Firebird-devel] Firebird should be able to build with clang/gcc sanitizer ?

2014-08-18 Thread marius adrian popa
The comment is at the end of the bug

I'm only disabling the firebird code as it uses a custom allocator
that does not work nicely with Asan.

https://bugs.freedesktop.org/show_bug.cgi?id=72468

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird should be able to build with clang/gcc sanitizer ?

2014-08-18 Thread Mark Rotteveel
On Mon, 18 Aug 2014 16:03:17 +0300, marius adrian popa map...@gmail.com
wrote:
 The comment is at the end of the bug
 
 I'm only disabling the firebird code as it uses a custom allocator
 that does not work nicely with Asan.
 
 https://bugs.freedesktop.org/show_bug.cgi?id=72468

Could you please include questions in the message body itself and not only
in the subject?

Mark

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird should be able to build with clang/gcc sanitizer ?

2014-08-18 Thread Mark Rotteveel
On Mon, 18 Aug 2014 15:09:40 +0200, Dimitry Sibiryakov s...@ibphoenix.com
wrote:
 18.08.2014 15:03, marius adrian popa wrote:
 The comment is at the end of the bug

 I'm only disabling the firebird code as it uses a custom allocator
 that does not work nicely with Asan.
 
If Asan (whatever it is) can't work with custom allocator is it
allocator's problem?..

Asan is an Address Sanitizer, see
http://clang.llvm.org/docs/AddressSanitizer.html

It is a tool to detect memory errors allocation (etc) errors, see the
link.

Mark

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird should be able to build with clang/gcc sanitizer ?

2014-08-18 Thread Dimitry Sibiryakov
18.08.2014 15:16, Mark Rotteveel wrote:
 Asan is an Address Sanitizer, see
 http://clang.llvm.org/docs/AddressSanitizer.html

 It is a tool to detect memory errors allocation (etc) errors, see the
 link.

   Overloading of new operator is a legal C++ operation.

-- 
   WBR, SD.

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Set config parameter for a group of databases

2014-08-18 Thread Dimitry Sibiryakov
   Hello, All.

   Is there a way to set a parameter for several databases at once (using 
regexp or in a 
different way)? Say, if I want to set non-standard security database for all 
databases in 
one directory, can I do it?

-- 
   WBR, SD.

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-4524) New gbak option to enable encryption during restore

2014-08-18 Thread Carlos H. Cantu (JIRA)
New gbak option to enable encryption during restore
---

 Key: CORE-4524
 URL: http://tracker.firebirdsql.org/browse/CORE-4524
 Project: Firebird Core
  Issue Type: Improvement
  Components: GBAK
Affects Versions: 3.0 Alpha 2, 3.0 Alpha 1
Reporter: Carlos H. Cantu


It would be nice to have a new gbak switch to enable encryption in a database 
when doing a restore.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Set config parameter for a group of databases

2014-08-18 Thread Alex Peshkoff
On 08/18/14 17:28, Dimitry Sibiryakov wrote:
 Hello, All.

 Is there a way to set a parameter for several databases at once (using 
 regexp or in a
 different way)? Say, if I want to set non-standard security database for all 
 databases in
 one directory, can I do it?


No.
But suggestions re. enhancement of .conf files are welcome.


--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] New interface (cloop)

2014-08-18 Thread Adriano dos Santos Fernandes
Hi!

I put in my github account the first version of cloop - Cross Language
Object Oriented Programming.
- https://github.com/asfernandes/cloop

This first version is limited to void and int datatypes, supports C, C++
and Free Pascal, and the makefile works only in POSIX.

Some files in src/tests/test1 are autogenerated. They are flag as this
in their first line.

Tests consists of three (one for each language) executable and three
libraries as well.

The executable is the consumer test part and receives a parameter with
the library name of the supplier test part, so we can test any
combination of C/C++/Pascal as consumer/supplier. Examples:

./output/debug/bin/test1-pascal output/debug/bin/test1-pascal.so
./output/debug/bin/test1-c output/debug/bin/test1-pascal.so
./output/debug/bin/test1-cpp output/debug/bin/test1-pascal.so

./output/debug/bin/test1-cpp output/debug/bin/test1-c.so
 

Adriano


--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-4525) add field with default value to table with data has not intuitive behavior

2014-08-18 Thread Nick Dee (JIRA)
add field with default value to table with data has not intuitive behavior
--

 Key: CORE-4525
 URL: http://tracker.firebirdsql.org/browse/CORE-4525
 Project: Firebird Core
  Issue Type: Bug
  Components: Engine
Affects Versions: 3.0 Beta 1
Reporter: Nick Dee


create table T (Id integer);
insert into T (Id) values (1);
insert into T (Id) values (2);
alter table T add field F1 integer default 1 not null;
select F1 from T
--
1
1

alter table T add field F2 integer default 1;
select F2 from T
--
null
null

snapshot 31273

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel