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

35663 Commits

Author SHA1 Message Date
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
Dmitry Yemanov
0229709101 Bugfix for CORE-5275: Expression index may become inconsistent if CREATE
INDEX was interrupted after b-tree creation but before commiting.
2016-06-18 15:57:25 +03:00
19254eff81 Fixed CORE-5279: Granting access rights to view is broken 2016-06-18 10:30:43 +03:00
firebirds
e918d0c2da increment build number 2016-06-18 00:03:11 +00:00
Adriano dos Santos Fernandes
5e3fd2d5a2 Postfix for CORE-5277 - It's probably better to first check for well-formed data before calculat ethe length. 2016-06-17 11:08:30 +00:00
Adriano dos Santos Fernandes
234e25f078 Fixed CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields. 2016-06-17 11:03:33 +00:00
firebirds
21a0af48a7 increment build number 2016-06-16 00:03:49 +00:00
1c920ac578 Fixed CORE-5278: A number of SPB parameters fail in FB 3 & 4 2016-06-15 19:16:29 +03:00
hvlad
e37cea3e6a Fixed bug CORE-5273 : Crash when attempt to create database with running trace 2016-06-15 18:10:12 +03:00
firebirds
2b4a1dc615 increment build number 2016-06-15 00:03:54 +00:00
2b72824684 Postfix for DY refactoring that leaded to loop in savepoint chain 2016-06-14 19:28:27 +02:00
Adriano dos Santos Fernandes
91a2a3c78f Complements CORE-749 with configuration options. 2016-06-14 17:05:36 +00:00
d042f60ed7 Fix CORE-5252 2016-06-14 19:03:14 +02:00
firebirds
3e4fdba74a increment build number 2016-06-14 00:02:50 +00:00
Adriano dos Santos Fernandes
fc95191875 Decrease the length to 63 to avoid BLR problems (CORE-749) - per Dmitry comment in fbdevel. 2016-06-13 16:02:52 +00:00
firebirds
869f6c7c3c increment build number 2016-06-13 00:02:59 +00:00
Adriano dos Santos Fernandes
b987958946 Changed UCharBuffer to Array<UCHAR> to be correct. 2016-06-12 19:45:53 -03:00
Adriano dos Santos Fernandes
f1a8f5a8e3 Merge branch 'met-unaligned-access' of git://github.com/jrtc27/firebird into jrtc27-met-unaligned-access 2016-06-12 19:45:34 -03:00
firebirds
52eb7b90cb increment build number 2016-06-12 00:03:04 +00:00
firebirds
f4a30f5512 increment build number 2016-06-11 00:02:58 +00:00
Adriano dos Santos Fernandes
e69a823efa Improvement CORE-749 - Increase maximum length of object names to 64 characters. 2016-06-10 16:41:22 +00:00
Dmitry Yemanov
ef9cc3f99f Fix CORE-5268: Nested OR conditions may lead to incorrest results 2016-06-10 15:22:03 +03:00
firebirds
b79b66ab9c increment build number 2016-06-10 00:03:12 +00:00
James Clarke
dc2718ae0b Fixed CORE-5233: Fix unaligned memory access in MET_format 2016-06-09 20:44:08 +01:00
Adriano dos Santos Fernandes
c07101e929 Misc. 2016-06-08 21:50:01 -03:00
firebirds
e6a259b809 increment build number 2016-06-07 00:02:48 +00:00
644e2777aa Added license to new file 2016-06-06 18:18:32 +03:00
1a4f58bc85 Optimize system privilege check - move permanent job to compile phase 2016-06-06 17:54:12 +03:00
firebirds
bc164e7e69 increment build number 2016-06-04 00:03:17 +00:00
88748bd890 Fixed CORE-5213 2016-06-03 15:52:46 +03:00
firebirds
f9985fca79 increment build number 2016-06-03 00:02:41 +00:00
Dmitry Yemanov
3232eb8c50 Postfix for the new library name. 2016-06-01 11:55:39 +03:00
Dmitry Yemanov
dd9e32b2a4 Bump ODS version to 13.0 for FB4. 2016-06-01 10:48:13 +03:00
7ad99b795e Added support for system privileges 2016-05-31 20:07:08 +03:00
hvlad
1a6b7740db Better usage of lock guards 2016-05-31 18:23:55 +03:00
hvlad
eb5c0123c7 Little optimization 2016-05-31 18:20:01 +03:00
firebirds
0fbd406e4a increment build number 2016-05-31 00:02:37 +00:00
Dmitry Starodubov
6347882209 Simplified passing variables to sub-make. Move functions from "fb_io" namespace to "os_utils" (#30) 2016-05-30 17:50:02 +03:00
firebirds
4b6a4b1d55 increment build number 2016-05-28 00:02:40 +00:00
Roman Simakov
651334272f Added constants for GRANT and ADMIN OPTIONS 2016-05-27 17:26:47 +03:00
firebirds
6c631a0074 increment build number 2016-05-27 00:02:38 +00:00
Adriano dos Santos Fernandes
fbba8ad798 Misc. 2016-05-26 14:59:03 -03:00
Adriano dos Santos Fernandes
f0cc315a53 Misc. 2016-05-26 13:21:14 -03:00
Adriano dos Santos Fernandes
52575b896a Looks like one wanted to partially change our code conventions. 2016-05-26 13:20:44 -03:00
Adriano dos Santos Fernandes
235ed2d1e1 Misc. 2016-05-26 12:37:23 -03:00
firebirds
9c86b067c0 increment build number 2016-05-26 00:02:47 +00:00
Dmitry Starodubov
c3722be6de Added LSB compliance (#28) 2016-05-25 15:14:01 +03:00
firebirds
6cef0ffa19 increment build number 2016-05-24 00:02:41 +00:00
firebirds
7cd3457501 increment build number 2016-05-19 00:02:41 +00:00
hvlad
619cec5427 Correction, as Dmitry suggests. 2016-05-19 00:12:50 +03:00
hvlad
db6debb072 Fixed bug CORE-5234 : Access violation on UDF crashes server 2016-05-18 19:07:47 +03:00
firebirds
7d3424d27b increment build number 2016-05-17 00:02:47 +00:00
Dmitry Yemanov
9f3a0095e7 This should fix CORE-5241 (Affected rows are not counted for some update
operations with views). Old hacks are not actual these days.
2016-05-16 19:07:45 +03:00
Dmitry Yemanov
6a6eb3c554 Fix CORE-5231 (EXECUTE STATEMENT: BLR error if more than 256 output
parameters exist).
2016-05-16 13:03:29 +03:00
Dmitry Yemanov
4690eb6a0d Misc adjustments/renaming/comments based on Vlad's feedback. 2016-05-16 11:31:13 +03:00
firebirds
4653b6b80a increment build number 2016-05-16 00:02:47 +00:00
Dmitry Yemanov
dc52507399 Fix request savepoint stack handling when tx-level savepoint was already
dropped.
2016-05-15 23:17:28 +03:00
Dmitry Yemanov
46a7d66246 Change the savepoint start function, as suggested by Dimitry Sibiryakov. 2016-05-15 18:51:55 +03:00
Dmitry Yemanov
fbd7bd86da Add missing index depth protection during index creatiion + new error
code/message.
2016-05-15 16:07:44 +03:00
Dmitry Yemanov
08c42cb080 Rework fast_load() local structures to achieve a clearer code. Reduce
number of runtime allocations. Restore the original (before MAX_KEY
increase) stack requirements.
2016-05-15 12:41:45 +03:00
Dmitry Yemanov
decab0d0b4 Fix page numbers datatype + misc cleanup & adjustments. 2016-05-15 12:41:44 +03:00
firebirds
5d39f5fb7d increment build number 2016-05-15 00:02:41 +00:00
firebirds
f603860cb9 increment build number 2016-05-14 00:02:50 +00:00
firebirds
13ad68de93 increment build number 2016-05-13 00:02:41 +00:00
Roman Simakov
238fff3a2d Fixed CORE-1815: Ability to grant role to another role (#23)
* Initial patch for cumulative roles

* Fixed multiple records in USER_PRIVILEGES and reworked logic on additional grant default role and admin option
2016-05-12 17:03:54 +03:00
Adriano dos Santos Fernandes
ab49785f7a Fixed problems reported by PVS-Studio - http://www.viva64.com/en/b/0396/ 2016-05-12 08:31:12 -03:00
hvlad
07b8cde474 Refactor relation protection routines into a class.
Alex, please review changes related with DFW_reset_icu.
2016-05-12 14:05:29 +03:00
hvlad
c95aaf9300 Place expression index support routines where it should be.
Add protection from changes while expression index is built.
Remove PCMET module.
2016-05-12 14:03:01 +03:00
firebirds
6f0544d54a increment build number 2016-05-12 00:02:41 +00:00
Adriano dos Santos Fernandes
c31769c46a Fixed problems reported by PVS-Studio - http://www.viva64.com/en/b/0396/ 2016-05-11 13:16:24 -03:00
firebirds
986c37303b increment build number 2016-05-11 00:02:46 +00:00
Dmitry Yemanov
170656443c Postfixes for CORE-2192, thanks to Pavel Zotov. 2016-05-10 10:44:30 +03:00
Dmitry Yemanov
f2d0b64ba2 Misc adjustments after CORE-5232 and more encapsulation for the Lock
class.
2016-05-10 10:44:30 +03:00
firebirds
67bf1deb4c increment build number 2016-05-10 00:02:37 +00:00
Adriano dos Santos Fernandes
82b18b30f2 Misc. 2016-05-08 23:05:39 -03:00
firebirds
41d8b9ec55 increment build number 2016-05-09 00:02:43 +00:00
Dmitry Yemanov
64fa4d3c59 Merge pull request #21 from jrtc27/lock-big-endian
Fix locking on big-endian architectures
2016-05-08 19:19:30 +03:00
firebirds
4d8d85836f increment build number 2016-05-08 00:02:41 +00:00
James Clarke
0dc0a4b595 Fix locking on big-endian architectures
4e4d8002e5 extended locks to have 64-bit
keys in most cases, but some were left as 32-bit. However, code using
these 32-bit locks assumed that the significant bytes of the key's long
value started from lck_string[0], which is false on big-endian
architectures.  This commit adds Lock::getKeyString(), which gets a
pointer to the first used byte of lck_string, and should be used in
place of accessing lck_string directly.
2016-05-07 22:09:09 +01:00
firebirds
c48c816049 increment build number 2016-05-07 00:02:46 +00:00
Dmitry Yemanov
8186c1e40b CORE-2192: Extend maximum database page size to 32KB. All underlying
changes were already implemented during the v3 development.
2016-05-07 00:16:37 +03:00
Dmitry Yemanov
522f4c09bd Switch to 64-bit savepoint numbers as a straightforward solution for
CORE-5228 (Restore may hang if the database contains more than 4 billion
records).
2016-05-06 23:18:36 +03:00
Dmitry Yemanov
3b7b3161fb Bugfix CORE-5226. 2016-05-06 20:19:04 +03:00
Dmitry Yemanov
174c252e0c Major refactoring of savepoints. Beware of possible regressions. 2016-05-06 20:16:14 +03:00
firebirds
535a0e5204 increment build number 2016-05-03 00:03:01 +00:00
Dmitry Yemanov
7e0c287412 Bugfix CORE-5224: Transaction id tags for services API do not support
new 48 bit transaction ids.
2016-05-02 09:28:25 +03:00
firebirds
a82dc91e82 increment build number 2016-05-01 00:02:49 +00:00
Dmitry Yemanov
34399c1bf4 Bugfix CORE-5222: SELECT WITH LOCK may raise unexpected update conflict
errors under concurrent load.
2016-04-30 17:12:01 +03:00
firebirds
3b0ee41625 increment build number 2016-04-30 00:04:36 +00:00
firebirds
9042343c61 increment build number 2016-04-29 00:02:42 +00:00
Dmitry Yemanov
5df083273b Correction, as per Sean's comment. 2016-04-28 22:06:40 +03:00
Dmitry Yemanov
1d2eed6f24 CORE-5216: Provide location context (line/column numbers) for runtime
errors raised inside EXECUTE BLOCK.
2016-04-28 15:38:15 +03:00
firebirds
dcfcd3e94a increment build number 2016-04-27 00:02:41 +00:00
firebirds
8a7fef6d42 increment build number 2016-04-26 00:02:41 +00:00
1adadd969f Cleanup - use fb_utils::copy_terminate() where needed 2016-04-25 18:39:02 +03:00
cee67bffae misc 2016-04-25 18:38:18 +03:00
firebirds
35518861ce increment build number 2016-04-25 00:02:45 +00:00
firebirds
a300df6972 increment build number 2016-04-23 00:02:42 +00:00
firebirds
787d50e535 increment build number 2016-04-22 00:02:40 +00:00
1184d3e263 Fixed CORE-5203: Single CPU core fully utilized with Trace session 2016-04-21 20:34:51 +03:00
firebirds
5463e3cd77 increment build number 2016-04-21 00:02:40 +00:00
firebirds
1581ad463a increment build number 2016-04-20 00:02:38 +00:00
firebirds
783806a4ed increment build number 2016-04-15 00:02:40 +00:00
firebirds
2e29017962 increment build number 2016-04-14 00:02:40 +00:00
firebirds
f29f5504e0 increment build number 2016-04-13 00:02:38 +00:00
Adriano dos Santos Fernandes
a7948792b1 Warning. 2016-04-12 14:24:07 -03:00
firebirds
62ac4f0b5a increment build number 2016-04-12 00:02:34 +00:00
142f91496c Cleanup - use global constant for SYSDBA user name 2016-04-11 18:04:41 +03:00
firebirds
19b64ace8f increment build number 2016-04-11 00:02:37 +00:00
2a1725ec6e Postfix for CORE-5189: use unsigned operation code in User interface 2016-04-10 21:06:02 +03:00
Adriano dos Santos Fernandes
899e92c20c Misc. 2016-04-10 00:08:35 -03:00
firebirds
207437b8fd increment build number 2016-04-10 00:02:34 +00:00
firebirds
28c9469f75 increment build number 2016-04-09 00:02:35 +00:00
hvlad
3f06ba27c2 Fixed code formatting accidentally broken by my recent commit 2016-04-08 23:11:06 +03:00
firebirds
a4137db6cd increment build number 2016-04-08 00:02:34 +00:00
hvlad
6a169ddf0a Front ported fix for bug CORE-4645 : internal Firebird consistency check (cannot find tip page (165), file: tra.cpp line: 2375) 2016-04-07 21:55:17 +03:00
Dmitry Yemanov
54cde2c6ec Rework solution for CORE-5146. 2016-04-07 15:38:07 +03:00
firebirds
160e755112 increment build number 2016-04-07 00:02:34 +00:00
firebirds
aa799cefa1 increment build number 2016-04-05 00:02:36 +00:00
Adriano dos Santos Fernandes
d7eb6fe4d0 Fixed CORE-5167 - Allow implicit conversion between boolean and string. 2016-04-04 14:49:44 -03:00
Dmitry Yemanov
4e54079aea Fix assertion that appear to be incorrect. 2016-04-04 10:15:30 +03:00
Dmitry Yemanov
f9c3f81cb9 CORE-5182: Inconsistent effects of subsequent statement execution if
failing during record refetch.
2016-04-04 09:45:28 +03:00
firebirds
6b26ac79f0 increment build number 2016-04-04 00:02:38 +00:00
Adriano dos Santos Fernandes
ede09bf269 Misc. 2016-04-03 16:26:11 -03:00
firebirds
764d6e7ffd increment build number 2016-04-03 00:02:35 +00:00
Dmitry Yemanov
59e6c1f0cf Postfix for CORE-5067. It prevents deadlocks involving the header page
and some data pages (due to disabled AST delivery).
2016-04-02 13:16:13 +03:00
firebirds
074b91d090 increment build number 2016-04-02 00:02:35 +00:00
firebirds
5e3cc4b988 increment build number 2016-04-01 00:02:44 +00:00
Dmitry Yemanov
8905e15435 Relax heuristics for FIRST ROWS strategy. This should fix CORE-5146
(Suboptimal join order if one table has a selective predicate and MIN is
calculated for the other one).
2016-03-31 20:26:54 +03:00
edc3725e0b Merge branch 'master' of ssh://github.com/FirebirdSQL/firebird 2016-03-31 16:21:02 +03:00
cd20518ec7 Fixed CORE-5181: Build fails when HAVE_MMAP is not defined 2016-03-31 16:20:37 +03:00
Dmitry Yemanov
1d276543a5 Misc cleanup after my prior commit. 2016-03-31 15:58:32 +03:00
Dmitry Yemanov
c3858e1e65 Refactored database-level info to be retrieved directly into the MON$
snapshot, without intermediate storage in shmem. This should also fix
CORE-5179 (Database-level statistics (MON$STAT_GROUP = 0) may contain
multiple rows under concurrent load).
2016-03-31 13:53:08 +03:00
firebirds
bcbdd0ea52 increment build number 2016-03-31 00:02:39 +00:00
firebirds
767bc99058 increment build number 2016-03-30 00:02:32 +00:00
83845251c5 Added VIO prefix as requested 2016-03-29 11:52:25 +02:00
firebirds
6932807f7c increment build number 2016-03-29 00:02:37 +00:00
Adriano dos Santos Fernandes
f58ecf78b4 Fixed CORE-5166 - Wrong error message with UNIQUE BOOLEAN field. 2016-03-28 12:47:39 -03:00
Dmitry Yemanov
6ae1145394 Merge pull request #10 from aafemt/CORE-5174
Fix CORE-5174
2016-03-28 18:07:26 +03:00
Adriano dos Santos Fernandes
cf1a65dece Misc. 2016-03-27 23:36:37 -03:00
firebirds
8d90f042b2 increment build number 2016-03-28 00:02:32 +00:00
a8949baecf Fix CORE-5174 2016-03-27 14:43:25 +02:00
Dmitry Yemanov
f6e4f41bd9 Simplify migration for old databases affected by changes in
CLIENT_ADDRESS. Refresh outdated readme.
2016-03-27 11:20:27 +03:00
Adriano dos Santos Fernandes
de9e70ec4e Misc. 2016-03-27 00:11:43 -03:00
firebirds
eb51292982 increment build number 2016-03-27 00:02:34 +00:00
Adriano dos Santos Fernandes
83e95377bc Fixed CORE-5165 - HAVING COUNT(*) NOT IN ( <Q> ) prevent record from appearing in outer resultset when it should be there (<Q> = resultset without nulls). 2016-03-26 19:24:09 -03:00
firebirds
ed38cf98a6 increment build number 2016-03-26 00:02:06 +00:00
firebirds
06a8c7d7cd increment build number 2016-03-25 07:20:32 +00:00
firebirds
3282ab04eb Revert the wrong script run. 2016-03-25 05:32:10 +00:00
Firebird Admin
00aa2d4e74 increment build number 2016-03-25 05:11:34 +00:00
Firebird Admin
6847637623 increment build number 2016-03-25 05:11:32 +00:00
Firebird Admin
8893a9a6ad increment build number 2016-03-25 05:11:30 +00:00
Firebird Admin
e69c65bcb0 increment build number 2016-03-25 05:11:28 +00:00
firebirds
773c7bfe3f increment build number 2016-03-24 17:30:32 +03:00
Dmitry Yemanov
aab8eba467 Misc. 2016-03-23 18:24:36 +03:00
Dmitry Yemanov
1fef2e605a Fixed CORE-4985: Non-privileged user can implicitly count records in a
restricted table.
2016-03-23 18:24:22 +03:00
Dmitry Yemanov
7e8f8a1c0d Cleanup and refactoring: parsing strings in BLR. 2016-03-23 15:49:02 +03:00
Dmitry Yemanov
a1086589b6 Fixed handling of non-ASCII table names inside TPB. 2016-03-23 10:29:35 +03:00
hvlad
50c23d16ed Let nbackup skip another tags on header page and limit search by page boundaries 2016-03-22 20:11:17 +02:00
de12c06f38 Fixed CORE-5162: SEC$ tables and tag/attributes 2016-03-22 19:31:44 +03:00
b51a37ac0d Fixed CORE-5155: [CREATE OR] ALTER USER statement: clause PASSWORD (if present) must be always specified just after USER 2016-03-22 18:38:04 +03:00
hvlad
54e25d4a79 System index for RDB$BACKUP_HISTORY (RDB$GUID) 2016-03-22 11:18:37 +02:00
hvlad
fa0bae17e2 Applied initial patch from red-soft 2016-03-22 10:35:55 +02:00
Adriano dos Santos Fernandes
08746df97e Fixed CORE-5159 - Regression: engine may throw transliteration errors when running from non-ASCII system path. 2016-03-21 14:48:21 -03:00
Adriano dos Santos Fernandes
c2d7536030 Fixed CORE-5153 - Regression: Server crashes when aggregate functions are used together with NOT IN predicate. 2016-03-21 12:28:06 -03:00
hvlad
e891e0f43c Fixed bug CORE-5161 : Unique index could be created on non-unique data 2016-03-21 16:39:22 +02:00
hvlad
9ae426a757 Please MSVC14:
-add space before XXXFORMAT macros to not confuse it with user-defined literals

-use existing snprintf

This should fix part of the issues at CORE-5099 and CORE-5120
2016-03-17 12:33:26 +02:00
firebirds
5c4d97f05c nightly update 2016-03-16 00:09:45 +00:00
firebirds
95ebd3cc6f nightly update 2016-03-15 00:08:50 +00:00
aafemt
8cf7ff3434 Fix false positive index missing entries on already deleted records 2016-03-14 09:11:04 +00:00
dimitr
81343e94a3 Misc changes. 2016-03-14 09:02:02 +00:00
firebirds
9098e9465e nightly update 2016-03-12 00:08:24 +00:00
firebirds
5653ce3c8c nightly update 2016-03-11 00:09:40 +00:00
firebirds
5bf80cd789 nightly update 2016-03-10 00:08:36 +00:00
alexpeshkoff
71f4da06d3 Fixed CORE-5144: Deadlock when database is encrypted or decrypted under high parallel load 2016-03-09 14:58:08 +00:00
firebirds
91c3270d37 nightly update 2016-03-09 00:11:10 +00:00
hvlad
b713cb895e Fixed bug CORE-5140 : Wrong error message when user tries to set number of page buffers into not supported value 2016-03-08 17:10:30 +00:00
firebirds
dc206d1009 nightly update 2016-03-08 00:08:15 +00:00
firebirds
92a60b4f97 nightly update 2016-03-07 00:09:14 +00:00
firebirds
13ab88e62f nightly update 2016-03-06 00:09:35 +00:00
dimitr
0b97f5fc41 Misc refactoring:
1) Renamed Hash class to HashTable
2) Reversed data/length arguments
3) Moved hash() routine to its own class/namespace
4) Fixed the license text
2016-03-05 17:40:49 +00:00
aafemt
a1d55c3e6e Optimized hash function for lock manager and hash join 2016-03-05 12:28:04 +00:00
firebirds
ab8fa6bf83 nightly update 2016-03-05 00:09:20 +00:00
firebirds
e5fdfec4bf nightly update 2016-03-04 00:10:06 +00:00
paulbeach
150fdb8710 Fix qsort_r for Darwin 2016-03-03 15:04:02 +00:00
firebirds
21730b582a nightly update 2016-03-03 00:09:15 +00:00
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