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

47170 Commits

Author SHA1 Message Date
Dmitry Yemanov
5f19de8ffb 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:32:59 +03:00
Dmitry Yemanov
444abef206 Fix CORE-5231 (EXECUTE STATEMENT: BLR error if more than 256 output
parameters exist).
2016-05-16 13:21:31 +03:00
firebirds
d435669c70 increment build number 2016-05-13 00:02:52 +00:00
Adriano dos Santos Fernandes
b6866bc374 Fixed problems reported by PVS-Studio - http://www.viva64.com/en/b/0396/ 2016-05-12 11:49:44 -03:00
Dmitry Yemanov
3ee0a82403 Fix page numbers datatype + misc adjustments. 2016-05-12 14:14:01 +03:00
hvlad
89e9ba7441 Refactor relation protection routines into a class.
Alex, please review changes related with DFW_reset_icu.
2016-05-12 13:41:12 +03:00
hvlad
bd555a15a4 Place expression index support routines where it should be.
Add protection from changes while expression index is built.
Remove PCMET module.
2016-05-12 11:29:02 +03:00
firebirds
4f15abf3f3 increment build number 2016-05-10 00:02:45 +00:00
Dmitry Yemanov
1e908629ad Misc. 2016-05-09 23:06:59 +03:00
James Clarke
6a8067ed5f 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-08 23:33:20 +03:00
firebirds
8ccde22222 increment build number 2016-05-07 00:02:55 +00:00
Adriano dos Santos Fernandes
8883def48c Regenerate file. 2016-05-06 19:35:08 -03:00
Dmitry Yemanov
54123663c2 Add new constants to the Pascal interface. 2016-05-06 23:49:03 +03:00
Dmitry Yemanov
dce0b4c64e 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:47:55 +03:00
Dmitry Yemanov
16e356f29f Bugfix CORE-5226. 2016-05-06 20:20:36 +03:00
Michal Kubecek
58a12d7c97 Allow to enforce IPv4 or IPv6 in URL-like connection string. 2016-05-06 20:20:05 +03:00
firebirds
194293cafa increment build number 2016-05-04 00:02:50 +00:00
Dmitry Yemanov
4465eeabbb Bump version number for v3 branch. 2016-05-03 20:44:15 +03:00
firebirds
322294bd71 increment build number 2016-05-03 00:03:16 +00:00
Dmitry Yemanov
c004a74c88 Bugfix CORE-5224: Transaction id tags for services API do not support
new 48 bit transaction ids.
2016-05-02 09:37:06 +03:00
firebirds
b0e0cf4f86 increment build number 2016-05-01 00:03:08 +00:00
Dmitry Yemanov
849bfac745 Prevent stack trace (line/column info) from overriding the real error's
SQLSTATE.
2016-04-30 18:16:20 +03:00
Dmitry Yemanov
5f0842ba2c Bugfix CORE-5222: SELECT WITH LOCK may raise unexpected update conflict
errors under concurrent load.
2016-04-30 17:13:49 +03:00
firebirds
ac7f92a90c increment build number 2016-04-30 00:05:04 +00:00
Adriano dos Santos Fernandes
4958d2cf91 Postfix for CORE-5220. 2016-04-29 13:38:39 -03:00
Adriano dos Santos Fernandes
c2c322a576 Fixed CORE-5220 - ISQL -X: double quotes are missed for COLLATE <C> of CREATE DOMAIN statement when <C> is from any non-ascii charset. 2016-04-29 13:31:54 -03:00
firebirds
5672912e54 increment build number 2016-04-29 00:02:51 +00:00
Dmitry Yemanov
198ef2bf04 Correction, as per Sean's comment. 2016-04-28 22:05:39 +03:00
Dmitry Yemanov
2d7261c430 Fix CORE-5217 and CORE-5218 with one shot. 2016-04-28 20:27:43 +03:00
Dmitry Yemanov
25313daa11 CORE-5216: Provide location context (line/column numbers) for runtime
errors raised inside EXECUTE BLOCK.
2016-04-28 15:36:36 +03:00
firebirds
224070ca8c increment build number 2016-04-27 00:02:50 +00:00
hvlad
713b68c813 Fixed bug CORE-5120 : Firebird 3.0 + fbclient 3.0 - POST_EVENT won't work 2016-04-26 23:10:18 +03:00
Dmitry Yemanov
984f84acd6 Backported bugfix for regression CORE-5183: line/column numbering may be
twisted if alias.name syntax is used.
2016-04-26 20:29:38 +03:00
firebirds
8d79992a59 increment build number 2016-04-26 00:02:49 +00:00
9c56856790 Backported fix for CORE-5201: Return nonzero result code when restore fails on activating and creating deferred user index 2016-04-25 17:19:54 +03:00
firebirds
9000c5e77f increment build number 2016-04-25 00:02:54 +00:00
Adriano dos Santos Fernandes
3b56361d60 Make debug build raise the same warning as in release build. 2016-04-24 20:21:39 -03:00
Dmitry Yemanov
86698770b4 Bugfix CORE-5207: ISQL -X may generate invalid GRANT USAGE statements
for domains.
2016-04-24 09:30:39 +03:00
firebirds
3052355b1b increment build number 2016-04-23 00:02:54 +00:00
Adriano dos Santos Fernandes
a08f7b8ab0 Fixed CORE-5193 - Precedence problem with operator IS. 2016-04-22 14:05:23 -03:00
Adriano dos Santos Fernandes
1635a935dd Fixed CORE-5167 - Allow implicit conversion between boolean and string. 2016-04-22 14:05:17 -03:00
firebirds
840415bf9a increment build number 2016-04-22 00:02:54 +00:00
41e9f3f919 Backported fix for CORE-5203: Single CPU core fully utilized with Trace session 2016-04-21 20:35:17 +03:00
firebirds
32b303311f increment build number 2016-04-21 00:02:49 +00:00
firebirds
22a1b4df7b increment build number 2016-04-20 00:02:46 +00:00
firebirds
3b0e0efb0d increment build number 2016-04-15 00:02:48 +00:00
Dmitry Yemanov
1767a517f9 Postfix for CORE-5194. 2016-04-14 13:45:04 +03:00
firebirds
e2ca9438fc increment build number 2016-04-14 00:02:47 +00:00
firebirds
2d838903e5 increment build number 2016-04-13 00:02:46 +00:00
Dmitry Yemanov
4a81181187 Minor cleanup for my last commit. 2016-04-12 22:59:20 +03:00
Dmitry Yemanov
a61a1f50a7 Fix the possible crash reported by Dimitry Sibiryakov in fb-devel. Maybe
not the most efficient solution, but at least in sync with ~200 other
places in the codebase.
2016-04-12 21:24:09 +03:00
Adriano dos Santos Fernandes
85a25ee4e5 Warning. 2016-04-12 14:22:39 -03:00
Adriano dos Santos Fernandes
53de05b69b Fixed CORE-5194 - Invalid computed by definition generated by isql -x. 2016-04-12 14:14:45 -03:00
firebirds
e859735f4a increment build number 2016-04-11 00:02:45 +00:00
14781bdbfc Postfix for CORE-5189: use unsigned operation code in User interface 2016-04-10 21:12:14 +03:00
firebirds
6fd59f1361 increment build number 2016-04-10 00:02:41 +00:00
firebirds
a03411a841 increment build number 2016-04-09 00:02:42 +00:00
hvlad
8680064d60 Fixed code formatting accidentally broken by my recent commit 2016-04-08 23:15:50 +03:00
Dmitry Yemanov
a25d98a166 Fix ISQL extraction of generators on 64-bit Linux. 2016-04-08 14:31:51 +03:00
firebirds
a42261cd6a increment build number 2016-04-08 00:02:41 +00:00
Dmitry Yemanov
d3f6fc0da2 Update the version string. 2016-04-07 23:22:22 +03:00
hvlad
c390be3276 Front ported fix for bug CORE-4645 : internal Firebird consistency check (cannot find tip page (165), file: tra.cpp line: 2375)
# Conflicts:
#	src/jrd/tra.cpp
2016-04-07 22:00:21 +03:00
cee74fc5e0 Backported fix for CORE-5189: Codes of operation of user management plugin are missing in public API 2016-04-07 16:29:18 +03:00
Dmitry Yemanov
eb68245922 Rework solution for CORE-5146. 2016-04-07 15:39:25 +03:00
firebirds
52ddb7a3c8 increment build number 2016-04-07 00:02:42 +00:00
firebirds
2c3ec4703c increment build number 2016-04-06 00:02:40 +00:00
firebirds
803a2bac03 increment build number 2016-04-05 00:02:44 +00:00
4cffc422b1 Backported fix for CORE-5184: Assertion in cloop dispatcher when trying to save exception information in status interface 2016-04-04 19:32:09 +03:00
Dmitry Yemanov
56c7d2e10b Fix assertion that appear to be incorrect. 2016-04-04 10:16:46 +03:00
Dmitry Yemanov
f13942b8d3 CORE-5182: Inconsistent effects of subsequent statement execution if
failing during record refetch.
2016-04-04 09:47:40 +03:00
firebirds
f5599bbb55 increment build number 2016-04-03 00:02:44 +00:00
Dmitry Yemanov
dc31f92cea Postfix for CORE-5067. It prevents deadlocks involving the header page
and some data pages (due to disabled AST delivery).
2016-04-02 13:19:48 +03:00
Dmitry Yemanov
1472ab87b8 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-04-02 13:19:35 +03:00
Dmitry Yemanov
b52671d907 Misc cleanup after my prior commit. 2016-04-02 13:19:17 +03:00
Dmitry Yemanov
a441ea9a87 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-04-02 13:18:46 +03:00
firebirds
8faac7ddc9 increment build number 2016-04-02 00:02:44 +00:00
firebirds
1ea0b77b24 increment build number 2016-04-01 00:02:53 +00:00
4a7fae5dee Backported fix for CORE-5181: Build fails when HAVE_MMAP is not defined 2016-03-31 16:22:55 +03:00
firebirds
cfe81b51fc increment build number 2016-03-31 00:02:48 +00:00
firebirds
c25e3fbe9d increment build number 2016-03-29 00:02:44 +00:00
Adriano dos Santos Fernandes
3dc7f7998b Fixed CORE-5166 - Wrong error message with UNIQUE BOOLEAN field. 2016-03-28 12:46:23 -03:00
d43debb1e1 Added generated pascal unit with OO API declarations 2016-03-28 12:44:13 +03:00
firebirds
e7616ca6e5 increment build number 2016-03-28 00:02:40 +00:00
Dmitry Yemanov
4711a3b953 Fix CORE-5143: GBAK restore failed when there is SQL function accessing
table and switch -O(NE_AT_A_TIME) is used.
2016-03-27 19:50:59 +03:00
Dmitry Yemanov
dd1a9ce9d0 Simplify migration for old databases affected by changes in
CLIENT_ADDRESS. Refresh outdated readme.
2016-03-27 11:19:19 +03:00
firebirds
25e0f724e0 increment build number 2016-03-27 00:02:41 +00:00
Adriano dos Santos Fernandes
f72de291b2 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:22:58 -03:00
firebirds
a33bf61c3a increment build number 2016-03-25 07:20:40 +00:00
firebirds
bee4389205 increment build number 2016-03-24 17:40:26 +03:00
Dmitry Yemanov
2021d02fa7 Fixed handling of non-ASCII table names inside TPB. 2016-03-23 10:34:29 +03:00
f0eac3c552 Backported fix for CORE-5162: SEC$ tables and tag/attributes 2016-03-22 19:32:11 +03:00
2b27de88ff Postfix for CORE-5155, thanks to Adriano 2016-03-22 19:10:56 +03:00
0b9091dc5b Backported fix for CORE-5155: [CREATE OR] ALTER USER statement: clause PASSWORD (if present) must be always specified just after USER 2016-03-22 18:39:03 +03:00
Adriano dos Santos Fernandes
5100c80b09 Fixed CORE-5159 - Regression: engine may throw transliteration errors when running from non-ASCII system path. 2016-03-21 14:47:42 -03:00
hvlad
33e65f6e86 Fixed bug CORE-5161 : Unique index could be created on non-unique data 2016-03-21 17:04:38 +02:00
Adriano dos Santos Fernandes
f30733f8b6 Fixed CORE-5153 - Regression: Server crashes when aggregate functions are used together with NOT IN predicate. 2016-03-21 11:53:49 -03:00
514750b384 Backported fix for CORE-5157: Server goes into infinite loop when data is sent from client to the service in small packets 2016-03-18 20:19:53 +03:00
hvlad
cc928d02a5 Correct name for MSVC14 CRT dll 2016-03-18 11:46:17 +02:00
hvlad
6c4a899f0b Revert "Revert "Merge branch 'B3_0_Release' of https://github.com/FirebirdSQL/firebird into B3_0_Release""
This reverts commit 1bb06d69f6.

Sorry for confusion
2016-03-18 00:41:43 +02:00
hvlad
1bb06d69f6 Revert "Merge branch 'B3_0_Release' of https://github.com/FirebirdSQL/firebird into B3_0_Release"
This reverts commit af23e344b5, reversing
changes made to 1abb10f36d.
2016-03-18 00:24:50 +02:00
hvlad
af23e344b5 Merge branch 'B3_0_Release' of https://github.com/FirebirdSQL/firebird into B3_0_Release 2016-03-17 23:57:13 +02:00
hvlad
1abb10f36d 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 23:55:20 +02:00
Adriano dos Santos Fernandes
e9eea07523 Fixed CORE-5147 - Create trigger fails with ambiguous field name between table B and table A error. 2016-03-17 14:50:04 -03:00
Dmitry Yemanov
4aa74c3b64 Avoid GBAK's mandatory runtime dependency on ICU, load it only when
really needed (-skip_data switch is specified).
2016-03-16 20:11:25 +03:00
asfernandes
3dc332aee8 Add debug utility function to dump contexts. 2016-03-16 02:42:47 +00:00
firebirds
af61a6eb9e nightly update 2016-03-12 00:12:29 +00:00
dimitr
1eb9ab0c85 Fixed CORE-5149: LEFT JOIN incorrectly pushes COALESCE into the inner stream causing wrong results. 2016-03-11 08:52:33 +00:00
firebirds
36e30d5fb2 nightly update 2016-03-11 00:14:57 +00:00
firebirds
0f72dcd2a6 nightly update 2016-03-10 00:13:32 +00:00
asfernandes
0eef9d81c8 Fixed CORE-5130 - Compiler issues message about "invalid request BLR" when attempt to compile wrong DDL of view with both subquery and "WITH CHECK OPTION" in its DDL. 2016-03-09 18:45:07 +00:00
alexpeshkoff
ece088c3a7 Backported fix for CORE-5144: Deadlock when database is encrypted or decrypted under high parallel load 2016-03-09 14:58:58 +00:00
firebirds
efd7857743 nightly update 2016-03-09 00:17:02 +00:00
dimitr
dd3c55eddb Fixed CORE-5133: "Alter sequence restart with" does not change the initial value. 2016-03-08 18:08:38 +00:00
hvlad
d826b3eded Backport fix for bug CORE-5140 : Wrong error message when user tries to set number of page buffers into not supported value 2016-03-08 17:15:07 +00:00
firebirds
9c85af53cb nightly update 2016-03-05 00:14:05 +00:00
firebirds
90e5fa8630 nightly update 2016-03-04 00:15:22 +00:00
asfernandes
87f78f460d Warnings. 2016-03-03 22:53:31 +00:00
paulbeach
782b7a08f2 Fix qsort_r for Darwin 2016-03-03 15:02:15 +00:00
firebirds
442fff1454 nightly update 2016-03-03 00:14:09 +00:00
firebirds
5c86df7b70 nightly update 2016-03-02 00:21:04 +00:00
firebirds
29b3e5f587 nightly update 2016-03-01 08:31:14 +00:00
dimitr
28f320eddf Fixed CORE-5122: Expression index may not be used by the optimizer if created and used in different connection charsets. 2016-02-29 20:12:01 +00:00
dimitr
113ff1fe65 Misc: remove the redundant space in the explained plan output. 2016-02-28 08:46:28 +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
ad6a44c0b0 Convert the file to UTF-8 as grep thinks it's a binary file. 2016-02-25 02:11:24 +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
aafemt
a0eca08629 Get secondary error code isc_dsql_sqlda_err back, thanks to Dmitry Yemanov 2016-02-23 20:49:56 +00:00
aafemt
7a7c6cb95b Some more cases of CORE-5112 as pointed by Dmitry Yemanov 2016-02-23 16:18:38 +00:00
dimitr
2461d05460 Removed "cast no-op" extensions as they break many tests, e.g. CAST('A' as CHAR(10)) remains CHAR(1) instead of being padded up to CHAR(10). Let's no-op only really equal descriptors for the time being. 2016-02-23 09:52:51 +00:00
dimitr
b1efab55b2 And another postfix for CORE-5097, it resolves regression for core_3545.fbt.
Adriano, please review.
2016-02-23 09:10:41 +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
aafemt
53998b429d Use autoconfig_msvc.h from where it is 2016-02-20 15:34:20 +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
asfernandes
1b3d63e687 Fixed regression with CORE-1839 after fix for CORE-5097. 2016-02-18 14:52:04 +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