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

54680 Commits

Author SHA1 Message Date
AlexPeshkoff
5e962f0e5a Fixed CORE-2251: gbak doesn't return error code 2020-01-13 20:23:22 +03:00
Kovalenko Dmitry
9d02e7e1e4 Correction of RefPtr::assign
When RefPtr::assign returns to caller it (object) may be already destroyed. As result "return ptr" will access (read 'ptr' member) the destroyed object.

The correct code - 'return p;'

Note: usually smart pointers do not return internal/raw pointers. They return reference to himself.
2020-01-13 19:15:23 +03:00
AlexPeshkoff
fa8d7c984a Make firebird engine use classic mode during boot build 2020-01-13 17:08:43 +03:00
AlexPeshkoff
190262f634 Disable simultaneous access to read-only database from multiple processes in SS mode 2020-01-13 17:08:43 +03:00
firebirds
d0bebcb789 increment build number 2020-01-13 00:04:51 +00:00
Adriano dos Santos Fernandes
fb74077793 Avoid warning of possible usage without initialization. 2020-01-12 18:07:25 -03:00
Dmitry Yemanov
a9923c92af Avoid unnecessary operations in the destructor. This also prevents possible hangs in Classic builds. 2020-01-12 10:39:54 +03:00
firebirds
675e7e0171 increment build number 2020-01-11 00:04:20 +00:00
Roman Simakov
43574d1588 Removed TDBB_trusted_ddl flag which switched off all SCL_checks
globally.
Also removed SCL_checks from VIO_store, VIO_modify, VIO_erase which were
switched off by TDBB_trudted_ddl after checkPermission in DdlNode.
Other ways to run VIO_xxx are prohibited and users cannot modify system
tables directly.
Now error includes an object name when user does not have the privilege CREATE for it.
2020-01-10 18:01:09 +03:00
AlexPeshkoff
c6ffc03e1f Fixed CORE-6217: Wrong work with pointer: delete ptr; ptr=new ; 2020-01-10 14:09:48 +03:00
AlexPeshkoff
908c660de5 Fixed CORE-6221: Incorrect (throw-based) allocFunc for zlib 2020-01-10 13:59:12 +03:00
firebirds
c575383595 increment build number 2020-01-10 00:04:51 +00:00
AlexPeshkoff
0453bbec9e Implemented CORE-6220: Enable delivery of known to the client key to any connection to the server 2020-01-09 18:46:37 +03:00
firebirds
44cc992440 increment build number 2020-01-05 00:04:25 +00:00
AlexPeshkoff
04fdeabbb4 Cleanup 2020-01-04 12:31:30 +03:00
firebirds
f784e476c4 increment build number 2019-12-31 00:04:23 +00:00
Adriano dos Santos Fernandes
57b0f8ab21 Complement fix for CORE-6211:
This change makes gpre_boot and gpre boot generate identical files.

Hence it fixes second Linux build (after initial one, when epp files are changed) and
Windows build (that always re-process epp files with gpre even in the initial build).
2019-12-30 11:44:17 -03:00
firebirds
71496ddad3 increment build number 2019-12-28 00:04:34 +00:00
AlexPeshkoff
808688a2af Fixed CORE-6208: Grant lost in security.db after backup/restore cycle 2019-12-27 20:17:04 +03:00
AlexPeshkoff
a46a3df0fb Fixup some issues with numeric & decimal datatypes 2019-12-27 15:46:45 +03:00
firebirds
cd78c265d3 increment build number 2019-12-27 00:04:26 +00:00
AlexPeshkoff
53013ff80f Cleanup - remove interbase-times hack with storing length of a string representing some numeric in dsc_sub_type 2019-12-26 19:40:16 +03:00
AlexPeshkoff
816b18e66c Fixed CORE-6212: Authentication plugin on server may get garbage data from client instead empty packet 2019-12-26 15:44:01 +03:00
firebirds
53b977cf3d increment build number 2019-12-26 00:04:27 +00:00
AlexPeshkoff
fb8e15bf00 Enhanced SET BIND OF numeric/decimal as suggested by Mark 2019-12-25 19:56:39 +03:00
firebirds
1d40a14271 increment build number 2019-12-25 00:04:30 +00:00
hvlad
2c9aec2889 Description for new ChaCha plugin 2019-12-24 19:08:16 +02:00
hvlad
c6308c3dc8 Misc 2019-12-24 19:07:46 +02:00
Vlad Khorsun
6e8b9663e7
Windows file description (#245)
* Let's use something meaningful at version info's "File Description" field.
Move common resource compiler settings from project files to the property sheets.

* Update VC14 projects

* Update VC12 projects

* Update VC10 projects

* Adjust descriptions as Dmitry suggested
2019-12-24 18:50:56 +02:00
AlexPeshkoff
35e1b28bfa Applied part of fixes suggested in CORE-6207 2019-12-24 17:25:47 +03:00
AlexPeshkoff
0438e20e35 Enable use of pascal's keyword 'record' in idl 2019-12-24 17:25:35 +03:00
Alexander Peshkov
4ea61ec05b
Wire encryption plugin using chacha cypher (#244)
* Added wire crypt plugin using ChaCha cipher
Co-authored-by: Vlad Khorsun <hvlad@users.sourceforge.net>
2019-12-24 11:16:59 +03:00
Adriano dos Santos Fernandes
8a858aafb5 Fixed CORE-6211 - Command "ISQL -X" can not extract ROLE name when use multi-byte charset for connection.
Full rebuild required.
2019-12-23 21:22:37 -03:00
firebirds
9e3dd88dfd increment build number 2019-12-24 00:05:11 +00:00
Dmitry Yemanov
44eb75f6e7 This should fix regression for test core_0053.fbt 2019-12-23 09:25:24 +03:00
firebirds
13998d7ced increment build number 2019-12-23 00:04:35 +00:00
Dmitry Yemanov
8b4d24a1fb Fixed races during shmem reattaching 2019-12-22 09:42:16 +03:00
Dmitry Yemanov
a6c6d15daa Minor correction for Vlad's solution to CORE-4680 2019-12-22 09:18:07 +03:00
Dmitry Yemanov
010afc5760 Fixed the optimizer regression related to sorting vs compound indices 2019-12-22 09:17:50 +03:00
Dmitry Yemanov
ce92e192ae Cast the parameters to match the API declaration. This removes warnings in the generated code. 2019-12-22 09:12:05 +03:00
Dmitry Yemanov
156c6d1feb Fixed inconsistency between attachment/transaction states and their request states 2019-12-22 09:11:49 +03:00
firebirds
0f5dda2e11 increment build number 2019-12-21 00:04:41 +00:00
Adriano dos Santos Fernandes
0f6c5b53a2 Fix CORE-6205 - Generate proper error for UNION DISTINCT with more than 255 columns. 2019-12-20 13:25:40 -03:00
firebirds
45810f16e7 increment build number 2019-12-20 00:04:38 +00:00
Adriano dos Santos Fernandes
15e42bd939 Postfix for CORE-3380. 2019-12-19 12:54:25 -03:00
firebirds
146ef63ffd increment build number 2019-12-19 00:04:44 +00:00
Adriano dos Santos Fernandes
99ca8782fe Fixed CORE-3380 - Disable reading from new BLOB. 2019-12-18 13:06:50 -03:00
firebirds
c8623de4c2 increment build number 2019-12-14 00:04:37 +00:00
hvlad
bf01700028 Fixed bug CORE-6206 : VARCHAR of insufficient length used for set bind of decfloat to varchar 2019-12-13 15:11:27 +02:00
firebirds
a791345283 increment build number 2019-12-13 00:05:06 +00:00