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

2462 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
48a96247e0 Fixed CORE-5535 - Garbage value in RDB$FIELD_SUB_TYPE in RDB$FUNCTION_ARGUMENTS after altering function. 2017-05-15 15:48:34 +00:00
Dmitry Yemanov
3e15291a8c Yet another attempt to address CORE-5456 / CORE-5457 properly. This time sub-routines should be fixed too. 2017-03-14 13:10:47 +03:00
Adriano dos Santos Fernandes
24d998285d Fixed CORE-5447 - EXECUTE STATEMENT with a statement with "Unexpected end of command" error is reported with wrong column number. 2017-02-07 14:49:47 +00:00
Dmitry Yemanov
3ca0d677c8 Bugfix CORE-5414: Error restoring on FB 3.0 from FB 2.5: bugcheck 221 (cannot remap) 2017-01-05 21:31:35 +03:00
0ca6c0dc2f Backported fix for CORE-5428: Rare segfault when preparing request working with a table with triggers 2016-12-25 18:08:30 +03:00
Adriano dos Santos Fernandes
48d43a88fe Fixed CORE-5410 - Dependencies are not stored when using some type of contructions in subroutines. 2016-12-01 12:55:01 -02:00
Dmitry Yemanov
b4448a931f Bugfix CORE-5382: Incorrect processing (truncation) of SQL statement with length 10MB+1. 2016-11-08 13:24:28 +03:00
Dmitry Yemanov
0e77b3e9dd Attempt to fix CORE-5393: Bad optimization of some operations with views containing subqueries. 2016-11-08 10:59:36 +03:00
Adriano dos Santos Fernandes
21978036d5 Fixed CORE-1894 - Circular dependencies between computed fields crashs the engine. 2016-10-19 13:26:04 -02:00
Adriano dos Santos Fernandes
13fd2f78b8 Fixed CORE-5314 - UDFs declared with large varchars take excessive time to execute. 2016-10-17 13:06:44 -02:00
Adriano dos Santos Fernandes
300fb11e43 Fixed CORE-5366 - Regression: could not use CASE expression with more than 255 conditions. 2016-10-07 09:40:47 -03:00
Adriano dos Santos Fernandes
a7ecf536c0 Fixed CORE-5367 - Regression: (boolean) parameters as search condition no longer allowed. 2016-10-04 11:55:07 -03:00
hvlad
d5ff6d82c2 Generate savepoint around blr_store for non-cursor INSERT's (INSERT INTO ... VALUES (...) ) with sub-select in VALUES list.
It fixes bug CORE-5337 : The subquery in the insert list expressions ignore the changes made earlier in the same executable block.
Note, existing procedures and triggers should be recompiled to have new BLR code.
2016-09-25 23:46:45 +03:00
Dmitry Yemanov
372af3f29c Bugfix CORE-5351: LEFT JOIN incorrectly pushes UDF into the inner stream causing wrong results 2016-09-19 19:40:27 +03:00
hvlad
6a3d9d0016 Let UPDATE and DELETE statements ignore records already deleted in the same statement (but still visible because of stable cursor).
It fixed bugs
CORE-5322 : Cascade deletion in self-referencing table could raise "no current record for fetch operation" error), and
CORE-5142 : Error "no current record to fetch" if some record is to be deleted both by the statement itself and by some trigger fired during statement execution
2016-09-07 22:15:51 +03:00
43579acdd8 Minimum backport of CORE-5248: avoid NULL in RDB$ROLES.RDB$SECURITY_CLASS which made it possible for everyone to drop any role 2016-08-25 15:10:57 +03:00
Adriano dos Santos Fernandes
0e90030370 Postfix for rework on CORE-5277 to avoid CORE-5304 regression (0d46c91).
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-26 13:13:08 -03:00
Adriano dos Santos Fernandes
1c6f688e79 Fixed CORE-5313 - Data type unknown error with LIST. 2016-07-17 20:42:01 -03:00
Dmitry Yemanov
1d4abeef4d Postfix for Adriano's commit. 2016-07-14 12:57:24 +03:00
Adriano dos Santos Fernandes
891c1727e6 Correction (CORE-5277 / CORE-5304). 2016-07-13 16:29:08 -03:00
Adriano dos Santos Fernandes
0d46c91f98 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 15:52:17 -03:00
Dmitry Yemanov
9e4325a0f0 Postfix for CORE-5277: zero-initialize strings allocated for (? IS NULL) parameters to avoid garbage being read while validating the length. 2016-07-11 13:30:50 +03:00
Dmitry Yemanov
e529c6a4a5 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:25:35 +03:00
Dmitry Yemanov
1cdded614e Bigfix CORE-5236: IN/ANY/ALL predicates may cause sub-optimal (late filtering) execution of joins 2016-07-08 21:49:35 +03:00
Adriano dos Santos Fernandes
258dba5de3 Follow up after Alex change - CORE-5277. 2016-07-07 13:13:01 -03:00
9601efd3a0 Fixed regression in TCS/FB_SQL_SUBFUNC_1 2016-07-07 17:48:57 +03:00
Adriano dos Santos Fernandes
df233ae4ad Postfix for CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields. (9fede1e) 2016-06-30 10:02:41 -03:00
hvlad
a7253810e3 Fixed bug CORE-5289 : Small memory leak when resultset is empty 2016-06-22 12:32:34 +03:00
641a2b913d Fixed CORE-5244: Wrong error message when trying to execute SELECT statement using isc_dsql_execute_immediate 2016-05-18 18:28:45 +03:00
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
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
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
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
Dmitry Yemanov
1767a517f9 Postfix for CORE-5194. 2016-04-14 13:45:04 +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
Dmitry Yemanov
f13942b8d3 CORE-5182: Inconsistent effects of subsequent statement execution if
failing during record refetch.
2016-04-04 09:47:40 +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
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
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
asfernandes
3dc332aee8 Add debug utility function to dump contexts. 2016-03-16 02:42:47 +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
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
dimitr
dd3c55eddb Fixed CORE-5133: "Alter sequence restart with" does not change the initial value. 2016-03-08 18:08:38 +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