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

571 Commits

Author SHA1 Message Date
hvlad
bc9ad95c82 Fixed bug CORE-2731 : Recursive EXECUTE STATEMENT works wrong 2009-11-05 22:42:46 +00:00
verbguy
8192bf7723 fix a bunch of 64-bit sign extension warnings, reported by Sun Studio option, -xport64=implicit 2009-11-04 15:15:57 +00:00
dimitr
e6909de7f7 Wipe out the SCROLLABLE_CURSORS code + minor cleanup.
Also, surfaced scrollability for PSQL cursors (without internal support yet).
2009-10-31 06:25:01 +00:00
robocop
07dc116ed2 Misc. 2009-10-30 10:50:59 +00:00
asfernandes
dc5edd5aed Misc 2009-10-23 00:42:40 +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
dbed23fafc Misc 2009-10-03 00:52:23 +00:00
hvlad
10d185d653 Report alias (if present) instead of expanded file name at failed attach event 2009-10-02 13:22:08 +00:00
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
dimitr
8e36474f76 More explicit (and shorter) life-time for sort blocks. Now they belong to either requests (user sorts) or transactions (index sorts).
This also resolves CORE-2477: mon$memory_usage: Sorting memory should be reported as owned by the statement.
2009-09-04 06:11:55 +00:00
robocop
e2bb3fec13 Delete unused function param. 2009-09-04 04:19:09 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
dimitr
56778ac8f4 Introduced the fb_ping() provider call (it's not exported thus it doesn't belong to the public API).
Currently only the engine supports this call. To be extended for the remote provider and exported as public in v3.0.
Used this new call to implement asynchronous (read: immediate) disconnection of the shutdown attachments.
2009-08-25 11:16:32 +00:00
robocop
a7c7f15e40 Forgot this when changing PAR_parse, CMP_compile2 and friends (not important). 2009-08-08 11:08:39 +00:00
robocop
e90fc8d63f Change the interface again. Please full rebuild (although the many recent changes to common.h almost qualify as full rebuild). 2009-08-05 12:30:32 +00:00
robocop
40169fefcb Style. 2009-08-05 04:48:49 +00:00
asfernandes
4759973045 Fixed CORE-2576 - Server may crash parsing wrong or truncated BLR
Full rebuild required - CMP_compile2 prototype changed
2009-08-02 04:10:07 +00:00
robocop
8cb338c96d Misc. 2009-07-21 09:46:11 +00:00
asfernandes
0fa5b3fdc4 Do not return isc_no_cur as warning, as it's an error - thanks to Dmitry 2009-07-16 13:09:00 +00:00
asfernandes
5063bafc36 Misc 2009-07-15 03:13:16 +00:00
dimitr
f3a6111efa Let's not throw any shutdown related errors when rescheduling happens during the detaching (rare but possible case). 2009-07-13 15:40:32 +00:00
alexpeshkoff
caf50ce2b3 Fixed CORE-2526: Server can be shut down disregarding services' connections 2009-07-13 12:09:37 +00:00
robocop
de4be11750 Misc. 2009-07-13 10:00:43 +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
alexpeshkoff
eb92d79ade Fixed CORE-2518: Can no longer connect to database when using isc_dpb_num_buffers parameter, Make SS ignore it silently. 2009-07-10 12:31:12 +00:00
asfernandes
26c1892310 Misc 2009-06-20 18:46:59 +00:00
robocop
70040bd913 Related to CORE-2509. 2009-06-19 11:10:34 +00:00
robocop
6bfacad413 CORE-2509. Took the opportunity to fix several data types. 2009-06-18 12:07:07 +00:00
asfernandes
78f400fc5b Misc 2009-06-09 00:56:58 +00:00
hvlad
78aeb9f520 Use unsigned char in ntrace.h where appropriate, as Claudio suggest 2009-06-08 14:59:58 +00:00
asfernandes
2d8d9dd7b2 Improvement CORE-2498 - Make a single attachment usabe by more than one simultaneous threads in embedded 2009-06-06 01:08:19 +00:00
hvlad
89f79fb683 Fixed bug CORE-2454 : AV enumerating attachments in SS\SC if more than 8 databases is attached 2009-05-07 14:29:37 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
robocop
3343776e96 More unused params. 2009-04-28 14:13:46 +00:00
robocop
2d7cb94844 Unused params
Some BLR checks
2009-04-28 13:08:04 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
dimitr
1b8384583f 1) Some simplification inside JRD_reschedule()
2) Cleaned up the unused ALL routines, the only remainings from the old allocator code.
2009-04-01 11:33:30 +00:00
alexpeshkoff
9e15274a45 Fixed warning 2009-03-27 16:13:00 +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
hvlad
1880c5c0dd Clear metadata cache at database shutdown to correctly release used resources. 2009-03-15 18:05:04 +00:00
hvlad
4e0807690f Better fix for CORE-2183 : Error in ExtDS when server shutdown started with opened Execute Statement.
Make EDS handle broken connection properly
2009-03-13 13:17:20 +00:00
hvlad
0c1e3269b2 Fixed AV when engine shutdown started during isc_attach_database call execution 2009-03-13 09:55:07 +00:00
asfernandes
af33aefd19 Misc 2009-03-12 01:39:52 +00:00
hvlad
002ec6672a Fixed bug CORE-1980 : Sweeper consumes 100% CPU forever.
Also avoid start transaction if no ON CONNECT\ON DISCONNECT triggers defined.
2009-03-09 18:33:01 +00:00
alexpeshkoff
19fa8a3489 Fixed CORE-2351: Aliased database can't be created 2009-03-05 15:18:38 +00:00
asfernandes
d369e26979 1) Fix posix build
2) Remove some warnings
2009-02-15 14:45:37 +00:00
alexpeshkoff
b279aa384b Cleanup 2009-02-10 14:20:13 +00:00
alexpeshkoff
1b9a6858e4 Disabled use of isc_dpb_num_buffers on SS to avoid unpredictable shared cache behavior 2009-02-10 11:33:05 +00:00
dimitr
eeb13b8191 Misc. 2009-02-10 09:30:55 +00:00
hvlad
1baef37856 Add "paranoid check" suggested by Claudio 2009-02-10 08:56:32 +00:00