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

53374 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
3c7a7c802c VS Code setting to not screw up markdown files. 2018-07-26 12:24:11 -03:00
hvlad
edce1bd1bc This should fix bug CORE-5844 : Firebird freeze for new connections 2018-07-26 11:12:21 +03:00
firebirds
f4e00d4885 increment build number 2018-07-26 00:03:16 +00:00
Ilya Eremin
daa4af059f Stop database restore with -o option when fatal errors occur (SQL code -902) (#166) 2018-07-25 19:39:53 +03:00
firebirds
2cbcd703c4 increment build number 2018-07-25 00:03:15 +00:00
Adriano dos Santos Fernandes
ad720b6305 Fix code style and some warnings in Windows build. 2018-07-24 12:42:38 -03:00
Adriano dos Santos Fernandes
2f80120531 Fix CORE-5871 - Incorrect caching of the subquery result (procedure call) in independent queries. 2018-07-23 22:50:05 -03:00
Adriano dos Santos Fernandes
ab3d171457 sed is pre-installed in appveyor.. 2018-07-23 21:10:13 -03:00
firebirds
066f999bde increment build number 2018-07-24 00:03:12 +00:00
Adriano dos Santos Fernandes
f3ddc5ed31 Fix appveyor build. 2018-07-23 19:21:15 -03:00
Adriano dos Santos Fernandes
26af850ac2 Attempt to fix build in AppVeyor. 2018-07-23 16:17:30 -03:00
Adriano dos Santos Fernandes
e4d6fb6b16 Added automatic Windows build with appveyor. 2018-07-23 15:20:50 -03:00
firebirds
39954d19cb increment build number 2018-07-18 00:03:14 +00:00
hvlad
db1a1d40e2 Correct condition when mapped file of monitoring data should be removed. 2018-07-17 19:03:18 +03:00
firebirds
cf1b1a2e64 increment build number 2018-07-17 00:03:22 +00:00
Adriano dos Santos Fernandes
32ca23b4fc Fix CORE-5874 - Provide name of read-only column incorrectly referenced in UPDATE ... SET xxx. 2018-07-16 12:19:49 -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
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