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

146 Commits

Author SHA1 Message Date
asfernandes
39498cb65b Use AutoCacheRequest in all cacheable system requests. Fixes some request leakages. 2010-04-18 15:04:52 +00:00
asfernandes
378caea05e Use AutoCacheRequest for DYN requests 2010-04-18 01:10:05 +00:00
asfernandes
a1d62c190c Fixed CORE-2932 - Wrong field position after ALTER POSITION 2010-03-22 01:09:28 +00:00
robocop
ae4a257532 I do not see the need for MetaNameProxy in these places. 2010-01-26 08:34:13 +00:00
alexpeshkoff
dc3f505ccb Cleanup, suggested by Claudio 2010-01-24 15:16:23 +00:00
asfernandes
9c1bab1793 Feature CORE-1385 Identity columns - in its basic form 2010-01-13 19:14:15 +00:00
asfernandes
7c47718d68 Move DYN constants to private header 2010-01-10 17:56:57 +00:00
asfernandes
7ff112a901 Some syntactic sugar 2010-01-03 00:19:14 +00:00
robocop
a2f34c1dbc Put more strings into the msg db. 2010-01-02 09:42:09 +00:00
asfernandes
488eb40fe0 Refactor DSQL, continuing the work I started in 2.5:
- Renamed CompiledStatement to DsqlCompilerScratch and removed inheritance to dsql_req.
- Introduced DsqlCompilerStatement, moving things from dsql_req - not completelly shareable yet.
- Make dsql_req reference a DsqlCompilerStatement. DsqlCompilerScratch may be discarded in the future.
- Replaced AlterCharSetNode usage by PreparedStatement for the default collation in database creation.
- Changed METD API.
2009-12-20 21:01:10 +00:00
asfernandes
dfc5340771 Fixed unregistered bug: ALTER VIEW drops permissions 2009-12-18 10:26:32 +00:00
asfernandes
3164d5a86b Cleanup 2009-12-17 01:36:33 +00:00
asfernandes
ad888c8c0b Cleanup 2009-12-17 00:38:55 +00:00
asfernandes
ad4d4b2ba9 Feature CORE-2777 - Make possible to alter the default database character set without manual update of system table 2009-12-07 18:26:50 +00:00
asfernandes
0797f937a3 Misc 2009-12-07 15:55:40 +00:00
robocop
97858bb154 After Adriano's changes, DYN_get_string does not transliterate anymore, therefore I'm cleaning the code (macros GET_STRING and GET_BYTES retained for readability, although they are the same now). 2009-12-07 05:30:42 +00:00
robocop
6b58626584 Cleanup. 2009-11-27 06:57:17 +00:00
robocop
f955568fc9 The architect created ODS12 and saw it was good, then he said "thy shall be the only one among your race", dropped the older ones and sent the developers to the four corners of the cyberspace to convert the masses to ODS12. 2009-11-27 02:33:40 +00:00
asfernandes
a3dd1d0482 Misc 2009-11-26 00:20:59 +00:00
robocop
2ffcc8b2ce Style. 2009-11-25 04:06:48 +00:00
asfernandes
7c11f5b6b0 Misc 2009-11-22 00:09:30 +00:00
robocop
c58937d3c0 Comments. 2009-11-21 07:38:05 +00:00
robocop
9ce4040042 Replace the now obsolete dbb_minor_original by dbb_minor_version. 2009-11-18 12:02:00 +00:00
robocop
1386adcf90 Style. 2009-11-16 08:06:31 +00:00
robocop
63a20ebf26 Fix CORE-2750 2009-11-14 09:29:08 +00:00
asfernandes
a4fa27c6d1 Check if table is really table before call before triggers, as see by Claudio 2009-10-27 14:43:26 +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
69fe7de8b6 Fix for my previous commit (CORE-2685) 2009-10-17 16:32:34 +00:00
asfernandes
e108800df7 Fixed CORE-2685 - ALTER VIEW does not remove the system triggers of view with check option 2009-10-16 15:40:41 +00:00
robocop
7f33e48550 Small cleanup. 2009-06-26 11:19:22 +00:00
robocop
6bfacad413 CORE-2509. Took the opportunity to fix several data types. 2009-06-18 12:07:07 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
robocop
4490f77b06 More unused params. 2009-04-28 13:48:18 +00:00
asfernandes
df465e0f7c Fixed CORE-2331 - ALTER DOMAIN invalid RDB$FIELD_SUB_TYPE 2009-04-26 01:37:50 +00:00
asfernandes
34bf21b347 Fixed CORE-2426 - Alter table not respecting collation 2009-04-23 15:31:28 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
robocop
0a94d6fee8 Style. 2008-12-18 10:57:12 +00:00
asfernandes
d1131516e2 Fixed CORE-2202 - RDB$VIEW_RELATIONS is not cleaned when altering a view 2008-11-20 17:16:53 +00:00
dimitr
02bc98b01e Fixed CORE-1544: RDB$procedures generator overflow.
The fix also solves the same issue with exceptions and generators.
2008-09-05 09:32:51 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
45786da3bc Misc 2008-07-06 16:42:52 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
asfernandes
d52dc96278 1) Move the new Node classes to appropriate files
2) Creation of StmtNode
3) Conversion of IN AUTONOMOUS TRANSACTION to InAutonomousTransactionNode (inherited from StmtNode) - it makes this feature almost self-contained

Please do a boot build or at least run blr_table.
2008-05-19 13:47:48 +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
asfernandes
5f6d61c185 Fix incorrect error message 2008-05-11 19:37:29 +00:00
dimitr
06f13e393c Misc. 2008-04-23 08:01:36 +00:00
robocop
6f31045e33 Misc. 2008-04-16 09:25:36 +00:00
asfernandes
e4db82781f Corrections 2008-04-15 15:31:21 +00:00
asfernandes
77e97a47c0 Feature requests CORE-1737 and CORE-1803:
1) ALTER CHARACTER SET <charset> SET DEFAULT COLLATION <collation>
2) CREATE DATABASE ... [ DEFAULT CHARACTER SET <charset> [ COLLATION <collation> ] ]
2008-04-15 02:18:38 +00:00