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

34842 Commits

Author SHA1 Message Date
asfernandes
e02bf841ad Move Helper class from UDR to the main interface header. Use proper (argh) ref. counting in the ExternalContext::get* methods. 2015-02-11 15:12:18 +00:00
asfernandes
6ab3e382e4 Increase FB_API_VER to 30. 2015-02-11 15:11:54 +00:00
alexpeshkoff
db73652a03 Fixed posix build 2015-02-11 10:19:57 +00:00
dimitr
11a9b5fc36 Change the status handling a little. 2015-02-11 09:20:51 +00:00
hvlad
20bae962d3 Fixed bug CORE-4688 : Recovery after stack overflow exception is not complete 2015-02-10 14:17:23 +00:00
firebirds
2560be77ae nightly update 2015-02-10 00:15:10 +00:00
alexpeshkoff
9a7c7a6c31 Fixed CORE-4685: Accessing DB in invalid manner when links (hard or symbolic) are used for it 2015-02-09 14:08:31 +00:00
firebirds
23ec9f7118 nightly update 2015-02-08 00:20:44 +00:00
firebirds
9d2699650c nightly update 2015-02-07 00:15:29 +00:00
asfernandes
f776db3b14 Warning. 2015-02-06 14:39:19 +00:00
firebirds
b7ef59a8fe nightly update 2015-02-06 00:14:11 +00:00
hvlad
3ca5a7b007 It should fix regression CORE-4653 : Crash on infinite mutual SP calls (instead of "Too many concurrent executions of the same request.") 2015-02-05 23:04:36 +00:00
firebirds
968ba029f5 nightly update 2015-02-05 00:44:51 +00:00
dimitr
61ca786437 Cleanup and simplification. 2015-02-04 12:43:01 +00:00
firebirds
53ccf2388f nightly update 2015-02-04 00:12:32 +00:00
dimitr
c8d6349c77 Replace a verb-cleanup bugcheck with regular error + transaction invalidation. 2015-02-03 16:31:05 +00:00
dimitr
7be19d2778 Small refactoring. 2015-02-03 10:33:39 +00:00
dimitr
7c6a608ad8 Fixed one of my last commits, thanks to Adriano. 2015-02-03 06:48:50 +00:00
asfernandes
8a3bf7529a Warnings. 2015-02-03 00:43:30 +00:00
firebirds
ca802d0e96 nightly update 2015-02-03 00:15:22 +00:00
dimitr
8d28efe1b5 Fixed CORE-4075: Server bugchecks or crashes on exception in calculated index. First part of the fix. 2015-02-02 09:27:38 +00:00
dimitr
6addf917b5 Additional fix for CORE-4673: Computed index based on a computed column stores NULL for all its keys. 2015-02-02 08:53:32 +00:00
firebirds
f177f113fe nightly update 2015-02-02 00:12:56 +00:00
firebirds
31ccad8148 nightly update 2015-02-01 00:13:49 +00:00
firebirds
50ba077282 nightly update 2015-01-31 00:14:04 +00:00
dimitr
a212d550e8 Simplest possible fix for regression CORE-4673: Computed index based on a computed column stores NULL for all its keys. 2015-01-29 15:16:00 +00:00
dimitr
d1b4bfc0fc Fixed my yesterday's commit (forgotten part). 2015-01-28 09:01:55 +00:00
dimitr
865f30b7d4 Fixed my yesterday's commit. 2015-01-28 08:15:42 +00:00
dimitr
cc8cc680a3 Core (engine-level) support for scrollable DSQL cursors. Fixed the IResultSet API to match the JDBC spec. Renamed FB_EOF to FB_NO_DATA. Refactored some DSQL internals. 2015-01-27 10:29:30 +00:00
dimitr
16b0750225 This should fix the Windows build. 2015-01-26 14:39:48 +00:00
hvlad
43f67462e2 Improvement CORE-4671 : Release internal temporary blobs early to free some memory\disk space 2015-01-26 14:15:54 +00:00
dimitr
aaa2936941 Fixed CORE-4670: Constraint violation error may be swallowed in some cases. 2015-01-26 10:51:05 +00:00
firebirds
3893b38b7b nightly update 2015-01-25 00:14:05 +00:00
hvlad
a07e2ff547 Frontportred fix for bug CORE-2848 : "lock conversion denied" or "lock denied" error 2015-01-24 11:49:18 +00:00
firebirds
a7222b6868 nightly update 2015-01-24 00:13:28 +00:00
hvlad
a0cee158a0 Make shared memory header same size independent on OS.
Introduce shared memory header version.
2015-01-22 10:35:57 +00:00
egorpugin
d397e68a48 [build] [cmake] Prepare sources for CMake building. Add clang preprocessor defs, ARM architecture defs, some Android-related defs. Add 'qsort_r' function search to configure.ac. 2015-01-21 11:11:04 +00:00
hvlad
8216554413 Fixed my error at patch for CORE-4565. It was the reason of false "lock denied" errors. 2015-01-21 09:18:18 +00:00
firebirds
d813d2b749 nightly update 2015-01-19 00:14:49 +00:00
dimitr
a3151fc71f Better diagnostics. 2015-01-18 09:05:38 +00:00
firebirds
cc86bd7579 nightly update 2015-01-18 00:16:51 +00:00
dimitr
8adfd0a38a Fixed CORE-4668: Select from mon$table_stats doesn`t work on SC and CS. 2015-01-17 18:05:53 +00:00
firebirds
c2be376418 nightly update 2015-01-17 00:15:43 +00:00
firebirds
0af3e04f85 nightly update 2015-01-16 00:14:39 +00:00
asfernandes
2a857cb415 Misc. 2015-01-15 01:17:27 +00:00
firebirds
8f457b12f5 nightly update 2015-01-15 00:13:46 +00:00
firebirds
ec165d573f nightly update 2015-01-14 00:14:02 +00:00
hvlad
76df787334 By Alex - fix for bug CORE-4659 : Error "Missing security context for .....\SECURITY3.FDB" 2015-01-13 11:24:38 +00:00
firebirds
22ec9d1f85 nightly update 2015-01-13 00:21:11 +00:00
asfernandes
346992fcec Remove IMaster::same from the API. 2015-01-12 14:56:55 +00:00
dimitr
8508fea434 Fixed CORE-4665: Wrong result when use "where <field_C> STARTING WITH <:value> ORDER BY <field_N>' and field_C is leading part of compound index key: { field_C, field_N }. 2015-01-12 11:28:10 +00:00
hvlad
621766efea Fixed build error 2015-01-12 08:16:32 +00:00
asfernandes
b99311dd1e Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException). 2015-01-12 00:21:38 +00:00
asfernandes
a04966874e Correction. 2015-01-12 00:21:07 +00:00
asfernandes
c4228eb623 Misc. 2015-01-12 00:04:14 +00:00
firebirds
c59e9f48c7 nightly update 2015-01-09 00:13:27 +00:00
alexpeshkoff
187f86b2e6 Fixed CORE-4662: Make services API pass SQL role to server. Also added switch -role to some utilities that missed it. 2015-01-08 14:03:54 +00:00
firebirds
11cdde4d12 nightly update 2015-01-07 00:13:30 +00:00
firebirds
d0a9d496cd nightly update 2015-01-06 00:16:56 +00:00
firebirds
bf8ed546e4 nightly update 2014-12-31 00:13:44 +00:00
starodubov
b260c1ead1 Fixed CORE-4656: Server could hang during chasing dead record version 2014-12-30 08:17:19 +00:00
firebirds
1a165fad86 nightly update 2014-12-30 00:16:00 +00:00
dimitr
29e238f78d Type correctness (mostly signed->unsigned adjustments). 2014-12-29 21:15:54 +00:00
dimitr
bd3ce4e6fb This commit is expected to fix CORE-4384: Problems when a table grows beyond 65535 pointer pages. Testing would be appreciated. 2014-12-29 17:40:47 +00:00
starodubov
13c911f47e Revert fix for CORE-4654, because it depends on unsupported compiler 2014-12-29 12:00:05 +00:00
starodubov
a8c8f22de0 Fixed POSIX build (CORE-4654) 2014-12-29 10:56:35 +00:00
firebirds
cb008dc6f0 nightly update 2014-12-27 00:13:46 +00:00
alexpeshkoff
b7621d6f9d Fixed CORE-4651: CREATE DATABASE fails for the user having RDB$ADMIN rights in security database 2014-12-26 14:10:39 +00:00
firebirds
eb574599cf nightly update 2014-12-25 00:13:28 +00:00
alexpeshkoff
df0ecdac9a Implemented CORE-4607: Add support for having >1 UserManager in firebird.conf and use them from SQL 2014-12-24 14:50:03 +00:00
firebirds
9d7e0813f1 nightly update 2014-12-23 00:16:31 +00:00
alexpeshkoff
8b0dde7130 Added forgotten security check - thanks to Adriano 2014-12-22 09:17:31 +00:00
firebirds
1ea43a2d65 nightly update 2014-12-22 00:15:05 +00:00
dimitr
64cfa741e7 Correction for the prior commit. 2014-12-21 19:30:06 +00:00
dimitr
b9178d4df1 Small refactoring. 2014-12-21 19:16:51 +00:00
asfernandes
dc0d56ed6d Misc. 2014-12-21 01:54:28 +00:00
firebirds
8d87bd77f1 nightly update 2014-12-20 00:22:08 +00:00
asfernandes
d8a0ff5f4b Generate interfaces with I-prefix. 2014-12-19 15:24:44 +00:00
firebirds
c49ca2564b nightly update 2014-12-19 00:15:32 +00:00
firebirds
647b283a3f nightly update 2014-12-18 00:15:38 +00:00
alexpeshkoff
c14a1210b0 Work in progress on CORE-3632: make all file descriptors, opened by firebird, close on exec() 2014-12-17 14:31:02 +00:00
dimitr
3d44e7d8f6 Fixed CORE-4472: Message "Modifying function <F> which is currently in use" when running script with AUTODDL=OFF and <F> is called from INTERNAL function declared in other unit. 2014-12-17 07:41:10 +00:00
alexpeshkoff
255b4ff855 Fixed CORE-4571: Can't select from table with ICU column when database (.FDB) is created on LINUX with icu 4.2.1 and then copied to WINDOWS 2014-12-16 14:39:04 +00:00
dimitr
263b396cd2 Postfix for CORE-1550: Unnecessary index scan happens when the same index is mapped to both WHERE and ORDER BY clauses. 2014-12-16 11:40:42 +00:00
firebirds
add6a8f61a nightly update 2014-12-14 00:25:05 +00:00
hvlad
11d4f648d4 Fixed bug, noted by Claudio in fb-devel 2014-12-13 08:55:53 +00:00
firebirds
6812018a66 nightly update 2014-12-13 00:26:46 +00:00
firebirds
a16ff04a29 nightly update 2014-12-10 00:30:51 +00:00
firebirds
a189f16876 nightly update 2014-12-09 10:59:38 +00:00
dimitr
ab11c279df Fixed CORE-4634: ORDER BY via an index + WHERE clause: error "no current record for fetch operation". 2014-12-08 13:12:16 +00:00
firebirds
20433f9000 nightly update 2014-12-08 00:03:33 +00:00
firebirds
7fdcc04117 nightly update 2014-12-06 17:17:23 +00:00
firebirds
e97574826f nightly update 2014-12-04 09:31:31 +00:00
firebirds
65761aec18 nightly update 2014-12-03 09:20:56 +00:00
firebirds
5faf9b4b74 nightly update 2014-12-02 10:09:15 +00:00
dimitr
0e11867e84 Refactored the RPB flags. The new logic also provides a second-level protection against CORE-4618. 2014-12-01 21:53:29 +00:00
firebirds
be9868ad8d nightly update 2014-12-01 05:55:12 +00:00
asfernandes
cebc7c36b3 Misc. 2014-11-30 21:09:39 +00:00
dimitr
9b0a24fc5a Simplest possible fix for CORE-4618: Rollback doesn`t undo changes when MERGE statement updates the same target rows multiple times and PLAN MERGE is used. An alternative solution is being considered. 2014-11-30 16:00:19 +00:00
firebirds
d3d86fa2e3 nightly update 2014-11-30 06:02:18 +00:00
firebirds
6f45339b62 nightly update 2014-11-29 06:00:26 +00:00
firebirds
287e556578 nightly update 2014-11-28 06:28:01 +00:00
firebirds
d607456af7 nightly update 2014-11-27 06:51:32 +00:00
alexpeshkoff
6cb0fdb082 Load zlib dynamically to make it possible for the client to run without it
Added configure switch to turn off build with compression
Cleanup zlib streams to avoid memory leak
Use SHRLIB_EXT instead explicit "so"
2014-11-26 17:43:45 +00:00
hvlad
d5c08a9fd0 Move ConfigRoot from common to the yvalve. Add its methods to the public interface ConfigManager.
Now all plug-ins have the same root\install folders.
It should fix CORE-4581 and related issues.
MSVC10 and MSVC12 builds are updated, Posix and Darwin builds will follow.
2014-11-26 09:45:42 +00:00
firebirds
24ea802fbd nightly update 2014-11-26 06:22:19 +00:00
firebirds
686e9e1e58 nightly update 2014-11-25 06:27:08 +00:00
firebirds
6f13fd38e7 nightly update 2014-11-23 07:14:41 +00:00
firebirds
b74395118f nightly update 2014-11-22 07:35:23 +00:00
hvlad
f5e1502b63 Small optimization by Dimitry Sibiryakov:
set ppg_min_space to the next really non-full slot when current ppg_min_space slot is marked as full.
2014-11-21 12:23:19 +00:00
firebirds
e8658272ee nightly update 2014-11-21 06:47:19 +00:00
firebirds
e29c055913 nightly update 2014-11-18 06:44:37 +00:00
mapopa
e055cea86d add isc_info_db_impl_linux_ppc64 in inf_pub.h 2014-11-12 17:49:41 +00:00
asfernandes
922aa064d2 Frontport fix for CORE-4604 - EXECUTE STATEMENT rise varchar char_length() size. 2014-11-12 15:14:31 +00:00
mapopa
ab2c11fb15 add isc_info_db_impl_linux_ppc64el in inf_pub.h 2014-11-12 09:13:29 +00:00
firebirds
d78c926a65 nightly update 2014-11-12 08:37:06 +00:00
firebirds
6701d1b131 nightly update 2014-11-11 08:55:38 +00:00
asfernandes
49d1a73994 Get rid of upgradeInterface API method and some adjustments. To be continued. 2014-11-10 14:45:40 +00:00
firebirds
e93d9f4330 nightly update 2014-11-10 08:36:28 +00:00
dimitr
d98625b933 Relaxed system tables protection for cases UPDATE ... SET RDB$*_SOURCE = NULL. So far nullification is allowed for views/packages/procedures/functions/triggers only. I'm not sure somebody really needs hiding sources for defaults and check constraints, but this can be supported later, if required. This is a temporary solution, intended to be replaced with something more clever (e.g. special permissions or new DDL command) in v4. 2014-11-09 16:40:52 +00:00
asfernandes
e6941eca21 Fixed CORE-4599 - REPLACE function works incorrectly with multibyte charsets. 2014-11-09 01:58:15 +00:00
firebirds
77aff5315b nightly update 2014-11-08 08:46:36 +00:00
firebirds
9bc3c290ce nightly update 2014-11-07 08:03:56 +00:00
firebirds
3e3a51dc9c nightly update 2014-11-04 01:08:44 +00:00
firebirds
1a82d957a8 nightly update 2014-11-01 01:00:48 +00:00
firebirds
c69da8b8a1 nightly update 2014-10-31 01:01:18 +00:00
firebirds
fdce6c92ac nightly update 2014-10-30 01:03:31 +00:00
firebirds
1e2b4b7a1f nightly update 2014-10-29 01:06:22 +00:00
firebirds
81add8d7a2 nightly update 2014-10-26 01:09:36 +00:00
asfernandes
0463754347 Misc. 2014-10-25 18:39:45 +00:00
firebirds
57a813efe2 nightly update 2014-10-22 01:19:40 +00:00
hvlad
f8969d22ca Improved page cache performance a bit.
The case when page buffer is evicted and re-assigned to another page.
2014-10-21 14:53:23 +00:00
firebirds
7facd97511 nightly update 2014-10-17 01:19:32 +00:00
dimitr
309b494102 Improvement CORE-3526: Support for WHEN SQLSTATE. 2014-10-16 16:35:18 +00:00
alexpeshkoff
1f83c3b1ae Fixed CORE-4582: Within linger period one can not change some database properties 2014-10-16 11:31:48 +00:00
firebirds
107f3fe047 nightly update 2014-10-16 01:31:45 +00:00
asfernandes
69c4a3e5ae Remove obsolete header file. 2014-10-15 15:43:32 +00:00
firebirds
465bbdc1aa nightly update 2014-10-15 01:20:55 +00:00
firebirds
80ec628a37 nightly update 2014-10-14 01:20:53 +00:00
alexpeshkoff
031e022c89 Misc const correctness - fixed warning 2014-10-13 15:29:21 +00:00
firebirds
04c20130b2 nightly update 2014-10-13 01:19:39 +00:00
asfernandes
8b76cfcff8 Misc. 2014-10-12 19:33:09 +00:00
asfernandes
dddfb50e19 Misc. 2014-10-12 18:47:08 +00:00
dimitr
a4a0502017 Updated the version info. 2014-10-12 18:24:43 +00:00
asfernandes
c642ddca82 Misc. 2014-10-12 02:25:02 +00:00
firebirds
fdd2998629 nightly update 2014-10-12 01:19:03 +00:00
firebirds
d766c6d5e7 nightly update 2014-10-11 01:20:07 +00:00
asfernandes
3a6c1093fb Fixed CORE-4574 - Incorrect result in subquery with aggregate. 2014-10-10 16:00:54 +00:00
hvlad
c3a181148a Fixed bug CORE-4576 : Cache Writer thread could not start 2014-10-10 10:12:23 +00:00
hvlad
18806682fd Fixed bug CORE-4575 : AV in garbage collector thread at disconnect of last attachment 2014-10-10 10:11:14 +00:00
firebirds
bcc183b07c nightly update 2014-10-10 01:23:40 +00:00
alexpeshkoff
ff3eb6e71e Fixed use of encrypted database for users mapping 2014-10-09 15:25:39 +00:00
firebirds
9c0b1d492c nightly update 2014-10-09 01:27:04 +00:00
firebirds
1068a3db41 nightly update 2014-10-06 01:22:42 +00:00
alexpeshkoff
e8930f4408 Fixed CORE-4566: Incorrect size of the output parameter/argument when execute block, procedure or function use system field in metadata charset 2014-10-05 13:14:43 +00:00
firebirds
75955fa3a9 nightly update 2014-10-05 01:29:58 +00:00
dimitr
7ad1fa43a3 Refactored cache shutdown. This should also fix CORE-4568: Server may crash while disconnecting from the database under load. 2014-10-04 20:10:14 +00:00
firebirds
57d611b79a nightly update 2014-10-04 01:26:52 +00:00
firebirds
4aeb9435fb nightly update 2014-10-03 01:27:57 +00:00
firebirds
2e97d4af78 nightly update 2014-10-02 01:25:33 +00:00
hvlad
ba11fb659b Improvement CORE-4562 : Split all validation messages on critical and minor ones
Additional patch, see details in tracker
2014-10-01 22:00:35 +00:00
hvlad
871830123f Fixed bug CORE-4565 : GDSCODE can have value = 0 in WHEN-section under some concurrent env., only in SC or CS (not in SS) 2014-10-01 18:17:04 +00:00
firebirds
22948f2a94 nightly update 2014-10-01 01:24:15 +00:00
hvlad
b6b26d0091 Warnings. Misc. 2014-09-30 19:38:35 +00:00
dimitr
5d29d55113 CORE-4564: Add per-table performance counters to the monitoring tables. 2014-09-30 17:35:44 +00:00
alexpeshkoff
5ccc32e0ed Better place for trace-related constants, thanks to Vlad 2014-09-30 15:04:14 +00:00
alexpeshkoff
f5645faaa0 Fixed windows build 2014-09-30 14:21:44 +00:00
firebirds
4c841c46fa nightly update 2014-09-30 01:25:24 +00:00
alexpeshkoff
ba62ee9947 Make it build on windows, work in progress - boot build is working 2014-09-29 17:24:30 +00:00
alexpeshkoff
153de0f271 Language independent API 2014-09-29 11:03:47 +00:00
firebirds
bea4dd590e nightly update 2014-09-29 01:18:08 +00:00
hvlad
e56788a0e2 Improvement CORE-4562 : Split all validation messages on critical and minor ones 2014-09-28 09:43:57 +00:00
firebirds
8103f0492c nightly update 2014-09-27 01:20:19 +00:00
firebirds
655694a77d nightly update 2014-09-23 01:19:48 +00:00
skidder
0030f9adeb Fix warnings 2014-09-22 19:25:40 +00:00
firebirds
70b09a143d nightly update 2014-09-19 01:24:27 +00:00
hvlad
8ba9d33798 Implement improvement CORE-4556 : Allocate data pages in group of sequential ordered pages (extents)
Validation code will follow
2014-09-18 22:31:53 +00:00
asfernandes
252abbf676 Fixed CORE-4555 - DDL trigger remains active after dropped. 2014-09-18 15:55:08 +00:00
firebirds
b83e16c0a1 nightly update 2014-09-17 01:22:54 +00:00
firebirds
fae24dd12b nightly update 2014-09-08 01:25:04 +00:00
asfernandes
6a864ad949 Misc. 2014-09-07 19:37:00 +00:00
firebirds
fef7a96558 nightly update 2014-09-06 01:29:31 +00:00
asfernandes
03370ed479 Fixed problem of undefined behaviour when deleting pointer of an incomplete type. 2014-09-05 15:21:10 +00:00
firebirds
e4a1b9b3f3 nightly update 2014-09-04 01:29:12 +00:00
firebirds
535dba3f21 nightly update 2014-09-03 01:20:34 +00:00
alexpeshkoff
2a293c2691 Implemented CORE-4538: Access rights for CREATE DATABASE operator 2014-09-02 16:55:14 +00:00
firebirds
45a5d66a32 nightly update 2014-09-02 01:21:47 +00:00
dimitr
57a80daa81 Correction. 2014-09-01 13:22:55 +00:00
dimitr
b742803ebf Refactored the shared cache checks. Optimized the shared counter for SS. 2014-09-01 13:19:53 +00:00
alexpeshkoff
eb8763d735 Misc 2014-09-01 09:44:45 +00:00
dimitr
9defd49c6d Count record reads performed by the IDX code. 2014-09-01 08:29:04 +00:00
firebirds
358d541ef8 nightly update 2014-08-30 01:29:50 +00:00
firebirds
c04d4491e7 nightly update 2014-08-29 01:30:21 +00:00
dimitr
6d77447723 Minor refactoring. 2014-08-28 15:53:43 +00:00
dimitr
bc588f3549 Fixed missing encounting for record refetches. 2014-08-28 15:34:45 +00:00
dimitr
82bf6c2c0e Minor adjustments to the performance counters. Work in progress. 2014-08-28 15:16:39 +00:00
roman-simakov
6703f3aed2 Fixed CORE-4522 - DDL permission do not protect
against removal BLOB filters. Owner was added to RDB$FILTERS. ODS is changed.
Fixed bug when one DDL privilege could be shown several times.
Removed unneccesary check of locksmith in alter database.
2014-08-28 12:19:46 +00:00
alexpeshkoff
076c275116 Added missing name 2014-08-28 08:55:12 +00:00
firebirds
0f670285ef nightly update 2014-08-28 01:25:36 +00:00
dimitr
4dae12ccce Added counter for record refetches (aka repeated reads). 2014-08-27 14:51:51 +00:00