firebirds
f44097cc67
increment build number
2018-08-11 00:03:14 +00:00
Adriano dos Santos Fernandes
3909a7ec97
Improvement CORE-5887 - Allow the use of management statements in PSQL blocks.
2018-08-10 12:22:09 -03:00
Alex Peshkoff
d77e318b58
Fixed segfault in special build. Great thanks to Vlad. Cause this bug never affects users I do not poison tracker.
2018-08-10 17:18:54 +03:00
firebirds
7503dbfc88
increment build number
2018-08-10 00:03:30 +00:00
Adriano dos Santos Fernandes
a8bbfbdf7f
Fix warning.
2018-08-08 23:11:01 -03:00
Adriano dos Santos Fernandes
18edaa66e7
Port CVT2_compare_priority from work/time-zone-support to fix regression in 3acc93f
.
...
The codes for yet unmerged TZ support should not be a problem.
Regressions verified by Pavel Zotov, where these statements were not raising exception anymore:
select cast('true' as blob) > false as result from rdb$database;
select list(b, '') > false as result from (select 'true' as b from rdb$database);
2018-08-08 22:55:43 -03:00
firebirds
611bf97eb3
increment build number
2018-08-09 00:03:15 +00:00
hvlad
7c8b4725de
Assert, per Adriano requiest
2018-08-09 00:01:36 +03:00
hvlad
5b9dfe92b6
Removed few casts, fixed typo, changed parameter name.
...
Thanks to Adriano for review.
2018-08-08 12:12:21 +03:00
hvlad
558ffd541a
Let trace plugin know about read consistency transactions
2018-08-08 09:48:59 +03:00
Adriano dos Santos Fernandes
60857739c4
Misc.
2018-08-07 23:06:43 -03:00
firebirds
034d969562
increment build number
2018-08-07 00:03:15 +00:00
hvlad
9769bf5b59
Comments per Adriano requiest
2018-08-06 15:44:39 +03:00
Alex Peshkoff
e5b0930d15
Postfix for CORE-5808: fixed code as suggested by Adriano
2018-08-06 14:20:10 +03:00
Adriano dos Santos Fernandes
a3e24613e8
Misc.
2018-08-05 22:39:28 -03:00
firebirds
04a410542e
increment build number
2018-08-03 00:03:10 +00:00
Alex Peshkoff
a965ee0995
Fixed CORE-5884: Initial global mapping from srp plugin does not work
2018-08-02 19:01:20 +03:00
firebirds
6224dbf62b
increment build number
2018-08-02 00:03:12 +00:00
Alex Peshkoff
4ec57b11e6
Warnings
2018-08-01 18:22:56 +03:00
Alex Peshkoff
71b63156b1
Implemented CORE-5883: Services version 1 cleanup
2018-08-01 18:22:56 +03:00
hvlad
bc0f26a79b
Added missed record into RDB$TYPES.
2018-08-01 14:02:38 +03:00
firebirds
de8f6b57e1
increment build number
2018-08-01 00:03:17 +00:00
Alex Peshkoff
1a40ca680d
Fixed CORE-5876: Provide name of udf function for "arithmetic exception, numeric overflow, or string truncation"
2018-07-31 16:08:46 +03:00
firebirds
16997015ac
increment build number
2018-07-31 00:03:17 +00:00
hvlad
4bc5c8c704
This should restore old pre-committed logic when working with GTT's in RCRO transactions.
2018-07-31 00:46:57 +03:00
Alex Peshkoff
9493802c1c
Comment
2018-07-30 19:29:15 +03:00
Alex Peshkoff
7a7367e1a4
Fixed CORE-5881: Network server ignores any error that took place in KeyHolderPlugin when establishing initial callback with client
2018-07-30 14:08:44 +03:00
firebirds
e05b6ca155
increment build number
2018-07-29 00:03:57 +00:00
Vlad Khorsun
6a16e9e99b
Merge pull request #105 from red-soft-ru/read_consistency
...
Read consistency
2018-07-28 22:36:13 +03:00
firebirds
c06632572e
increment build number
2018-07-28 00:03:16 +00:00
Adriano dos Santos Fernandes
8a0ec269b6
Fix CORE-5862 - Varchar computed column without explicit type does not populate RDB$CHARACTER_LENGTH.
2018-07-27 13:30:00 -03:00
firebirds
ac873c3373
increment build number
2018-07-27 00:03:11 +00: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
hvlad
9b7d0a3018
Improve fast path of updateActiveSnapshots to prevent stop of intermediate garbage collection due to stalled list of active snapshots
2018-07-26 01:04:11 +03: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
firebirds
066f999bde
increment build number
2018-07-24 00:03:12 +00:00
hvlad
f8752bb677
Hopefully final corrections: missed (info, EDS) items, spaces, etc
2018-07-22 19:43:51 +03:00
hvlad
3fcc02105f
Misc
2018-07-19 19:48:05 +03:00
hvlad
be02a9f67c
Move local sorted list of active snapshots from then transaction to the attachment level.
...
It allows to reuse it and refresh less frequently.
2018-07-19 17:45:59 +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
hvlad
b346948a23
Fixed bug when snapshots list could be corrupted when updated concurrently
2018-07-17 18:20:34 +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
hvlad
ca71a54609
Merge branch 'master' into read_consistency
2018-07-16 16:16:22 +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
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
hvlad
f8370c2bc8
Rework fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test)
2018-06-21 16:19:51 +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
287b8300de
Replace 'octets' word and avoid some casts
2018-06-19 13:03:27 +03:00
Roman Simakov
87d15dbec0
Removed hack with errMap, fixed facilities, added correct error for table.
2018-06-19 11:45:54 +03:00
hvlad
b9da7ba014
Fixed bug CORE-5847 : "Malformed string" instead of key value in PK violation error message
2018-06-19 11:39:49 +03:00
firebirds
e5dc6ef8e8
increment build number
2018-06-19 00:03:20 +00:00
hvlad
e688ced75a
Merge branch 'ExternalConnectionsPool'
2018-06-18 18:22:50 +03:00
Roman Simakov
a5ac9c9321
Moved check of the object existance from trigger1 to grantRevoke method.
2018-06-18 16:13:51 +03:00
hvlad
91b7436451
More strict fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test)
2018-06-18 13:52:46 +03:00
Roman Simakov
291a8585e0
Formatting trigger1 to make it more human readable.
2018-06-18 10:44:14 +03:00
firebirds
214681c4a5
increment build number
2018-06-16 00:03:11 +00:00
Alex Peshkoff
3baa89fc52
Fixed CORE-5726: Unclear error message when inserting value exceeding max of dec_fixed decimal
2018-06-15 14:43:12 +03:00
firebirds
11cb7bad64
increment build number
2018-06-15 00:03:04 +00:00
Alex Peshkoff
db77208293
Fixed bug with altering character fields to decfloat. Thanks to Adriano.
2018-06-14 19:16:18 +03:00
hvlad
48ebbfc1f6
Add braces
2018-06-14 09:32:35 +03:00
firebirds
c2fbf442b6
increment build number
2018-06-14 00:03:10 +00:00
hvlad
3ddc20a2fe
Reworked fix for bug CORE-5843 : Wrong handling of failures of TRANSACTION START trigger.
...
Do not broke requests callers chain.
Test for CORE-3419 failed with original fix.
2018-06-14 01:20:58 +03:00
hvlad
111a04675e
Another fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test)
2018-06-13 14:50:56 +03:00
firebirds
d4a7ea6b6c
increment build number
2018-06-12 00:03:34 +00:00
hvlad
56397c2d43
Misc
2018-06-11 19:13:47 +03:00
hvlad
c48ebfb786
Fixed bug CORE-5843 : Wrong handling of failures of TRANSACTION START trigger
2018-06-11 19:09:15 +03:00
firebirds
4724a18534
increment build number
2018-06-11 00:03:09 +00:00
hvlad
1d7c907b6a
CORE-5832 : Implement way to reset user session environment to its initial (default) state:
...
- ignore prepared 2PC transactions when check if session reset is allowed
- if there is current active user transaction - rollback it before session reset and start new transaction with same properties after reset
- add warning if current transaction changes any table before reset
2018-06-10 13:29:14 +03:00
firebirds
63a9b170b7
increment build number
2018-06-08 00:03:41 +00:00
hvlad
be04b73bd2
Fixed wrong flags usage.
2018-06-07 16:07:19 +03:00
firebirds
c17706b5a3
increment build number
2018-06-06 00:03:09 +00:00
Roman Simakov
ec94304f7c
Fixed CORE-5840: Ignor of reference privilege.
2018-06-05 16:22:55 +03:00
firebirds
c7521b5c56
increment build number
2018-06-02 00:03:23 +00:00
Roman Simakov
09c1ccc256
Fixed CORE-5755: No error if the GRANT target object does not exist
2018-06-01 16:52:39 +03:00
hvlad
bbf8348817
Make ALTER SESSION RESET throws isc_ses_reset_err when active transaction(s) present in current connection.
...
New error code created: isc_ses_reset_err.
2018-06-01 14:17:26 +03:00
firebirds
a793d56375
increment build number
2018-05-31 00:03:08 +00:00
hvlad
4defdeac4a
This should fix bug CORE-5837 : Inconsistent results when working with GLOBAL TEMPORARY TABLE ON COMMIT PRESERVE ROWS
2018-05-30 16:57:48 +03:00
hvlad
16f762bdbc
Update VIO_DEBUG code - mostly added relation id.
2018-05-30 16:57:26 +03:00
15e662f6e9
Directly using ThrowStatusWrapper inside firebird was bad idea
2018-05-30 14:32:27 +03:00
hvlad
3e057e10ca
Merge branch 'master' into read_consistency
2018-05-27 17:32:54 +03:00
hvlad
d681f5288f
Reset external connection before put it into pool.
...
Update the documentation.
2018-05-27 12:24:47 +03:00
hvlad
2930edb9c0
Merge branch 'master' into ExternalConnectionsPool
2018-05-25 13:42:38 +03:00
hvlad
cf63ca2335
Disable pool debugging
2018-05-25 13:34:11 +03:00
firebirds
5dcd20d536
increment build number
2018-05-25 00:03:14 +00:00
Adriano dos Santos Fernandes
e68f40700e
Fixed CORE-5833 - DDL triggers for some object types (views, exceptions, roles, indexes, domains) are lost in backup-restore process.
2018-05-24 19:59:48 -03:00
hvlad
4dd6207804
It should fix the build after my recent change
2018-05-24 11:34:33 +03:00
firebirds
1ec830bc2f
increment build number
2018-05-24 00:03:16 +00:00
hvlad
fe68255f62
According to Adriano's suggestions
2018-05-23 20:42:22 +03:00
AlexPeshkoff
7f3bfe7cf1
Fixed CORE-5831: Not user friendly output of gstat at encrypted database
2018-05-23 18:26:36 +03:00
Alexander Peshkov
aa6cb5d05f
Initial implementation for CORE-5808 ( #160 )
...
* Implemented CORE-5808
2018-05-23 17:16:04 +03:00
AlexPeshkoff
332334ab3d
Fixed CORE-5824: Segmentation fault during install on Linux
2018-05-23 15:26:40 +03:00
hvlad
672a130e1a
Feature CORE-5832 : Implement way to reset user session environment to its initial (default) state
2018-05-23 11:53:10 +03:00
firebirds
7101efb5e4
increment build number
2018-05-23 00:03:12 +00:00
Dmitry Yemanov
99b9f26cea
Fixed inconsistency in request/transaction state after error
2018-05-22 20:08:32 +03:00
AlexPeshkoff
fe04d32a49
Related to CORE-5830 and auto pointers changes, suggested by Vlad
2018-05-22 19:34:34 +03:00
AlexPeshkoff
42d8dc1317
Fix for CORE-5830: Encryption Interface crashing Firebird process when working on big db file (6.7GB)
2018-05-22 17:32:16 +03:00
firebirds
b727d4e082
increment build number
2018-05-22 00:03:00 +00:00
firebirds
0403b48345
increment build number
2018-05-21 00:03:09 +00:00
hvlad
da10e5045e
Introduced new system privilege MODIFY_EXT_CONN_POOL to manage pool properties.
...
Update the documentation.
2018-05-20 23:44:12 +03:00
Adriano dos Santos Fernandes
527c2a023d
Remove unused field.
2018-05-20 16:48:53 -03:00
firebirds
0f5dca07b3
increment build number
2018-05-18 00:03:08 +00:00
AlexPeshkoff
ee40ef85ea
Fixed CORE-5829: gsec does not release user manager plugin
2018-05-17 17:34:53 +03:00
firebirds
325ad94c0a
increment build number
2018-05-16 00:03:10 +00:00
hvlad
e5ba540295
This should fix bug CORE-5702 : Firebird Handle Leak Windows
2018-05-15 10:26:02 +03:00
firebirds
ab22e4f7a2
increment build number
2018-05-15 00:03:07 +00:00
AlexPeshkoff
3acc93f51b
Fixed some usage patterns of dec_fixed values - thanks to Adriano
2018-05-14 18:10:12 +03:00
firebirds
21f0705175
increment build number
2018-05-11 00:03:07 +00:00
AlexPeshkoff
7de1b2ac9b
Fixed CORE-5822: Wrong error returned to client when WireCrypt=Disabled is used
2018-05-10 15:59:01 +03:00
firebirds
3f417021da
increment build number
2018-05-10 00:03:01 +00:00
hvlad
e8d3881fd7
Fixed bug CORE-5819 : Attachment might not gone after it was DELETEd FROM MON$ATTACHMENTS
2018-05-09 12:57:14 +03:00
firebirds
1b49baad6b
increment build number
2018-05-05 00:03:08 +00:00
AlexPeshkoff
6863601af6
Fixed CORE-5815: Server hangs for 60/120 seconds if client exits during database encryption key transfer callback
2018-05-04 21:13:45 +03:00
firebirds
504455779b
increment build number
2018-05-04 00:03:07 +00:00
hvlad
7c330bc7b4
This fixed deadlock on Windows when one thread unload some plugin(s) (due to shutdown, for ex.) and another thread run threadDetach()
2018-05-03 13:19:33 +03:00
firebirds
328d204ca2
increment build number
2018-05-01 00:02:56 +00:00
Adriano dos Santos Fernandes
fd4a1849b3
Fixed blr_dec* print.
2018-04-30 13:13:35 -03:00
firebirds
1f423077d1
increment build number
2018-04-28 00:03:10 +00:00
hvlad
608105f679
Another addition to the my recent patch (AV related with EDS)
2018-04-27 16:43:44 +03:00
hvlad
363dbc7bde
Addition to the my recent patch (AV related with EDS)
2018-04-27 16:28:22 +03:00
firebirds
146627254d
increment build number
2018-04-27 00:03:11 +00:00
hvlad
fe0a74bfe6
Allows to correctly free JTransaction after bugcheck
2018-04-26 22:41:31 +03:00
hvlad
8e9e03c1aa
Fixed AV's at EDS subsystem
...
- pure virtual call from Manager::shutdown()
- garbage m_jrdTran pointer at Transaction::detachFromJrdTran()
It could happen when InternalConnection was not destroyed within its bound Jrd::Attachment by some extra-ordinal reason (such as bugcheck).
2018-04-26 22:41:13 +03:00
firebirds
5541ecfdd6
increment build number
2018-04-24 00:03:48 +00:00
Roman Simakov
ea69393b16
Fixed CORE-5804: Multiple error in REVOKE operator.
...
Refactored code for revoking grant option, admin option and default roles.
Now revoking options for privileges on relation fields recreate
necessary privileges for every field.
Fixed caching requests (if condition must be the same).
2018-04-23 12:30:22 +03:00
hvlad
835bd1a550
Fixed bug CORE-5436 : [FB3 SC] Server hangs (under load test)
2018-04-23 10:02:41 +03:00
firebirds
b1006f7588
increment build number
2018-04-22 00:03:43 +00:00
hvlad
5c598b1aa0
Avoid recursive locking of plugins list mutex. This fixed deadlock at PluginSet::next.
2018-04-22 00:32:51 +03:00
firebirds
c603bd673a
increment build number
2018-04-21 00:04:08 +00:00
hvlad
791d46bcef
Fixed rare deadlock when one thread is finishing, loaded modules run threadDetach() while another thread loaded some new module.
...
The deadlock is with windows loader lock and plugin's list mutex.
2018-04-20 23:47:47 +03:00
hvlad
999c757d65
Fixed leak of ThreadSync instance when module (for. ex. engine) is unloaded before worker threads gone.
2018-04-20 23:47:31 +03:00
firebirds
3735171922
increment build number
2018-04-20 00:04:04 +00:00
hvlad
6cb0b2419c
Fixed small memory leak
2018-04-19 16:43:09 +03:00
firebirds
7fd95d68a5
increment build number
2018-04-19 00:03:54 +00:00
AlexPeshkoff
9346d75bb9
Fixed CORE-5796: gstat may produce faulty report about presence of some none-encrypted pages in database
2018-04-18 19:50:12 +03:00
firebirds
ce3937b513
increment build number
2018-04-14 00:08:23 +00:00
Dmitry Yemanov
0d8cde9252
More complete solution for early monitoring initialization
2018-04-13 10:47:46 +03:00
firebirds
d1e90e035e
increment build number
2018-04-13 00:04:06 +00:00
hvlad
d5fa522646
Create MonitoringData early to avoid races later.
...
It fixed leakage of MonitoringData instance (and few related handles) when many connections created simultaneously.
See also CORE-5702.
2018-04-12 23:42:34 +03:00
firebirds
d097b4275c
increment build number
2018-04-12 00:04:10 +00:00
AlexPeshkoff
0bf40a8453
Comments
2018-04-11 20:43:06 +03:00
AlexPeshkoff
affb39894b
Fixed CORE-5791: ODS for windows builds and linux-x64 (on the one side) and linux-x86 (on the other side) does not match
2018-04-11 20:17:45 +03:00
firebirds
943b9407e8
increment build number
2018-04-11 00:04:11 +00:00
hvlad
1f4d06a1d5
Fixed my error (case when eol follows immediately after '--')
2018-04-10 17:28:21 +03:00
firebirds
a85437ae42
increment build number
2018-04-10 00:04:12 +00:00
Roman Simakov
300566d9ba
Fixed CORE-5790 - User with DROP DATABASE privilege can't drop database
2018-04-09 17:25:44 +03:00
firebirds
1704e3d5ff
increment build number
2018-04-07 00:04:12 +00:00
Egor Pugin
946e4fddab
Reflect build changes in cmake build. Fix VS15.6 build.
2018-04-06 07:23:28 -03:00
firebirds
476af424ac
increment build number
2018-04-06 00:04:16 +00:00
hvlad
ec86419d25
Missed piece for fix of CORE-5746: Remove the restriction on create/delete, enable/disable user indexes in the system tables
2018-04-05 21:02:32 +03:00
Adriano dos Santos Fernandes
7f044bccf9
Misc.
2018-04-05 12:41:40 -03:00
hvlad
acb1c28a01
Merge pull request #155 from abzalov/master
...
CORE-5746: Remove the restriction on create/delete, enable/disable user indexes in the system tables
2018-04-05 11:02:03 +03:00
firebirds
c2ba6a8979
increment build number
2018-04-05 00:04:10 +00:00
hvlad
0cc3d04c9a
Corrected additional fix for bug CORE-5702 : Firebird Handle Leak Windows
2018-04-05 00:38:35 +03:00
firebirds
681caa5995
increment build number
2018-04-03 00:04:05 +00:00
hvlad
64b6de01e4
Additional fix for bug CORE-5702 : Firebird Handle Leak Windows
2018-04-03 01:06:44 +03:00
abzalov
191a3b6f92
CORE-5746: Remove the restriction on create/delete, enable/disable th…
2018-04-02 22:54:47 +03:00
firebirds
19deaaaf05
increment build number
2018-03-31 00:03:58 +00:00
hvlad
606d91fd29
Let ExtDS preprocessor handle '\r', '\n' and '\r\n' as end of line.
2018-03-31 00:39:34 +03:00
hvlad
57f2f69268
Let SQL parser handle '\r', '\n' and '\r\n' as end of line.
2018-03-31 00:38:41 +03:00
firebirds
eaee6a6fdf
increment build number
2018-03-29 00:04:09 +00:00
Artyom Smirnov
d63ac10b21
If guard starts in daemon mode then close all fds to properly daemonize ( #152 )
...
Also in server detect if stdout/stderr fds were closed by guard and reopen
with redirecting to file or /dev/null
2018-03-28 18:57:23 +03:00
firebirds
0c75917d38
increment build number
2018-03-27 00:04:02 +00:00
AlexPeshkoff
6feecfd1e9
Fixed CORE-5728: Field subtype of DEC_FIXED columns not returned by isc_info_sql_sub_type
2018-03-26 17:40:07 +03:00
Mark Rotteveel
4566623ec9
CORE-5710 make precision optional for DECFLOAT ( #150 )
...
* CORE-5710 make precision optional for DECFLOAT
* Make DECFLOAT a reserved word
* Add DECFLOAT to keyword_or_column
2018-03-26 17:31:11 +03:00
firebirds
a68927e297
increment build number
2018-03-24 00:06:03 +00:00
AlexPeshkoff
dce2f1052c
Fixed CORE-5705: Store precision of DECFLOAT in RDB$FIELDS
2018-03-23 20:31:52 +03:00
AlexPeshkoff
d0d92de6b2
Fixed CORE-5699: DECFLOAT should not through exceptions when +/-NaN, +/-sNaN and +/-Infinity is used in comparisons
2018-03-23 20:10:28 +03:00
firebirds
3b65d2d9a9
increment build number
2018-03-23 00:04:09 +00:00
hvlad
5da5cb566c
Fixed crash when broken external connection is deleted.
...
Fixed bug when idle external connection is about to put into idle list again.
2018-03-22 16:07:51 +02:00
3bdee64445
Add inet6 protocol support for MacOS
2018-03-22 13:57:18 +02:00
AlexPeshkoff
885f2e4457
Fixed a code somewhy accepted by gcc6
2018-03-22 12:29:59 +03:00
firebirds
40ab6c5db0
increment build number
2018-03-22 00:04:13 +00:00
AlexPeshkoff
63f4e450eb
An attempt to fix CORE-5764, need feedback on snapshot build
2018-03-21 20:05:29 +03:00
AlexPeshkoff
1e8e7858db
Patch for CORE-5779: support for riscv64, also some code fixes related with prior ports
2018-03-21 15:19:20 +03:00
Artyom Smirnov
21b42b2e8f
Allow to redirect server's stdout and stderr to file ( #143 )
...
Before these changes guardian and server binary closed
stdin/stdout/stderr/... and server can reuse those
descriptors when opening files or using shmem for
example. So some stray stdout can introduce
unwanted data or even crash server. Server do not
emit any stdout/stderr in release build but
UDRs or external libraries can print to stdout.
After these changes stdout/stderr will be kept opened
and user have options to redirect it to /dev/null (by default)
or other file by choise or just allow server to print.
New config option OutputRedirectionFile was introduced to
allow user control server behavior.
2018-03-21 14:47:20 +03:00
firebirds
1dc40bee49
increment build number
2018-03-21 00:04:32 +00:00
AlexPeshkoff
f89ca3cfbe
Syntax
2018-03-20 19:55:08 +03:00
hvlad
690b0576bf
Fixed bug CORE-5773 : PSQL cursor doesn't see inserted record
2018-03-20 09:12:33 +02:00
firebirds
17ced5071f
increment build number
2018-03-20 00:04:23 +00:00
AlexPeshkoff
e5ec4f534b
Fixed CORE-5780: Server hangs when client tries to send too long DB encryption key(s)
2018-03-19 18:17:22 +03:00
hvlad
9422df896c
Fix thread priority for attachmentShutdownThread (it was run at lowest priority)
2018-03-19 15:59:13 +02:00
hvlad
ccfea1c192
Avoid GetThreadId() which is not present in WinXP (see CORE-5772)
2018-03-19 09:54:01 +02:00
firebirds
15d37fc989
increment build number
2018-03-17 00:03:59 +00:00
hvlad
a16249fcfc
Fixed bug CORE-405 : Garbage vs indices/constraints
2018-03-16 15:17:35 +02:00
firebirds
5006cd038b
increment build number
2018-03-16 00:04:15 +00:00
AlexPeshkoff
42dd67631d
Postfix for CORE-5772
2018-03-15 15:59:52 +03:00
AlexPeshkoff
44c6463d07
Fixed CORE-5772: Client hangs when working with events under high load
2018-03-15 14:44:35 +03:00
hvlad
cc2b19e3bf
Fixed bug CORE-5776 : "Input parameter mismatch" error after altering external function into PSQL function
2018-03-15 11:35:03 +02:00
firebirds
40eb153afb
increment build number
2018-03-12 00:04:13 +00:00
AlexPeshkoff
e6a89afd3b
Fixed CORE-5770: User who is allowed to manage other users must have this ability WITHOUT need to grant him RDB$ADMIN role (which is related to admin tasks in "main" database rather than in security_db)
2018-03-11 19:45:31 +03:00
Adriano dos Santos Fernandes
a48f18f019
Fixed CORE-5771 - Restore (without replace) when database already exists crashes gbak or Firebird (when run through service manager).
2018-03-11 11:52:11 -03:00
firebirds
dadab0aec3
increment build number
2018-03-10 00:04:06 +00:00
Adriano dos Santos Fernandes
de1c8e4aad
Misc.
2018-03-09 00:07:14 -03:00
firebirds
3de8bd66b0
increment build number
2018-03-08 00:04:29 +00:00
AlexPeshkoff
1636227d40
Changed representation of high precision DECIMAL/NUMERIC to be exactly the same as for DECFLOAT(34)
2018-03-07 20:22:33 +03:00
firebirds
951438e59b
increment build number
2018-03-03 00:02:08 +00:00
hvlad
fca4da841e
Return back lost checkouts at sorting module.
...
It allows to handle AST requests during long sorts.
2018-02-28 18:38:50 +02:00
AlexPeshkoff
6e461ec1c5
Fixed CORE-5762: Wrong transaction number in RDB$PAGES relation may cause infinite recusrion in engine and segfault
2018-02-27 15:19:08 +03:00
hvlad
42630c1c83
Fixed bug CORE-5760 : Server process crashes while restoring database
2018-02-26 18:54:35 +02:00
AlexPeshkoff
1888eab6f3
Fixed CORE-5757: deadlock with events
2018-02-25 20:06:33 +03:00
firebirds
f7a663f3a0
increment build number
2018-02-22 00:04:43 +00:00
Dmitry Yemanov
9afef198c1
Postfix for CORE-2284/CORE-5677, fixes regression CORE-5756
2018-02-21 10:49:40 +03:00
firebirds
3947506346
increment build number
2018-02-21 00:04:14 +00:00
AlexPeshkoff
b88a968dbf
Print new message only in verbose mode
2018-02-20 19:37:18 +03:00
AlexPeshkoff
f6419f235c
Fixed CORE-5742: Incorrect error message in iSQL when trying to create database with wrong password
2018-02-20 18:18:36 +03:00
Adriano dos Santos Fernandes
8eee0ce39a
Misc.
2018-02-20 11:42:15 -03:00
hvlad
5b8df0f262
Remove (resurrected somehow) part of TomCrypt
2018-02-20 14:28:56 +02:00
hvlad
85272ba789
Replace AtomicPointer by std::atomic
2018-02-20 14:12:25 +02:00
hvlad
fdecfd1319
Merge branch 'master' into read_consistency
2018-02-20 13:50:04 +02:00
AlexPeshkoff
7b61282da5
Fixed INF processing
2018-02-20 13:59:02 +03:00
firebirds
e17a0fac76
increment build number
2018-02-20 00:04:18 +00:00
AlexPeshkoff
05d79bed81
Added new messages for gbak
2018-02-19 20:30:17 +03:00
Roman Simakov
4163b7f028
Fixed CORE-5754: ALTER TRIGGER check privilege for alter database instead of table
2018-02-19 17:07:47 +03:00
Roman Simakov
caff163fe2
Fixed CORE-5753: Parser allows to use GRANT OPTION for FUNCTION and PACKAGE.
2018-02-19 17:03:54 +03:00
Roman Simakov
578a83a858
Fixed CORE-5747: User can grant USAGE privilege by himself. Error messages were corrected. Note: GRANT OPTION is being checked taking into account currently used ROLES
2018-02-19 15:48:14 +03:00
Alexander Peshkov
a6d57fc4d8
Gbak ( #139 )
...
* Rewritten gbak using OO API
* Make gbak correctly work with wide records (if record format to be made > 64K)
* Improve gbak performance over network using batch interface
* Enhanced template AutoPtr to make use of it more comfortable
2018-02-19 13:38:28 +03:00
firebirds
3da584e505
increment build number
2018-02-17 00:04:03 +00:00
Adriano dos Santos Fernandes
0b0af90393
Misc.
2018-02-16 15:47:48 -02:00
Adriano dos Santos Fernandes
bee3105b47
Revert wrong push (branch gbak) to master.
2018-02-16 15:42:41 -02:00
Adriano dos Santos Fernandes
988f13dcd7
Misc
2018-02-16 13:06:16 -02:00
Adriano dos Santos Fernandes
a8f30581db
Corrections.
2018-02-16 13:06:16 -02:00
AlexPeshkoff
520a28fc19
Improve gbak performance over network using batch interface
2018-02-16 13:06:16 -02:00
AlexPeshkoff
0a1b23004e
Make gbak correctly work with wide records when -nt and -e flags are used
2018-02-16 13:06:16 -02:00
AlexPeshkoff
dd45e49f4b
Backup/restore of wide records works using transportable format
2018-02-16 13:06:16 -02:00
Dmitry Yemanov
763f96a409
Raised max record size (to test new gbak implementation)
2018-02-16 13:06:16 -02:00
AlexPeshkoff
54607bbce4
Build gbak using OO API
2018-02-16 13:06:16 -02:00
firebirds
e4a78ce3fe
increment build number
2018-02-16 00:04:26 +00:00
firebirds
1a6bb8c342
increment build number
2018-02-13 00:04:15 +00:00
Dmitry Yemanov
7d942c0607
Avoid reading the page buffer after it was released
2018-02-12 19:17:48 +03:00
firebirds
35dff679f2
increment build number
2018-02-10 00:04:09 +00:00
Adriano dos Santos Fernandes
90c072f3e4
Fixed CORE-5743 - Query parsing failed.
2018-02-09 13:12:59 -02:00
firebirds
7c8a46cf41
increment build number
2018-02-09 00:04:17 +00:00
AlexPeshkoff
2c30ddfab0
Cleanup hand-made isinf()
2018-02-08 13:21:02 +03:00
firebirds
3d412da26c
increment build number
2018-02-08 00:04:29 +00:00
AlexPeshkoff
c70cc39b62
Front-ported android-related fix from FB3
2018-02-07 19:14:42 +03:00
firebirds
cec4be840e
increment build number
2018-02-07 00:04:26 +00:00
hvlad
f162f2336e
Initial implementation of external connections pool
2018-02-06 12:52:00 +02:00
Paul Reeves
cf7fd05070
Correct spelling of env var is FIREBIRD_LOCK.
2018-02-06 11:45:45 +01:00
Paul Reeves
7a4a6067d1
Correct spelling of env var in comment.
2018-02-06 11:34:45 +01:00
firebirds
7666ee281f
increment build number
2018-02-06 00:04:14 +00:00
AlexPeshkoff
67e625677a
Implemented CORE-5741: Word "fixing" in gbak output is too scary
2018-02-05 21:41:32 +03:00
Dmitry Yemanov
425a98aa12
Fixed ISQL after changes in gds__vax_integer(). If we insist on passing unsigned integers, then don't allow implicit sign extension
2018-02-05 19:43:17 +03:00
firebirds
aae8f2fd29
increment build number
2018-02-03 00:04:18 +00:00
AlexPeshkoff
a372f319f6
Fixed CORE-5700: DECFLOAT underflow should yield zero instead of an error
2018-02-02 21:56:43 +03:00
AlexPeshkoff
6ea4b1e062
Fixed CORE-5737: Invalid parameters of gds transaction in ISQL
2018-02-02 13:51:02 +03:00
firebirds
ce590c1c83
increment build number
2018-02-02 00:04:43 +00:00
AlexPeshkoff
a8473b0ee3
Frontported CORE-5735: Additional keyholder opens unauthorized connections to encrypted database
2018-02-01 18:10:09 +03:00
firebirds
50ad173172
increment build number
2018-01-30 00:03:28 +00:00
AlexPeshkoff
f863205cfe
Fixed CORE-5730: Connection to server hangs when working with encrypted databases
2018-01-29 19:07:13 +03:00
AlexPeshkoff
b191382b36
Fixed sort on decimal fixed value
2018-01-29 18:26:52 +03:00
firebirds
ff040f5429
increment build number
2018-01-29 00:03:18 +00:00
Adriano dos Santos Fernandes
036921279d
Fixed CORE-5719 - FB >= 3 crashes when restoring backup made by FB 2.5.
2018-01-28 19:18:17 -02:00
hvlad
00483343f8
Attempt to fix build. Dmitry, verify please.
2018-01-28 21:12:40 +02:00
hvlad
b0b65effe6
Improvement CORE-5727 : Make faster engine response on cancel\shutdown signals when scanning long list of pointer pages
2018-01-28 20:59:32 +02:00
Dmitry Yemanov
f926eb5df8
Add missing short-circuit permission check for DBA/DBO that avoids an unnecessary ACL lookup
2018-01-28 14:06:05 +03:00