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

1415 Commits

Author SHA1 Message Date
asfernandes
2da8379cf3 Backport fix for CORE-3611 - Wrong data while retrieving from CTEs (or derived tables) with same column names. 2012-05-14 15:18:40 +00:00
dimitr
cc6d7212d8 Fixed CORE-3834: Usage of a NATURAL JOIN with a derived table crashes the server. 2012-04-27 16:31:24 +00:00
dimitr
3c9d33406f Additional fix for CORE-3807. Otherwise, _utf8 'A' is considered equal to _win1251 'ABCD' etc. The original code didn't check for charsets/collations but IMHO this was wrong. 2012-04-13 09:09:08 +00:00
dimitr
61b460b13d Fixed my yesterday's commit. 2012-04-05 09:48:04 +00:00
dimitr
b587289d81 Fixed CORE-3807: Error "Invalid expression in the select list" can be unexpectedly raised if a string literal is used inside a GROUP BY clause in a multi-byte connection. 2012-04-04 11:00:14 +00:00
hvlad
9ac7d597a1 Fixed bug CORE-3801 : Warnings could be put twice in status-vector 2012-03-29 13:53:21 +00:00
dimitr
54747cbf38 Fixed CORE-3569: CHAR(32767) present in XSQLVAR with length 32765. The JRD part of the patch is not strictly required, as it's used exclusively for VARCHARs right now, but let's be protected for the unpredictable future. 2012-03-14 17:37:20 +00:00
asfernandes
6b364d8cb3 Backport CORE-3238 - Make GEN_UUID return a compliant RFC-4122 binary UUID and introduce CHAR_TO_UUID2 and UUID_TO_CHAR2 to convert UUIDs from/to string also complying with the RFC. 2011-12-21 14:45:39 +00:00
dimitr
529e0bc593 Fixed (methinks) CORE-3697: String truncation error when selecting from a VIEW with UNION inside. It doesn't look like a good idea to modify dsc_length in place, as it can be used afterwards (e.g. MAKE_desc(field) after GEN_expr(rse), see define_view() in ddl.cpp). We only need to ensure that the generated BLR has the real byte length and it can be achieved with a temporary descriptor copy. Other solutions are also possible but this one seems better at the first glance. 2011-12-14 16:08:05 +00:00
hvlad
58ec672c79 Fixed bug CORE-3680 : EXECUTE BLOCK statement and ISC_DSQL_EXECUTE2() problem 2011-12-05 13:52:58 +00:00
hvlad
8be35cdc53 Fixed bug CORE-3690 : Wrong warning message for ambiguous query 2011-12-05 13:08:34 +00:00
alexpeshkoff
d0184a5373 Fixed CORE-3560: Firebird 2.5 Classic Server uses more memory than 2.1.5 when caching metadata 2011-08-04 13:13:15 +00:00
dimitr
23241eb2d3 Front ported CORE-3554: Server crashes during prepare or throws incorrect parsing error if the remotely passed SQL query is empty. 2011-07-14 15:54:27 +00:00
hvlad
86adbc35de Fixed bug CORE-3533 : Firebird memory not released (Using superserver) 2011-07-12 09:06:00 +00:00
hvlad
37c6106cda Fixed bug CORE-3509 : Alter procedure allows to add the parameter with the same name. 2011-06-26 22:27:07 +00:00
asfernandes
6a46929634 Backported fix for CORE-3140 - Preserve comments for parameters after altering procedures. 2011-06-18 18:49:58 +00:00
alexpeshkoff
f698d32265 Fixed CORE-3151: memory allocated in sqlda_sup may be not released in some cases 2011-06-02 08:42:50 +00:00
asfernandes
3cfc3120ad Missed piece for CORE-3491. 2011-05-27 02:00:41 +00:00
asfernandes
d12b551207 Fixed CORE-3491 - Altering of a TYPE OF COLUMN parameter affects the original column. 2011-05-27 01:13:17 +00:00
dimitr
2e987fcc07 Fixed CORE-3477: Passing non-existing SQL parameters always crash server. 2011-05-12 14:51:12 +00:00
dimitr
401f31a082 Rolled back the patch for CORE-2812 (Prohibit any improper mixture of explicit and implicit joins) because of being too radical for the point release and because of the found issues that require further investigation. The proper solution will be developed for v3.0 only.
This fixes the related regressions CORE-3395 and CORE-3474 reported against v2.5.1.
2011-05-12 08:34:58 +00:00
asfernandes
0952229516 Improvement CORE-3446 - Allow conversion from/to BLOBs and others types in the API functions (XSQLVAR or blr messages). 2011-04-19 15:29:21 +00:00
hvlad
293d5dcb90 Fixed bug CORE-3389 : isc_dsql_exec_immed2 with zero transaction handle could lead to a BUGCHECK(147) 2011-03-16 20:44:07 +00:00
dimitr
6d4a937667 Fixed CORE-3173: Empty result when select from SP that contains two CTE (second of them with GROUP BY clause) and INNER join. 2011-02-21 07:51:34 +00:00
dimitr
f0075041fc Fixed CORE-3353: Predicate (blob_field LIKE ?) describes the parameter as VARCHAR(30) rather than as BLOB.
Also, let's never transfer the CS_dynamic pseudo-charset to the client side.
2011-02-17 07:38:34 +00:00
dimitr
cb34e0c6c9 Fixed CORE-3245: SUBSTRING on long blobs truncates result to 32767 if third argument not present. 2011-02-02 10:12:40 +00:00
asfernandes
b07b7e6996 Backported fix for CORE-3320 - Some MERGE syntax can crash the server. 2011-01-30 14:31:10 +00:00
dimitr
b5f7e91ec7 Fixed CORE-3311: Error "data type unknown" while preparing UPDATE/DELETE statements with the parameterized ROWS clause. 2011-01-20 04:39:18 +00:00
dimitr
40be6d1f27 Backported CORE-2890: SQLSTATE should also be available as a PSQL context variable like GDSCODE/SQLCODE. 2010-12-02 11:15:19 +00:00
dimitr
34018f5441 Fixed CORE-3256: Error "request depth exceeded" may appear while preparing a select query against a view with explicit plan. 2010-11-23 12:05:41 +00:00
hvlad
6af971d5f2 Fixed bug CORE-3219 : trace manager crash server with DSQL_unprepare 2010-11-19 14:33:30 +00:00
dimitr
18a9e37dd3 Second attempt to fix CORE-2812. The prior one introduced regressions. 2010-11-19 12:14:06 +00:00
dimitr
f9f4f90392 Backport CORE-2812: Prohibit any improper mixture of explicit and implicit joins. 2010-11-13 06:34:17 +00:00
asfernandes
f8a665bbdf Fixed CORE-3222 - View with "WITH CHECK OPTION" doesn't like TRIM function in WHERE 2010-11-09 17:27:55 +00:00
dimitr
8886291062 Comment. 2010-11-08 16:32:38 +00:00
dimitr
12dac02bb7 Fixed CORE-3029: Bugcheck "Too many savepoints (287)" at rollback after exception at EXECUTE BLOCK with exception handler. 2010-11-08 16:30:43 +00:00
dimitr
1ee06e52cd Fixed CORE-3205: isc_dsql_exec_immed2() doesn't return error codes isc_stream_eof and isc_sing_select_err.
Also, restore the legacy behavior for EXECUTE PROCEDURE and RETURNING queries. This is expected to fix CORE-3203.
2010-10-31 08:47:41 +00:00
asfernandes
98bf701126 Fixed CORE-3180 - ALTER VIEW with not matched columns in declaration and selection crashs the server 2010-10-17 14:32:04 +00:00
asfernandes
4ba1897fe8 Fixed CORE-3164 - Parameterized requests involving blob fields fails when connected using charset UTF8 2010-10-06 15:39:08 +00:00
asfernandes
70ad7ef699 Correction for CORE-3090 2010-08-07 02:49:25 +00:00
asfernandes
ea94b629ff Fixed CORE-3090 - Incorrect LEFT JOIN result using table and derived constant subquery 2010-08-07 01:50:35 +00:00
dimitr
7f9f7680de Fixed CORE-3064: Using the procedure alias inside an explicit plan crashes the server. 2010-07-02 10:43:33 +00:00
asfernandes
72d9063ac9 Backport fix for CORE-3038 - The insert failed because a column definition includes validation. 2010-06-12 16:49:39 +00:00
asfernandes
6bd4674047 Subtask CORE-2996 - Fix error code incompatibility introduced in fix for CORE-2552 2010-05-07 15:29:18 +00:00
asfernandes
1ee74f5e97 Fixed CORE-2971 - Invalid UPDATE OR INSERT usage may lead to successive "request depth exceeded. (Recursive definition?)" error 2010-04-19 01:13:38 +00:00
hvlad
6d9f5e255a Fixed bug CORE-2943 : parsing error recursive query with two recursive parts 2010-03-25 13:50:16 +00:00
asfernandes
7b1c7db1ee Fixed CORE-2923 - Problem with dependencies between a procedure and a view using that procedure 2010-03-20 19:12:51 +00:00
asfernandes
05b983be1d Backport change that fix CORE-2910, found by Dmitry 2010-03-09 18:55:13 +00:00
asfernandes
eb705dbc6e Backport fix for CORE-2888 - A memory corruption cause incorrect query evaluation and may crash the server 2010-02-28 14:42:04 +00:00
hvlad
b3a3268e34 Fixed bug CORE-2852 : Server crash when executing syntactical wrong SQL statement with an active trace session 2010-02-08 14:49:24 +00:00