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

242 Commits

Author SHA1 Message Date
alexpeshkoff
7c2b4c5984 warning 2014-09-30 09:12:33 +00:00
alexpeshkoff
2a293c2691 Implemented CORE-4538: Access rights for CREATE DATABASE operator 2014-09-02 16:55:14 +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
asfernandes
5ffc936053 Misc. 2014-08-06 02:12:01 +00:00
roman-simakov
b0a7e783fa DDL permission check for COMMENT ON 2014-07-31 08:29:57 +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
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
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
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
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
asfernandes
88f58e409f Misc. 2014-05-08 02:51:12 +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
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
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
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
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
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
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
asfernandes
3a87224281 Warnings and make Linux debug build compile. 2014-02-18 01:49:07 +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
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
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
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
8e73b1cb28 Misc. 2013-12-14 23:59:55 +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
alexpeshkoff
190ff0ad45 Fixed warning "deleting object of abstract class type" where possible 2013-11-18 13:28:47 +00:00
alexpeshkoff
120b10a78a Implemented CORE-4263: Database linger 2013-11-14 16:16:24 +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