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

2462 Commits

Author SHA1 Message Date
alexpeshkoff
c4c9daf132 Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods. 2015-03-20 18:02:30 +00:00
asfernandes
2bd863a353 Feature CORE-4714 - Aggregate statistical functions stddev_pop, stddev_samp, var_pop and var_samp - contributed by Hajime Nakagami. 2015-03-18 21:38:52 +00:00
robocop
ce1233b10c rdb$system_flag is not nullable in FB3. 2015-03-13 15:31:14 +00:00
robocop
939feab036 Misc. 2015-03-13 15:26:22 +00:00
alexpeshkoff
219c62b46e Full fix for CORE-4698, also fixed some more or less related leaks, segfaults and assertions 2015-03-04 16:18:53 +00:00
dimitr
3ff55133f9 Fixed CORE-4694: "Column unknown" error while preparing a recursive query if the recursive part contains ALIASED datasource in the join with anchor table. 2015-02-20 16:56:04 +00:00
dimitr
4fd0614875 Misc code simplification. 2015-02-19 19:52:28 +00:00
dimitr
6ae3e2cbaf 1) Fixed CORE-4383: Index and BLOBs garbage collection doesn't work for update_in_place().
2) Applied the same approach to temporary GC records.
3) Refactored the Record class to avoid reallocations, to improve encapsulation and to simplify the code.
4) Slightly refactored UndoItem to isolate its logic from the Record class.
5) Reduced the in-memory size of the undo log.
6) Slightly better alternative to the legacy NULL reporting for outer joins.
7) Minor fixes and adjustments in BufferedStream.
2015-02-19 14:15:00 +00:00
asfernandes
47f64b0da4 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.

(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54 Revert my last change after it broke the Windows build. 2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
alexpeshkoff
f8a9d903e2 Unlink JResultSet from DsqlCursor when cursor is closed due to end of transaction - this fixes AV in tcs/BLOB.0.DSQL 2015-02-17 11:42:50 +00:00
dimitr
ab81e4c1a3 Misc. 2015-02-15 10:38:01 +00:00
asfernandes
9ece682387 Misc. 2015-02-14 18:55:00 +00:00
dimitr
4454a3f8be Fixed CORE-4684: Error while preparing a complex query ("Too many Contexts of Relation/Procedure/Views. Maximum allowed is 256"). 2015-02-07 10:57:13 +00:00
dimitr
c8d6349c77 Replace a verb-cleanup bugcheck with regular error + transaction invalidation. 2015-02-03 16:31:05 +00:00
dimitr
9a402f4921 Removed the redundant code (accidental copy-paste remaining), thanks to Adriano. 2015-01-29 10:47:11 +00:00
dimitr
0707f3a747 Fixed CORE-4675: Conditions like WHERE <field> = <cursor>.<field> don't use existing index. 2015-01-29 10:26:27 +00:00
dimitr
cc8cc680a3 Core (engine-level) support for scrollable DSQL cursors. Fixed the IResultSet API to match the JDBC spec. Renamed FB_EOF to FB_NO_DATA. Refactored some DSQL internals. 2015-01-27 10:29:30 +00:00
asfernandes
2a857cb415 Misc. 2015-01-15 01:17:27 +00:00
asfernandes
b99311dd1e Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException). 2015-01-12 00:21:38 +00:00
asfernandes
93b35c7cc7 Fixed problem with subfunction parameters related to CORE-4572. 2015-01-06 22:40:20 +00:00
asfernandes
5106986dbf Fixed problem introduced by fix of CORE-4280. 2015-01-06 22:40:07 +00:00
dimitr
9050d90a8e Cleaned up the API from the legacy crap (fortunately, not needed these days). 2014-12-29 15:45:49 +00:00
alexpeshkoff
b7621d6f9d Fixed CORE-4651: CREATE DATABASE fails for the user having RDB$ADMIN rights in security database 2014-12-26 14:10:39 +00:00
alexpeshkoff
df0ecdac9a Implemented CORE-4607: Add support for having >1 UserManager in firebird.conf and use them from SQL 2014-12-24 14:50:03 +00:00
dimitr
c933fadf42 Fixed CORE-4622: Regression: Trigger with UPDATE OR INSERT statement and IIF() not working as expected. 2014-12-17 11:56:48 +00:00
dimitr
0b46869515 Fixed CORE-4161: User can not insert records into table with column "generated by default as identity" in its DDL. 2014-12-17 10:38:36 +00:00
dimitr
e4b255f04a Fixed CORE-4280: FB3: Stored function accepts duplicate input arguments. 2014-12-17 10:01:44 +00:00
dimitr
2cd3863201 Fixed CORE-4572: Incorrect error for PSQL function when the number of actual arguments does not match the number of formal arguments. 2014-12-16 19:12:18 +00:00
dimitr
652c1682d4 Fixed one more regression with explicit plans -- parser error for multiple entries inside the INDEX clause, e.g. SELECT * FROM T WHERE F1 = 0 AND F2 = 0 PLAN (T INDEX (IDX_F1, IDX_F2)). 2014-12-16 17:33:28 +00:00
dimitr
54ca692c43 Simplification. 2014-12-16 17:29:23 +00:00
dimitr
7a7fd7885a Fixed CORE-4539: Server does not accept the right plan. 2014-12-16 17:28:38 +00:00
dimitr
0e11867e84 Refactored the RPB flags. The new logic also provides a second-level protection against CORE-4618. 2014-12-01 21:53:29 +00:00
asfernandes
cebc7c36b3 Misc. 2014-11-30 21:09:39 +00:00
mrotteveel
155508d05e CORE-4526 Support for SQL:2008 OFFSET and FETCH clauses 2014-11-29 15:39:59 +00:00
asfernandes
2ba057cedd Fixed CORE-4623 - SP "Domain" and "Type Of" based variables referring BLOB with sub_type < 0 no longer work. 2014-11-25 15:02:45 +00:00
asfernandes
18b06702a7 Add new keywords to keyword_or_column as seem by Dmitry. 2014-11-13 14:43:30 +00:00
asfernandes
ad5c46b139 Improvement CORE-4590 - Change type of returning value of CHAR_LENGTH, BIT_LENGTH and OCTET_LENGTH of BLOBs to bigint. 2014-11-05 00:35:57 +00:00
dimitr
309b494102 Improvement CORE-3526: Support for WHEN SQLSTATE. 2014-10-16 16:35:18 +00:00
asfernandes
c642ddca82 Misc. 2014-10-12 02:25:02 +00:00
alexpeshkoff
fd924ee3c7 Removed unused rule, in case it's needed later adding it once again is trivial 2014-10-10 08:43:00 +00:00
alexpeshkoff
cbeaf9ae5c Fixed a warning - thanks to D.Sibiryakov 2014-10-09 14:32:26 +00:00
asfernandes
c2e06f4169 Fixed CORE-4570 - Wrong error at ALTER PACKAGE. 2014-10-07 14:46:32 +00:00
alexpeshkoff
e8930f4408 Fixed CORE-4566: Incorrect size of the output parameter/argument when execute block, procedure or function use system field in metadata charset 2014-10-05 13:14:43 +00:00
alexpeshkoff
5ccc32e0ed Better place for trace-related constants, thanks to Vlad 2014-09-30 15:04:14 +00:00
alexpeshkoff
7c2b4c5984 warning 2014-09-30 09:12:33 +00:00
alexpeshkoff
ba62ee9947 Make it build on windows, work in progress - boot build is working 2014-09-29 17:24:30 +00:00
alexpeshkoff
153de0f271 Language independent API 2014-09-29 11:03:47 +00:00
alexpeshkoff
2a293c2691 Implemented CORE-4538: Access rights for CREATE DATABASE operator 2014-09-02 16:55:14 +00:00
roman-simakov
760d7b55dc Removed ANY keyword in DDL REVOKE permission statements for DATABASE 2014-08-29 11:15:50 +00:00
roman-simakov
8a7b9b1b2c Removed ANY keyword in DDL permission statements for DATABASE 2014-08-29 09:05:28 +00:00
dimitr
6d77447723 Minor refactoring. 2014-08-28 15:53:43 +00:00
roman-simakov
6703f3aed2 Fixed CORE-4522 - DDL permission do not protect
against removal BLOB filters. Owner was added to RDB$FILTERS. ODS is changed.
Fixed bug when one DDL privilege could be shown several times.
Removed unneccesary check of locksmith in alter database.
2014-08-28 12:19:46 +00:00
alexpeshkoff
d513daa574 Divide IStatus information into 3 parts: errors, warnings and completion code.
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.

Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
dimitr
ee30e8e59d Attempt for CORE-4528: Allow hash/merge joins for non-field (dbkey or derived expression) equalities. 2014-08-25 11:35:52 +00:00
dimitr
36af3d8cb2 Cleanup and small refactoring to avoid redundancy. 2014-08-15 14:19:02 +00:00
alexpeshkoff
b3c239018d Restored a check dropped accidentially by one of my recent commits 2014-08-06 13:46:26 +00:00
asfernandes
5ffc936053 Misc. 2014-08-06 02:12:01 +00:00
asfernandes
409a27841b Improvement CORE-4487 - Maintain package body after ALTER/RECREATE PACKAGE. 2014-07-31 16:30:12 +00:00
alexpeshkoff
900fb824fe Fixed CORE-4505: Use of named cursor fails if statement was not executed. Should also fix CORE-4489, but I cannot check. 2014-07-31 11:43:38 +00:00
roman-simakov
b0a7e783fa DDL permission check for COMMENT ON 2014-07-31 08:29:57 +00:00
alexpeshkoff
532181a7f9 Renamed as suggested by Nickolay and Dmitry 2014-07-28 13:01:10 +00:00
asfernandes
8bbd309e67 Improvement CORE-4484 - Description (COMMENT ON) for package procedures and functions, and its parameters. 2014-07-27 03:05:44 +00:00
alexpeshkoff
4bdc2a3e19 Replaced macro FB_ALIGN with function fbAlign, minor related cleanup 2014-07-24 06:41:38 +00:00
roman-simakov
0aa31b33b2 Removed SHADOW permissions since they handled by ALTER DATABASE permission
Added show of DDL permissions in isql
2014-07-22 08:31:45 +00:00
asfernandes
a73629afc8 Tweaks to CORE-4488. 2014-07-21 16:13:49 +00:00
asfernandes
0478d4fffa Fixed CORE-4488 - Wrong results of FOR SELECT <L> FROM <T> AS CURSOR <C> and table <T> is modified inside cursor's begin...end block. 2014-07-21 02:37:58 +00:00
asfernandes
933dd7daef Warnings. 2014-07-20 02:19:56 +00:00
asfernandes
86487fda92 Misc. 2014-07-20 02:19:06 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
roman-simakov
46cf49c730 Improved description of DDL access control operations.
Fixed DB and DDL triggers handling. Thanks to Adriano.
2014-07-14 13:12:12 +00:00
roman-simakov
d74aeda1a0 Corrections pointed by Adriano. 2014-07-13 18:50:57 +00:00
asfernandes
c74f71e143 Simplifications. 2014-07-10 15:45:02 +00:00
asfernandes
fa0c3dd11c Misc. 2014-07-10 02:21:18 +00:00
roman-simakov
573e93e5a6 Fixed CORE-735: User rights for metadata changes.
We check DDL in DDL nodes and skip at vio level. vio level still exists for direct metadata editing.
2014-07-08 07:35:27 +00:00
alexpeshkoff
a9721f18e0 Added first parameter IStatus* to a lot of functions in API interfaces 2014-07-02 12:57:12 +00:00
alexpeshkoff
26319333e3 Renamed mapping-related tables as was discussed in devel 2014-06-26 09:37:55 +00:00
dimitr
153b06b2fd Minor structure changes. 2014-06-13 16:28:22 +00:00
asfernandes
0db90d6b6d Misc. 2014-06-08 01:55:06 +00:00
asfernandes
1277bf593b Fixed CORE-4453 - Regression: NOT NULL constraint, declared in domain, does not work. 2014-06-08 01:53:21 +00:00
dimitr
ec07db9882 Fixed CORE-4447: Positioned UPDATE statement prohibits index usage for the subsequent cursor field references. 2014-06-04 09:51:26 +00:00
asfernandes
db035386c4 Fixed the problem reported in CORE-4403 comment. 2014-05-26 23:10:10 +00:00
asfernandes
bb735cb5a2 Misc. 2014-05-23 02:12:56 +00:00
asfernandes
3f8de25fcc Feature CORE-4403 - Allow referencing cursors as record variables in PSQL.
Improvement CORE-4434 - Extend the use of colon prefix for read/assignment OLD/NEW fields and assignment to variables.
2014-05-19 19:06:47 +00:00
dimitr
b936bead5e Fixed CORE-4422: FB crashes when using row_number()over( PARTITION BY x) in ORDER by clause. Adriano, please review. 2014-05-12 07:06:57 +00:00
asfernandes
88f58e409f Misc. 2014-05-08 02:51:12 +00:00
asfernandes
8162336592 Fixed CORE-4415 - Useless extraction of generic DDL trigger. 2014-05-06 18:10:07 +00:00
dimitr
0d255045b9 Fixed the issue with UNION ALL vs WITH LOCK reported by Claudio privately. 2014-05-04 07:43:49 +00:00
robocop
a6133d02a8 Replace "unknown token" by specific messages. 2014-05-03 00:27:47 +00:00
robocop
8f1373aaa1 In ODS12, rdb$system_flag is not nullable thus we can simplify some conditions. 2014-05-02 03:04:56 +00:00
robocop
1bb6f45b89 Misc. 2014-05-01 05:29:19 +00:00
alexpeshkoff
9bd0939f09 Implemented CORE-1377: Add an ability to change role without reconnecting to database 2014-04-30 15:12:12 +00:00
alexpeshkoff
10346ce4bc Fixed CORE-2119: Use entries in restrict list of ExternalFileAccess parameter to mangle filenames with relative path, also fixed assertion and diagnostics related to EXTERNAL FILE tables 2014-04-22 13:37:14 +00:00
asfernandes
128ec5aee0 Fixed problem with ALTER SEQUENCE. 2014-04-19 22:17:59 +00:00
mapopa
075ab8f4d6 cleanup comments 2014-04-18 15:41:21 +00:00
alexpeshkoff
58ec2954c1 Fixed CORE-4394: Cursor not found error when using legacy API 2014-04-18 12:08:17 +00:00
robocop
08a090439e I hope I fixed the issues noted by Adriano about my generators commit. 2014-04-12 06:35:36 +00:00
alexpeshkoff
071b07045f Fixed alter global mapping - thanks to Adriano 2014-04-11 16:59:42 +00:00
asfernandes
29602be60f Misc. 2014-04-11 02:06:08 +00:00
robocop
de7ed79414 Fixing several issues with my previous commit:
Use increment [by], no step.
Enable again code in ini.epp because it's needed when restoring (but not when creating gens directly in a new db).
Gbak has code to fix system generators and we should allow it.
Nbackup cannot update the history generator when doing a backup.
Field name renamed to rdb$generator_increment.
2014-04-09 07:17:34 +00:00
robocop
2d1c89c134 Misc. 2014-04-09 02:35:34 +00:00
robocop
cadd8accc4 Implemented STEP for generators/sequences and took the opportunity to make the blrOp param const. Please rebuild the databases. 2014-04-09 02:28:38 +00:00
asfernandes
5ffd4e89f7 Misc. 2014-04-08 03:37:30 +00:00
asfernandes
3e2f5c2d7a Warning. 2014-04-07 15:23:23 +00:00
alexpeshkoff
cbfed4663a Names cleanup - thanks to Claudio 2014-04-07 07:17:42 +00:00
robocop
4fac925a2e Protect system domains. 2014-04-06 01:16:30 +00:00
robocop
c90d9d4547 Misc. 2014-04-05 01:44:32 +00:00
robocop
19bc83be9d When I tried to modify a system domain, I got the confusing message "create domain failed", so I tried to improve the feedback to the user. 2014-04-04 20:30:03 +00:00
asfernandes
2e400de3a2 Misc. 2014-04-04 16:10:01 +00:00
asfernandes
2512cb866b Fixed CORE-4381 - Incorrect line/column information in runtime errors. 2014-04-04 16:05:20 +00:00
alexpeshkoff
20e846369e Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names) 2014-04-04 15:57:18 +00:00
hvlad
b826331d55 Improvement CORE-4252 : Add table name to text of validation contraint error message, to help identify error context 2014-04-04 08:53:05 +00:00
robocop
fa2f26b645 A bit less repetitive code. 2014-04-04 07:51:24 +00:00
robocop
29e36dc4f3 The 0th generator becomes unnamed. Only internal requests can access it (zero length names are not allowed from outside). RDB$GENERATORS is no longer a reserved name.System generators cannot be changed by user requests, but can be queried with gen_id(g, 0) if the permissions (ACL) allow that. We don't track dependencies on sys generators, it's not necessary. 2014-04-04 06:39:09 +00:00
robocop
acde43cf94 Misc. 2014-04-02 02:22:13 +00:00
robocop
43a7df27ae Shortcut. 2014-04-02 02:20:00 +00:00
asfernandes
30b0b5227b Misc. 2014-03-31 02:04:26 +00:00
dimitr
0e7d43a7f9 Fixed CORE-4379: Poor performance of explicit cursors containing correlated subqueries in the select list. 2014-03-30 12:59:43 +00:00
asfernandes
2d330eb6ba Fixed CORE-4374 - Truncation error when using EXECUTE STATEMENT with a blob. 2014-03-27 15:18:59 +00:00
robocop
daae978a9c Misc. 2014-03-26 19:10:08 +00:00
asfernandes
6d3e7f295e Fixed CORE-4373 - Duplicate names in package are not checked. 2014-03-26 16:55:57 +00:00
asfernandes
d1dbfe77ce Fixed CORE-4376 - Preparation of erroneous DDL statement does not show the main command failed. 2014-03-26 16:55:21 +00:00
dimitr
dcdfa9885d Misc. 2014-03-26 16:42:13 +00:00
dimitr
b2df821da7 Cleanup. 2014-03-25 13:52:22 +00:00
robocop
66af445e2e Misc. 2014-03-22 20:51:24 +00:00
robocop
e4e6de7ebf Misc. 2014-03-21 23:03:56 +00:00
hvlad
6ca0cbb78a Additional patch for CORE-3362 : Cursors should ignore changes made by the same statement:
- fixed error when "NOT IN" expression is turned into (better optimized) equivalent expression: 
  new RseBoolNode's lost parentForNode member (required later to [not]set stable cursor savepoint)
- replaced pointer to outer ForNode (parentForNode) by boolean flag (ownSavepoint) - it simplifies cloning of nodes
2014-03-19 22:31:50 +00:00
dimitr
c0361bc609 Fixed CORE-4366: Wrong result of WHERE predicate when it contains NULL IS NOT DISTINCT FROM (select min(NULL) from ...) 2014-03-15 18:43:45 +00:00
dimitr
523f1ea2c8 Reworked one of my prior commits that caused regression CORE-4360: Select from derived table which contains GROUP BY on field with literal value returns wrong result. 2014-03-09 09:33:35 +00:00
dimitr
2cc62d9a4b Fixed what I believe was a mistake. 2014-03-09 09:30:49 +00:00
robocop
ae8f6d6b8f Misc. 2014-03-03 04:37:29 +00:00
hvlad
d125f5617a Fixed warning by PVS-Studio
Review is appreciated
2014-02-25 14:18:32 +00:00
robocop
10a253d613 Make comparisons return plain int (PVS-Studio). 2014-02-25 06:20:09 +00:00
asfernandes
beae5e3915 Warnings (conflict with MSVC math.h defines). 2014-02-23 02:01:11 +00:00
hvlad
65a1f44442 Improvement CORE-4345: Ability to trace stored functions execution 2014-02-19 23:16:47 +00:00
asfernandes
3a87224281 Warnings and make Linux debug build compile. 2014-02-18 01:49:07 +00:00
asfernandes
66ed15f026 Warnings. 2014-02-16 21:52:14 +00:00
dimitr
58691273d2 Slightly changed the invariant handling code for functions. 2014-02-11 09:28:23 +00:00
dimitr
e869780df7 Renamed a few methods for better readability. 2014-02-09 18:28:33 +00:00
dimitr
bd410d08aa Fixed refactoring errors that caused some optimizer regressions. Also, simplified code a little. 2014-02-09 15:58:33 +00:00
robocop
5013cc4f16 Give names to the old and new streams in triggers. 2014-02-06 06:53:57 +00:00
asfernandes
56ed22998d Misc. 2014-02-06 00:37:30 +00:00
asfernandes
49fa42fc5e Fixed CORE-4330 and CORE-4331.
CORE-4330 - Not correct result function LAG, if OFFSET value ​​are assigned from a table.
CORE-4331 - LAG, LEAD and NTH_VALUE raise error when the second argument is NULL.
2014-02-03 15:07:13 +00:00
alexpeshkoff
264f939718 Fixed CORE-4326: Keyword SET should not be required in ALTER USER statement 2014-01-30 09:11:06 +00:00
asfernandes
2ad2765d8e Misc. 2014-01-29 15:35:48 +00:00
asfernandes
9350f941dc Fixed CORE-4322 - Engine crashes when use aggregate or window functions in recursive query. Vlad, please review. 2014-01-27 01:09:32 +00:00
dimitr
b91a120a52 Misc. 2014-01-25 09:05:04 +00:00
alexpeshkoff
411c3718ca Fixed CORE-4286: "Statement already has a cursor assigned" error when trying to execute another SQL statement using different cursor name. Moved method setCursorName() from IStatement to IResultSet - it was my fault when splitting cursor from statement. 2014-01-17 12:33:23 +00:00
dimitr
cad838ba02 Fixed CORE-4318: Predicates involving PSQL variables/parameters are not pushed inside the aggregation. 2014-01-17 12:19:52 +00:00
asfernandes
fc6110da59 Fixed CORE-4315 - Usage of field's alias in view WITH CHECK OPTION leads to incorrect compile error or incorrect internal triggers. 2014-01-14 15:03:22 +00:00
dimitr
a149317d89 Improvement CORE-3881: Extend the error reported for index/constraint violations to include the problematic key value. 2014-01-10 07:49:51 +00:00
asfernandes
980cc3edf0 Fixed CORE-4307 - Fields present only in WHERE clause of views WITH CHECK OPTION causes invalid CHECK CONSTRAINT violation. 2014-01-09 15:42:49 +00:00
asfernandes
f85f43ae9c Change type of user flags from int to bool. 2014-01-06 00:57:10 +00:00
dimitr
15113ae2dd Resolved CORE-1482: Make optimizer to consider ORDER BY optimization when making decision about join order.
Also, improved (hopefully) cost calculation for navigational retrievals.
2014-01-05 19:40:07 +00:00
robocop
2810026363 Misc and warnings. 2013-12-29 00:35:50 +00:00
alexpeshkoff
35c23e7086 Misc enhancements in user management - thanks to Adriano 2013-12-26 10:59:25 +00:00
asfernandes
7bb6f550ee Misc. 2013-12-25 23:36:56 +00:00
alexpeshkoff
dacbc27616 Implemented CORE-3365: Extend syntax for ALTER CURRENT USER 2013-12-17 16:24:49 +00:00
alexpeshkoff
64b4f89d43 Changed syntax of user definition operators according to discussion in devel
Added virtual table sec$user_attributes with parsed user's attributes
Implemented CORE-2004: Ability to alter user inactive/active
Implemented CORE-2063: Added CREATE OR ALTER USER operator
Implemented CORE-3931: Ability to set comment for the user
2013-12-17 14:20:25 +00:00
asfernandes
e280fc27c7 Remove two introduced reduce/reduce conflict in the parser. 2013-12-15 01:19:39 +00:00
asfernandes
8e73b1cb28 Misc. 2013-12-14 23:59:55 +00:00
asfernandes
2aa3e8dd4d Working in progress on the fix for CORE-4271: unify as possible the handling of procedures and functions. 2013-12-12 14:42:31 +00:00
dimitr
bd1429c8ba Fixed the issue with recursive CTEs reported by Philippe in firebird-devel. 2013-12-11 11:04:08 +00:00
alexpeshkoff
72bfd909e6 Fixed CORE-4290: added SQL support to set/drop unlimited list of user's properties 2013-12-10 13:03:39 +00:00
dimitr
39befb8a68 Fixed my yesterday's mistake. 2013-12-06 12:57:30 +00:00
dimitr
d9c0e9548c Fixed three issues together represented in CORE-4261:
- non-existent result of the window function (in outer joins) is reported as 0 instead of NULL
- derived constant is processed wrongly in windowed streams
- deeper-than-root partitions are not "nullified" in outer joins
Adriano, please review.
2013-12-05 13:59:12 +00:00
alexpeshkoff
d6297bebd4 Fixed some gcc warnings 2013-11-19 13:19:11 +00:00
alexpeshkoff
190ff0ad45 Fixed warning "deleting object of abstract class type" where possible 2013-11-18 13:28:47 +00:00
alexpeshkoff
83db69c849 Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type. 2013-11-18 12:20:23 +00:00
dimitr
8dbe038cab Fixed CORE-4262: Context parsing error with derived tables and CASE functions. 2013-11-14 17:10:46 +00:00
alexpeshkoff
120b10a78a Implemented CORE-4263: Database linger 2013-11-14 16:16:24 +00:00
asfernandes
08e6588fcd Fixed CORE-4258 - Wrong boundary for minimum value for BIGINT/DECIMAL(18). 2013-11-13 15:46:10 +00:00
dimitr
92fca585d7 Fixed CORE-4240: Recursive query in SQL query returns incorrect results if more than one branch bypass. The new code should work equally good with both binary and wide union trees. 2013-11-12 14:04:10 +00:00
asfernandes
5296e616d3 Fixed CORE-4237 - FB3 vs FB2.5. Different metadata for UDF return argument.
The is a case showing a difference between 2.5 and 3.0 in the first comment. The second comment does not show difference between versions.
2013-10-04 15:58:03 +00:00
asfernandes
56c2a5fc66 Fixed CORE-4237 - FB3 vs FB2.5. Different metadata for UDF return argument. 2013-10-03 15:38:58 +00:00
asfernandes
0b51caa5f4 Fixed CORE-4145 - Memory leak when preparing Execute Block which uses domains. 2013-09-25 15:49:43 +00:00
asfernandes
87389723d6 Fixed CORE-4234 - Error with IF (subfunc()) when subfunc returns a boolean. 2013-09-23 18:50:52 +00:00
dimitr
e5d1202048 Somewhat hackery fix for CORE-4201: Computed field returns null value inside BI trigger.
A better solution requires major changes and will be investigated in trunk later.
2013-09-20 08:28:41 +00:00
asfernandes
39bccae728 Fixed CORE-4227 - Wrong evaluation of BETWEEN and boolean expressions due to parser conflict. 2013-09-18 16:33:59 +00:00
hvlad
8611366e5f Fixed bug CORE-4214 : GTT should not reference permanent relation 2013-09-10 14:37:06 +00:00
asfernandes
eae91e94a9 Improvement CORE-4206 - Add RESTART [WITH] clause for alter identity columns. 2013-09-05 15:58:30 +00:00
asfernandes
4789ba1672 Improvement CORE-4199 - Add optional START WITH clause to identity columns. 2013-09-04 15:54:19 +00:00
dimitr
befd3a3e60 Improved the error reporting. 2013-09-04 07:20:56 +00:00
dimitr
0a1d0fb0db Fixed CORE-4202: Backup/Restore from old version to v3.0 fails with BLR error. 2013-09-04 06:01:55 +00:00
asfernandes
7c0ce8ccc2 Fixed CORE-4203 - Cannot create packaged routines with [VAR]CHAR parameters. 2013-09-03 15:46:46 +00:00
asfernandes
8e6a973957 Simplificate representation of 64-bit numbers and sequences in the parser. 2013-08-29 16:05:37 +00:00
asfernandes
682d6092fb Fixed CORE-4198 - Incorrect "token unknown" error when the SQL string ends with a hex number literal. 2013-08-29 15:51:14 +00:00
asfernandes
bb86ab028a Fixed CORE-4184 - Executing empty EXECUTE BLOCK with NotNull output parameter raised error. 2013-08-26 16:06:26 +00:00
dimitr
a4ec331d3d On second thought, I'm removing the artifical message size limit. 2013-08-21 09:17:10 +00:00
dimitr
ab8bbef3df Impure offsets must be 32-bit. 2013-08-21 07:16:28 +00:00
asfernandes
de802194c4 Fixed (as possible) CORE-4160 - The parameterized exception does not accept not ASCII characters as parameter. 2013-08-19 15:31:00 +00:00
asfernandes
f6d78556be Fixed CORE-4180 - CREATE COLLATION does not verify base collation charset. 2013-08-15 15:42:57 +00:00
asfernandes
a34a77d923 Fixed CORE-4177 (last part) - Problem with some boolean expressions not being allowed. 2013-08-14 02:20:17 +00:00
asfernandes
ba923bcadd Fixed CORE-4177 (only the simple test case reported in fb-devel) - Problem with some boolean expressions not being allowed. 2013-08-12 02:20:12 +00:00
dimitr
b7372ba47e Front ported CORE-3989: Bad performance / slow response when many concurrent sorts are executed. 2013-08-06 09:37:44 +00:00
dimitr
0a982811f0 Simplest solution for CORE-4165: Replace the hierarchical union execution with the plain one. 2013-08-05 14:48:30 +00:00
asfernandes
c3589a0ef2 Fixed CORE-4155 - External routines in packages wrong removed the necessity of termination with a semi-colon. 2013-08-02 15:35:56 +00:00
asfernandes
2485ccfa12 Improvement CORE-4148 - Increase ISQL buffer size from 64 KB to 10 MB, as the engine. 2013-07-28 01:10:35 +00:00
alexpeshkoff
537be70445 gcc warning - init order 2013-07-23 11:41:37 +00:00