robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
dimitr
f0112290c6
Disallowed deletions from RDB$DATABASE. This fixes the only problematic part of CORE-3735: Unprivileged user can delete from RDB$DATABASE, RDB$COLLATIONS, RDB$CHARACTER_SETS. The implemented solution could be used to protect other system tables from direct modifications.
2012-01-20 10:23:31 +00:00
asfernandes
c44c548f8c
Corrections and cleanup.
2012-01-09 00:08:33 +00:00
dimitr
e956e2e6c0
1) Restricted ALTER/DROP permissions to the object owners only. Now this applies to domains, charsets, collations, generators and exceptions. This fixes CORE-304: Metadata security hole - any user can alter/drop generators and exceptions.
...
2) Opened the gates to implement the standard USAGE privilege (CORE-2884). SQL support and validation logic are still to be developed.
3) Added the grant option to the owner permissions for packages, procedures and functions.
4) Misc cleanup and refactoring.
2012-01-08 14:05:29 +00:00
dimitr
aa4e36e0d6
Correction.
2011-12-01 09:37:25 +00:00
dimitr
e3fb73cdca
Attempted to fix CORE-3490: Concurrency problem when using named cursors. The solution may look sub-optimal but it doesn't seem to affect the performance.
2011-12-01 09:24:59 +00:00
dimitr
d542f5ac88
Fixed the races leading to a crash during dbb finalization. Thanks to Adriano for assistance.
2011-11-01 04:02:59 +00:00
asfernandes
906ea4729e
Misc.
2011-10-27 01:04:14 +00:00
dimitr
444d5302e1
Refactored the tdbb initialization, especially in AST and BG threads.
...
Replaced dbb_use_count with a list of active requests (to be utilized later).
Misc cleanup.
2011-10-18 18:02:57 +00:00
asfernandes
eb5689ef0e
Misc.
2011-10-07 02:33:02 +00:00
hvlad
ca1a67992c
Return explicit sign of active transaction from VIO_get_current() - it makes logic more clear in check_duplicates() and allows to clear transient lock error from status vector and not propagate up to the callers.
...
Cleanup : removed my old disabled code (checking for old and new values) and restored original code in check_duplicates().
2011-10-03 11:27:46 +00:00
hvlad
dc4abc05e4
Protect system attachments list with dedicated sync object. It prevents deadlocks with common sync object on process shutdown.
2011-10-02 10:19:06 +00:00
hvlad
fb36296224
Port forward fix for bug CORE-3610 : Can insert DUPLICATE keys in UNIQUE index
2011-09-29 12:34:07 +00:00
dimitr
b100b395eb
Being a little bit more paranoid doesn't hurt.
2011-09-22 18:15:21 +00:00
dimitr
031339406c
Methinks it's more correct from the scoping POV.
2011-09-21 17:49:49 +00:00
dimitr
809fba5ec9
Reworked the garbage collector thread:
...
- a single try-catch block looks better
- cross-helping between GC and CW/CR threads is agreed to be a bad idea
- replaced ATT_disable_gc_notify with a check inside notify_garbage_collector()
- made the logic more straightforward
Careful review would be appreciated.
2011-09-21 07:59:15 +00:00
hvlad
652200448a
Port forward fix for bug CORE-3557 : AV in engine when preparing query against dropping table
2011-07-16 10:41:27 +00:00
asfernandes
47489fa71b
Misc.
2011-06-26 18:48:00 +00:00
robocop
1c250c02eb
Misc.
2011-06-25 03:40:18 +00:00
hvlad
f12c243e1c
Improvement CORE-3537 : There is no need to undo changes made in GTT created with ON COMMIT DELETE ROWS option when transaction is rolled back.
2011-06-24 12:54:46 +00:00
hvlad
f2aaa12ce5
Improvement CORE-3536 : Garbage collection in GTT is unnecessary delayed by active transactions in another attachments
2011-06-24 12:49:08 +00:00
hvlad
7c68e15a0f
Delete deferred work when savepoint is cleaned up after failure even if no records was modified. Else DFW task will be repeated at commit making system tables logically inconsistent.
2011-06-24 12:03:32 +00:00
robocop
5ad96271e6
Misc.
2011-06-24 06:34:16 +00:00
hvlad
81cec16f83
Fixed leak of SysAttachment instance. Noted by Claudio.
2011-06-13 11:09:19 +00:00
asfernandes
add3d8ddef
Misc.
2011-06-08 01:55:13 +00:00
hvlad
945a1bdbf4
Fixed bug CORE-3515 : Index corruption. Validation put "missing entries" message into firebird.log
2011-06-05 08:15:33 +00:00
dimitr
df893a708d
Better (I hope) solution for CORE-3058: New generators are created with wrong value when more than 32K generators was previously created. It also resolves the [temporary] inability to restore generator values.
2011-06-01 16:58:55 +00:00
asfernandes
2c9dd7e1ff
Misc.
2011-05-28 02:05:45 +00:00
hvlad
99c9c8e2db
Enabled background threads (garbage collector and cache writer).
...
Introduced special kind of system attachments used in this threads and show its activity in monitoring.
2011-05-27 07:57:16 +00:00
asfernandes
3ce54d2eda
Misc.
2011-05-11 01:18:28 +00:00
hvlad
fef1f49c94
Shared page cache implementation
2011-05-09 10:15:19 +00:00
dimitr
4b3033c013
Better locality of allocations. This also fixes a tiny memory leak in SuperServer.
2011-04-05 05:36:05 +00:00
robocop
82403a5621
Misc, style, etc.
2011-04-02 04:45:26 +00:00
asfernandes
e4658d76c3
Misc
2011-03-20 16:24:46 +00:00
hvlad
58a55cc813
Improvement CORE-3399 : Allow write operations to temporary tables in read only transactions
2011-03-19 13:10:51 +00:00
dimitr
d68affa114
More complex fix for CORE-3374: Server may crash or corrupt data if SELECT WITH LOCK is issued against records not in the latest format. It involves upgrading the record to the current format, like UPDATE does.
2011-03-05 17:33:01 +00:00
asfernandes
72b7e83082
Misc
2011-02-26 19:05:09 +00:00
asfernandes
87ec1ad31c
The (bad) definition of fb_assert cause this code to not work in clang. It's a surprive if it works in MSVC.
2011-02-25 15:28:10 +00:00
hvlad
07e245ab1b
Implement improvement CORE-3362 : Cursors should ignore changes made by the same statement
2011-02-25 12:26:57 +00:00
dimitr
7a405a4eea
Fixed CORE-3058: New generators are created with wrong value when more than 32K generators was previously created.
2011-02-17 06:05:16 +00:00
alexpeshkoff
f89ac854ef
Getting ready to use 32 (not 31) page and transaction numbers
2011-01-21 17:55:04 +00:00
asfernandes
5c7e5ce634
Misc
2010-10-22 01:24:31 +00:00
hvlad
f223086fdd
Corrections for new build system. Work in progress...
2010-10-18 17:23:36 +00:00
dimitr
af23581244
Front ported my recent changes. I'm unable to verify the compilation now, sorry.
2010-10-14 05:27:08 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
alexpeshkoff
83d6a2f88c
Restored a lot of changes, rolled back by me unintentionally
2010-10-12 11:36:51 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
dimitr
34dd100554
Fixed CORE-3137: Partial rollback is possible for a selectable procedure modifying data.
2010-09-18 06:52:46 +00:00
asfernandes
96cd57ba83
Better error reporting and adjustments
2010-07-29 00:36:31 +00:00
asfernandes
36f092fe0e
Improvement CORE-3085 - Add clause ALTER DOMAIN <name> [NOT] NULL
2010-07-28 16:14:20 +00:00
dimitr
60763936ac
Fixed the second part of the problem described in CORE-2933: Very slow execution of a script that creates a lot of metadata.
2010-05-17 09:58:45 +00:00
asfernandes
d6e4b53865
Misc
2010-05-08 02:25:58 +00:00
skidder
c84d62d82e
Fix CORE-2988. Concurrent transaction number not reported if lock timeout occurs
2010-05-04 17:29:44 +00:00
asfernandes
4763533669
Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
...
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
alexpeshkoff
88b8a40a04
1. Cleaned up most of SUPERSERVER usage.
...
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())
2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).
3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
asfernandes
e1ba33a2ae
Fix problem of the system transaction storing pointer to random or already deallocated attachment. Full build (or kind of) required.
2010-04-02 21:48:15 +00:00
hvlad
521f7a5cbc
Fixed bug CORE-2879 : Sweep could raise error : page 0 is of wrong type (expected 6, found 1)
2010-02-22 11:09:59 +00:00
robocop
3b5a0fdae5
The way AccessItem instances were ordered was a hack that sooner or later would fail when adding more object types (that now have ACLs but we still don't enfornce them). Further, comparing numbers is faster than comparing strings.
2010-02-13 08:31:16 +00:00
dimitr
4c4a77a4fe
Refactored SQZ into a class. Fixed all the SCHAR* pointers to be UCHAR* + appropriate cleanup.
...
Make the interface and internals friendly to any byte sequence, even the one longer than 32K.
2010-02-12 12:53:06 +00:00
robocop
656dcdb1a5
Got rid of some casts. Please double check it as it's critical for data. The only trick seems to be taking the value of a byte as a signed char, so it can become negative.
2010-02-12 11:29:51 +00:00
robocop
753f914fb1
CORE-2858: Possible memory trashing when raising some exceptions to signal failed security checks. Thanks Dmitry.
2010-02-12 11:22:22 +00:00
robocop
1d87d749f0
Misc.
2010-01-26 08:20:27 +00:00
asfernandes
2faab16698
Misc
2010-01-21 02:51:32 +00:00
hvlad
258f322f67
Avoid possible deadlock in VIO.
2010-01-19 18:41:44 +00:00
hvlad
abdfa188d5
Preserve record's flags when gathering record from fragments. Its used in prepare_update() to check if primary record was backed out.
2010-01-19 18:38:52 +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
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
534b8c020e
Misc
2009-12-25 19:29:58 +00:00
dimitr
ea23c03133
PSQL functions (security).
2009-12-25 12:58:06 +00:00
dimitr
cd6f04ffb2
Corrections.
2009-12-25 10:49:53 +00:00
dimitr
cb4d798aca
Corrections.
2009-12-25 09:50:35 +00:00
robocop
f3091483ca
Misc.
2009-12-25 04:41:10 +00:00
dimitr
33155c65b7
An alternative way to assign auto-generated metadata IDs while restoring a database. It doesn't require system triggers.
...
If nobody objects, I will migrate procedure/exception/generator IDs to this approach and then redo my system triggers cleanup.
2009-12-24 15:41:39 +00:00
dimitr
6e1f8db753
Metadata cache support for PSQL functions.
2009-12-24 14:15:21 +00:00
dimitr
debe65bcfb
Support for PSQL functions (other JRD changes). Still work in progress.
2009-12-21 17:43:01 +00:00
robocop
00c5d74904
Cleanup.
2009-12-13 13:49:43 +00:00
dimitr
11495a55fb
Refactored the whole RSB stuff into classes. They're inside the /recsrc sub-directory now.
...
Fixed the layering for WITH LOCK and (partially) ANY/ALL predicates.
Cleaned up the outdated code that never worked (mapping DISTINCT to an index, some VMS remainings).
Wiped out a lot of the pre-ODS11 optimizer logic. Some minor adjustments there.
Re-implemented the full outer join from scratch. This resolves CORE-2678 (full outer join cannot use available indices).
Resolved CORE-2796: DB_KEY is always zero for external tables.
Implemented the core part of the scrollable PSQL cursors. Implementation is still incomplete, but ready for testing.
Some other changes I don't recall at the moment ;-)
WARNING! The engine may be unstable. Please email me about any issues found.
2009-12-09 18:45:44 +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
2ffcc8b2ce
Style.
2009-11-25 04:06:48 +00:00
asfernandes
13e1546a70
Misc
2009-11-21 00:10:16 +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
asfernandes
79caf4e326
Improve efficiency and error reporting of CORE-1180
2009-11-11 15:12:56 +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
asfernandes
a52967acfb
Misc
2009-10-29 14:39:50 +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
90dfb9a411
Misc
2009-09-30 01:10:11 +00:00
alexpeshkoff
b19dacee16
Ported fix for CORE-2634: Performance regression when restoring database with big metadata
2009-09-29 10:35:16 +00:00
robocop
17cefa486e
Comments.
2009-08-21 08:54:56 +00:00
robocop
bb83e70cfe
Isolate even more the scrollable cursors-related code.
2009-06-22 08:45:38 +00:00
asfernandes
26c1892310
Misc
2009-06-20 18:46:59 +00:00
hvlad
e0a9bd88d9
Initialize variables before it could be used.
...
GCC complains about potential use of not initialized variables : if exception occurs "goto gc_exit" will bypass initialization.
2009-06-19 13:34:06 +00:00
robocop
3c65def766
- Better input type for SQZ_decompress plus a bit of style.
...
- Txn state is int.
- Some internal data is better handled as plain int.
2009-06-14 12:19:32 +00:00
robocop
ad1621c0e5
Style.
2009-06-13 05:40:47 +00:00
robocop
6e1ec65c25
Misc.
2009-06-10 14:09:39 +00:00
hvlad
643a6f933b
Undo huge and not friendly fix for Sun compiler
2009-06-10 12:11:53 +00:00
robocop
bfcf6a699d
Missing rpb_page/rpb_line changes and misc.
2009-06-10 10:50:45 +00:00
alexpeshkoff
cf14a23b6f
Fixed Sun compiler build
2009-06-10 10:09:01 +00:00
robocop
2d7cb94844
Unused params
...
Some BLR checks
2009-04-28 13:08:04 +00:00
robocop
888000e21e
Unused function params.
2009-04-26 10:24:44 +00:00
asfernandes
f6f364da49
Trim trailling spaces
2009-04-04 16:39:31 +00:00
hvlad
062a1a2216
Fixed bug CORE-2397 : If you drop two different indexes within the same transaction, you get database corruption
2009-03-30 08:40:19 +00:00
robocop
fab6a3a6cf
Get rid of superflous parentheses.
2009-02-28 11:57:40 +00:00
alexpeshkoff
40e2f7f892
Fixed transactions support in user management commands
2009-02-19 12:59:32 +00:00
hvlad
115602ff06
Trace services support
2009-02-01 22:10:12 +00:00
robocop
3689f15321
Style.
2009-01-20 08:33:59 +00:00
robocop
21bb7f3d20
Style.
2009-01-03 09:14:29 +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
asfernandes
5a85277726
Misc
2008-12-25 14:25:01 +00:00
robocop
762d7e1392
Style.
2008-12-25 06:09:37 +00:00
robocop
2fadc0e456
Style.
2008-12-22 09:00:05 +00:00
robocop
e63b46bb9c
There's no need to check whether a pointer is null before applying delete or delete[].
2008-12-21 03:50:29 +00:00
robocop
e0bc2dd4f5
Style.
2008-12-19 11:12:28 +00:00
robocop
e4650d5027
Promote thread_data* as function argument. Only exception where both tdbb and dbb were left together as arguments is nbak.cpp's call to CCH_rollover_to_shadow to avoid any side effect in the changed code, but anyway, that function calls SDW_rollover_to_shadow that takes the dbb from the tdbb and not explicitly.
2008-12-14 09:28:25 +00:00
robocop
d39690fbff
Style (and let lines grow up to 100 columns).
2008-12-04 09:29:16 +00:00
asfernandes
3dcddd6ed5
Misc
2008-11-30 02:23:01 +00:00
dimitr
e0db5f3ecd
Splitted the undo log into two parts: in-memory one for initial undo items (but they're much more dense now) and on-disk (cached up to TempSpaceLimit) one for full record versions (used in update-in-place).
...
This dramatically reduces the memory usage for bulk updates, thus solving CORE-1575 (serious memory bug on multiple update a table in a single transaction) and CORE-1477 (Avoiding excessive memory consumption by undo-log after series of updates) and predicting out-of-memory conditions that could often lead to record-level corruptions.
2008-10-14 10:32:54 +00:00
alexpeshkoff
e79f55708d
1. Cleanup - use Firebird::Semaphore instead of local events, removed code
...
related with local events from isc_sync.cpp.
2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().
3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).
4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).
5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
asfernandes
28e3a05434
Misc
2008-10-09 01:05:13 +00:00
dimitr
d58aa84877
Misc.
2008-10-08 11:58:17 +00:00
dimitr
a73d0c72ea
Misc.
2008-09-02 07:31:07 +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
hvlad
53f21b34c8
Fixed bug CORE-1970 : Lock conversion denied (215) error may occurs
2008-07-17 12:49:19 +00:00
asfernandes
1442725a4a
Fixed CORE-1986 - Altering domains name drops dependencies using the domain
2008-07-15 15:41:43 +00:00
roman-simakov
a9203adf92
Patch from Alexander Potapchenko for improvement foreign key handling. Now one can reference to key fields of active record when they are not changed.
2008-06-30 12:23:48 +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
dimitr
fe2e2ed3a3
Fixed CORE-1958: Bugcheck 179 (decompression overran buffer) when attempting to update the same record multiple times.
2008-06-24 18:24:46 +00:00
hvlad
422338e5e3
Lock att_mutex in Attachment's constructor
2008-05-08 07:45:19 +00:00
dimitr
0a9e8c8382
Implemented CORE-1751. The changes include:
...
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
hvlad
a8d9303dc7
Restore att_mutex blocking logic as prior commit broked EXECUTE STATEMENT. Add extra mt protection in cancel_attachments.
2008-05-04 21:24:33 +00:00
hvlad
9280a572a0
Avoid long blocking of att_mutex and make sure it is always released when attachment deleted.
...
Move active requests cancellation at engine shutdown from Y-valve into engine and let them stop execution before deletion of attachments.
Make sweep run in separate thread despite of engine architecture.
2008-05-04 12:49:29 +00:00
asfernandes
8d04f25fb3
Misc
2008-04-30 01:42:09 +00:00
hvlad
b04aa77f13
Fixed bug CORE-1830
2008-04-28 09:35:10 +00:00
asfernandes
f0299cfb29
Misc
2008-04-03 01:11:26 +00:00
hvlad
37a03b26b8
Split TDBB_deferred flag by two separate flags as its used for two different purposes now
2008-04-02 13:46:29 +00:00
robocop
3e724a9286
Misc.
2008-03-18 13:02:21 +00:00
asfernandes
493a6eab3c
Misc
2008-03-17 02:00:16 +00:00
alexpeshkoff
d3ec37bba0
Fixed CORE-1770: Bugcheck 291 in DDL
2008-03-16 17:10:41 +00:00
dimitr
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
97d0692180
Cleanup. Done separately in case bad behavior happens.
...
Notice you can't safely assume SCHAR is signed char since Mike Nordell made it a synonym for plain char that's compiler-dependent.
SCHAR is defined in both types_pub.h and fb_types.h.
2008-03-10 09:42:48 +00:00
robocop
30b4021b88
Pass thread_db* since it's available from the caller.
2008-03-08 11:33:57 +00:00
hvlad
7d54298dea
Fixed CORE-1775 : Improve performance of security checking
2008-03-06 13:13:31 +00:00
robocop
4c3381ef6b
Style, constness and macro cleanup.
2008-02-03 10:41:44 +00:00
dimitr
a38b327886
Cleanup. Get rid of the JrdMemoryPool.
2008-01-29 10:11:52 +00:00
dimitr
43594ed53a
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 13:17:19 +00:00
dimitr
ae692fc319
The merge continued.
2008-01-16 10:17:51 +00:00
asfernandes
37d3c84da2
Misc
2007-12-17 23:58:42 +00:00
hvlad
025a8d13cc
Fixed unregistered bug : wrong record number calculation in garbage collector thread
2007-12-17 12:15:36 +00:00
dimitr
d276641cc8
Fixed CORE-1610 and its subtask CORE-1615.
2007-12-10 07:18:54 +00:00
alexpeshkoff
eea9070f48
Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster
2007-12-03 15:46:39 +00:00
dimitr
6d8033f146
Fixed the server crash that appeared after a recent restore.epp commit by Nickolay.
...
Now a domain can be altered while not being linked to a particilar relation yet.
2007-10-31 12:00:16 +00:00
robocop
fa1538a1ae
Minor changes in MetaName usage.
2007-08-26 09:05:29 +00:00
asfernandes
a568843ccd
Fixed CORE-1395 - Few problems with domains's check constraints
2007-08-04 02:11:07 +00:00
alexpeshkoff
e5f1e63836
Fixed CORE-1312: A remote attacker can check, if a file is present in the system, running firebird server
2007-06-08 10:24:57 +00:00
alexpeshkoff
6d2eee93f3
Fixed CORE-885 - impossible to take away rights on update of a column
2007-05-11 09:24:57 +00:00
asfernandes
9582ea243c
1) Upgrade INTL interface to undestand misc. configuration informations
...
2) Make our ICU collations work with different ICU versions (tested with ICU 3.6)
2007-04-15 15:57:12 +00:00
asfernandes
2100a06c84
Make MOV_move know how to move blobs.
...
This fixes CORE-1147: Blobs are not converted to string in UDF parameters.
2007-03-02 00:46:03 +00:00
robocop
9475e6b3e5
Fix for CORE-1142.
...
Someone hijacked my little function dfw_should_know() for more purposes than it was intended and thus the original logic was defeated.
:-)
2007-03-01 13:20:08 +00:00
robocop
d009be834f
Misc.
2007-02-09 08:34:16 +00:00
asfernandes
61f90ea1ae
Misc
2007-01-06 23:50:32 +00:00
dimitr
95ff778078
Restored the old code that reused savepoints and verbs instead of re-allocating them. In practice it shows about 7-8 percents of time economy during restore. My hopes that our memory manager can handle it efficiently failed.
2007-01-06 10:18:20 +00:00
dimitr
83c7f38229
Fixed CS build.
2007-01-06 06:52:43 +00:00
asfernandes
5db5421a66
Misc
2006-12-30 16:55:06 +00:00
hvlad
d32901c9f8
Implement improvement CORE-1071 : background garbage collector don't need to read backversion of active record
2006-12-28 12:33:57 +00:00
asfernandes
659d23e6ab
Report number of concurrent transaction when raising update_conflict
2006-12-17 21:03:41 +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
dimitr
543fc5e0d1
Enabled rescheduling points for classic. It allows to shutdown database or cancel operation timely for a heavy loaded attachment.
2006-10-31 15:59:23 +00:00
robocop
8e7e781e5f
Partial commit with some cleanup and more constants.
2006-10-10 06:41:36 +00:00
dimitr
988782a96a
1) A new class to handle aggregated multi-level performance counters.
...
2) Cleanup and minor fixing.
3) A few monitoring changes.
2006-10-07 10:53:01 +00:00
robocop
4a5313037b
Misc.
2006-10-07 09:52:14 +00:00
awharrison
e913a10676
Normally, deleted records are represented by a stub which has no
...
data so should not be used for VIO_data calls when building the
version chain. Under some circumstances, however, the deleted
flag is set on a complete record version with a delta back version.
When that happens, the record should be retrieved
2006-10-06 17:09:58 +00:00
asfernandes
e19c81c212
Misc
2006-09-02 02:44:50 +00:00
aafemt
e6151fd57f
Warnings
2006-09-01 10:51:57 +00:00
robocop
7fced64a88
Misc.
2006-08-30 04:54:44 +00:00
asfernandes
fcac437363
Don't check procedure BLR when it's marked as invalid, to allow restoration of backups with invalid procedures.
2006-08-27 01:09:47 +00:00
hvlad
2ecb3ccff6
Fixed CORE-902: server crashed removing old record version if record format was changed and new format have a greater length
2006-08-18 14:30:09 +00:00
robocop
471d052e82
Misc.
2006-08-13 06:46:16 +00:00
asfernandes
e538061c38
Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations
2006-08-07 16:39:21 +00:00
asfernandes
50cae9632b
Misc
2006-07-12 01:38:41 +00:00
robocop
4c0b816568
CORE-847
...
Deleting dependencies for fields that WERE computed.
2006-07-11 04:57:28 +00:00
dimitr
0b7e4c9812
Misc.
2006-05-31 12:04:55 +00:00
hvlad
8e14bc4f1e
Move relation stuff from jrd.h\vio.cpp into new Relation.h\Relation.cpp
...
by request of Claudio and Dmitry
2006-05-30 13:29:24 +00:00
hvlad
4e20ada751
Move jrd_rel::getPages into jrd.h to make it inline not only in vio.cpp. Noted by Adriano
2006-05-29 07:41:11 +00:00
hvlad
64f6714f2d
Optimize jrd_rel::getPages a bit
2006-05-28 11:54:54 +00:00
robocop
3fa49e994b
Style and typo correction.
2006-05-26 05:19:48 +00:00
asfernandes
1dcdd0d3ca
Misc
2006-05-25 03:15:53 +00:00
robocop
c4c5b05894
Misc.
2006-05-24 09:28:22 +00:00
hvlad
99e5d1dbcf
Removed unneeded if. Noted by Claudio
2006-05-24 08:29:57 +00:00
asfernandes
7bfbe63f82
Misc
2006-05-24 03:03:52 +00:00
dimitr
211645e3dc
Getting rid of the old allocator routines.
2006-05-23 10:17:00 +00:00
hvlad
701f2cbda4
Global temporary tables implementation
2006-05-21 22:07:35 +00:00
alexpeshkoff
b056a118b5
1. Avoid use of STL
...
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
dimitr
5331015d9b
Threading cleanup. More to follow.
2006-04-30 17:03:26 +00:00
dimitr
b93f103c49
Fixed SF #1475979 : Dropping and recreating a table in the same txn disables PK.
2006-04-30 04:51:10 +00:00
robocop
c5f2284b15
Style.
2006-04-06 08:18:53 +00:00
hvlad
b4f5cb5972
Fixed Beta2 bug reported in Russian newsgroup : AV when dropping FK
...
with inactive index. Style
2006-03-17 07:56:57 +00:00
alexpeshkoff
74b7418943
we should not loose status vector held in status_exception
2006-03-15 17:25:49 +00:00
asfernandes
244ea016b0
Fix SF Field-test #1439268 - Sequence of commands crash FB server - second part - thanks to Claudio
2006-03-10 00:26:20 +00:00
asfernandes
fa5b4613cb
Fix SF field-test #1439268 - Sequence of commands crash FB server
2006-03-04 18:24:04 +00:00
robocop
1f84bac700
Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc.
2006-02-23 05:08:26 +00:00