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
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
skidder
c64f31b712
Fix some warnings from GCC/Linux build. Some of them were subtle errors
2004-03-12 07:00:52 +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
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
skidder
f13d160aa5
Fix resource leak for recursive procedures when procedure request is closed at
...
SUSPEND statement. This leak prevented more then 1000 such operations for one connection.
This bug was reported by Claus Holst
2004-01-10 01:48:46 +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
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
robocop
84062732d8
More cleanup
2003-12-03 08:19:24 +00:00
skidder
16ea16b085
Fix invariant tracking in recursive procedures and when invariants
...
depend on variables. This solves issues like SF#627057.
2003-11-23 20:17:30 +00:00
dimitr
7455c77e4d
Fixed IF handling in the looper.
2003-11-23 17:39:38 +00:00
brodsom
c5253ae8a5
-Replace gds__ constants with isc_ contants
...
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
dimitr
63809c18b8
1) Make view fields unconditionally updatable
...
2) Make views updatable only directly or via the triggers
3) Cleanup
2003-11-09 09:51:02 +00:00
brodsom
89e8f89f86
Extern "C" cleaning
2003-11-06 03:03:36 +00:00
robocop
35396625f5
const correctness
...
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
dimitr
a78ded3338
no message
2003-11-02 12:05:38 +00:00
dimitr
9b20660785
1. Fixed GDSCODE and SQLCODE variables
...
2. Enhanced ROW_COUNT variable
3. Fixed EXCEPTION statement
4. Added explicit cursor internals
5. Some cleanup
2003-11-02 11:55:17 +00:00
robocop
480c1ee968
const correctness
2003-10-08 08:42:48 +00:00
skidder
c89eff0436
Fix bug in savepoints support introduced by Dmitry a few RCs ago
2003-10-01 12:51:23 +00:00
brodsom
9d5721473a
Removing SHLIB_DEFS
2003-09-22 17:56:35 +00:00
brodsom
382cd1c45e
Code cleaning
2003-09-08 01:45:09 +00:00
brodsom
8624a7c209
-Use NULL instead 0 for null pointers
...
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
dimitr
ace547ee98
Fixed broken savepoint handling in BREAK/LEAVE/EXIT.
...
The bug caused to logical database corruption/inconsistency, such as PK/UK violation, or BUGCHECK(287).
2003-08-30 16:43:16 +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
e401cb40c7
-Fix cast warnings
...
-Fix signed/unsigned comparison warnings
2003-08-09 20:58:34 +00:00
dimitr
b671c2639d
A bit corrected GDSCODE handling + minor cleanup.
2003-08-04 07:20:35 +00:00
alexpeshkoff
44bc8419ed
fixed bug with tdbb_transaction, overwritten in EXE_unwind
2003-07-14 13:21:07 +00:00
dimitr
6c36c2c400
Fixed error handling in the looper.
2003-06-28 09:32:46 +00:00
dimitr
5eaf6394d1
Some savepoint-related changes:
...
1. release single savepoint
2. fixed exception handling
2003-06-26 10:44:16 +00:00
alexpeshkoff
fa3c980179
fixed diagnostic in EXECUTE STATEMENT & DirectoryList
2003-06-16 15:43:00 +00:00
dimitr
112c7022b6
Fixed (hopefully) savepoints implementation:
...
1) RELEASE SAVEPOINT statement is added
2) SAVEPOINT statement now re-establishes existing savepoint with the same name
3) all savepoint stuff is changed to use single BLR verb
2003-06-10 13:40:19 +00:00
skidder
b79a5aa971
Fix metadata cache problem that prevented restore of some databases
2003-06-01 16:22:47 +00:00
dimitr
9b871075a1
We should never treat numeric NULL as zero. Always check for req_null flag.
2003-05-27 15:44:55 +00:00
dimitr
414206c2d0
Fixed bug with incorrect handling of numeric NULLs as exception messages.
2003-05-26 15:45:29 +00:00
alexpeshkoff
b69e76cb3a
Use transaction pool for storing rpb chains.
...
Bug in commit, which I tried to fix using permanent pool here,
was caused by another reason and already fixed.
2003-05-22 16:59:49 +00:00
alexpeshkoff
f9e867a94f
Fixed bug with wrong req_attachment after exception in procedure
2003-05-14 08:24:49 +00:00
alexpeshkoff
1896baa4ab
Fixed bug with NULL argument
2003-05-13 12:04:22 +00:00
alexpeshkoff
6943275bcc
Moved pre-(modify,erase)triggers code to single inline function
2003-05-05 11:47:45 +00:00