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

2492 Commits

Author SHA1 Message Date
Roman Simakov
6019498bd7 Partial backport of CORE-5804: Multiple error in REVOKE operator.
Fixed revoking grant option for field permissions.
2018-04-23 16:46:26 +03:00
Dmitry Starodubov
c916203cb6 Backported check for access rights to BLOBs. It should fix CORE-5801. (#158) 2018-04-20 12:08:22 +03:00
hvlad
840d6afec8 Fixed my error (case when eol follows immediately after '--') 2018-04-10 17:26:52 +03:00
hvlad
bf5614b257
Merge pull request #156 from abzalov/B3_0_Release
CORE-5746: Remove the restriction on create/delete, enable/disable user indexes in the system tables
2018-04-05 11:02:31 +03:00
hvlad
a9b8442b22 Let ExtDS preprocessor and SQL parser handle '\r', '\n' and '\r\n' as end of line.
It should fix bug CORE-5783 : execute statement ignores the text of the SQL-query after a comment of the form "-"
2018-04-03 01:03:36 +03:00
abzalov
2bc844ec27 CORE-5746: Remove the restriction on create/delete, enable/disable the system indexes in system tables 2018-04-02 21:44:34 +03:00
hvlad
2c7967212d Fixed bug CORE-5773 : PSQL cursor doesn't see inserted record 2018-03-20 09:11:15 +02:00
hvlad
f6e93ff6bb Fixed bug CORE-5776 : "Input parameter mismatch" error after altering external function into PSQL function 2018-03-15 11:32:15 +02:00
Roman Simakov
c0d338367b Backport CORE-5754: ALTER TRIGGER check privilege for alter database instead of table 2018-02-19 19:22:10 +03:00
Roman Simakov
e510566160 Backport CORE-5753: Parser allows to use GRANT OPTION for FUNCTION and PACKAGE. 2018-02-19 19:18:07 +03:00
Roman Simakov
b1ad3c8dcb Backport CORE-5747: User can grant USAGE privilege by himself. Error messages were corrected. 2018-02-19 18:59:22 +03:00
Adriano dos Santos Fernandes
c249b62ad7 Fixed CORE-5743 - Query parsing failed. 2018-02-09 12:57:25 -02:00
Adriano dos Santos Fernandes
a496ff57f2 Backport fix for CORE-5719 - FB >= 3 crashes when restoring backup made by FB 2.5. 2018-01-29 12:16:31 -02:00
Dmitry Yemanov
9a0f919307 Additional protection for old CORE-3046 2018-01-22 09:38:56 +03:00
Adriano dos Santos Fernandes
a86ce954cc Fixed CORE-5713 - Field alias disapears in complex query. 2018-01-17 19:32:28 -02:00
hvlad
45a4ecbc4e Bug CORE-5707 : Begin and end of physical backup in the same transaction could crash engine
Incompatible clauses in the same ALTER DATABASE statement is prohibited now.
2018-01-15 14:29:54 +02:00
hvlad
73cdac38ab Correction for CORE-5704 2018-01-09 17:32:19 +02:00
hvlad
c5667b3578 Improvement CORE-5704 : Avoid UPDATE of RDB$DATABASE by ALTER DATABASE statement when possible 2018-01-09 13:49:03 +02:00
hvlad
0d8ee0e1b3 Fixed bug CORE-5695 : Position function does not consider the collation for blob 2018-01-09 12:28:34 +02:00
hvlad
ef20918f31 Additional patch for Improvement CORE-5674 : Allow unused Common Table Expressions:
report all unused CTE names, even if they refers to each other.
2017-12-12 13:16:34 +02:00
hvlad
bf220ea358 Fixed bug CORE-5655 : isc_info_sql_relation_alias reports incorrect alias for CTE or nested queries 2017-12-04 18:29:55 +02:00
hvlad
2900b34c3f Improvement CORE-5674 : Allow unused Common Table Expressions 2017-12-01 11:53:40 +02:00
hvlad
9e079afb6c Fixed bug CORE-5667 : Regression in 3.0+: message "CTE 'X' has cyclic dependencies" appear when 'X' is alias for resultset and there is previous CTE part with the same name 'X' in the query 2017-11-30 16:01:09 +02:00
hvlad
a037fc46cc Fixed PSV-Studio warnings 2017-11-29 20:14:11 +02:00
Ilya Eremin
b5a80a4e11 Clear tdbb_status_vector after unsuccessful conversion to UTF8 in trace (#123)
* Clear tdbb_status_vector after unsuccessful conversion to UTF8 in trace

In this case dirty status vector can cause errors during statement execution.

* Error function parameter is added to convertToUTF8 function to avoid modifying of tdbb_status_vector in trace
2017-11-01 13:20:14 +03:00
hvlad
8f893fda73 Backport fix for bug CORE-5600 : Invalid blob id when add a new blob column of type text and update another field 2017-10-31 19:41:53 +02:00
698145b542 Fixed CORE-5605: Incorrect check for existing MAP in a case when pre-FB3 security database is used 2017-09-05 15:13:51 +03:00
Adriano dos Santos Fernandes
b2112be29e Backport fix for CORE-5580 - Signature of packaged functions is not checked for mismatch with [NOT] DETERMINISTIC attribute. 2017-07-17 18:14:56 +00:00
Adriano dos Santos Fernandes
9277af30bf Fixed CORE-5550 - Computed decimal field in a view has wrong RDB$FIELD_PRECISION. 2017-05-29 16:40:37 +00:00
Adriano dos Santos Fernandes
a721bba5a2 Fixed CORE-5526 and CORE-5527.
CORE-5526: External routines receives parameters with incorrect length or datatype.
CORE-5527: External routines does not receive default values for they output parameters.
2017-05-23 15:22:01 +00:00
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