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

69 Commits

Author SHA1 Message Date
f0eac3c552 Backported fix for CORE-5162: SEC$ tables and tag/attributes 2016-03-22 19:32:11 +03:00
alexpeshkoff
5c9eb6d8a3 Fixed CORE-4729: Add a flag to mon$database helping to decide what type of security database is used - default, self or other 2015-03-31 17:22:04 +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
5d29d55113 CORE-4564: Add per-table performance counters to the monitoring tables. 2014-09-30 17:35:44 +00:00
alexpeshkoff
2a293c2691 Implemented CORE-4538: Access rights for CREATE DATABASE operator 2014-09-02 16:55:14 +00:00
dimitr
82bf6c2c0e Minor adjustments to the performance counters. Work in progress. 2014-08-28 15:16:39 +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
dimitr
4dae12ccce Added counter for record refetches (aka repeated reads). 2014-08-27 14:51:51 +00:00
dimitr
a8b1dba646 Refactored RuntimeStatistics internals. Added more record-level performance counters. 2014-08-05 08:46:09 +00:00
asfernandes
409a27841b Improvement CORE-4487 - Maintain package body after ALTER/RECREATE PACKAGE. 2014-07-31 16:30:12 +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
adb0480c9b Fixed CORE-4469: Add field in SEC$USERS reflecting whether a user has RDB$ADMIN role in security database 2014-06-28 09:58:02 +00:00
alexpeshkoff
26319333e3 Renamed mapping-related tables as was discussed in devel 2014-06-26 09:37:55 +00:00
dimitr
2c4b4f61eb Improvement CORE-2303: Include plan in MON$STATEMENTS. 2014-06-10 13:32:29 +00:00
robocop
1bb6f45b89 Misc. 2014-05-01 05:29:19 +00:00
asfernandes
8608223f53 Misc. 2014-04-13 01:42:10 +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
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
5e3c596545 Fixed bug CORE-4309 : 'Cache Writer' record in MON$ATTACHMENTS dissapear when delete other connection that running some 'heavy update' on big table via delete from MON$ATTACHMENTS 2014-01-11 09:10:44 +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
alexpeshkoff
40de1dabb0 Implemented CORE-4290: Extensible property support which can add properties (name-value pairs) to users 2013-12-06 17:10:10 +00:00
alexpeshkoff
120b10a78a Implemented CORE-4263: Database linger 2013-11-14 16:16:24 +00:00
dimitr
3821ec9d41 Implemented CORE-4218 (database owner in MON$DATABASE) and CORE-4222 (auth method in MON$ATTACHMENTS). 2013-09-18 09:37:13 +00:00
dimitr
0c9a9fdf4c Made the ALTER SEQUENCE RESTART behavior standard compliant. 2013-06-18 18:22:31 +00:00
dimitr
9f2a992078 Implemented:
CORE-2780: Include client library version and protocol version in mon$attachments
CORE-2187: Return the Hostname in mon$attachments
CORE-3779: Report OS user name in MON$ATTACHMENTS
+ some cleanup.
2012-09-12 07:45:51 +00:00
alexpeshkoff
2a01e4bcf9 Implemented CORE-3861: Make it possible to encrypt database
Also some cleanups, the most important are:                                                                                                                   
- meaningful ctor on Jrd::Lock, helping to avoid code dup                                                                                                     
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
dimitr
496ab098c4 Removed the accidentally committed lines. 2011-07-14 15:34:21 +00:00
dimitr
ffa0c84d97 Added the missing RDB$SYSTEM_FLAG and RDB$DESCRIPTION columns into RDB$FUNCTION_ARGUMENTS. 2011-07-14 15:27:25 +00:00
dimitr
7eded400e8 Let's clearly distinguish between deterministic and invariant functions, they're not the same thing actually. Runtime optimization usage is to be re-considered, if necessary.
Warning: this includes an ODS change, please boot-build.
2010-11-13 15:03:44 +00:00
alexpeshkoff
d24cd9cbd7 Implemented self-registering plugins format (same plugin can be easily linked statically
or as dynamic library, depending upon platform requirements). Self-registering plugins
need not export any functions, instead they call fb_register_plugin() on startup.

Reworked all user management to use self-registering plugins.

Removed system table RDB$USERS. PLG$USERS is not created automatically by plugin, but
will be later (work in progress).
2010-07-23 12:04:18 +00:00
dimitr
da183a98ed Reworked the SEC$USERS implementation so that no new physical table type and data access method would be required. More changes are likely to follow soon. 2010-07-13 12:31:35 +00:00
alexpeshkoff
88db8b2fbc ODS change: made RDB$USERS system table, added virtual table SEC$USERS 2010-07-09 12:51:05 +00:00
asfernandes
9c1bab1793 Feature CORE-1385 Identity columns - in its basic form 2010-01-13 19:14:15 +00:00
asfernandes
06a3d020b2 Misc 2010-01-01 18:45:30 +00:00
robocop
5d9204657c More appropriate name. 2009-12-26 13:24:39 +00:00
dimitr
fd6c858ba7 New system fields (ODS change). 2009-12-21 16:36:39 +00:00
robocop
465c88570e Make views know exactly what type of source their fields have: include a type of context and a package name in rdb$view_relations. Debugged with a small script.
To be reviewed & completed by Adriano.
Full rebuild, please.
2009-12-15 14:08:28 +00:00
robocop
5cfc9dc78b CORE-2787: Make rdb$system_flag not null.
Please do a full rebuild.
2009-12-03 12:52:10 +00:00
dimitr
a69d57fc49 Restored the legacy order of relations, thanks to Adriano.
Added comments to highlight that issue.
2009-10-23 01:13:29 +00:00
dimitr
b6ece14c55 Cleanup the unsused logic related to in-place ODS upgrades.
Simplified the version-specific column handling.
2009-10-22 14:50:23 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
asfernandes
e26c3083f8 Improvement CORE-2551 - Interpret DPB items as now the database name parameter is interpreted and change MON$ filenames fields from NONE to UNICODE_FSS. 2009-07-11 19:58:28 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
dimitr
0a1268830e Added table MON$MEMORY_USAGE. 2008-05-06 08:24:07 +00:00
alexpeshkoff
00c63c1f8d 1. Make signals handling in yValve MT safe.
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
dimitr
253765389a Done CORE-1750. 2008-02-20 13:13:22 +00:00
dimitr
6992f2a638 The merge continued. 2008-01-16 09:41:31 +00:00
dimitr
25097215b0 Added MON$STAT_GROUP into the statistics tables.
This allows to join backwards from a particular statistics record.
2007-09-28 12:59:14 +00:00
dimitr
72bbf56ea2 Added MON$BACKUP_STATE to MON$DATABASE. 2007-09-14 15:39:53 +00:00