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

128 Commits

Author SHA1 Message Date
robocop
446097fe8e Be explicit, change "qualifier" to "package" in QualifiedName (needed anyway if/when schemas are added). 2010-01-27 04:32:27 +00:00
asfernandes
82ccb81d3b Unify even more procedure and function handling. While at it, fix a wrong access to req_procedure when validating function. 2009-12-30 01:40:39 +00:00
asfernandes
d8c99a9be2 1) Make procedures and functions member of the same hierarchy (Routine class)
2) Some completion for external functions
2009-12-27 22:05:22 +00:00
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +00:00
dimitr
debe65bcfb Support for PSQL functions (other JRD changes). Still work in progress. 2009-12-21 17:43:01 +00:00
asfernandes
e99a07bffd Remove usage of tdbb (and tdbb->tdbb_status_vector) in the lock manager 2009-12-06 01:34:57 +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
robocop
9ce4040042 Replace the now obsolete dbb_minor_original by dbb_minor_version. 2009-11-18 12:02:00 +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
d4e407cb3f Misc 2009-09-24 02:11:10 +00:00
asfernandes
2c4ff818df Misc 2009-09-17 15:55:18 +00:00
asfernandes
04dc113afc Remove variable shadowing 2009-09-17 11:10:55 +00:00
hvlad
d9d8bf7fd1 Fixed bug CORE-2632 : Invalid BLOB ID when working with monitoring tables 2009-09-16 21:27:12 +00:00
robocop
74c6abdc46 Delete unused constant since v1.104 of this file. 2009-08-28 10:16:38 +00:00
robocop
ef60e5f2c7 Comment. 2009-08-28 05:04:43 +00:00
asfernandes
83dfc4a849 Fixed CORE-2602 - Attachments using NONE charset may cause reads from MON$ tables to fail 2009-08-27 16:17:35 +00:00
asfernandes
398975b940 Misc 2009-08-20 01:32:24 +00:00
dimitr
bcebd6f026 Fixed CORE-2478: mon$memory_usage: Incorrect database memory reported on CS and SC. 2009-08-19 09:35:03 +00:00
dimitr
d53b28797c Fixed CORE-2573: The server crashes when selecting from the MON$ tables in the ON DISCONNECT trigger. 2009-07-25 11:08:41 +00:00
alexpeshkoff
c3e0b4081a Fixed CORE-2564: alignment error on risc machines 2009-07-20 13:44:02 +00:00
robocop
5133920611 Get rid of variable shadowing. 2009-07-12 12:12:04 +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
8bacb14102 Misc 2009-07-08 14:34:17 +00:00
dimitr
9a4a3cfbdf Fixed my yesterday's commit. 2009-07-07 05:17:55 +00:00
dimitr
cc53600348 Front-ported my recent rework of the monitoring stuff. 2009-07-06 09:19:26 +00:00
alexpeshkoff
6cf6aa48bd misc 2009-06-10 12:48:05 +00:00
alexpeshkoff
5a4eab402e Front-ported fix for CORE-2482: Monitoring tables data collection is unstable when attaching or detaching database 2009-05-29 14:10:18 +00:00
dimitr
f8ded89969 Better error reporting. Also, don't block the requester in the case of error. 2009-05-28 07:58:39 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
robocop
5acf561eb6 Get rid of some typedefs. 2009-04-02 08:53:25 +00:00
roman-simakov
1a4949891b Refactored NBackup subsystem.
1) Fixed CORE-1696 - "Deadlock in LM by using nbackup utility" with priority rating of lock requesting for LCK_backup_database and LCK_bdb.
2) A lot of stability fixes were made.
3) The key thing is using new GlobalRWLock for removing LCK_set_owner_handle function and speed up performance.
4) The code is still ready for using both in shared cache architecture and in claster architecture.
2009-03-17 07:39:55 +00:00
robocop
38f1fafbb9 Constness. 2009-02-08 12:57:49 +00:00
asfernandes
75c0d0f353 Misc 2009-02-05 01:08:13 +00:00
hvlad
b0e129a52f static not works here 2009-02-03 08:45:57 +00:00
hvlad
0185a3adc8 Make GCC's life easier 2009-02-02 12:06:51 +00:00
hvlad
115602ff06 Trace services support 2009-02-01 22:10:12 +00:00
asfernandes
f4fbdffe07 Misc 2009-01-29 17:44:21 +00:00
dimitr
1b3927b026 1) Globally named per-database shmem regions.
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
dimitr
891eb7e16b Fixed the missing database-level statistics. 2008-12-29 17:32:37 +00:00
robocop
ae4c8c2f2e Style. 2008-12-25 06:30:01 +00:00
dimitr
2208b35814 Fixed the regression for CORE-1926 reported by Philippe. 2008-12-24 13:34:12 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
dimitr
78037bfe40 Fix for big-endian machines, it follows Alex's set of fixes. 2008-12-19 14:58:16 +00:00
dimitr
2b87e94242 Use explicit iterators instead of the implicit (built-in) ones due to the thread-safety requirements.
This change affects GenericMap only, as it's used globally in a few places and we have a proven crash there.
I have a more complete solution (total cleanup of default accessors from BePlusTree and SparseBitmap) in my local tree (thanks to Dmitry Kovalenko), but it's incomplete (requires more changes inside the engine) and IMHO risky (~20 core modules are affected), so I'd like to defer finalization of this cleanup till v3.0.
All objects of these types seem being protected by dbb_sync, so they shouldn't cause us any problems currently.
2008-12-19 14:57:01 +00:00
asfernandes
d03b6ede7f Misc 2008-12-18 01:24:58 +00:00
dimitr
cbae058950 Sync with B2_1_Release. 2008-12-17 12:08:52 +00:00
dimitr
6ca82e4754 Misc. 2008-12-16 11:02:25 +00:00
robocop
7076ca77c6 Correction to my own code. 2008-12-15 06:11:49 +00:00