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

47139 Commits

Author SHA1 Message Date
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
asfernandes
4bbcd14a8c Fixed the problem I inserted in a review. 2016-02-17 01:36:29 +00:00
asfernandes
5eea52ad61 Fixed output of SHOW PROCEDURES/FUNCTIONS. 2016-02-17 01:36:14 +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
asfernandes
a4a2ac99be Correction. 2016-02-15 02:53:05 +00:00
firebirds
b1d78c9258 nightly update 2016-02-15 00:09:30 +00:00
aafemt
13940f54d1 Messages for CORE-5112 2016-02-14 13:10:23 +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
asfernandes
47bcd0db2b Fixed CORE-2923 - Problem with dependencies with views. 2016-02-11 18:10:53 +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
dimitr
798a4a5aab Postfix to address the regression found in the recent commit for CORE-5097. 2016-02-05 11:00:09 +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
hvlad
f3402cafdc Frontport code from v2.5. It should fix CORE-5102 : FB3.0 RC1 Fbclient.dll function calls modify FPU control word 2016-02-03 19:41:12 +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