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

35296 Commits

Author SHA1 Message Date
aafemt
27395a0831 Savepoints refactoring that fixes CORE-4701, CORE-4424 and CORE-4483 2016-03-02 15:33:16 +00:00
firebirds
87e6a22b6b nightly update 2016-03-01 00:09:46 +00:00
firebirds
c5815ed1e5 nightly update 2016-02-29 00:09:09 +00:00
dimitr
82553cf5d2 Misc: remove the redundant space in the explained plan output. 2016-02-28 08:45:42 +00:00
firebirds
53f244a8bb nightly update 2016-02-28 00:08:37 +00:00
firebirds
0d0cdff99b nightly update 2016-02-27 00:09:13 +00:00
dimitr
f82597bad9 Split a 5-way join into two smaller joins to help the optimizer in cases when statistics is outdated (index creation time suffers when there are many tables/indices). While being there, cache requests that weren't cached yet. 2016-02-26 17:19:29 +00:00
alexpeshkoff
926e3d903e Fixed some asserts and segfaults in crypto manager
Disable simultaneous nbackup & encrypt/decrypt operation
2016-02-26 12:55:34 +00:00
firebirds
bc0e65fd4b nightly update 2016-02-26 00:09:25 +00:00
hvlad
2dc879afca This should fix known issues with MERGE and stable cursor (see CORE-3362).
Thanks to Dmitry for idea
2016-02-25 09:20:01 +00:00
asfernandes
6760fe25c8 Misc. 2016-02-25 01:50:46 +00:00
firebirds
26b2e5a9d1 nightly update 2016-02-25 00:09:00 +00:00
dimitr
477af6bb96 Checking the datatype at compile time is unreliable: some nodes return one type at compile time and another type at runtime, thus causing unexpectedly missing casts. I'm moving the check to runtime, this should fix the remaining regressions (fingers crossed). 2016-02-24 20:11:34 +00:00
firebirds
b0abaa75f0 nightly update 2016-02-24 00:08:54 +00:00
dimitr
04f5f59ff8 Yet another postfix for CORE-5097, it resolves regressions for core_1173.fbt and core_1525.fbt. 2016-02-23 08:20:02 +00:00
firebirds
1229a361cc nightly update 2016-02-23 00:09:11 +00:00
firebirds
482331ad21 nightly update 2016-02-22 00:08:54 +00:00
dimitr
fb49b002c6 Fixed the comment. 2016-02-21 09:02:11 +00:00
dimitr
67151a6b43 Corrected my old commit re. optimization of the system requests. 2016-02-21 08:54:31 +00:00
firebirds
f99d0ea607 nightly update 2016-02-21 00:08:36 +00:00
firebirds
2a7a2ecff9 nightly update 2016-02-20 00:11:24 +00:00
firebirds
b8a11dcb4d nightly update 2016-02-19 00:09:06 +00:00
firebirds
0e0a5abb45 nightly update 2016-02-18 00:08:33 +00:00
hvlad
f2c8f05846 Front ported for CORE-5067 : Blocking new connections as a consequence of the too long sweep security2.fdb 2016-02-17 09:21:09 +00:00
firebirds
2f04c8d375 nightly update 2016-02-17 00:08:52 +00:00
firebirds
25e28f21c5 nightly update 2016-02-16 00:09:49 +00:00
asfernandes
6259b1b1e0 Misc. 2016-02-15 02:53:24 +00:00
firebirds
b1d78c9258 nightly update 2016-02-15 00:09:30 +00:00
firebirds
a699b57800 nightly update 2016-02-13 00:09:48 +00:00
hvlad
6af5a2f894 Simplest fix for bug CORE-5110 : False PK\FK violation could be reported when attachment used isc_dpb_no_garbage_collect flag 2016-02-12 13:13:11 +00:00
firebirds
5d673233f3 nightly update 2016-02-12 00:09:34 +00:00
firebirds
d183257ab9 nightly update 2016-02-11 00:08:59 +00:00
asfernandes
05dc362017 Fixed CORE-5107 - set autoddl off and sequence of: ( create view V as select * from T; alter view V as select 1 x from rdb$database; drop view V; ) leads to server crash. 2016-02-10 17:53:44 +00:00
firebirds
da15c3ccba nightly update 2016-02-08 00:08:48 +00:00
alexpeshkoff
0e45ec6caa Postfix for CORE-5100, thanks to Dmitry Sibiryakov 2016-02-07 07:44:46 +00:00
firebirds
bdeca659cd nightly update 2016-02-07 00:09:13 +00:00
firebirds
7fc9275d08 nightly update 2016-02-06 00:09:07 +00:00
alexpeshkoff
56e5ec3d78 Fixed CORE-5105: Deadlocks when database is initially encrypted 2016-02-05 15:21:58 +00:00
alexpeshkoff
e7270beacd Postfix for CORE-5100: avoid races caused by temporary changed bdb_buffer 2016-02-05 15:13:47 +00:00
hvlad
c0e078af12 Missed piece for CORE-5104, thanks to Alex again 2016-02-05 15:09:54 +00:00
hvlad
99cbccccb8 Fixed bug CORE-5104 : External data source selects became slow
Thanks to Alex
2016-02-05 15:05:14 +00:00
firebirds
0d5f08234d nightly update 2016-02-05 00:09:18 +00:00
asfernandes
b5a34e985f Move the code and add the CAST only when required, per Dmitry comment. 2016-02-04 14:28:26 +00:00
hvlad
0719958901 Fixed bug CORE-5101 : Backup restore is slow in FB3 when the database contains many small tables with indices 2016-02-04 10:33:02 +00:00
alexpeshkoff
0c2f694ead Postfix for CORE-5100: restored binary compatibility with crypt plugins for RC1 2016-02-04 09:22:03 +00:00
firebirds
7c0cd594b7 nightly update 2016-02-04 00:10:30 +00:00
asfernandes
51d57b0a97 Fixed CORE-5097 - COMPUTED-BY expressions are not converted to their field type inside the engine. 2016-02-03 15:22:36 +00:00
alexpeshkoff
bebf1d5a70 Implemented CORE-5100: Improve control over database crypt keys 2016-02-03 13:20:41 +00:00
firebirds
91f7b5ec56 nightly update 2016-02-03 00:10:30 +00:00
firebirds
2f824e345d nightly update 2016-02-02 00:10:04 +00:00
alexpeshkoff
08d4a3ed45 Fixed CORE-5044: Pages are encrypted for each shadow separately 2016-02-01 16:16:42 +00:00
dimitr
8db2fdbd02 Fixed (or worked around, if you wish) redundant UTF8->system conversions happening if isc_dpb_utf8_filename tag is located in the middle of DPB. 2016-02-01 15:05:44 +00:00
firebirds
9dca0e22ab nightly update 2016-02-01 00:09:15 +00:00
firebirds
c8d6c34ec5 nightly update 2016-01-31 00:09:25 +00:00
asfernandes
436b531774 Misc. 2016-01-31 00:06:06 +00:00
firebirds
af9cd08f83 nightly update 2016-01-30 00:08:47 +00:00
alexpeshkoff
784260a967 Simplified code - thanks to Vlad 2016-01-29 15:46:06 +00:00
alexpeshkoff
92f1cef51d Fixed regression in CryptoManager added after RC1 - avoid reading incorrect header when database is locked by nbackup 2016-01-29 14:12:15 +00:00
firebirds
f586ec80fe nightly update 2016-01-29 00:08:49 +00:00
firebirds
346c6d2c04 nightly update 2016-01-28 00:10:41 +00:00
hvlad
714e6c2eaf Remove LCK_idx_reserve introduced with 64-bit transaction ID.
Restore original logic in BTR_next_index (wait for tx lock when index build is in progress). 
Use irt_repeat::irt_root to store high 32 bit of tra_num. 
It also fixed deadlock related with LCK_idx_reserve lock (reported privately).
2016-01-27 11:11:38 +00:00
firebirds
efc65175f8 nightly update 2016-01-26 00:08:27 +00:00
hvlad
8fc0267026 Cleanup 2016-01-25 14:17:50 +00:00
alexpeshkoff
b0edf7875e Postfix for CORE-5082: reorganized sources according to Vlad request 2016-01-25 13:52:16 +00:00
firebirds
1d7aa7c7bd nightly update 2016-01-25 00:09:57 +00:00
dimitr
99ad42ab82 This should fix the races while accessing the relation statistics inside dbb_stats. Reads/writes/fetches/marks are incremented (CCH) and read (INF) unprotected, as it's crash safe and read skews are acceptable. Other counters (both global and relation wise) are protected with a mutex. They're incremented on demand based on the attachment counters (via diffs). While being there, cleaned up the currently unused performance counters. 2016-01-24 21:14:18 +00:00
alexpeshkoff
eacbf41269 Fixed CORE-5082: Server does not validate correctness of user/password pair provided in EXECUTE STATEMENT operator 2016-01-24 17:58:28 +00:00
firebirds
6bed521926 nightly update 2016-01-22 00:09:23 +00:00
hvlad
5b2f99456d Fixed bug CORE-5078 : "Invalid BLOB ID" error 2016-01-21 11:00:07 +00:00
robocop
af3cb7700a Misc. 2016-01-21 00:25:55 +00:00
robocop
e7a69b2932 Typo. 2016-01-21 00:25:23 +00:00
firebirds
7521b16b53 nightly update 2016-01-21 00:10:02 +00:00
hvlad
69afe4b976 Fixed bug CORE-5075 : Triger on DISCONNECT with dynamic SQL (ES 'insert into ...'): 1) does not work in 3.0
Also, log exception happens in ON DISCONNECT trigger.
2016-01-20 10:05:14 +00:00
firebirds
7542d3037a nightly update 2016-01-19 00:09:32 +00:00
alexpeshkoff
b09b956eab Fixed CORE-5077: ISQL does not show encryption status of database 2016-01-18 17:30:37 +00:00
firebirds
af0a7b2add nightly update 2016-01-18 00:10:14 +00:00
asfernandes
052af7edd4 Misc. 2016-01-17 01:46:26 +00:00
firebirds
c14a3355c9 nightly update 2016-01-15 00:09:22 +00:00
hvlad
d82e043042 Fixed crash reason (see CORE-5075).
Error on disconnect requires more analyzing.
2016-01-14 23:09:01 +00:00
firebirds
c3eb0903c2 nightly update 2016-01-14 00:10:20 +00:00
dimitr
051e6f6b4c Minor correction. 2016-01-13 10:08:31 +00:00
firebirds
bb5e328b12 nightly update 2016-01-12 00:09:16 +00:00
firebirds
bd8a101090 nightly update 2016-01-11 00:09:49 +00:00
firebirds
d3d02e43ae nightly update 2016-01-07 00:09:51 +00:00
asfernandes
dcdec26c77 Revert to the bad (that works) commit for CORE-5062. It's difficult to work when both the original architects and the users do bad things in relation to CHAR and MBCS. 2016-01-06 18:20:39 +00:00
firebirds
ddb1da8d89 nightly update 2016-01-04 00:09:22 +00:00
firebirds
7e71b2c290 nightly update 2016-01-03 00:10:14 +00:00
alexpeshkoff
aa55704f0f Fixed CORE-5060: Cannot CREATE VIEW that selects from a system table, despite having all grants 2016-01-02 14:41:17 +00:00
alexpeshkoff
f4defcd2bc Postfix for CORE-5056: better error reporting, thanks to Claudio 2016-01-02 11:41:50 +00:00
hvlad
9165f8b596 New feature CORE-1538 : Add an option to isc_database_info to return the number of free pages in a database 2016-01-02 11:28:53 +00:00
asfernandes
30e729d7c5 Revert fix for CORE-5062 for better investigation. 2016-01-02 01:45:46 +00:00
asfernandes
7638ad530a Fixed CORE-5062 - CHAR_TO_UUID on column with index throws expression evaluation not supported Human readable UUID argument for CHAR_TO_UUID must be of exact length 36. 2016-01-02 01:04:30 +00:00
firebirds
6e6c32bf68 nightly update 2015-12-31 00:09:29 +00:00
alexpeshkoff
7b5b0ca838 Fixed CORE-5056: Write-lock of database file is cleared ("W" disappears from output of lsof <db_name>) when remote machine obtains DB header running "fbsvcmgr <remote_host>/port:service_mgr action_db_stats <remote_dbname>" 2015-12-30 15:16:43 +00:00
firebirds
515f5e5408 nightly update 2015-12-30 00:12:03 +00:00
dimitr
3b04931ea0 Fixed CORE-4708: Content of MON$EXPLAINED_PLAN in MON$STATEMENTS is truncated if exceeds the 32KB limit. 2015-12-29 19:00:05 +00:00
dimitr
8db7decfbd Tag the shmem session clumplets with username. This allows much faster lookups for non-locksmith users. Also, it allows to simplify some code. While being there, cleaned up some unused logic. 2015-12-29 15:17:20 +00:00
alexpeshkoff
0558b970fe Fixed CORE-5047: mapUser() routine establish secondary attach using wrong provider 2015-12-29 14:39:00 +00:00
firebirds
a19a555ad7 nightly update 2015-12-29 00:10:39 +00:00
dimitr
df55756907 Unwind the cache before throwing. This prevents lock-ups during database shutdown. 2015-12-28 06:22:32 +00:00