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
asfernandes
5959391572
Don't allow to drop indices used in explicit plans inside SPs/triggers
2006-02-19 21:16:45 +00:00
robocop
2b99e764e3
The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
...
Sixth step: remove the places protected by the macro PC_ENGINE. More to come. (I guess all of you who have pending functional changes to post will love this commit. <g>)
2006-02-02 07:32:07 +00:00
robocop
c2fe7385ab
The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
...
Second step: remove them from #include clauses in other files. More to come.
2006-02-01 08:55:43 +00:00
dimitr
e1e2dafa84
1) Replaced TEXT* with MetaName& in SCL.
...
2) Fixed SF #1396017 .
2006-01-03 15:47:56 +00:00
robocop
f00fc0ff56
1.- Make "vec" type safe and get rid of several code contortions. Fix some small bugs meanwhile.
...
2.- Put inside PC_ENGINE several data members that belong to that feature.
3.- Put inside PC_ENGINE the code that does cleanup on those unused data members.
2005-12-02 07:35:34 +00:00
hvlad
cf990361db
Fixed FB2 regression
2005-10-31 07:28:40 +00:00
hvlad
0f8e1ad170
Fixed AV in notify_garbage_collector
2005-10-20 13:03:33 +00:00
hvlad
ba9daa4f43
1. Proper fix to "can't find record fragment" bug occured when user
...
transaction back out record modified by system transaction
2. Restore gc_thread's ability to collect garbage in system tables
2005-10-16 11:36:41 +00:00
robocop
8fe83cfaae
Putting, deleting or changing the comment on an index shouldn't cause the index to be rebuilt. The logic was applied previously to user generators only. To be reviewed by Dmitry.
2005-09-27 07:46:44 +00:00
hvlad
c104f1b23d
Fixed two DFW bugs
...
1. Unregistered FB2 bug - expression index dependencies was tracked not correctly.
2. SF #1250150
2005-08-02 11:41:37 +00:00
hvlad
0bc1c4bf49
1. Allow to create FK constraints without exclusive database locking
...
2. Fix 'partner index not found' error when one process dropped FK and another trying to delete master record
3. misc changes in vio.cpp
2005-06-26 21:48:47 +00:00
dimitr
894fa1e011
Removed unused thread scheduling option.
2005-06-12 06:27:12 +00:00
robocop
3aaa840483
Misc.
2005-05-22 03:11:41 +00:00
robocop
70f8556174
Indentation.
2005-05-03 05:41:07 +00:00
dimitr
e296380ddf
Fixed GBAK -kill dropping existing shadow.
2005-05-02 17:22:16 +00:00
dimitr
3cca73bdb0
Corrected the returned error code.
2005-04-25 19:45:26 +00:00
dimitr
f52b89dbe8
1) Made RefetchRecord a public routine
...
2) Use it in EXE to avoid code duplication
3) Some alphabetical code movement
2005-03-27 15:01:56 +00:00
hvlad
2c9fbae58f
Attempt to fix bug "cannot find record fragment"
2005-03-26 11:43:52 +00:00
hvlad
869f5d7420
Temporary disable precise PK\FK constraints checking logic
2005-02-01 15:02:40 +00:00
robocop
8d4b89723f
Welcome to paranoid programming.
2005-01-25 06:33:07 +00:00
robocop
1718ae5a45
Misc.
2004-12-26 04:09:06 +00:00
skidder
0b2694416c
Fix GCC build
2004-11-15 04:06:32 +00:00
hvlad
679c2a7f28
Corrected typos pointed by Claudio
2004-11-11 10:21:55 +00:00
robocop
cf0c42f971
Misc.
2004-11-10 05:19:20 +00:00
hvlad
aba34753cb
Add config file parameter for the garbage collection policy
2004-11-09 12:59:37 +00:00
robocop
e5be73b048
Misc: extra semicolons do not help. :-)
2004-11-07 10:47:20 +00:00
robocop
77571e4c69
1.- Extra unneeded semicolons are being garbage collected.
...
2.- Style: sepate params by space, type for<space>(, etc.
2004-11-06 07:20:44 +00:00
hvlad
4d95ce3d42
New garbage collector thread implementation
2004-11-05 08:01:21 +00:00
robocop
41c68bdd70
Implement rdb$description in rdb$generators. What a chore.
2004-10-30 05:23:31 +00:00
robocop
5bb9225de4
Style and typo.
2004-10-20 00:16:25 +00:00
hvlad
59029fb3e7
More precise check for primary key\unique\foreign key constraints. Code for expression indexes will be commited soon.
2004-10-18 14:46:41 +00:00
dimitr
421f259a4e
1) Locks related cleanup
...
2) Got rid of TRA_nowait + transaction waits related cleanup
3) Return isc_lock_timeout when it's necessary
TODO: Enhance SET TRANSACTION
2004-10-07 09:15:32 +00:00
skidder
2ce8ec6f11
Report lock manager error code to the user when pessimistic lock conflict is encountered. This change fixes a problem with deadlock reporting for pessimistic locks so it should be backported to B1_5_Release
2004-10-07 06:15:09 +00:00
hvlad
1ef59c9ab2
Fix errors after RecordBitmap introduced
2004-09-30 14:35:50 +00:00
skidder
85297ac45a
Fix MSVC7 builds
2004-09-28 21:50:10 +00:00
skidder
02a0915156
Teach engine to work with larger record numbers - 64-bit internally, 40-bit externally
2004-09-28 06:28:38 +00:00
alexpeshkoff
c3db4aaa97
added (and used in sources) template to change and restore default pool
2004-08-30 18:11:08 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
robocop
a19dadb269
1.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h, second round.
...
2.- Prevent users from deleting system generators and modifying any entry in rdb$generators. VIO passes the task to DFW, the only problem being that the user gets the error when a commit is done, not before.
2004-07-06 05:59:40 +00:00
robocop
949830d0c6
1.- const correctness
...
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
robocop
338461d030
Style: separate functions by at least one line
2004-05-29 04:57:55 +00:00
alexpeshkoff
9a34ce553c
make bool (isEmpty/hasData) checks for string and stack safe
2004-05-27 16:26:52 +00:00
brodsom
81d54f25a1
-Replace *_thread_data macros with inline functions (finish) Now each provider/service uses inline functions with different names for each one instead of macros with the same name for all (which collide)
2004-05-24 01:03:41 +00:00
brodsom
bed146ad19
-Replace *_thread_data macros with inline functions (jrd step 2)
2004-05-23 03:18:10 +00:00
robocop
441817bd82
1.- Misc changes
...
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
brodsom
68cb86b274
- Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
...
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
df4aa2ec66
Macro cleaning (use ini.h instead repeating the macros)
2004-05-18 16:40:20 +00:00
brodsom
b76a60e8b7
Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build)
2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20
Macro cleaning (THREAD_*)
2004-05-15 00:58:46 +00:00
brodsom
6ec150ac00
-Avoid gcc -pedantic warnings
2004-05-14 19:20:01 +00:00
brodsom
9dbe1e64fe
-Remove casts unneeded after macro cleaning
2004-05-14 18:43:34 +00:00
robocop
802f244ec1
Misc changes
2004-05-09 05:48:33 +00:00
brodsom
208ad29774
Unused macro
2004-05-04 19:23:13 +00:00
skidder
e9f8ef102e
Fixes needed to make GCC 3.4 happy
2004-05-03 04:25:06 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
2f4865a195
Replace defines for constants
2004-04-29 14:51:02 +00:00
brodsom
5cf9fdfc90
Removing ib_stdio.h
2004-04-28 22:43:34 +00:00
alexpeshkoff
fe46856d1e
use NULL pointer instead of temporal empy Stack - noticed by Claudio
2004-04-22 14:49:16 +00:00
alexpeshkoff
7b27fa55be
fixed number problems after lls to Stack conversion
2004-04-21 14:14:36 +00:00
alexpeshkoff
045e9dc8ec
1. removed any mentions of blk_pool() from engine (and method itself)
...
2. replaced 'struct lls' with 'template Stack'
2004-04-18 14:22:27 +00:00
robocop
faa41f7b3b
Cleanup
2004-03-30 04:10:52 +00:00
robocop
1824343930
Cleanup.
...
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
skidder
4b2f300942
Add warning about bad code
2004-03-25 07:00:31 +00:00
alexpeshkoff
1e6c7b18e9
fixed problem with loop in includes
2004-03-22 11:38:23 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
f58c769c37
Cleanup. In geeky words:
...
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
alexpeshkoff
67f1740fea
Various cleanup to make engine compile and work after mentioned earlier changes.
...
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
robocop
2ab1f94dd2
Cleanup
...
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
robocop
5c3c8abd9a
Big cleanup.
...
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
robocop
663e3b16e7
Cleanup
2004-02-02 11:02:12 +00:00
robocop
2b295a9108
General cleanup. Sorry if I missed some occurrence.
2004-01-28 07:50:41 +00:00
skidder
08eee5ebaa
Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static.
2004-01-21 07:18:30 +00:00
robocop
b441cd9aef
Cleanup
2004-01-13 09:52:19 +00:00
robocop
06a4df3708
A requiem for JOURNAL and WAL.
...
Instructions in the list.
2004-01-06 10:33:18 +00:00
robocop
fd93837ec3
Cleanup:
...
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
dimitr
9f83a2f252
Minor addition to one of my previous changes.
2003-12-22 18:03:18 +00:00
robocop
ad0b5c4de3
General cleanup
2003-12-22 10:00:59 +00:00
dimitr
9a24b23947
Get rid of the free block lists. Our memory manager handles it better.
2003-12-13 10:42:10 +00:00
robocop
d020ea5ca1
ping-pong cleanup: change one place and you have to change several others
2003-12-11 10:33:30 +00:00
brodsom
abe35ef6fe
-Remove unneeded setjmp header
2003-11-18 12:39:12 +00:00
brodsom
89e8f89f86
Extern "C" cleaning
2003-11-06 03:03:36 +00:00
robocop
cda707bd36
const correctness and other related changes
2003-11-01 10:26:43 +00:00
brodsom
8624a7c209
-Use NULL instead 0 for null pointers
...
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
6a2ef35fda
-Remove NULL_PTR
...
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:16:03 +00:00
aafemt
8798a33d84
ENUM removal
2003-08-22 10:56:55 +00:00
brodsom
7840ed8217
-Fix cast warning in a recent commit (Please review the warnings before commits)
2003-08-19 11:10:05 +00:00
skidder
b05dc24810
Forward port removal of artificial index number limitation from 1.0.3.
...
Fix bug in dbb_max_idx calculation. Do not port GC and metadata versioning
changes as they seem very dangerous to me.
2003-08-18 21:13:56 +00:00
skidder
143f8d2443
Implementation of fast physical incremental backup
2003-08-06 16:30:49 +00:00
brodsom
ab9e5e8fa5
Rollback generated metadata headers change
2003-08-03 23:26:51 +00:00
brodsom
49a86dde7d
Move physical io to os specific
2003-07-14 10:35:49 +00:00
brodsom
32787c51c1
Adding generator for fields.h, relations.h, ids.h and names.h
2003-07-12 20:13:22 +00:00
brodsom
66725d4a77
Move fields.h, relations.h and names.h to include/gen, generator will follow
2003-07-12 13:24:30 +00:00
skidder
91e889d0f4
Fix problem in explicit locking logic implicitly noted by Ann Harrison
2003-07-11 22:39:14 +00:00
alexpeshkoff
188e9e5d03
fixed bug, submitted to fb-devel by Cosmin Popa <cosmin@aplix.ro>
...
after execution of pre-(update/delete) triggers, non-existent deadlock
was raised, conflict was with version, created by current transaction
2003-06-18 08:08:07 +00:00
dimitr
7d9f0821c3
Rolled back previous bugfix due to found side-effects. Still looking for a correct solution.
2003-05-26 08:18:33 +00:00
dimitr
595bfffa27
Fixed GC code to avoid [quite frequent] index corruptions.
2003-05-10 13:05:26 +00:00
dimitr
29191e1195
1. Cleanup
...
2. Fixed bug with wrong record statistics when operation fails after a VIO call
(e.g. constraint violation or exception in post-triggers)
2003-05-04 15:39:42 +00:00
aafemt
e5146fd644
Introduce of ISC_STATUS_ARRAY
2003-04-16 10:18:51 +00:00
aafemt
19bb54f2a8
STATUS -> ISC_STATUS
2003-04-10 06:49:16 +00:00
brodsom
b674d5ac89
Avoid signed unsigned comparisons
2003-04-03 18:43:08 +00:00
brodsom
5750478e39
Correct formats
2003-04-03 13:46:35 +00:00
brodsom
f76755974d
Correct formats
2003-04-01 17:58:19 +00:00
dimitr
46fd65228a
Cleanup.
2003-03-25 09:51:52 +00:00
skidder
8fbe3f2d29
Fix up the reason of slowdown of Windows CS
2003-03-24 14:41:42 +00:00
skidder
8888b9e7f9
Add comment
2003-03-02 20:48:55 +00:00
skidder
221a6a5bbb
VIO undo log now uses B+ tree to store savepoint record data.
...
This improves performance when doing multiple updates of record in
a single transaction just a little (usually 2-3 orders of magnitude for 100000 records)
2003-03-02 20:07:32 +00:00
skidder
30e2531ad3
Fixed bug with dates in comments. I lost track of time for a while... :)
2003-03-02 13:37:33 +00:00
skidder
682267933d
Fixed database corruption when backing out the savepoint after large
...
number of DML operations (so transaction-level savepoint is dropped)
and record was updated _not_ under the savepoint and deleted under
savepoint. Bug affected all kinds of savepoints (explicit, statement,
PSQL, ...)
2003-03-01 20:37:38 +00:00
dimitr
01ad3c5cd0
1) Some cleanup.
...
2) Problem with the GC thread during detaching seems to be fixed.
2003-02-24 13:53:06 +00:00
dimitr
1dcf79e065
Cleanup and bugfixing. VIO statistics now work properly.
2003-02-19 15:25:27 +00:00
dimitr
67749f906b
Fixed exception handling.
2003-02-13 13:33:57 +00:00
dimitr
b096a2593d
CONST -> const
2003-02-13 10:11:35 +00:00
arnobrinkman
df77c6ad3a
Stripped implementation of events used by garbage_collection() & cache_writer() procedures.
...
This will fix known delay with connecting/disconnect on at least WinXP.
Also are the connecting/disconnecting delays while debugging in MSVC6 gone.
2003-02-12 22:57:57 +00:00
eku
a7f18b2e31
Removed "register" variables from the source code. It's up to the compiler
...
to hold variables in CPU registers.
2003-02-10 13:28:35 +00:00
dimitr
feecd18030
Some changes related to aliases.
2003-01-18 16:44:01 +00:00
alexpeshkoff
80f2592983
1. Don't include internals of struct why_hndl where it is nit required.
...
2. CONST fixup in why.cpp & flu.cpp.
2003-01-03 12:49:59 +00:00
alexpeshkoff
894dd86478
My code cleanup to standard style
2002-12-22 14:19:12 +00:00
alexpeshkoff
dbfef25568
Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *)
...
Fixed bug #625899 - bugcheck 291
2002-12-16 16:25:10 +00:00
eku
5b8ffd81c2
Removed unused variables.
2002-12-10 11:53:53 +00:00
skidder
5187fa6c44
Added configuration parameter to enable older parameter ordering behavior
2002-12-03 13:37:06 +00:00
skidder
ef47c491bf
Fixed little bug in explicit locking implementation
2002-11-19 17:02:51 +00:00
skidder
53f625e077
New explicit pessimistic locks implementation. It is logically consistent in all TPB modes and should be very fast.
2002-11-18 20:27:24 +00:00
hippoman
4a76e9e4fe
change TRA,REQ,TRG,REL,CTX or PRC, to module local names.
2002-11-17 00:13:59 +00:00
skidder
9ad0af7ed4
Stored procedures are no longer recompiled before deletion
2002-11-04 15:12:34 +00:00
skidder
d6ae24865d
Reworked savepoint stuff a little
2002-11-03 17:29:51 +00:00
seanleyne
0b82f4aa07
Removed obsolete "Netware" port
2002-10-30 06:40:58 +00:00
skidder
8e6622a20e
Merging changes from skidder branch - explicit locks, savepoints, build system changes
2002-10-29 20:20:44 +00:00
dimitr
c9245eedee
Rolled back my bugfix. It does solve the mentioned problem, but introduces much more additional (unexpected) pain.
2002-10-18 13:41:53 +00:00
dimitr
1ae3fa7078
Fixed one reason of the well-known "decompression overran buffer" error.
2002-09-29 15:44:11 +00:00
skidder
f13732128d
Fixed nasty memory corruption problem which caused server to crash quasi-randomly under high load (seems to be very old bug)
2002-09-26 18:14:43 +00:00
skidder
6d64014e57
Changed engine to store source file name/line number information for EVERY allocation when DEBUG_GDS_ALLOC is defined. All allocation should be done using FB_NEW or FB_NEW_RPT macros instead of keyword new since now
2002-09-25 17:12:16 +00:00
dimitr
865ed30606
Fixed a typing error in my bugfix <g>.
2002-08-22 10:16:46 +00:00
dimitr
c2a135cd0c
More careful (and proper) implementation of my yesterday's bugfix.
2002-08-22 08:34:46 +00:00
skywalker
d89b1a0842
Changes to make fb2 compile super version for linux
2002-07-29 15:37:59 +00:00
skywalker
af3c8b2b30
porting changes from fb1.
2002-07-01 15:07:18 +00:00
bellardo
773836f1b1
Finished removal of setjmp/longjmp code, and fixed a handful of FB1->FB2
...
porting bugs.
2002-04-04 07:10:40 +00:00
skywalker
a887af3646
Changes to make it compile on linux.
...
and work through a few issues.
2002-01-04 11:34:22 +00:00
tamlin
c3312c5650
Cleaning up
2001-12-29 10:09:02 +00:00
tamlin
80f7fb6dd4
New C++ memory pool
2001-12-24 02:51:06 +00:00
skywalker
365a7fe19c
Changes to compile fb2 under autoconf includes some structural changes
2001-07-29 17:42:23 +00:00
awharrison
baa3485651
read only databases are supported unconditionally in fb2
2001-07-10 17:35:13 +00:00
tamlin
9a776a604e
First steps towards a C++ conversion.
2001-05-23 13:26:42 +00:00