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
asfernandes
92cd427bbd
Misc
2006-05-23 03:37:00 +00:00
alexpeshkoff
2eca860afb
fixed gcc warnings
2006-05-22 10:41:32 +00:00
hvlad
701f2cbda4
Global temporary tables implementation
2006-05-21 22:07:35 +00:00
dimitr
04e1c432d2
Misc.
2006-05-01 04:42:10 +00:00
dimitr
afa0f666b8
Threading cleanup. More to follow.
2006-05-01 04:12:30 +00:00
dimitr
bece02f7e8
Threading cleanup. More to follow.
2006-04-30 18:15:30 +00:00
dimitr
61bd8dbc05
Threading cleanup. More to follow.
2006-04-30 17:49:32 +00:00
dimitr
8f9d2584db
Threading cleanup. More to follow.
2006-04-30 17:40:24 +00:00
dimitr
4d903bc32c
Removed unused code. When MT-safe logic is done, we should use native classes instead of wrappers anyway.
2006-04-30 17:30:11 +00:00
alexpeshkoff
469589f573
Use Firebird::Array instead of STL's vector
2006-04-25 17:49:24 +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
robocop
044c5841ad
Misc.
2006-02-10 03:28:43 +00:00
robocop
2011950972
The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
...
Ninth step: while doing cleanup, I discovered some data members that aren't used anymore or that should be inside conditional code. This is the result.
2006-02-03 02:28:58 +00:00
robocop
25c08aea67
The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
...
Eighth step: dbb_refresh_ranges belongs to the obsolete functionality and since it's never set but tested in cch.cpp with two AND, the whole condition will be always false, hence remove the code.
2006-02-02 07:57:36 +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
8975ef292a
The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
...
Fourth step: remove forward declarations of classes Bookmark and RefreshRange. More to come.
2006-02-01 22:45:35 +00:00
alexpeshkoff
e85ee26ade
fixed gcc warning(s)
2006-01-18 10:43:13 +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
b144b0267d
Enlarged dsql and jrd hash tables sizes
2005-11-21 23:52:11 +00:00
hvlad
9d6b361f69
Eliminate unnecessary JRD_get_thread_data call in nbak.
...
Checked against B2_0_BV_Stable3 branch
2005-11-21 23:33:20 +00:00
dimitr
0af3a3f462
Fixed one of the server shutdown bugs. More to come.
2005-07-24 18:48:45 +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
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
aafemt
0091cb5124
Fix warnings
2005-05-14 04:39:17 +00:00
alexpeshkoff
5729790ed6
1. Applied class MetaName
...
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
dimitr
4ec439dd14
1) Deliver trigger type to the compiler level
...
2) Disallow NEW context assignments for POST-triggers
2005-03-28 21:52:55 +00:00
robocop
7084912c3d
We are only asking for information, so use const.
2005-01-25 06:40:00 +00:00
robocop
24742873ad
fb_string.h is moved to common/classes.
2004-12-17 05:41:47 +00:00
alexpeshkoff
752be8fbcb
removed fault comment
2004-12-01 07:38:02 +00:00
alexpeshkoff
49aab40955
1. rewritten flu.cpp using modern firebird classes library
...
2. fixed diagnostic about missing/unusable UDF module
2004-11-29 11:15:09 +00:00
skidder
55c4e0ac85
CLIENT_ADDRESS and NETWORK_PROTOCOL variables support
2004-11-26 01:01:27 +00:00
alexpeshkoff
f762abf547
applied fixes, suggested by Claudio
...
made get_options method of class DatabaseOptions
2004-11-25 16:09:12 +00:00
skidder
35ddab28fb
Implement Claudio suggestion regarding clean generic map class
2004-11-24 20:48:59 +00:00
robocop
d6535351a2
Misc: style.
2004-11-24 09:22:07 +00:00
skidder
9507cf9714
Context variables support
2004-11-22 20:22:03 +00:00
skidder
1e26d6c80d
CURRENT_DATABASE implementation. Established identity may also be used for isc_info_db_id datum
2004-11-11 05:37:52 +00:00
hvlad
ffb640e22a
Removed unneeded method as Nickolay suggested
2004-11-10 13:32:17 +00:00
hvlad
aba34753cb
Add config file parameter for the garbage collection policy
2004-11-09 12:59:37 +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
dimitr
feb6b7e006
Replaced non-centralized datetime management with a new class.
2004-10-30 19:41:54 +00:00
robocop
31ba754981
After talking to Ann, decided to disable several items:
...
- obsolete items like WAL and JOURNAL (cleaned in the past)
- crud from attempts never finished like the shared cache manager for Classic
- DSQL nodes that aren't used. This allowed freeing some keywords.
The functionality was disabled by commenting the code. No code has been deleted.
2004-10-03 04:49:04 +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
robocop
432f4b4376
Bye WAL macro
2004-09-27 11:50:28 +00:00
arnobrinkman
3a5cec7e97
1) Add filename and linenumber to loginformation for ERR_BUGCHECK
...
2) Fix some index bugs and little refactoring
2004-09-24 00:11:32 +00:00
alexpeshkoff
c3db4aaa97
added (and used in sources) template to change and restore default pool
2004-08-30 18:11:08 +00:00
skidder
478a252e70
Fix memory corruption issue in SuperServer builds noted by Valgrind
2004-08-17 02:02:21 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
hvlad
d82cde309e
Ability to show PSQL stack trace when exception occurs.
2004-08-06 15:26:55 +00:00
skidder
f4e7ebdd3b
Implement rudimentary framework to track lifetimes of active BLOBs.
...
This solves the following issues:
1) Outrageous memory consumption when blobs are converted from strings during request processing
2) Materialization doesn't cause invalidation of BLOB IDs too early.
Original behaviour caused errors with updatable views or procedures receiving BLOB arguments.
2004-06-22 20:13:10 +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
alexpeshkoff
2f99a5ebf1
small strings cleanup
2004-05-26 16:12:05 +00:00
robocop
ea1c5245d3
Restore jrd.h to buildable state in DEBUG mode.
2004-05-26 04:53:05 +00:00
brodsom
64c1dee04e
-Use C++ struct declaration style.
2004-05-24 17:31:47 +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
brodsom
f4ca41fa3d
-Replace *_thread_data macros with inline functions (jrd step 1)
2004-05-22 14:28:54 +00:00
brodsom
372c3de67d
-Replace & remove unneeded threading macro in jrd.h
...
-Move more threading selection to firebird.h
-Replace POSIX_THREADS with USE_POSIX_THREADS
2004-05-22 02:11:56 +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
robocop
802f244ec1
Misc changes
2004-05-09 05:48:33 +00:00
brodsom
62a4b10c22
-Replace define with const
...
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
brodsom
ee861d41ec
Corrections suggested by Claudio
2004-05-03 22:42:47 +00:00
brodsom
2add5b1f60
-Unify 3 srq implementations and move it to que.h
...
-Remove duplicated lock constants between jrd.h and lock.h (naming fix and srq move outside lock.h was prerequisites for this change)
2004-05-03 17:36:27 +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
skidder
8bb5ed0e96
Fix problem with 64-bit SS NPTL builds
2004-04-20 05:57:31 +00:00
alexpeshkoff
ce0d00e9f6
struct trig moved to class Trigger
2004-04-19 15:29:29 +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
skidder
eb1ae27de8
Small metadata cache cleanup
2004-04-10 19:46:48 +00:00
skidder
535b479522
Doing memset on a class with fields having destructors is generally a bad idea
2004-04-10 19:03:42 +00:00
alexpeshkoff
4650f4975f
string cleanup
2004-03-31 18:03:51 +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
f26d84f76b
1. POSIX build libraries export only public API. 2. Unify exports for PROD_BUILD and DEV_BUILD. 3. Support for context memory pools. 4. Memory manager has lower memory overhead exceptionally on 64 bit targets
2004-03-25 23:12:50 +00:00
aafemt
4b99822fc9
Right headers include sequence
2004-03-24 11:06:22 +00:00
alexpeshkoff
1e6c7b18e9
fixed problem with loop in includes
2004-03-22 11:38:23 +00:00
dimitr
ca273c2d58
Minor cleanup.
2004-03-21 09:34:30 +00:00
alexpeshkoff
94d2f698e2
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
*** posix build fixes ***
2004-03-20 15:45:12 +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
aafemt
fea9b18dce
reorder initializers to satisfy gcc
2004-03-19 11:21:59 +00:00
robocop
958f9e31aa
Cleanup
...
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +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
2cab4e99f0
replaced str with Firebird::string (or Parhname) in Database and attachment
2004-03-14 13:34:43 +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
skidder
8fada883a4
Fix problem in non-Linux/FreeBSD/WIN_NT SuperServer builds
2004-02-29 06:15:19 +00:00
skidder
2c4fe73bd4
Implement new shutdown modes (single-user and full shutdown). Tested on Linux/AMD64 CS and SS
2004-02-25 01:50:40 +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
hvlad
3502b4e025
Added support for default parameters
2004-01-16 12:59:16 +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
ad0b5c4de3
General cleanup
2003-12-22 10:00:59 +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
skidder
e0ecc4583c
Finish fixing class/struct inconsistencies. Firebird now builds using MSVC2003
2003-11-30 19:13:42 +00:00
skidder
e7a6f60ef9
Begin fixing class/struct inconsistencies. This work is a part of task to make Firebird build using MSVC2003
2003-11-30 02:12:48 +00:00
skidder
3f6091bc7b
Begin fixing class/struct inconsistencies. This work is a part of task to make Firebird build using MSVC2003
2003-11-30 01:59:34 +00:00
dimitr
54c59554dd
Fixed bugs related to metadata cache and database shutdown.
2003-11-27 11:39:10 +00:00
bellardo
c8128359a8
Fix a memory management bug that resulted in sporadic crashes when disconnecting
...
from a database.
2003-11-20 21:53:07 +00:00
brodsom
75990d1903
Correction
2003-11-18 13:46:27 +00:00
brodsom
abe35ef6fe
-Remove unneeded setjmp header
2003-11-18 12:39:12 +00:00
brodsom
79e5ff02dd
Extern "C" cleaning
2003-11-06 17:57:01 +00:00
brodsom
9b7fa0c186
Correction (Replacing assert with fb_assert)
2003-11-04 00:21:40 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
robocop
cda707bd36
const correctness and other related changes
2003-11-01 10:26:43 +00:00
eku
43cb9107eb
exp -> jrd_exp
...
Style
2003-10-30 14:29:06 +00:00
stryqx
b40bb07bb1
Progress the SuperServer build on FreeBSD 5.x
2003-10-29 06:07:22 +00:00
aafemt
9657ce9a98
Only unix superserver uses long jump
2003-10-03 10:14:05 +00:00
brodsom
30f79b34f8
-Cleaning headers
2003-09-15 16:32:22 +00:00
brodsom
7fb0cd648d
-Replace NULL_TDBB, NULL_DBB with NULL
2003-09-01 11:08:30 +00:00
dimitr
61a1c1ebb6
Added attachment timestamp (to support future extentions)
2003-08-26 07:20:33 +00:00
aafemt
8798a33d84
ENUM removal
2003-08-22 10:56:55 +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
aafemt
19bb54f2a8
STATUS -> ISC_STATUS
2003-04-10 06:49:16 +00:00
brodsom
2862c2a74a
- Remove unsigned-signed comparison warnings.
2003-04-02 12:01:43 +00:00
skidder
8fbe3f2d29
Fix up the reason of slowdown of Windows CS
2003-03-24 14:41:42 +00:00
brodsom
01141efa30
Use V4_THREADING explicitly instead and remove empty defined macros. This change try to make clear V4_THREADING use.
2003-03-24 13:35:37 +00:00
brodsom
0ea65e2b4a
Change gds_assert to fb_assert (gds_assert is a synonym for fb_assert)
2003-02-28 15:17:50 +00:00
dimitr
1dcf79e065
Cleanup and bugfixing. VIO statistics now work properly.
2003-02-19 15:25:27 +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
dimitr
c11ec94f4f
Enabled generic support for the database encryption. The key part of the feature is still protected by the macro. Proven to work on win32.
2003-02-09 10:05:07 +00:00
brodsom
7c8d130501
Change non FW mode time measure, from oldest_unflushed_write to last_flushed_write.
2003-02-05 23:32:32 +00:00
brodsom
95934e47bd
Non forced writes mode, move logic to cch, add dbb mutex, and rollback changes in ail.cpp, pio.h, pio_proto.h, unix.cpp and winnt.cpp
2003-02-05 20:43:01 +00:00
dimitr
06f78764b3
Fixed major memory leaks.
2003-01-20 11:10:30 +00:00
skidder
884c38d6c4
Memory manager changes - added memory usage stats, empty extents are now deallocated
2003-01-18 21:45:24 +00:00
dimitr
fd2f852e49
Cleanup.
2003-01-18 19:39:12 +00:00
skidder
ba5e11b15c
Integrate new memory manager into the engine
2003-01-16 17:47:10 +00:00
hippoman
9a8f0768b9
Changed struct fld and FLD to local module names
2002-11-30 17:45:02 +00:00
hippoman
7387e6fb70
changed nod,tra,req,trg,rel,ctx,prc struct names to local module names
2002-11-20 23:18:16 +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
5a712a4fee
Fixed restore problem for databases having views that use procedures AND are used by procedures. General procedure metadata related cleanup.
2002-11-16 18:48:01 +00:00
seanleyne
0b82f4aa07
Removed obsolete "Netware" port
2002-10-30 06:40:58 +00:00
seanleyne
cc1f10d9a3
Code cleanup, removed obsolete "DecOSF" port
2002-10-29 03:17:45 +00:00
eku
0c1b55dd08
Code cleanup:
...
Since we already have the define ISC_STATUS_LENGTH for the the length of
the status vector, we should use it! Replaced 'status[20]' with
'status[ISC_STATUS_LENGTH]'.
Replaced the different symbolic names for the maximum length of a path
(MAX_PATH, MAX_PATH_LENGTH, MAXPATHLEN) with one uniq symbol MAXPATHLEN.
2002-10-24 09:01:44 +00:00
stryqx
ee9fb4e427
Add FreeBSD support.
...
This allows me to compile CS on FreeBSD 4.7 using gcc 3.2.1.
2002-10-12 04:16:32 +00:00
skidder
ebdcd20d06
Fixed resource leaks in DDL recursive procedure handling which caused some DDL to fail
2002-10-04 22:08:43 +00:00
skidder
0518ca14a3
Fix several mostly DDL-related coredumps and locking failures
2002-09-27 22:59:24 +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
bellardo
c3a3381a6e
Fixed the "typename" error message. The fix involved adding the typename
...
keyname to a declaration. It is possible that older compilers don't support
typename, so in the future we may have to use autoconf to detect compiler
support.
2002-09-24 17:53:32 +00:00
bellardo
684c2efbf7
Fixed an infinite recursion problem with the new compilation delayed triggers.
2002-09-23 17:18:22 +00:00
bellardo
dfe98160bd
Fixed an order of operations error in the first dbb destructor implementation.
2002-09-22 19:08:33 +00:00
bellardo
33e0d91f8a
Patch a rather large dbb memory leak created during the c++ porting.
2002-09-22 17:25:46 +00:00
skidder
b374caac68
Deferred user trigger compilation added. Solves some, but not all DDL issues and speeds things up
2002-09-19 16:02:58 +00:00