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

35699 Commits

Author SHA1 Message Date
firebirds
f33d38a002 increment build number 2016-11-07 00:02:25 +00:00
firebirds
d8c886c180 increment build number 2016-11-05 00:02:22 +00:00
firebirds
0311f22e6c increment build number 2016-11-04 00:02:21 +00:00
firebirds
40155876f7 increment build number 2016-10-29 00:02:20 +00:00
Adriano dos Santos Fernandes
1f74d2c0b0 Fixed CORE-5383 - Dependencies in package not recognised. 2016-10-28 15:17:39 -02:00
firebirds
8d79da9da0 increment build number 2016-10-28 00:02:19 +00:00
firebirds
4831d4f957 increment build number 2016-10-27 00:02:23 +00:00
Roman Simakov
c95a287cc9 Added default sql security for database to make it possible to be more relevant to SQL Standard 2016-10-26 10:12:25 +03:00
firebirds
aa53e630d7 increment build number 2016-10-26 00:02:23 +00:00
Dmitry Yemanov
ff3e7cc9e3 Bugfix CORE-5381: Regression: could not execute query (select from view
with nested view).
2016-10-25 16:30:42 +03:00
firebirds
a3baf59a05 increment build number 2016-10-25 00:02:22 +00:00
Popa Marius Adrian
47f81d6711 remove MOV_double_to_date2
defined as NOT_USED_OR_REPLACED
// Strange, I don't see this function surfaced as public.
void MOV_double_to_date2
2016-10-22 15:02:55 +03:00
firebirds
5d3564f0cf increment build number 2016-10-22 00:02:21 +00:00
firebirds
3f65d34a7f increment build number 2016-10-20 00:02:22 +00:00
Adriano dos Santos Fernandes
6a00b3aee6 Fixed CORE-1894 - Circular dependencies between computed fields crashs the engine. 2016-10-19 13:15:27 -02:00
firebirds
e51e743f6e increment build number 2016-10-19 00:02:22 +00:00
1ba1af29f0 Hopefully better name in #ifdef 2016-10-18 10:55:21 +03:00
Dmitry Starodubov
70acd97746 Added check for access rights to BLOBs (#53)
This security fix helps to avoid a case when user guessing blob ID in one or other way gets access to the blob which should not be accessible for him.
2016-10-18 10:39:04 +03:00
firebirds
9e6acc09fa increment build number 2016-10-18 00:02:21 +00:00
Adriano dos Santos Fernandes
6c2e26cbbd Fixed CORE-5314 - UDFs declared with large varchars take excessive time to execute. 2016-10-17 13:07:25 -02:00
firebirds
dc0f09ee08 increment build number 2016-10-15 00:02:24 +00:00
John Paul Adrian Glaubitz
7ba46163c7 Add platform support for Linux/m68k (#51)
* Add generic platform support for Linux/m68k

* Include sem_t when determining values for FB_ALIGNMENT and FB_DOUBLE_ALIGN

On m68k, 'long long' is 16-bit aligned while 'sem_t' is 32-bit aligned
and we must therefore include 'sem_t' when determining the values for
FB_ALIGNMENT and FB_DOUBLE_ALIGN. Otherwise, the futex system call
will fail on these systems.

* Don't try to include headers for __cpuid on non-x86 targets

* Make sure that the version scripts include _IO_stdin_used on Linux

The GNU C library supports two ABIs for libio, one is the pre-2.1
ABI and the other is the current one. In order to determine which
ABI is to be used, the C library checks whether the _IO_stdin_used
symbol is exported by the executable. In case the symbol is present,
the new ABI is assumed, if the symbol is missing, the old ABI is
assumed. Thus, if an application is linked against a modern version
of glibc, it must export the _IO_stdin_used symbol as otherwise the
executable can crash or provoke other unexpected behavior on some
architectures like PowerPC or MIPS because the C library is using
the old ABI in this case.
2016-10-14 13:12:09 +03:00
firebirds
c2f40c083d increment build number 2016-10-14 00:02:20 +00:00
firebirds
21eae15273 increment build number 2016-10-13 00:02:23 +00:00
b76648f1f6 Implemented CORE-5374: Make database name available to crypt plugin 2016-10-12 15:22:15 +03:00
firebirds
d079557458 increment build number 2016-10-11 00:02:22 +00:00
b5c665e618 Missing break - thanks to Adriano 2016-10-10 17:04:07 +03:00
firebirds
9c7fb88429 increment build number 2016-10-08 00:02:22 +00:00
Adriano dos Santos Fernandes
937cb8dafd Misc. 2016-10-07 11:09:43 -03:00
firebirds
4a96c09240 increment build number 2016-10-05 00:02:23 +00:00
Adriano dos Santos Fernandes
19788ff96d Misc. 2016-10-03 22:33:31 -03:00
firebirds
8dfe0836bc increment build number 2016-10-04 00:02:21 +00:00
Roman Simakov
052c97b662 Fixes for DB level triggers 2016-10-03 17:55:40 +03:00
firebirds
7a53286d54 increment build number 2016-10-03 00:02:21 +00:00
Dmitry Yemanov
2852a2d916 Fixed crash for db-level triggers. Roman, please review. 2016-10-02 17:25:36 +03:00
firebirds
5330b765f2 increment build number 2016-09-30 00:02:24 +00:00
firebirds
af5ef8fafd increment build number 2016-09-29 00:02:21 +00:00
Roman Simakov
9aab6ed8cc SQL SECURITY Feature (#42)
* Added SQL SECURITY clause to various DDL statements
2016-09-28 17:24:04 +03:00
firebirds
d3a0723ae4 increment build number 2016-09-24 00:02:20 +00:00
Adriano dos Santos Fernandes
09c2dc164b Usage of C++11 strongly typed enum. 2016-09-23 15:28:03 -03:00
Adriano dos Santos Fernandes
796a2b1eec Rename type/variable to reflect recent changes. 2016-09-23 13:43:41 -03:00
Adriano dos Santos Fernandes
a9378178fd Feature CORE-5346 - Window Function: named window. 2016-09-23 13:43:10 -03:00
firebirds
f8382b6369 increment build number 2016-09-23 00:02:17 +00:00
Adriano dos Santos Fernandes
c6d9135586 Merge pull request #48 from FirebirdSQL/work/c++11
Use restricted list of C++11 features
2016-09-22 11:56:42 -03:00
firebirds
c98ca99ce2 increment build number 2016-09-22 00:02:21 +00:00
firebirds
4daf083e93 increment build number 2016-09-20 00:02:24 +00:00
firebirds
78ddb3a868 increment build number 2016-09-17 00:02:21 +00:00
firebirds
c68a3bbd66 increment build number 2016-09-16 00:02:26 +00:00
1f32346d21 Frontported fix for CORE-5326: Embedded - encrypting a database crashes host process when background encryption gets ready while no connection is established to that database 2016-09-15 17:37:50 +03:00
Adriano dos Santos Fernandes
62d2a001f8 Merge remote-tracking branch 'origin/master' into work/c++11 2016-09-10 14:18:27 -03:00
firebirds
2ed83fbf88 increment build number 2016-09-09 00:02:19 +00:00
firebirds
4d7c1884de increment build number 2016-09-08 00:02:20 +00:00
hvlad
d5ec668334 Let UPDATE and DELETE statements ignore records already deleted in the same statement (but still visible because of stable cursor).
It fixed bugs
CORE-5322 : Cascade deletion in self-referencing table could raise "no current record for fetch operation" error), and
CORE-5142 : Error "no current record to fetch" if some record is to be deleted both by the statement itself and by some trigger fired during statement execution
2016-09-07 22:45:17 +03:00
firebirds
6043105648 increment build number 2016-09-07 00:02:20 +00:00
Dmitry Yemanov
ebd0d3c813 More context variables for error handlers, see CORE-1132 and CORE-2040. (#46)
* Implement some parts of CORE-1132 and CORE-2040.

* Change per Adriano's suggestion.
2016-09-06 21:12:03 +03:00
firebirds
1d435303fe increment build number 2016-09-06 00:02:20 +00:00
firebirds
8d423b6225 increment build number 2016-09-03 00:02:22 +00:00
Adriano dos Santos Fernandes
41d24deb26 Feature CORE-3647 - Window Function: frame (rows / range) clause. Readme to be done.
Also updated README.keywords of others features.
2016-09-02 15:20:01 -03:00
Adriano dos Santos Fernandes
0c8282d2b3 1) Better usage of "range-based for loop with initializer list". 2) More elegant way to declare temporaries for usage with ->as<...>(). 2016-09-01 23:16:22 -03:00
Adriano dos Santos Fernandes
dbaf574284 Usage of range-based for loop with initializer list. 2016-09-01 22:40:36 -03:00
Adriano dos Santos Fernandes
8f34bfe44a Usage of override keyword. 2016-09-01 22:40:36 -03:00
firebirds
f62edab6c4 increment build number 2016-09-02 00:02:22 +00:00
firebirds
272c870976 increment build number 2016-09-01 00:02:19 +00:00
hvlad
f38854a3a2 Fixed assertions (BDB_nbak_state_lock is not set for temporary page space) 2016-09-01 00:12:47 +03:00
firebirds
a26006759f increment build number 2016-08-27 00:02:21 +00:00
6a745d9d9f Fixed CORE-5339: Assertion in createDatabase() when doing overwrite check 2016-08-26 19:04:15 +03:00
firebirds
982c395052 increment build number 2016-08-25 00:02:20 +00:00
7bf7455cb3 Fixed CORE-5248: Improve consistency in GRANT syntax between roles and privileges according to SQL standard 2016-08-24 18:47:39 +03:00
Adriano dos Santos Fernandes
e5b1a902c7 Misc. 2016-08-23 22:23:33 -03:00
firebirds
2abf6778a4 increment build number 2016-08-24 00:02:19 +00:00
Dmitry Yemanov
7dcf5652cb Fixed yet another oversight of mine. 2016-08-23 19:20:46 +03:00
Adriano dos Santos Fernandes
f6457f1a47 Fixed BLR printer for ORDER BY ... NULLS FIRST/LAST. 2016-08-23 13:19:23 -03:00
firebirds
268516472c increment build number 2016-08-23 00:02:19 +00:00
Dmitry Yemanov
9d6d0913da Fix missing flags initialization I accidentally removed in my last commit. 2016-08-22 09:13:44 +03:00
firebirds
555c8172fd increment build number 2016-08-21 00:02:19 +00:00
Dmitry Yemanov
a8af3b37a3 Slightly simplify csb initialization and better control its lifetime. 2016-08-20 16:53:54 +03:00
firebirds
d0049010cc increment build number 2016-08-20 00:02:23 +00:00
firebirds
d3a4000202 increment build number 2016-08-18 00:02:22 +00:00
hvlad
61a7560fe6 Reworked nbackup state lock handling to avoid performance penalty on every fetch 2016-08-17 16:44:33 +03:00
hvlad
63e2f4fc74 No need to release (and acquire again) cached lock if write lock is acquired repeatedly 2016-08-17 15:52:27 +03:00
hvlad
97aead186a Avoid hangup in SS when error happens at system attachment initialization time 2016-08-17 15:45:30 +03:00
firebirds
d29f8674c4 increment build number 2016-08-17 00:02:20 +00:00
hvlad
20e03be59b Fixed bug CORE-5330 : Trace session leads FB 4.0 to hang 2016-08-16 22:33:17 +03:00
hvlad
02d9e447c5 Additional fix for CORE-5329. Once more thanks to Dmitry 2016-08-16 17:16:35 +03:00
firebirds
3706e86e9f increment build number 2016-08-15 00:02:20 +00:00
hvlad
3ba0eb1caa Fixed bug CORE-5329 : Database gets partially corrupted in the "no-reserve" mode
Thanks to Dmitry
2016-08-14 21:15:07 +03:00
firebirds
742113aeac increment build number 2016-08-13 00:02:21 +00:00
firebirds
f45d346c9d increment build number 2016-08-12 00:02:20 +00:00
hvlad
de2c7a4ca3 Fixed bug CORE-5327 : internal Firebird consistency check (cannot find tip page (165), file: tra.cpp line: 2307) 2016-08-11 20:42:56 +03:00
firebirds
f8c4c3862d increment build number 2016-08-11 00:02:19 +00:00
e7d88a1dbc Implemented CORE-5266: Allow statement 'create OR ALTER user sysdba password ...' to initialize empty securityN.fdb 2016-08-10 16:57:28 +03:00
hvlad
90b35adb7c Attempt to make self-referencing foreign keys with ON UPDATE CASCADE work correctly.
It also fixes a bug CORE-5305 : CASCADE UPDATE fails for self-referencing FK
2016-08-10 13:58:21 +03:00
firebirds
7cfe3ebbae increment build number 2016-08-09 00:02:20 +00:00
firebirds
18cac4c12a increment build number 2016-08-08 00:02:20 +00:00
Adriano dos Santos Fernandes
54795bddd4 Misc. 2016-08-07 17:59:48 -03:00
firebirds
f80b660730 increment build number 2016-08-06 00:02:19 +00:00
70912f2d1f Postfix for CORE-5269, fixed SS case, thanks to Pavel 2016-08-05 14:01:20 +03:00
firebirds
781a41d2e0 increment build number 2016-08-04 00:02:19 +00:00
8bc941c12f Postfix for CORE-5269 2016-08-03 18:32:15 +03:00
9d8b20a77e Fixed CORE-5269: FBTRACEMGR should understand "role <name>" command switch (needed to explicitly connect with role with "TRACE_ANY_ATTACHMENT" privilege) 2016-08-03 16:35:38 +03:00
firebirds
6e3f94488f increment build number 2016-08-01 00:02:19 +00:00
Adriano dos Santos Fernandes
01c131b6f7 Improvements to NTILE after Pavel Zotov comments in CORE-3618. 2016-07-31 13:41:40 -03:00
Adriano dos Santos Fernandes
fc3cd8f4be Misc. 2016-07-31 12:16:04 -03:00
firebirds
a1b244d043 increment build number 2016-07-29 00:02:20 +00:00
bbe640a39c Better fix for CORE-5264 - thanks to Vlad 2016-07-28 18:16:09 +03:00
fa9f723cce Minor diagnostics cleanup 2016-07-28 15:19:39 +03:00
firebirds
8df890c52c increment build number 2016-07-27 00:02:19 +00:00
firebirds
5fd5021ea3 increment build number 2016-07-25 00:02:18 +00:00
Dmitry Yemanov
6d70adfc97 Fix a couple of issues with transaction numbers. 2016-07-24 11:22:07 +03:00
firebirds
73c6ac00a7 increment build number 2016-07-24 00:02:19 +00:00
a81d583845 Fixed CORE-5291: Error messages differ when regular user tries to RESTORE database, depending on his default role and (perhaps) system privilege USE_GBAK_UTILITY 2016-07-23 15:07:11 +03:00
firebirds
da48b92446 increment build number 2016-07-23 00:02:18 +00:00
Dmitry Yemanov
76899617d1 Attempting to fix a new incarnation of the infinite loop inside the
CrossJoin ctor.
2016-07-22 20:08:52 +03:00
firebirds
c2665b0683 increment build number 2016-07-22 00:02:55 +00:00
firebirds
066af4665e increment build number 2016-07-18 00:02:47 +00:00
firebirds
e98b886fc9 increment build number 2016-07-17 00:02:55 +00:00
Adriano dos Santos Fernandes
24df7c3d9c Remove hability to overflow declared character length in legacy multibyte charsets. 2016-07-16 15:46:54 -03:00
firebirds
244d996035 increment build number 2016-07-16 00:03:10 +00:00
f06a8c30a9 Code cleanup 2016-07-15 18:46:44 +03:00
97afe43dc3 Fixed CORE-5264: To unlock a raw device DB is not working. 2016-07-15 18:05:24 +03:00
firebirds
4d53676261 increment build number 2016-07-15 00:03:01 +00:00
firebirds
b8302acff3 increment build number 2016-07-14 00:02:59 +00:00
Adriano dos Santos Fernandes
36e4fa9461 Rework on CORE-5277 to avoid CORE-5304 regression.
CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields.
CORE-5304 - Regression: Can not restore database with table contains field CHAR(n) and UTF8 character set.
2016-07-13 16:28:45 -03:00
Dmitry Yemanov
4759ea8aa3 Bugfix for CORE-5307: Random 'invalid transaction handle' errors are returned from the engine. 2016-07-13 18:48:12 +03:00
firebirds
8cfc297ccf increment build number 2016-07-12 00:02:54 +00:00
Adriano dos Santos Fernandes
8962c089bb Misc. 2016-07-10 22:51:02 -03:00
firebirds
609111ba32 increment build number 2016-07-10 00:02:54 +00:00
Dmitry Yemanov
373c4599d3 Extend variable value in MON$CONTEXT_VARIABLES up to the possible
maximum (32765 bytes). This resolves CORE-5246: String truncation error
while selecting from MON$ tables if some user-defined context variable
exceeds 255 bytes in length.
2016-07-09 12:24:26 +03:00
firebirds
ec7cbdf4ef increment build number 2016-07-09 00:03:42 +00:00
Dmitry Yemanov
118a78e6e6 Bugfix CORE-5236: IN/ANY/ALL predicates may cause sub-optimal (late
filtering) execution of joins.
2016-07-09 01:14:50 +03:00
firebirds
e9bed7154e increment build number 2016-07-08 00:02:51 +00:00
hvlad
a75e0af175 Fixed bug CORE-5302 : Performance regression when bulk inserting into table with indices 2016-07-07 15:35:33 +03:00
firebirds
7c6430255b increment build number 2016-07-07 00:03:10 +00:00
hvlad
a12035d461 Remove not necessary sync points - dbb_threads_sync 2016-07-06 16:16:22 +03:00
hvlad
d6fae697a3 Remove not necessary sync points - dbb_lck_sync 2016-07-06 16:08:11 +03:00
firebirds
2fff52f09f increment build number 2016-07-06 00:02:58 +00:00
ee105ddfe6 Fixed CORE-5294: Memory leak when use SHOW GRANTS on new empty database (3.0.1 & 4.0; SS & SC), also updated internal memleaks search tool 2016-07-05 15:04:27 +03:00
firebirds
0727566164 increment build number 2016-07-01 00:02:59 +00:00
firebirds
953affa94d increment build number 2016-06-30 00:03:01 +00:00
Dmitry Yemanov
53630eb84e Merge pull request #29 from aafemt/CORE-5252
Fix CORE-5252
2016-06-29 23:19:39 +03:00
Adriano dos Santos Fernandes
0bd8fd6bb2 Features CORE-3616, CORE-3617, CORE-3618.
- CORE-3616 - Window Function: percent_rank()
- CORE-3617 - Window Function: cume_dist()
- CORE-3618 - Window Function: ntile(num_buckets integer)
2016-06-29 14:22:51 -03:00
129c43b0bc Fixed CORE-5292: Database corrupted when trying to encrypt it but appropriate key is missing 2016-06-29 20:15:49 +03:00
Adriano dos Santos Fernandes
3c9df93939 Refactor window functions to support new types of functions. 2016-06-29 11:20:55 -03:00
firebirds
6e6dfd4987 increment build number 2016-06-29 00:02:56 +00:00
hvlad
6c1fb82629 Additional fix for CORE-4645, thanks to Dmitry 2016-06-28 14:47:00 +03:00
hvlad
2b58717ee4 Fixed bug CORE-5295 : Validation could read after the end-of-file when handle multifile database 2016-06-28 13:06:04 +03:00
firebirds
f058f8d6e5 increment build number 2016-06-23 00:03:39 +00:00
hvlad
b5d150e56a Optimize run-time stats collection a bit 2016-06-23 00:30:47 +03:00
firebirds
731f328dda increment build number 2016-06-21 00:02:53 +00:00
firebirds
ffeea09e7d increment build number 2016-06-19 00:03:10 +00:00