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

52 Commits

Author SHA1 Message Date
hvlad
4bfeec5432 Fixed CORE-898: uininitialized variables cause a crash in alice.cpp / common_main 2006-08-16 09:08:58 +00:00
alexpeshkoff
ded5cc2c49 cleanup 2006-06-06 10:34:32 +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
robocop
4685b945e1 Misc. 2006-04-04 22:48:29 +00:00
alexpeshkoff
85c5ad885f return error in case of unexpected status_exception 2006-03-15 17:27:53 +00:00
dimitr
7a343b8162 Moved the Services API into the engine on threadable platforms. 2005-08-10 14:47:42 +00:00
hvlad
ec60e195c5 Fixed SF bug #1242106 (FB 2.0 Alpha 3: In-Limbo transaction Services API broken) 2005-07-24 15:32:53 +00:00
aafemt
7fbf5b39e4 Supress warning 2004-10-27 10:54:25 +00:00
alexpeshkoff
edf58bab73 Fixed my bug in alice. Also some style changes and cleanup. 2004-09-01 14:51:33 +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
brodsom
76a2f98d90 -Put thread functions into thread class
-Comment SVC_PUTSPECIFIC_DATA
2004-07-03 02:33:46 +00:00
brodsom
a80f2ee39b Put thread functions into thread class 2004-07-02 10:02:46 +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
brodsom
a799e5f44b -Use C++ struct declaration style. 2004-05-24 17:22:35 +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
877cce340b - Convert *_thread_data macros to inline func 2004-05-20 00:56:59 +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
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
e0854daa99 Removing ib_stdio.h 2004-04-28 22:00:03 +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
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +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
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
brodsom
abe35ef6fe -Remove unneeded setjmp header 2003-11-18 12:39:12 +00:00
robocop
cda707bd36 const correctness and other related changes 2003-11-01 10:26:43 +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
robocop
8182b6cba2 const correctness and other tasks 2003-10-16 08:51:06 +00:00
brodsom
6d38ffe912 Style 2003-09-22 08:49:45 +00:00
brodsom
a93ae54602 -Macro cleaning.
-remove FB_FROM_ALICE_CPP, it is unused (set_thread_data is only used in alice.cpp) and contains uncompilable code inside.
2003-09-18 10:56:32 +00:00
brodsom
bdac17190c Clean a bit services interface
- Include service entrypoint in each proto file and remove from it the private function common to service and standalone. (burp, alice and gsec)
- Replace functions output_svc/output_thread/output_netware with SVC_output callback common for all. (burp, alice and gsec)
- Create typedef pfn_svc_output common for all svc, and correct SVC_read_ib_log and thread_test to be compatible with pfn_svc_output typedef. (svc.cpp)
- Put inside an ifdef code for '-svc_re' switch (in all sources).
2003-09-15 13:13:45 +00:00
brodsom
7c7c2758dc BOOLEAN cleaning 2003-09-10 17:52:12 +00:00
brodsom
8db51e6eba Remove unneeded extern C 2003-09-08 01:51:41 +00:00
aafemt
4584a7ce47 removing word 'struct' from variable declarations as obsolete 2003-08-27 10:20:07 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
aafemt
b3436b5cd7 STATUS -> ISC_STATUS 2003-04-10 06:32:58 +00:00
brodsom
2d2a2282e4 Remove __cplusplus 2003-02-14 02:11:10 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
alexpeshkoff
8f04fd8e3b Cleanup of mixed use of macro FRBRD and struct why_hndl 2003-01-12 18:16:50 +00:00
alexpeshkoff
ba3e53f7be Don't include internals of struct why_hndl where it is not required. 2003-01-03 12:52:39 +00:00
alexpeshkoff
3217d2c812 Rename all links to why.cpp handle to struct why_hndl * 2002-12-16 15:16:32 +00:00
eku
507b9c86c8 Do not redefine MAXPATHLEN. Always use the value supplied by the operating
system (header files).
2002-11-06 07:08:49 +00:00
tamlin
e48b2468d7 MemoryPool work 2001-12-28 05:16:31 +00:00
tamlin
21241f30a0 cleaning up 2001-12-25 07:57:04 +00:00
tamlin
d9bcba4800 cleaning up 2001-12-25 04:53:56 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00
skywalker
4c4bc9a95c Global changes for new Makefile and firebird2 compile on linux 2001-07-29 23:43:24 +00:00