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

63 Commits

Author SHA1 Message Date
alexpeshkoff
6809f624fc Remote cleanup:
1. Avoid ALLR memory allocation routine (use new / delete).
2. Use common (TypedHandle) class to control consistency of handles.
3. Make ctors and dtors work - in most cases more work is needed to make them meaningful.
2008-03-24 15:28:38 +00:00
asfernandes
4762e049ee Misc 2008-03-14 02:50:40 +00:00
hvlad
4115317607 Make remote module thread-safe, remove THREAD_EXIT\THREAD_ENTER from it, refactor server code and some cleanup. To be continued. Please check posix builds. 2008-03-11 14:11:32 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
f25819fb19 The merge continued. 2008-01-16 07:55:28 +00:00
hvlad
2b47bbe55b Revert files back after wrong commit 2007-11-19 00:21:18 +00:00
hvlad
86f1141328 Execute statement with support of external data source 2007-11-18 22:59:20 +00:00
hvlad
0593719f67 Additional patch for CORE-1310 : Got "request synchronization error" when calling isc_dsql_sql_info with isc_info_sql_records parameter after last record fetched 2007-06-09 11:06:59 +00:00
hvlad
a3757ab602 Fixed CORE-1310 : Got "request synchronization error" when calling isc_dsql_sql_info with isc_info_sql_records parameter after last record fetched 2007-06-08 12:41:18 +00:00
hvlad
88671bf258 Correct error handling for deferred executed statements 2007-05-17 13:03:57 +00:00
robocop
b776f1f19c Minor corrections. 2007-04-03 08:18:11 +00:00
hvlad
2c10b3ff92 Implement one more LazyPort feature : defer op_execute packet when it possible 2007-04-01 21:42:40 +00:00
asfernandes
a150855ef8 Misc 2006-12-09 01:23:17 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
asfernandes
df37723a48 Misc 2006-05-02 01:32:41 +00:00
robocop
07f4bed382 I don't want another "interprete", so I rename "defered" to "deferred". 2006-05-02 00:04:12 +00:00
hvlad
f94b8bd641 Merge B1_5_Remote_LazyPort branch into HEAD 2006-05-01 22:23:31 +00:00
alexpeshkoff
a6151c44c9 Fixed SF bug 1385092 2006-03-03 16:20:42 +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
dimitr
7ca955e43a Minor cleanup. 2006-02-04 10:37:15 +00:00
skidder
55c4e0ac85 CLIENT_ADDRESS and NETWORK_PROTOCOL variables support 2004-11-26 01:01:27 +00:00
robocop
273665c953 ipserver is being deleted. Update source files. 2004-10-03 07:04:44 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
brodsom
b9b39b630e -Rollback 2004-06-09 18:23:27 +00:00
brodsom
3d09805eab -C++ struct declaration style. 2004-06-08 18:41:33 +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
bf56ba0a45 -Inlining of *_thread_data macros.
-Solving another case of variable name = struct name.
2004-05-21 15:22:19 +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
606dee7a14 Correction 2004-05-18 00:45:46 +00:00
brodsom
36d6d40469 Macro cleaning 2004-05-17 10:22:34 +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
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
robocop
f81e60ed78 More cleanup. Get rid of obsolete files, too. 2004-03-30 08:37:07 +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
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
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
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
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +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
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
skidder
30d8ca94f2 Fix SuperServer 1-minute lock-up under contention bug.
With previous logic all spare threads were notified and performed
expensive loop on each request arrival. New logic wakes up only
one thread per request. (the same fix was performed in 2.0 SS lock manager
to avoid waking up all blocked threads on each lock request resolution).
As an (unexpected) result of this changes SS performance significantly
improved. Some artificial tests show timing improvements by
factor between 2 and 3.
2003-09-16 20:59:45 +00:00
brodsom
65d792cda0 -BOOLEAN cleaning 2003-09-11 18:59:34 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
aafemt
931da98b2f STATUS -> ISC_STATUS 2003-04-10 10:31:28 +00:00
alexpeshkoff
b8610ddefe Finished y-valve C++ conversion cleanup 2003-01-22 16:37:59 +00:00
dimitr
fba5c08f2f XNET support on win32. Untested. 2003-01-19 12:18:24 +00:00