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

47275 Commits

Author SHA1 Message Date
Dmitry Yemanov
0e77b3e9dd Attempt to fix CORE-5393: Bad optimization of some operations with views containing subqueries. 2016-11-08 10:59:36 +03:00
firebirds
bd045430c6 increment build number 2016-11-05 00:02:30 +00:00
firebirds
ca94d51737 increment build number 2016-11-04 00:02:29 +00:00
Adriano dos Santos Fernandes
d1fe9675c0 Fixed CORE-5390 - ISQL crashes corrupting memory when statement length is greater than 10 MB. 2016-11-03 13:36:00 -02:00
firebirds
e5b7190e22 increment build number 2016-10-29 00:02:27 +00:00
Adriano dos Santos Fernandes
ea4e605130 Fixed CORE-5383 - Dependencies in package not recognised. 2016-10-28 15:19:17 -02:00
Popa Marius Adrian
fbbb31e8f6 create android x86/arm64/x86_64 scripts and ports (#59)
* add android.arm64 cross file

* add android arm64 makefile

* Deprecated in android-2x

* Add Android x86_64 cross and makefile

* Add Android x86 32bit makefile and cross
2016-10-28 14:38:43 +03:00
firebirds
64714f510c increment build number 2016-10-28 00:02:26 +00:00
8f0a70d1fb Backported fix for CORE-5384: Plugin manager fails to provide appropriate config information when name of configuration file is set in plugins.conf 2016-10-27 18:02:43 +03:00
firebirds
ad5f5ba2f4 increment build number 2016-10-26 00:02:31 +00:00
Dmitry Yemanov
5f6f5a3c0f Bugfix CORE-5381: Regression: could not execute query (select from view
with nested view).
2016-10-25 17:16:17 +03:00
firebirds
5f4f15360d increment build number 2016-10-25 00:02:29 +00:00
hvlad
2825af99a5 Fixed bug CORE-5257 : Enable nested keys in plugin configuration
Alex, please review
2016-10-24 23:19:00 +03:00
hvlad
8d5b1ff46e Introduced small per-relation cache of physical numbers of data pages.
It allows to reduce number of pointer page fetches and improves performance.
2016-10-24 01:09:08 +03:00
firebirds
c2812e739c increment build number 2016-10-20 00:02:29 +00:00
Adriano dos Santos Fernandes
21978036d5 Fixed CORE-1894 - Circular dependencies between computed fields crashs the engine. 2016-10-19 13:26:04 -02:00
firebirds
0aa921866a increment build number 2016-10-18 00:02:29 +00:00
f80121892b Fixed CORE-5379: Regression service API for isc_spb_sts_table 2016-10-17 19:19:39 +03:00
Adriano dos Santos Fernandes
13fd2f78b8 Fixed CORE-5314 - UDFs declared with large varchars take excessive time to execute. 2016-10-17 13:06:44 -02:00
firebirds
60c2339da2 increment build number 2016-10-15 00:02:33 +00:00
aafemt
926e226f92 Boolean datatype in gpre C++ module 2016-10-14 19:15:18 +03:00
John Paul Adrian Glaubitz
bd35281a05 Add platform support for Linux/m68k for the 3.0 branch (#52)
* 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.

* 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:21 +03:00
firebirds
ff939ee04f increment build number 2016-10-13 00:02:32 +00:00
d3dd8f7c92 Backported fix for CORE-5359: MessageMetadata's getScale returns int and MetadataBuilder's setScale want unsigned 2016-10-12 17:48:01 +03:00
0971eebb8f Backported implementation of CORE-5374: Make database name available to crypt plugin 2016-10-12 15:24:03 +03:00
firebirds
27ff10f31d increment build number 2016-10-12 00:02:27 +00:00
Dmitry Yemanov
daf89f0892 Bump the version number 2016-10-11 08:49:10 +03:00
firebirds
a913d2fe26 increment build number 2016-10-08 00:02:29 +00:00
Adriano dos Santos Fernandes
300fb11e43 Fixed CORE-5366 - Regression: could not use CASE expression with more than 255 conditions. 2016-10-07 09:40:47 -03:00
firebirds
b388b0effc increment build number 2016-10-05 00:02:31 +00:00
Adriano dos Santos Fernandes
a7ecf536c0 Fixed CORE-5367 - Regression: (boolean) parameters as search condition no longer allowed. 2016-10-04 11:55:07 -03:00
firebirds
1e756814f9 increment build number 2016-09-27 00:02:30 +00:00
firebirds
c01ce05d42 increment build number 2016-09-26 00:02:24 +00:00
hvlad
d5ff6d82c2 Generate savepoint around blr_store for non-cursor INSERT's (INSERT INTO ... VALUES (...) ) with sub-select in VALUES list.
It fixes bug CORE-5337 : The subquery in the insert list expressions ignore the changes made earlier in the same executable block.
Note, existing procedures and triggers should be recompiled to have new BLR code.
2016-09-25 23:46:45 +03:00
firebirds
58dafb5ba2 increment build number 2016-09-23 00:02:23 +00:00
27b653834f Fixed CORE-5355: XpbBuilder fails to create new TPB 2016-09-22 14:49:33 +03:00
firebirds
681789bb44 increment build number 2016-09-21 00:02:28 +00:00
firebirds
70a694fdb6 increment build number 2016-09-20 00:02:34 +00:00
Dmitry Yemanov
372af3f29c Bugfix CORE-5351: LEFT JOIN incorrectly pushes UDF into the inner stream causing wrong results 2016-09-19 19:40:27 +03:00
firebirds
abb1bdddbc increment build number 2016-09-16 00:02:35 +00:00
42454158b7 Do not segfault in a case of unexpected exception 2016-09-15 20:01:28 +03:00
firebirds
dc23d91734 increment build number 2016-09-09 00:02:26 +00:00
Adriano dos Santos Fernandes
9951d944e3 Fixed CORE-5341 - User collate doesn't work with blobs. 2016-09-08 15:53:18 -03:00
firebirds
627cb7a5eb increment build number 2016-09-08 00:02:28 +00:00
hvlad
6a3d9d0016 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:15:51 +03:00
firebirds
ba716e4774 increment build number 2016-09-07 00:02:27 +00:00
19bc36c815 Postfix for CORE-5326 2016-09-06 19:13:53 +03:00
firebirds
7bbe086111 increment build number 2016-09-06 00:02:28 +00:00
eb86289f69 Backported fix for CORE-5347: Races when initializing wire compression 2016-09-05 18:15:12 +03:00
firebirds
e6ccdd8502 increment build number 2016-09-03 00:02:30 +00:00
f75d77a937 Postfix for CORE-5326 - avoid segfault when attachment is released in incompletely initialized DB 2016-09-02 17:48:14 +03:00
4156615d01 Fixed CORE-5326: encrypting a database crashes host process when background encryption gets ready while no connection is established to that database 2016-09-02 12:16:32 +03:00
firebirds
1bdd0bb0b6 increment build number 2016-09-01 00:02:26 +00:00
hvlad
c43c959622 Fixed assertions (BDB_nbak_state_lock is not set for temporary page space) 2016-09-01 00:11:12 +03:00
firebirds
22ec4a52a3 increment build number 2016-08-27 00:02:28 +00:00
b4be07c95f Backported fix for CORE-5339: Assertion in createDatabase() when doing overwrite check 2016-08-26 19:04:57 +03:00
firebirds
f42bcb2f52 increment build number 2016-08-26 00:02:26 +00:00
43579acdd8 Minimum backport of CORE-5248: avoid NULL in RDB$ROLES.RDB$SECURITY_CLASS which made it possible for everyone to drop any role 2016-08-25 15:10:57 +03:00
firebirds
a5f9d89138 increment build number 2016-08-20 00:02:30 +00:00
d63e127438 Backported fix for CORE-5335: Segfault in remote server 2016-08-19 14:53:47 +03:00
firebirds
23b13b411e increment build number 2016-08-19 00:02:29 +00:00
hvlad
6e7afc90b5 Make VC 2013 x64 generate the same code as VC 2010 x64 : "lock xadd" instead of "lock add".
There was hagnups in SS x64 during new nbackup locking testing without this patch.
Note, both 32-bit compilers generate "lock xadd" instructions.
2016-08-18 13:28:59 +03:00
hvlad
377773f615 Reworked nbackup state lock handling to avoid performance penalty on every fetch 2016-08-18 13:28:44 +03:00
hvlad
6b7c554179 No need to release (and acquire again) cached lock if write lock is acquired repeatedly 2016-08-18 13:28:24 +03:00
hvlad
36a7a26346 Avoid hangup in SS when error happens at system attachment initialization time 2016-08-18 13:28:07 +03:00
firebirds
c083d20e4e increment build number 2016-08-18 00:02:30 +00:00
firebirds
710cc1d8da increment build number 2016-08-17 00:02:27 +00:00
Adriano dos Santos Fernandes
fb282b5a51 Fix buffer overflow. 2016-08-16 13:35:54 -03:00
hvlad
610594a525 Additional fix for CORE-5329. Once more thanks to Dmitry 2016-08-16 17:22:29 +03:00
firebirds
896c742941 increment build number 2016-08-15 00:02:27 +00:00
hvlad
408dff8cfc Fixed bug CORE-5329 : Database gets partially corrupted in the "no-reserve" mode
Thanks to Dmitry
2016-08-14 21:18:16 +03:00
firebirds
2682210b29 increment build number 2016-08-13 00:02:28 +00:00
1d5ac14bff Backported fix for open() files for very old kernels 2016-08-12 12:33:33 +03:00
firebirds
7652fa31e6 increment build number 2016-08-12 00:02:27 +00:00
hvlad
1db164a562 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-11 20:53:18 +03:00
hvlad
0d0528b2bb Fixed bug CORE-5327 : internal Firebird consistency check (cannot find tip page (165), file: tra.cpp line: 2307) 2016-08-11 20:46:23 +03:00
firebirds
99adeeec70 increment build number 2016-08-11 00:02:26 +00:00
685344727f Backported implementation of CORE-5266: Allow statement 'create OR ALTER user sysdba password ...' to initialize empty securityN.fdb 2016-08-10 16:58:56 +03:00
firebirds
d1210a78e6 increment build number 2016-07-29 00:02:26 +00:00
df519fa8a4 Backported fix for CORE-5270: FBSVCMGR does not produce error while attempting to shutdown a database without specified timeout (prp_force_shutdown N) 2016-07-28 18:55:18 +03:00
1a4b7ebd91 Backported better fix for CORE-5264 2016-07-28 18:40:29 +03:00
firebirds
9133ae1023 increment build number 2016-07-28 00:02:26 +00:00
hvlad
96a24228b6 Backported fix for bug CORE-5302 : Performance regression when bulk inserting into table with indices 2016-07-27 12:51:27 +03:00
firebirds
1d5a25f7e2 increment build number 2016-07-27 00:02:25 +00:00
Adriano dos Santos Fernandes
0e90030370 Postfix for rework on CORE-5277 to avoid CORE-5304 regression (0d46c91).
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-26 13:13:08 -03:00
firebirds
5dc67f3b7b increment build number 2016-07-25 00:02:24 +00:00
Dmitry Yemanov
600c62852d Fix the cast that is no longer necessary. 2016-07-24 11:29:36 +03:00
firebirds
f060d8381f increment build number 2016-07-18 00:03:03 +00:00
Adriano dos Santos Fernandes
1c6f688e79 Fixed CORE-5313 - Data type unknown error with LIST. 2016-07-17 20:42:01 -03:00
firebirds
d8411b02cc increment build number 2016-07-16 00:03:28 +00:00
8709dab13b Backported fix for CORE-5264: To unlock a raw device DB is not working. 2016-07-15 18:06:05 +03:00
firebirds
8a67ae05c3 increment build number 2016-07-15 00:03:15 +00:00
Dmitry Yemanov
1d4abeef4d Postfix for Adriano's commit. 2016-07-14 12:57:24 +03:00
firebirds
70c2fcf2c6 increment build number 2016-07-14 00:03:14 +00:00
Adriano dos Santos Fernandes
891c1727e6 Correction (CORE-5277 / CORE-5304). 2016-07-13 16:29:08 -03:00
Adriano dos Santos Fernandes
0d46c91f98 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 15:52:17 -03:00
Adriano dos Santos Fernandes
aaeff69d91 Allow to use the BULK_INSERT hack with others commands. 2016-07-13 15:52:17 -03:00
Dmitry Yemanov
946c8ef115 Bugfix for CORE-5307: Random 'invalid transaction handle' errors are returned from the engine. 2016-07-13 18:47:06 +03:00
Adriano dos Santos Fernandes
8f02eb08bb Temporary reverting CORE-5277 due to CORE-5304 regression. 2016-07-13 11:53:15 -03:00
180e18c040 Backported fix for CORE-5308: ISQL hangs in BLOBVIEW command 2016-07-13 13:06:30 +03:00