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

218 Commits

Author SHA1 Message Date
brodsom
9dbe1e64fe -Remove casts unneeded after macro cleaning 2004-05-14 18:43:34 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
a549091c94 - Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
5cf9fdfc90 Removing ib_stdio.h 2004-04-28 22:43:34 +00:00
alexpeshkoff
7b27fa55be fixed number problems after lls to Stack conversion 2004-04-21 14:14:36 +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
abdbec6f84 Switch to Firebird container templates for request resource tracking. This significantly reduces CPU time any memory consumption for databases with complex metadata 2004-04-18 02:50:38 +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
skidder
1f43b5f762 Oops. Somebody renamed CMP_clone_active function. 2004-04-10 03:56:34 +00:00
skidder
fde6d89d54 Small safety fix for new modify_procedure logic 2004-04-10 03:30:01 +00:00
alexpeshkoff
7059385772 string cleanup, also fixed problem with DROP VIEW 2004-03-31 17:59:58 +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
e9843be258 Jim Starkey's fix for random-crash-or-restore problem which Claudio introduced
into Firebird codebase some time ago.
This fix probably needs to be backported to B1_5_Release.
2004-03-25 19:27:18 +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
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
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
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
robocop
2fa67d46bc Cleanup
Reduce reinterpret and C casts
Fix isql so it can show all predefined blob types in readable form.
2004-02-24 05:34:44 +00:00
skidder
14bfcc7019 Fix build after Claudio cleanup 2004-02-21 09:24:14 +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
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
hvlad
3502b4e025 Added support for default parameters 2004-01-16 12:59:16 +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
b54621057b Fixing wrong indentation, nothing else. 2004-01-04 04:41:56 +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
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
8b3a486eea 1) Implement separate algorithm of procedure dependency tracking for
procedure modification case. This significantly decreases database restore
times for schemas using lots of procedures calling each other and using tables
with many triggers.
2) Enable metadata cache logging for PROD_BUILD because it has importance,
actually
2003-12-06 02:58:22 +00:00
robocop
b02c629735 Cleanup
Some name changes
Try to fix SINIX-Z problems with send() prototype
2003-12-05 10:35:47 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
dimitr
54c59554dd Fixed bugs related to metadata cache and database shutdown. 2003-11-27 11:39:10 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
brodsom
ff070a16a8 Replacing assert with fb_assert 2003-11-03 23:59:24 +00:00
skidder
745f116ac7 Fix one more problem in cyclic metadata dependency handling code 2003-11-03 21:33:10 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
brodsom
2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
skidder
235db035ce Ok, i'm joining Firebird destruction team with my cleanup:
1. Bring trace DSQL, DYN and BLR trace logging up-to-date
2. Remove redundant CSB pointer dereferences in BLR parser and request compiler
3. Convert RIGHT JOIN to LEFT JOIN early during BLR parsing
4. Check BLR syntax for unititalized contexts usage
5. Some type-safety and const-correctness fixes
2003-09-28 21:36:05 +00:00
robocop
484c6ec372 Cleanup, const correctness, variables in scope, etc.
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +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
daf2d5ff2c -Fix cast warnings
-Fix signed/unsigned comparison warnings
-Fix format warnings
-Add MinGW 3.0 rc header
2003-08-09 21:15:32 +00:00
brodsom
c50093593e Rollback generated metadata headers 2003-08-03 23:54:39 +00:00
brodsom
49a86dde7d Move physical io to os specific 2003-07-14 10:35:49 +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
alexpeshkoff
b65c58fe6b fixed AV in fbserver when JRD_PRC::prc_request == 0 at commit time 2003-06-30 13:11:40 +00:00
alexpeshkoff
fa3c980179 fixed diagnostic in EXECUTE STATEMENT & DirectoryList 2003-06-16 15:43:00 +00:00
skidder
b79a5aa971 Fix metadata cache problem that prevented restore of some databases 2003-06-01 16:22:47 +00:00
alexpeshkoff
2fe62fadf0 Make engine compile again with MSVC 2003-05-19 06:57:08 +00:00
skidder
524fc1a641 Fix up lock manager. Clean AST invocation. Fix type of lrq_flags to match its value. Backout my logic for fast deadlock detection as it breaks engine in several places 2003-05-16 20:35:19 +00:00
aafemt
19bb54f2a8 STATUS -> ISC_STATUS 2003-04-10 06:49:16 +00:00
dimitr
8aa6b39a9a Fixed error in the previous commit. 2003-02-24 15:37:15 +00:00
dimitr
14f69cdf98 Fixed one more problem with the metadata cache. 2003-02-24 15:19:20 +00:00
dimitr
171766b859 Fixed SEGV implicitly caused by one of recent Blas' commits. 2003-02-20 14:51:05 +00:00
brodsom
17632bddca Remove warnings 2003-02-20 00:10:25 +00:00
dimitr
1dcf79e065 Cleanup and bugfixing. VIO statistics now work properly. 2003-02-19 15:25:27 +00:00
eku
1043039c35 Removed lots of compiler warnings. 2003-02-18 10:00:22 +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
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
89bd581fc2 Fixed reference to released and freed blob. 2003-02-05 15:13:10 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
skidder
6c6b1f7297 Fix for crash during procedure alteration 2002-12-24 18:14:49 +00:00
alexpeshkoff
a812da6fea Removed pSCHAR - not needed any more. 2002-12-22 13:08:50 +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
dimitr
0aba65c659 Fixed renaming issue. 2002-12-02 10:29:02 +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
f16b1925bf Roll back part of my previous change 2002-11-16 20:59:41 +00:00
skidder
a3a9e0a8c6 Roll back part of my previous change 2002-11-16 20:20:44 +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
skidder
62e80d6abc Better cache dependency tracking for procedure modification 2002-11-14 13:39:02 +00:00
skidder
a7dbd576c8 Fixed procedure dependency tracking problem in MET_clear_cache 2002-11-14 12:16:50 +00:00
skidder
0de64618d2 Fixed MET_clear_cache error that prevented restore of many databases 2002-11-14 09:17:35 +00:00
skywalker
166ff6f924 Changes to make some NOD entries now XXX_NOD as per module (assume this
is part of Ignatio's change).
Change to define xdr_hyper when it's available locally.  (The standard
#include file rpc/xdr.h is not included and the definition needs to be
in remote/xdr_proto.h for some reason).
2002-11-12 05:05:01 +00:00
skidder
9ad0af7ed4 Stored procedures are no longer recompiled before deletion 2002-11-04 15:12:34 +00:00
tamlin
3bd6d4173c Fixed gds__vtov to use native char type, and const correct. 2002-11-03 22:26:52 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
tamlin
fb3cfa85da const correctness etc 2002-10-29 16:27:47 +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
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
48b2de2760 Fixed my own dropped procedure handling error 2002-09-30 19:19:30 +00:00
skidder
5757abc383 Fixed possible coredump while dropping procedure and in some other cases 2002-09-30 18:24:56 +00:00
skidder
83f57c1275 Fixed FB1/FB2/IB6 possibility of deferred database corruption (just reported or rarely real) when deleting foreign constraint 2002-09-30 14:21:34 +00:00
skidder
c5d0cb8984 Fixed one more DDL coredump 2002-09-28 20:58:40 +00:00
skidder
0518ca14a3 Fix several mostly DDL-related coredumps and locking failures 2002-09-27 22:59:24 +00:00
skidder
040bd8e499 Fixed some memory leaks 2002-09-26 18:13:02 +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
6a6bcb7389 Fixed lack of member variable initialization. 2002-09-24 08:05:55 +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
eku
da93f6697f Autoconf enhancements:
o autoconf v2.53 and later is now required to generate configure
   (sorry, but it makes many tasks easier)
 o improved tests for mmap, socklen_t and offt_64
 o added tests for atexit, on_exit, (v)fork, set(p)grp, setpgid and flock
 o added test for the keyword 'volatile'
 o fixed errors in configure.in
 o updated config.h.in and autoconfig_msvc.h (the latter may be incorrect)
 o replaced VOLATILE by volatile
 o removed SETPGRP and ATEXIT
 o replaced NO_FLOCK by HAVE_FLOCK
 o SIG_FPTR cleanup
 o vfork cleanup
2002-09-11 11:30:50 +00:00
dimitr
b36015e6e9 - allowed user-defined index names for PK/FK/UK constraints
- fixed ugly hardcoded name checks for primary/foreign keys
- implemented RECREATE VIEW statement
2002-09-01 15:49:03 +00:00
skywalker
350b251820 Changes to get compiling on linux (post fb1 changes). 2002-07-05 15:00:26 +00:00
skywalker
dae9189129 Changes for rebuild of fb2. 2002-07-04 09:34:20 +00:00
skywalker
82d8017317 Merged change from fb1. 2002-07-01 16:59:09 +00:00
dimitr
c5f50577cb 1. New system variables - CONNECTION_ID and TRANSACTION_ID
2. Universal triggers
2002-06-14 12:09:37 +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
bellardo
ac132b16af Fixed bug (c++ porting error, bug not present in FB1) that prevented most views from working. 2002-04-01 00:03:52 +00:00
tamlin
2a3a320010 Cleanup and bugfixing 2002-03-31 00:40:08 +00:00
seanleyne
8e93b8a859 Code cleanup, removed old Win3.1 port from routines I missed the first time 2002-02-24 16:39:31 +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
e48b2468d7 MemoryPool work 2001-12-28 05:16:31 +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
bellardo
6681f4852e More changes to convert FB2 to c++. This time is files that have been renamed
and some conflict resolutions on files edited by more than one person at once.
2001-07-12 06:32:05 +00:00