8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00
Commit Graph

53421 Commits

Author SHA1 Message Date
hvlad
ca71a54609 Merge branch 'master' into read_consistency 2018-07-16 16:16:22 +03:00
hvlad
905653a517 Update documentation. 2018-07-16 16:05:10 +03:00
hvlad
0173d55597 Restart requests only if concurrent transaction is committed.
Format code a bit.
2018-07-16 15:32:28 +03:00
firebirds
35f3315eae increment build number 2018-07-11 00:03:13 +00:00
hvlad
ce39c96274 Remove commented out code. 2018-07-11 01:14:54 +03:00
hvlad
90e2b3035c Fixed crash when run test bugs.core_5329 in Classic mode using debug build. 2018-07-11 01:09:50 +03:00
hvlad
9b0ac5c52a Fixed memory corruption found when run test bugs.5674 in Classic mode using debug build.
To reproduce run

with recursive
    a as(
      select 0 a from rdb$database
      union all
      select a+1 from a where a.a < 1
    )
    ,b as(
      select 1 a from c rows 1
    )
    ,c as(
      select 2 b from b rows 1
    )
select * from a;
2018-07-10 23:27:15 +03:00
hvlad
dd9aeea691 Fixed assertion when run test bugs.core_0805 in Classic mode 2018-07-10 23:22:18 +03:00
hvlad
2d2bb746f9 Fixed bug CORE-5872 : Database validation reports false errors "Record XXX has bad transaction" and\or "Record XXX is wrong length" when record transaction number is greater than 2^32 2018-07-10 22:42:57 +03:00
hvlad
ea010ed13a Fixed bug CORE-5870 : ISQL's "show database" command works wrong with 64-bit numbers 2018-07-10 19:58:11 +03:00
hvlad
9de2c13ef9 Partial fix for bug CORE-5869 : Sweep can't move OIT value over 2^32, when Next already greater than 2^32 (4'294'967'296) 2018-07-10 19:57:17 +03:00
firebirds
726e7a4619 increment build number 2018-07-10 00:03:15 +00:00
Adriano dos Santos Fernandes
2a46f5023f Fix some compiler warnings (clang). 2018-07-09 14:19:20 -03:00
firebirds
880a43fa77 increment build number 2018-07-07 00:03:09 +00:00
Alex Peshkoff
69523f1886 Fixed CORE-5865: Alignment error on x86_64 2018-07-06 21:39:16 +03:00
firebirds
0387688c9e increment build number 2018-07-06 00:03:13 +00:00
Alex Peshkoff
09e4678717 Fixed a number of memory leaks related with batch interface 2018-07-05 17:00:03 +03:00
hvlad
aab7364129 Update documentation. 2018-07-03 15:34:22 +03:00
firebirds
ec8dd9b07e increment build number 2018-07-03 00:03:11 +00:00
Alex Peshkoff
69395df6e9 Fixed exception handling in wire crypt code - thanks to Vlad 2018-07-02 11:36:00 +03:00
firebirds
b676f9521d increment build number 2018-07-02 00:03:14 +00:00
hvlad
ca0c2823c3 Fixed usage of rem_port states.
Fixed potential crash in wnet\xnet code (see fix for CORE-5863).
2018-07-01 18:09:53 +03:00
hvlad
bdb7942a52 This should fix bug CORE-5863 : Classic process crashes when client disconnected 2018-07-01 17:57:42 +03:00
firebirds
bf21b6a855 increment build number 2018-06-29 00:03:14 +00:00
Adriano dos Santos Fernandes
29e49e9f81 Avoid assert error in debug build and probable read of unallocated memory in release build.
Problem happens in test core_4690 when running debug build of firebird server.

This fixed cannot be considered complete, as rel_fields seems not fully filled at that moment.

Reduced test case:

create database 't.fdb';

recreate table comi_ingr (id int);
commit;

recreate table comidas (
  cod_comida integer not null,
  constraint pk_comidas primary key (cod_comida)
);

recreate table comi_ingr (
  cod_comi_ingr integer not null,
  cod_ingrediente integer not null,
  cod_comida integer not null,
  constraint pk_comi_ingr primary key (cod_comi_ingr),
  constraint fk_comi_ingr2 foreign key (cod_comida) references comidas(cod_comida) on update cascade
);
2018-06-28 13:30:56 -03:00
Roman Simakov
7b8d6c2c65
Merge pull request #164 from FirebirdSQL/fb4_mov_go2code
Fixed CORE-5861: GRANT OPTION is not checked for new object.
2018-06-28 13:53:07 +03:00
firebirds
5279daa556 increment build number 2018-06-27 00:03:11 +00:00
hvlad
d8eb4a4970 Prevent AV when thread detaches and no modules was loaded 2018-06-27 00:31:41 +03:00
Roman Simakov
f436eeb1a3 Fixed CORE-5861: GRANT OPTION is not checked for new object.
Checks moved to code from trigger1 and all new objects and checked.
Checks of object's owned is not necceddary because of owner has all required privileges to pass regular checks.
Also now GRANT OPTION can be checked for roles too.
2018-06-26 16:44:46 +03:00
firebirds
126e99072e increment build number 2018-06-26 00:03:56 +00:00
Alex Peshkoff
8d00312173 Fixed CORE-5855: Latest builds of Firebird 4.0 cannot backup DB with generators which contains space in the names 2018-06-25 19:25:02 +03:00
Roman Simakov
58e4f5a9ad Adjust assert condition and added check if role exists. 2018-06-25 12:09:28 +03:00
firebirds
7010ebba4b increment build number 2018-06-25 00:03:08 +00:00
hvlad
a94a156720 Fixed crash when no object for grant\revoke operation.
Roman, please review.
2018-06-25 01:27:18 +03:00
firebirds
5748678d04 increment build number 2018-06-24 00:03:17 +00:00
Adriano dos Santos Fernandes
f1413be0bc Postfix for CORE-5846 - CREATE VIEW issues "Implementation of text subtype 512 not located". 2018-06-23 12:52:52 -03:00
firebirds
c081f2d316 increment build number 2018-06-23 00:03:13 +00:00
Alex Peshkoff
61b4bf0d27 Fixed CORE-5593: System function RDB$ROLE_IN_USE cannot take long role names with lower-case letters 2018-06-22 17:57:53 +03:00
Roman Simakov
364e29a36a
Merge pull request #163 from FirebirdSQL/trigger1_refac
Fixed CORE-5852: There is no check of existance generator and exception when privileges are granted
Moved check of the object existance from trigger1 to grantRevoke method.
2018-06-22 13:14:47 +03:00
Adriano dos Santos Fernandes
83c227dc31 Fixed CORE-5846 - CREATE VIEW issues "Implementation of text subtype 512 not located". 2018-06-21 21:13:10 -03:00
firebirds
d97e6fa6e0 increment build number 2018-06-22 00:03:21 +00:00
Alex Peshkoff
8a5b97db3c Applied CORE-5851 2018-06-21 17:39:44 +03:00
Alex Peshkoff
54bf8a3130 Postfix for CORE-5788, thanks to Mark 2018-06-21 17:22:21 +03:00
hvlad
f8370c2bc8 Rework fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test) 2018-06-21 16:19:51 +03:00
hvlad
0a2082628f Add sha2 into Windows builds (vc10, vc12 and vc14) 2018-06-21 16:16:31 +03:00
Alex Peshkoff
b9a93f5312 Applied CORE-5788: Security Patch: Replacement of use of SHA-1 in the SRP Client Proof with SHA-256 2018-06-21 14:49:16 +03:00
Roman Simakov
732c39b70a Added missed check of field existance like it was in trigger1 2018-06-20 17:46:20 +03:00
firebirds
76a55ab9b6 increment build number 2018-06-20 00:03:09 +00:00
Roman Simakov
f1f2137a8b Reverted one change because we need to initialize sqlRelation var 2018-06-19 14:35:34 +03:00
hvlad
ceffd389e5 Merge branch 'master' of https://github.com/FirebirdSQL/firebird 2018-06-19 13:03:34 +03:00