dimitr
7bea958551
Removed the unused file.
2005-08-31 13:19:23 +00:00
alexpeshkoff
dfe04f6635
Fixed signal safety problems in SS shutdown
2005-08-29 15:00:15 +00:00
dimitr
0ce1d52f3e
Slightly changed (mostly cleaned up and fixed) the SS shutdown mechanics.
2005-06-24 11:14:51 +00:00
dimitr
054af913ae
Fixed possible event handler crashes during detach.
2005-05-31 16:10:15 +00:00
dimitr
6d333a5af5
Fixed bug introduced 1.5 years ago.
2005-05-06 13:15:32 +00:00
alexpeshkoff
db5c130d72
Make EACCES non-fatal when setting TCP_NODELAY
2005-04-29 17:03:46 +00:00
robocop
d0115322ac
Misc.
2005-04-18 03:24:34 +00:00
alexpeshkoff
808422abaf
fixed windows build
2005-04-14 17:06:14 +00:00
alexpeshkoff
504ec492ab
Shutdown SS without SYSDBA password
2005-04-11 15:33:18 +00:00
kkuznetsov
633ec5fd26
Fix my error which breaking non posix things
2005-04-06 13:02:13 +00:00
robocop
46e96a4f8e
Style.
2005-04-05 06:47:17 +00:00
kkuznetsov
d983edd500
Temporally block assertion on Solaris platform to go testing
2005-04-04 12:57:10 +00:00
kkuznetsov
438005440f
Allow setting TCP_NODELAY socket option in Classic Server
...
and make if default true on both arhitecture.
2005-04-04 12:54:34 +00:00
robocop
86492a7b36
Simplify B.O. protection.
2005-03-26 05:02:09 +00:00
alexpeshkoff
e62caf14c8
fixed 2 BOFs, cleanup
2005-03-23 10:32:28 +00:00
alexpeshkoff
b9ec5835b4
fix gcc warning
2005-03-20 13:55:21 +00:00
aafemt
8eeb34967b
no more THD_* stuff in client
2005-03-10 10:23:52 +00:00
dimitr
9efa04ae30
Fixed improper loopback connection via XNET.
2005-03-09 16:26:41 +00:00
alexpeshkoff
f4cd5a154f
Changed name to security2.fdb
2005-02-24 12:24:38 +00:00
dimitr
d1c94854e3
Allow XNET connections from the same process (e.g. from UDFs).
2005-02-03 14:07:31 +00:00
robocop
446088ab7b
Fix recent commit by Frank. I cannot compile to verify.
2005-01-29 09:22:36 +00:00
fsg
dbee2f3c8c
get it built again
2005-01-27 13:19:16 +00:00
robocop
e7bd3ca440
Misc.
2005-01-19 08:54:51 +00:00
dimitr
7d371a8959
Disable XNET for the embedded server.
2005-01-18 21:45:56 +00:00
dimitr
03cfc7c237
Changes and cleanup regarding XNET vs old-style IPC.
2005-01-16 12:35:27 +00:00
dimitr
f49849da03
Changes and cleanup regarding XNET vs old-style IPC.
2005-01-16 12:20:09 +00:00
dimitr
b37a6f707a
Changes and cleanup regarding XNET vs old-style IPC.
2005-01-16 11:25:18 +00:00
aafemt
cf54708af3
Fix fearful warning
2005-01-13 07:31:17 +00:00
alexpeshkoff
80e0be646b
1. fixed AV during SS shutdown on NT
...
2. removed duplicated WSACleanup() call
2005-01-11 10:08:30 +00:00
robocop
bd0af404fd
Misc.
2004-12-28 05:21:00 +00:00
alexpeshkoff
c5445c969b
user_id clumplet cleanup
2004-12-26 13:48:01 +00:00
robocop
1718ae5a45
Misc.
2004-12-26 04:09:06 +00:00
robocop
4012106884
Misc.
2004-12-25 09:44:03 +00:00
robocop
d65307b497
Style.
2004-12-24 08:52:39 +00:00
robocop
41b75cdf60
Misc.
2004-12-23 03:03:13 +00:00
alexpeshkoff
1a680fd13f
front-ported one of the latest changes of 1.5.0
2004-12-19 16:29:23 +00:00
robocop
342a5afcc6
Misc.
2004-12-17 06:22:37 +00:00
robocop
d2b91e9446
Minimize forced casts.
2004-12-17 05:56:04 +00:00
robocop
24742873ad
fb_string.h is moved to common/classes.
2004-12-17 05:41:47 +00:00
robocop
2814294027
Misc.
2004-12-16 03:03:13 +00:00
robocop
f550ca480f
Misc.
2004-12-09 02:53:19 +00:00
robocop
014d90ff59
Misc.
2004-12-08 04:12:26 +00:00
robocop
af6a16107a
Misc.
2004-11-30 06:18:39 +00:00
skidder
0e68abffbf
Address the security issue in remote address handling code pointed by Claudio. Hack REMOTE server-side exception handling to make it not crash when exceptions actually happen. The latter seems to be the very old problem, in IB6 code looks the same
2004-11-29 04:39:20 +00:00
robocop
bb170bd3b6
isc_interpret is fb_interpret again.
...
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
robocop
425bbc8ef9
Comment no longer applies.
2004-11-27 05:45:46 +00:00
robocop
cda53de35d
It seems to me those debugging reports are better read as text files.
2004-11-27 03:33:22 +00:00
skidder
55c4e0ac85
CLIENT_ADDRESS and NETWORK_PROTOCOL variables support
2004-11-26 01:01:27 +00:00
robocop
d6535351a2
Misc: style.
2004-11-24 09:22:07 +00:00
robocop
070eaa8415
Misc.
2004-11-18 08:40:13 +00:00
hvlad
b4a0d39fe1
Fix buffer overflow when string carried with status vector is too large. String will be truncated to 1023 bytes
2004-11-17 12:25:22 +00:00
robocop
eb99bbcccf
Poor man's version of the old gds_alloc_report.
2004-11-17 08:56:07 +00:00
alexpeshkoff
820dbe9156
restored broken by me const-correctness in remote
2004-11-16 11:43:05 +00:00
robocop
c2b5cbc541
Totally misc: consistency with the other places.
2004-11-16 06:16:19 +00:00
alexpeshkoff
6bd833026a
restored broken by me const-correctness in remote
2004-11-15 15:52:57 +00:00
robocop
56201d1a86
Consistency.
2004-11-08 07:09:15 +00:00
robocop
6c301739f8
Misc.
2004-11-08 07:08:06 +00:00
robocop
2ec848a3b9
Treat string literals and string constants with more respect.
2004-11-08 05:38:42 +00:00
robocop
e5ac2effd4
Misc.
2004-11-08 03:09:27 +00:00
alexpeshkoff
ff5dd732d3
more active use of Firebird::string in remote
2004-11-07 14:44:59 +00:00
robocop
5a33aeef91
Misc: extra semicolons do not help. :-)
2004-11-07 10:38:13 +00:00
skidder
3e26513b38
fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit
2004-10-25 03:53:03 +00:00
dimitr
2d36d98bdc
1) Backport my previous fix from B1_5_Release branch
...
2) Another events-related bugfix
3) Some cleanup
2004-10-20 17:42:36 +00:00
skidder
645074699e
Improve firebird reliability in failure cases on Windows
2004-10-15 23:07:59 +00:00
robocop
f6b5de8a7a
Redundant casts.
...
Getting rid of IPSERV.
2004-10-09 01:37:30 +00:00
robocop
336661d8a1
Style.
2004-10-08 08:13:22 +00:00
robocop
25f115b66e
Closing several possible buffer overruns.
...
Alex is expected to overwrite my changes in isc_file.cpp.
2004-10-08 04:48:02 +00:00
robocop
273665c953
ipserver is being deleted. Update source files.
2004-10-03 07:04:44 +00:00
paul_reeves
5862524ba2
No need to specifically log sigpipe errors when running SuperServer on *nix
2004-09-29 10:11:54 +00:00
dimitr
7832801092
Removed impersonation code. Minor cleanup.
2004-09-28 17:54:41 +00:00
robocop
ddbe44520b
Got rid of incredibly redundant cast.
2004-09-26 07:49:55 +00:00
robocop
7dcb66a250
When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
...
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
robocop
e4da3532f2
Nonsense cast
2004-09-24 06:46:04 +00:00
robocop
5b60cf7e33
Put some assertions, a strncpy and a correction of a debug msg
2004-09-24 06:42:39 +00:00
dimitr
a3f7978e5f
Replaced sprintf() with either Firebird::string or snprintf().
...
Got rid of the literal numerics as array bounds.
Minor cleanup.
2004-09-22 20:33:07 +00:00
robocop
d869cfd034
Misc
2004-09-22 11:07:51 +00:00
robocop
362f95df8a
Got rid of some casts that were driving me nuts on each compilation
2004-09-22 08:54:42 +00:00
robocop
adc2e01407
Misc
2004-09-22 08:49:50 +00:00
robocop
e6cb17cac6
Vulnerability reported by Daniel Urban.
...
First step: reorganize code.
Please do a full rebuild after retrieving those changes.
2004-09-22 01:59:39 +00:00
skidder
658bd8ec5e
Cleanup
2004-09-16 22:25:22 +00:00
kkuznetsov
7a1f35db67
os/sun/server_main_dummy.cpp is a file with noop routine
...
server_main to put into libfbclient
if it defined by firebird.vers mapfile while
linking libfbclient with Sun-like LD
2004-09-15 08:31:32 +00:00
dimitr
ed0b83ad8a
Fixed issue SF #571026 .
2004-09-05 19:37:43 +00:00
dimitr
7d3578cea8
Fixed bug SF #223058
2004-09-05 14:08:04 +00:00
dimitr
95f97b91cf
Cleanup.
2004-09-05 13:53:56 +00:00
dimitr
b4c3010dc8
Fixed possible SEGV errors in the op_connect handler.
2004-09-04 20:09:24 +00:00
alexpeshkoff
c3db4aaa97
added (and used in sources) template to change and restore default pool
2004-08-30 18:11:08 +00:00
dimitr
0df4efd900
Fixed bug introduced by Blas' cleanup yesterday.
2004-08-28 07:30:17 +00:00
brodsom
aaaddf7642
Fix ,silence non initialized warnings
2004-08-26 23:27:46 +00:00
skidder
f5e58b038a
Again, do not send trash over the wire
2004-08-13 03:07:11 +00:00
dimitr
95562449e2
Applied patch by Chris Waters to support NAT by the events mechanism.
2004-08-01 17:44:24 +00:00
robocop
507f53d9bd
Style and misc
2004-07-22 07:15:10 +00:00
brodsom
728c927550
Hack to fix mingw build (due to a mingw bug).
2004-07-02 10:47:03 +00:00
robocop
949830d0c6
1.- const correctness
...
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
alexpeshkoff
273d93b517
fixed potential inconsistency, noticed by Claudio
2004-06-21 08:49:46 +00:00
robocop
320fe78b42
Misc changes
2004-06-21 02:48:47 +00:00
fsg
66e4efb565
Fixed an old bug. Thanks to Torsten Martinsen.
2004-06-14 11:20:37 +00:00
brodsom
d2b64735c6
Removing wrong extra ;
2004-06-13 23:47:02 +00:00
brodsom
5692873781
-Rollback
2004-06-10 14:09:17 +00:00
brodsom
b9b39b630e
-Rollback
2004-06-09 18:23:27 +00:00
alexpeshkoff
4a00641daf
Removed THD_mutex_init from comment
2004-06-09 07:44:10 +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
robocop
1332d98618
Literal strings should be treated as const char*
2004-06-05 09:37:18 +00:00
brodsom
9df69e0edd
Replace with more specific (and clear) cast
2004-05-28 01:43:10 +00:00
brodsom
75a0483d75
-Comment some common.h unused macros
...
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +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
skidder
277788de7a
NetBSD port from James K. Lowden
2004-05-20 23:05:02 +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
46b5652ab3
Macro cleaning
2004-05-18 22:01:53 +00:00
brodsom
98d9fe6e63
Macro cleaning
2004-05-18 16:32:07 +00:00
brodsom
606dee7a14
Correction
2004-05-18 00:45:46 +00:00
brodsom
b76a60e8b7
Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build)
2004-05-17 22:30:09 +00:00
brodsom
36d6d40469
Macro cleaning
2004-05-17 10:22:34 +00:00
brodsom
aa88f67e75
Macro cleaning
2004-05-17 00:21:46 +00:00
brodsom
cc1c25f7ae
Macro cleaning
2004-05-16 01:42:11 +00:00
brodsom
ee34db7e20
Macro cleaning (THREAD_*)
2004-05-15 00:58:46 +00:00
brodsom
c70343dc21
-Avoid shadow warning
2004-05-13 15:18:15 +00:00
brodsom
9e204004d6
-Avoid shadow warning
2004-05-12 21:47:36 +00:00
brodsom
1ffe279896
-Avoid shadow warning
2004-05-12 19:39:17 +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
80b424e346
-Replace define with const
...
-Move SYS_ERR, ERRNO, H_ERRNO and INET_ERRNO(ERRNO in inet.cpp) macros to common.h
-Remove unused macros
2004-05-05 21:55:13 +00:00
brodsom
ca34ef15b2
Fix warning
2004-05-04 19:37:25 +00:00
brodsom
fbbc61156f
-Fix another incredibly stupid legacy variable naming, variable name = struct name.
2004-05-03 13:35:38 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
ba44794c1e
-Remainings of ib_stdio (Pointed by Claudio)
2004-05-01 14:18:28 +00:00
brodsom
0daa189563
Removing ib_stdio.h
2004-04-28 22:36:29 +00:00
robocop
f81e60ed78
More cleanup. Get rid of obsolete files, too.
2004-03-30 08:37:07 +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
skidder
8f46d45dc5
Fix crashes/lock-ups with multiple calls of isc_dsql_prepare for a single statement like IBO does
2004-03-25 04:44:43 +00:00
dimitr
65d3e59dc1
Fixed possible AV in SS builds.
2004-03-24 20:12:35 +00:00
alexpeshkoff
1e6c7b18e9
fixed problem with loop in includes
2004-03-22 11:38:23 +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
2851f76d35
Fix warnings
2004-03-14 05:51:54 +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
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
25b969d1b7
Fix MSVC build
2004-03-01 04:57:43 +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
aafemt
8f92e63e90
Fix after Claudio's cleanup
2004-02-25 11:07:40 +00:00
skidder
a82deb1f83
Make it build after Claudio cleanup
2004-02-24 07:21:00 +00:00
robocop
a36307da5a
Remove dllshell.cpp as the only reference is inside
...
builds\win32\old_makes\ treats it as plain C file, it's a Win16 remnant
and John doesn't need it either for Mac_os_x.
2004-02-24 05:49: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
stryqx
0a6ab26acb
Let semaphore.h see the definition of gds__log for successful build
...
on FreeBSD.
2004-02-13 10:17:50 +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
f3cd158bb0
Get errors passed over the wire correctly on 64-bit platforms
2004-01-27 06:19:02 +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
eku
14b3de174e
Port numbers are limited to 16 bit.
2004-01-13 13:38:36 +00:00