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

79 Commits

Author SHA1 Message Date
asfernandes
dfe830af7c Added EVENT_TYPE and OBJECT_TYPE to DDL_TRIGGER context. Improvement suggested by Thomas Steinmaurer. 2011-02-20 01:08:48 +00:00
asfernandes
3eb252ec5f Refactored DSQL nodes: nod_derived_field, nod_map, nod_dbkey and nod_rec_version.
Refactored JRD nodes: blr_field (JRD side only), blr_dbkey, blr_record_version and blr_stmt_expr.
2010-11-14 17:25:48 +00:00
asfernandes
0b7c21172a Refactor CREATE/ALTER/DROP/RECREATE TABLE and DROP VIEW commands 2010-07-26 02:37:57 +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
e8cc188227 Store the view context type when it doesn't came from backup and simplify the code. Still problems altering procedures used in views. 2009-12-28 15:31:09 +00:00
asfernandes
b525f3b54f Misc 2009-12-16 21:52:01 +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
asfernandes
d38d8dccbd Some changes aiming a future replacement of the metadata character set 2009-11-28 16:39:54 +00:00
robocop
d8a012014b Comments. 2009-11-27 08:34:34 +00:00
robocop
804ad6048a Restrict us to ODS11 and ODS12 until the dust settles down. 2009-11-24 11:42:56 +00:00
asfernandes
55449dfb6a Misc 2009-10-27 14:50:15 +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
alexpeshkoff
dbbea09f2b Fixed CORE-2657: Ability to get any permissions (including SYSDBA) working with services 2009-10-02 16:44:00 +00:00
dimitr
cc53600348 Front-ported my recent rework of the monitoring stuff. 2009-07-06 09:19:26 +00:00
robocop
81e2c10f0d Moved DEFAULT_CLASS to constants.h;
a Buil | Clean Solution + F7 may be needed in VC (otherwise linker errors appear).
2009-06-26 11:18:45 +00:00
dimitr
931ab84255 Fixed a bug in one of my recent commits. 2009-06-04 06:16:30 +00:00
dimitr
83f78f5756 Fixed CORE-2461: Deadlock error terminates the restore process while restoring privileges. 2009-05-13 07:36:53 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
asfernandes
ced3b0010e Rollback CORE-2298 2009-01-29 20:36:29 +00:00
asfernandes
9784181a33 Improvement CORE-2298 - Add support for "some_col = ? or ? IS NULL" conditions 2009-01-28 21:37:45 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
alexpeshkoff
0c47a1c508 cleanup 2008-11-20 17:23:06 +00:00
dimitr
eb9ad2aa1b Implemented CORE-1583: Enhance MON$STATEMENTS / MON$STATE to represent real CPU consumption. 2008-08-25 06:58:35 +00:00
asfernandes
4822c30c70 Misc 2008-06-06 22:40:15 +00:00
alexpeshkoff
bc0d8af6e3 style - thanks to Claudio 2008-06-05 11:38:58 +00:00
alexpeshkoff
b021758834 Fixed SS build 2008-06-05 07:36:40 +00:00
alexpeshkoff
796e02d2a5 1. Cleanup - use constants ISC_USER/ISC_PASSWORD instead of always repeated string constants.
2. Let services uses environment and OS auth when run embedded.
2008-05-19 13:58:37 +00:00
alexpeshkoff
27a97e2a6a 1. Modified syntax of ALTER ROLE command according to Dmitry's request.
2. Avoid any use of predefined NT group name "Domain Admins".
3. Fixed DYN code generation for USER operations.

                     ***** WARNING *****
After this commit all previous backups of 2.5 databases with turned on
admins mapping become unrestorable. ODS is not changed.
2008-05-14 11:24:45 +00:00
dimitr
db7d3ecd4c The merge continued. 2008-01-16 08:31:31 +00:00
alexpeshkoff
3e0d8ebc5b Fixed CORE-1603: Possible buffer overflow with long user name 2007-11-19 16:18:59 +00:00
robocop
78e090ec4a Still trying to adjust isql to fix CORE-1261 completely: now it needs to understand that
RDB$PRIMARY<n> are implicit index names and shouldn't be part of a script.
2007-10-04 09:20:04 +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
robocop
e256254154 Fix CORE-1465 2007-09-16 09:02:53 +00:00
dimitr
72bbf56ea2 Added MON$BACKUP_STATE to MON$DATABASE. 2007-09-14 15:39:53 +00:00
alexpeshkoff
f0d465bf34 Fixed gcc warnings, general (un)signed usage cleanup 2007-04-11 09:28:50 +00:00
dimitr
d31f946fba Added MON$CALL_STACK plus some minor monitoring-related changes. 2007-03-05 07:50:23 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
asfernandes
aca179f398 Full domain support and NOT NULL in PSQL 2007-01-17 01:19:01 +00:00
dimitr
187703c91a Misc. 2006-12-14 14:56:29 +00:00
dimitr
b43b43eca9 1) Changed MON$STATEMENTS a bit.
2) Implemented statement cancellation.
2006-12-04 21:36:29 +00:00
asfernandes
d168869475 Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS 2006-11-24 00:25:13 +00:00
asfernandes
570b6cd4b4 1) CORE-645 and CORE-745: Database triggers
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
robocop
28c3d29886 ApiGuide.pdf says a maximum of 16 databases is allowed for a multi-db transaction. However, Ann agrees that a modern new, sensible limit is 256 databases for start_transaction and start_multiple.
Fixed a buffer overrun in jrd.cpp related to this.
2006-10-14 01:29:36 +00:00
robocop
8e7e781e5f Partial commit with some cleanup and more constants. 2006-10-10 06:41:36 +00:00
robocop
6b4ee46d7c Misc. 2006-09-30 09:25:49 +00:00
robocop
e0badaed04 Solve problem reported by Bill Oliver in fb-devel: we should complain when someone tries to sort on more than 255 items. 2006-09-30 09:10:28 +00:00
robocop
af8ecc26ca Solve three problems with arrays:
- Don't allow to apply scalar/subscript syntax to fields that aren't array.
- Detect if we get corrupt database containing array with more than 16 dimensions.
- Reject attempt to subscript array with more than 16 dimensions and thus fix the buffer overrun.
2006-09-10 09:05:40 +00:00
robocop
eb5244daef Make these messages clear by uppercasing the part that corresponds to the SQL syntax. Anyway, these msgs shouldn't be there; they should be in the messages db for localization instead! 2006-08-31 09:09:06 +00:00