asfernandes
68ca82d894
Misc.
2013-04-07 23:48:14 +00:00
mapopa
65a4d15027
Remove unused and broken code defined with PIGGYBACK
2013-04-06 17:58:35 +00:00
mapopa
4e5a7a9898
Cleanup comments and unused code
2013-04-06 17:46:27 +00:00
hvlad
57ac684f67
Fixed Windows build
2013-04-05 07:48:05 +00:00
alexpeshkoff
8780552b94
Added support for changing configuration (client and embedded) from API
2013-04-04 13:17:57 +00:00
mapopa
f6f7b62f64
SIGURG is not used , cleanup commented code
2013-04-01 21:40:55 +00:00
asfernandes
26ab241631
Misc.
2013-03-30 02:31:03 +00:00
alexpeshkoff
e4356e4b46
Added operator include to config files
2013-03-27 11:45:02 +00:00
dimitr
2001352060
Misc.
2013-03-24 06:38:32 +00:00
alexpeshkoff
445bd69d9f
Fixed CORE-3269: When server gets unavailbale, client does not perform detach correctly
2013-03-22 14:29:51 +00:00
hvlad
2df60f21ea
Fixed AV in remote server code reported by Dmitry Kovalenko in fb-devel
2013-03-20 13:13:33 +00:00
asfernandes
0d299d455a
Remove FbMessage struct from the API.
...
This struct lost its main value (group various blr-related properties in a single parameter).
And since openCursor/fetch already split the message/buffer, it does not make sense anymore to have it.
2013-02-26 03:42:19 +00:00
asfernandes
53d4d58113
Change message buffers type to void*. It adds some casts, but avoid them in users' code.
2013-02-23 03:09:17 +00:00
alexpeshkoff
5ecced8462
Better names for statement's flags
2013-02-22 07:24:46 +00:00
asfernandes
5c436f8d91
Misc.
2013-02-21 23:25:10 +00:00
alexpeshkoff
f1779a7398
Do not prefetch unneeded information in IAttachment::openCursor()
2013-02-19 12:03:07 +00:00
alexpeshkoff
ba9413b26a
Add IStatement::getFlags() to help user make a solution what to do with SQL statement
2013-02-19 11:20:49 +00:00
asfernandes
ba09d5262f
Misc.
2013-02-18 15:28:50 +00:00
alexpeshkoff
37d353d392
Make openCursor() use default output format when none is given explicitly
2013-02-18 13:53:46 +00:00
asfernandes
d3f8597c53
Misc.
2013-02-18 02:14:43 +00:00
alexpeshkoff
fc12495d0e
Modified IStatement interface in our API:
...
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
dimitr
149648f43a
The remaining fixes for Windows.
2012-12-15 08:12:38 +00:00
alexpeshkoff
c7454a49a5
Work in progress (committed due to SF upgrade). Checked only on SS.
...
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
alexpeshkoff
3e07dd131f
Begin wire crypt only after successfull authentication - this helps avoid meaningless message when password is wrong, thanks to Vlad
2012-11-01 14:38:14 +00:00
alexpeshkoff
4ca6e669fe
1. Fixed CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot.
...
2. Cleanup: avoid functional style in stuff exception.
2012-11-01 11:40:18 +00:00
robocop
a4c260dbdc
Misc.
2012-09-30 01:50:41 +00:00
dimitr
9f2a992078
Implemented:
...
CORE-2780: Include client library version and protocol version in mon$attachments
CORE-2187: Return the Hostname in mon$attachments
CORE-3779: Report OS user name in MON$ATTACHMENTS
+ some cleanup.
2012-09-12 07:45:51 +00:00
alexpeshkoff
8e147a5bf6
Fixed CORE-3912: segfault in superclassic
2012-08-31 10:26:37 +00:00
asfernandes
4d0506057c
Fixed CORE-3596 - Client library cannot connect to the non-ASCII host name.
2012-08-14 15:49:20 +00:00
robocop
f601bbdb8b
Misc.
2012-08-08 02:20:30 +00:00
alexpeshkoff
0fc893a4e1
Better names for API functions
2012-06-26 13:43:26 +00:00
asfernandes
cf6e699698
Misc.
2012-06-03 15:43:59 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
asfernandes
ca53e78787
Misc.
2012-05-06 22:27:03 +00:00
alexpeshkoff
7242fbcd7c
Fix java client login
2012-04-23 08:20:40 +00:00
alexpeshkoff
b11ac98c96
fixed posix build
2012-04-19 05:14:01 +00:00
hvlad
f432739e3e
Fixed bug CORE-3819 : Wrong service name to port address resolution in database connection string
2012-04-16 15:17:37 +00:00
robocop
b7d62c2d26
Misc.
2012-04-10 01:46:14 +00:00
asfernandes
fa861b6e95
Misc.
2012-04-05 18:28:44 +00:00
alexpeshkoff
f3c9e45474
Fixed CORE-3759: Problem with fetch on DDL statement in the remote protocol
2012-03-29 15:55:49 +00:00
asfernandes
f3ee441533
Misc.
2012-03-17 15:35:53 +00:00
alexpeshkoff
e92f494e72
Finished with conversions of all strings in both kinds of SPBs (attach/start) to UTF8
2012-03-16 17:10:31 +00:00
alexpeshkoff
016d95d133
Fixed assertion at client side in service logon
2012-03-15 14:39:38 +00:00
dimitr
d7deadbd5a
Totally misc.
2012-03-14 17:39:01 +00:00
alexpeshkoff
2f7c526728
Implemented CORE-3788: Make all utilities follow same rules when expanding database name
2012-03-14 08:46:27 +00:00
asfernandes
1758b1fdbe
Misc.
2012-03-10 15:37:52 +00:00
alexpeshkoff
1d18be26d5
Changed order of args as requested by Claudio
2012-03-10 12:07:47 +00:00
hvlad
52f3ed895e
Fixed Windows build
2012-03-01 18:18:46 +00:00
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00
alexpeshkoff
4201b434a1
cleanup
2012-02-27 16:07:51 +00:00
asfernandes
435666cea5
Misc.
2012-02-26 14:27:27 +00:00
alexpeshkoff
2a5e7e7f32
Implemented CORE-672: "Over the wire" connection encryption
2012-02-24 12:39:27 +00:00
robocop
5d2a0118c0
I don't see the point in creating temporary strings in these cases.
2012-02-15 03:43:06 +00:00
asfernandes
27bb1f8bc1
1) Removed READ/WRITE BLOB sql commands. 2) Refactored request operations to fix server crashes.
2012-02-03 19:01:36 +00:00
asfernandes
e51ddc7a38
Misc.
2012-01-29 02:53:44 +00:00
robocop
32712c2c40
Misc and cleanup
2012-01-27 09:10:12 +00:00
dimitr
e265d5e6a3
Simplification.
2012-01-25 07:32:35 +00:00
dimitr
88336dfde3
Cleaned up and slightly refactored the XDR logic.
2012-01-25 07:13:53 +00:00
dimitr
9c035feea4
Front ported CORE-3730: isc_dsql_exec_immed2() loses input parameter value with RETURNING clause.
2012-01-24 10:02:46 +00:00
robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
asfernandes
ed3d7ed720
Misc.
2012-01-20 01:42:03 +00:00
robocop
670b1a5d56
Cleanup.
2012-01-19 06:26:12 +00:00
robocop
e2914070b9
Misc.
2012-01-19 04:54:39 +00:00
asfernandes
d66783ae3c
Misc.
2012-01-16 20:33:52 +00:00
alexpeshkoff
0c7d2c29d8
Fixed CORE-3718: Client Library Hangs after unsuccessful connection to remote auxiliary (events) port
2012-01-16 15:01:17 +00:00
alexpeshkoff
47f8bca945
Fixed multifactor auth-plugin use on server - thanks to Claudio
2012-01-12 13:53:11 +00:00
alexpeshkoff
c2e8b26b74
Cleanup - use flags parameter of alloc_port() function for async ports
2012-01-11 13:24:13 +00:00
alexpeshkoff
b55dc77d0d
Misc
2012-01-11 12:05:27 +00:00
dimitr
cf9427d88b
Removed support for the remote protocol versions prior to v10.
2012-01-06 11:24:37 +00:00
asfernandes
9394fea3ab
Misc.
2012-01-05 01:07:06 +00:00
dimitr
abf5c027f4
Totally misc.
2012-01-03 18:26:51 +00:00
dimitr
704694f5c7
Removed the outdated RPC support + some misc cleanup.
2012-01-03 18:06:42 +00:00
dimitr
db982b80fe
Misc.
2011-12-28 18:16:11 +00:00
asfernandes
c75f170530
Misc.
2011-12-28 01:07:49 +00:00
alexpeshkoff
c31aea58ed
Diagnostics
2011-12-26 16:06:00 +00:00
hvlad
a3ebd462fd
Built SRP server into firebird.exe
2011-12-26 14:46:28 +00:00
dimitr
b5919087f0
A patch resolving client-side crashes with a new fbclient. Thanks to Alex.
2011-12-26 13:51:45 +00:00
dimitr
0b00d98167
Fixed the asserts in the debug build.
2011-12-26 13:17:58 +00:00
dimitr
1129013cf8
Fixed a connection error (FB3 client - FB3 server), only LegacyAuth was affected.
2011-12-26 12:57:30 +00:00
dimitr
1888b962cd
Fixed some compilation errors.
2011-12-23 18:33:23 +00:00
dimitr
1a0b1cc358
Correction.
2011-12-23 17:59:45 +00:00
alexpeshkoff
7fb8ebd3a9
Fixed CORE-1898: Increase the password length from 8 characters, CORE-3372: Simplify process of non-default security database creation
2011-12-23 12:43:58 +00:00
dimitr
e7c9ebba12
Re-implemented the disabled code in the remote server. Cleaned up the legacy logic that doesn't look actual these days.
...
Some code refactoring.
2011-12-22 15:32:06 +00:00
asfernandes
906ea4729e
Misc.
2011-10-27 01:04:14 +00:00
alexpeshkoff
3513087d98
Fixed services to make them work with trusted auth emulator and old client
2011-10-20 12:20:33 +00:00
asfernandes
5635607c9d
Avoid exception in successfull attachments.
2011-10-12 23:17:45 +00:00
alexpeshkoff
343c7862bf
Fixed CORE-3607: Solaris does not define the RLIMIT_NPROC limit
2011-10-11 11:59:47 +00:00
asfernandes
eb5689ef0e
Misc.
2011-10-07 02:33:02 +00:00
alexpeshkoff
4b87ef2341
Front-ported fix for unregistered bug - check return value of poll() before using it's output structures
2011-10-04 13:43:38 +00:00
alexpeshkoff
70ddf7a875
Make services work correctly with multiple security databases
2011-10-04 12:51:57 +00:00
alexpeshkoff
c6b3a162b8
misc
2011-09-27 11:51:24 +00:00
dimitr
b528faa162
Corrections.
2011-09-22 15:14:36 +00:00
alexpeshkoff
b76a2d8c47
Getting ready for support of multiple security databases in services
2011-08-09 12:11:17 +00:00
alexpeshkoff
9123dcaf78
Fixed a hang in client when trying to attach to non-existent database with old-version firebird server running on same box
2011-07-27 09:06:41 +00:00
alexpeshkoff
7e22abb2b7
Simplified code - thanks to Claudio
2011-07-18 11:50:51 +00:00
dimitr
ac96c3ae97
Front ported CORE-3554: Server crashes during prepare or throws incorrect parsing error if the remotely passed SQL query is empty.
2011-07-15 09:05:36 +00:00
robocop
e3f52f2520
Misc.
2011-07-07 07:58:02 +00:00
asfernandes
577e9e4b7e
Misc.
2011-07-02 22:10:07 +00:00
alexpeshkoff
13e0341fea
Use interface-based API in remote server. Use stable "next" pointers in yvalve.
2011-06-29 09:41:47 +00:00
robocop
5ad96271e6
Misc.
2011-06-24 06:34:16 +00:00
alexpeshkoff
40348295e1
Used upgradeInterface() in a number of places.
...
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
asfernandes
add3d8ddef
Misc.
2011-06-08 01:55:13 +00:00
hvlad
e6329b0663
Make TA work with 2.1 clients and not crash. Thanks to Alex.
2011-06-07 12:59:52 +00:00
hvlad
443f298067
Windows trusted auth didn't worked
2011-06-05 22:50:59 +00:00
asfernandes
5ffa6c77c8
Move v3 public include files to src/include/firebird.
2011-06-02 15:57:08 +00:00
alexpeshkoff
32ffebb3bf
Fixed CORE-3250: Cannot start firebird server under any username other than "root", "firebird" , "interbas"or "interbase"
2011-06-01 10:52:28 +00:00
dimitr
070718bea2
Fixed CORE-3387: Client library could hang infinitely waiting for a reply packet on a forcibly disconnected server socket.
2011-05-30 09:59:11 +00:00
asfernandes
717ef9c486
Misc.
2011-05-21 19:11:03 +00:00
asfernandes
19cbed237b
Misc.
2011-05-21 18:56:02 +00:00
alexpeshkoff
4641d2de68
Better interfaces hierarchy: all of them are derived from IVersioned
2011-05-19 16:24:46 +00:00
alexpeshkoff
85b3b5cf95
Interface for 2PC (distributed transactions coordinator)
2011-05-19 11:38:38 +00:00
hvlad
d0108e2918
Show long version string in "Firebird Server Properties" dialog properly
2011-05-11 09:56:53 +00:00
asfernandes
1c5770da81
Warning / error.
2011-05-11 02:43:39 +00:00
asfernandes
3ce54d2eda
Misc.
2011-05-11 01:18:28 +00:00
hvlad
fef1f49c94
Shared page cache implementation
2011-05-09 10:15:19 +00:00
asfernandes
69dc52ba48
Integrate IAttachment and ITransaction in the external engines API.
2011-05-07 19:52:44 +00:00
alexpeshkoff
256cb1e853
1. Use reference counted stable in global pool objects instead PublicHandle's validation.
...
2. Avoid massive segfaults when closing heavily loaded server.
3. Restored logic in YValve required for correct shutdown.
4. Do not change externally visible request body when preparing it.
2011-04-25 17:47:56 +00:00
asfernandes
b781d62d4a
Make the new BLOB API use void* buffers, so applications can read/write char* strings or any other type without casts.
2011-04-15 18:54:02 +00:00
asfernandes
c63493ffba
Added metadata support to IStatement.
2011-04-14 01:03:43 +00:00
alexpeshkoff
437d841cfa
Rolled back my commit using IBlrMessage interface. Replaced with single plain structure FbMessage.
2011-04-13 12:41:40 +00:00
asfernandes
04bb4ba305
Remove unused parameter and rename a constant.
2011-04-09 20:00:00 +00:00
alexpeshkoff
9a4689d3e9
Use interface IBlrMessage instead passing C++ class pointer to API interface's functions
2011-04-08 16:43:05 +00:00
alexpeshkoff
4c3f87d6bd
Continued renaming interfaces. Added comments
2011-04-08 15:18:50 +00:00
alexpeshkoff
5c88e478f6
Use better names for a number of objects according to Vlad's suggestion
2011-04-07 17:16:00 +00:00
asfernandes
03ce334e2b
Misc
2011-04-04 13:37:47 +00:00
asfernandes
20bfe736bb
New YValve implementation.
2011-04-02 19:38:50 +00:00
robocop
b5ef5c4771
Misc, style, etc.
2011-04-02 04:53:35 +00:00
alexpeshkoff
9ef53b65e0
Remove reference counting where not appropriate
2011-03-31 13:44:22 +00:00
asfernandes
166c41c5b1
Move transactRequest, createBlob, openBlob, getSlice, putSlice and ddl from ITransaction to IAttachment.
...
It's better to have one standard than two, and "ddl" was broken from API POV.
So make the IAttachment always the caller, explicit or implicit (via IStatement or IRequest), and pass the ITransaction as parameter.
2011-03-21 21:56:47 +00:00
asfernandes
c863db6e6d
Removed commented out Sqlda support and rename methods removing the word 'messsage'.
2011-03-20 19:15:55 +00:00
asfernandes
34fd6866bc
Remove unused message types.
2011-03-20 19:15:13 +00:00
asfernandes
2ce201f4ae
Use MessageBuffer in executeMessage and fetchMessage.
2011-03-20 19:14:03 +00:00
asfernandes
e4658d76c3
Misc
2011-03-20 16:24:46 +00:00
hvlad
fc11a24376
XNET was broken. Abnormal client disconnection was not released port and resources. Whole XPM map was corrupted and new connections was not possible.
...
Renamed back peer_shutdown -> server_shutdown, XPMF_PEER_SHUTDOWN -> XPMF_SERVER_SHUTDOWN and XCCF_PEER_SHUTDOWN -> XCCF_SERVER_SHUTDOWN because this is pure client things and should not be used by server side.
2011-03-19 11:39:03 +00:00
asfernandes
d67b091ee5
Misc
2011-03-11 00:58:55 +00:00
hvlad
d1f9eb91b5
Front ported fix for bug CORE-3328 : Client writes error messages into firebird.log when database is shutted down
2011-03-07 15:48:39 +00:00
hvlad
0bd7d05e71
Follow Alex changes
2011-03-02 23:42:58 +00:00
alexpeshkoff
0a7c3fc69d
Fixed CORE-3369: first step to make it possible to specify non-default security database for specific database
2011-03-02 13:42:56 +00:00
asfernandes
260fdaa03f
Misc
2011-02-26 16:02:37 +00:00
hvlad
d756a02f89
Fixed bug CORE-3351 : Windows client could put 10054 error messages into firebird.log at connection time
2011-02-15 10:10:57 +00:00
asfernandes
7800060e22
Misc
2011-02-04 23:58:10 +00:00
hvlad
1fc0b1874a
Fixed bug CORE-3327 : Thread pool in network server could create more threads than necessary
2011-02-02 14:58:16 +00:00
asfernandes
ccaaca7c72
Misc
2011-01-29 17:24:29 +00:00
alexpeshkoff
20b15687c9
Frontported fix for CORE-3194: Number of connections to linux superclassic has limit equal 508
2011-01-28 17:56:50 +00:00
asfernandes
248ddfa04a
Misc
2011-01-28 00:58:32 +00:00
dimitr
05047588c3
Fixed authentication in Windows builds.
2011-01-27 05:13:59 +00:00
alexpeshkoff
54fe27e4c3
Do not throw success status vector - if we got no user error, but bad op in packet, this is network error
2011-01-26 16:34:02 +00:00
alexpeshkoff
eb11598570
Implement Thread::kill for posex threads. Do not support separate Thread::closeHandle - move it inside kill and waitForCompletion
2011-01-24 16:36:29 +00:00
hvlad
1e6135ec40
Fixed main reason of AV at engine DLL unload time. More fixes will follow soon.
2011-01-24 13:20:25 +00:00
hvlad
dca44e309d
Make it compiles on Windows after Alex's changes. MSVC10 build will follow later.
2011-01-24 12:51:32 +00:00
alexpeshkoff
2cf062e317
Front-ported fix for CORE-3297: nbackup exits without info when firebird.conf is missing. Make all utilities run without firebird.conf - only server requires it's presence.
2011-01-19 17:24:49 +00:00
alexpeshkoff
ddaddccb97
Fixed bug, found by Adriano - destructor of statically allocated factory should better never be called
2011-01-17 12:17:24 +00:00
asfernandes
233093cee4
Misc
2011-01-16 02:16:15 +00:00
robocop
24b28d8831
Misc.
2011-01-15 09:30:24 +00:00
robocop
60edaaa8b3
Misc.
2011-01-15 09:29:04 +00:00
robocop
b4a546d77f
Misc and small fix.
2011-01-15 09:27:15 +00:00
alexpeshkoff
d6fcde387b
New plugin manager. Use it for all types of plugins.
2011-01-14 17:31:40 +00:00
asfernandes
095c9b80d7
Misc
2010-12-29 00:49:21 +00:00
asfernandes
c9ec26c0c3
Feature CORE-726 - Boolean data type
2010-12-18 02:17:06 +00:00
hvlad
1e35bc97c8
Port forward fix for bug CORE-3119 : 100% CPU USAGE with Unilimited Loop & Index corrupted
2010-12-12 20:19:47 +00:00
asfernandes
eb257542c1
Misc
2010-12-04 17:19:48 +00:00
hvlad
40c7edec78
Fixed bug CORE-3266 : Race condition between async service detach request and running user trace service
2010-11-29 15:06:42 +00:00
alexpeshkoff
9d8720a198
Remove restriction on username, as it was discussed in devel
2010-11-23 12:56:25 +00:00
alexpeshkoff
01ad4134c7
Improvement CORE-3248: Set unused bytes of varchar values in message buffer to 0
2010-11-19 15:11:09 +00:00
dimitr
818663e826
Basic network support for the fb_ping() API call. Untested yet.
2010-10-31 13:46:54 +00:00
dimitr
c80ac097f3
Fixed CORE-3202: execute_immediate API call family may crash the remote server.
2010-10-28 18:16:21 +00:00
alexpeshkoff
0ab6c4abf7
Avoid throwing C++ exceptions from authentication plugins
2010-10-28 08:02:42 +00:00
asfernandes
5c7e5ce634
Misc
2010-10-22 01:24:31 +00:00
hvlad
f2f89355bd
Don't use obsolete gds cleanup in XNET. It also avoids AV in server at shutdown
2010-10-21 14:25:26 +00:00
hvlad
d5833b72f0
Windows-specific hack to register security plugins seems obsolete with new build
2010-10-21 11:45:37 +00:00
hvlad
df8a6a2ff7
Corrections for new build system. Work in progress...
2010-10-20 22:00:34 +00:00
hvlad
648a609775
Follow Alex changes and remove ISC_STATUS* from various functions
2010-10-18 17:25:33 +00:00
hvlad
f223086fdd
Corrections for new build system. Work in progress...
2010-10-18 17:23:36 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
asfernandes
91384eb587
Misc
2010-10-12 17:40:27 +00:00
alexpeshkoff
55d5bdf465
Missed in previous commit files
2010-10-12 08:15:48 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
asfernandes
2cbc4e3675
Misc
2010-07-24 02:43:28 +00:00
hvlad
2de56fdeef
Forgotten changes
2010-07-23 14:39:21 +00:00
hvlad
ae01bde43d
Make trusted auth works
2010-07-23 14:31:04 +00:00
hvlad
6e2db049ea
Make Windows build work (MSVC8 only) after Alex changes.
...
Some corrections is still required.
2010-07-23 14:06:29 +00:00
alexpeshkoff
d24cd9cbd7
Implemented self-registering plugins format (same plugin can be easily linked statically
...
or as dynamic library, depending upon platform requirements). Self-registering plugins
need not export any functions, instead they call fb_register_plugin() on startup.
Reworked all user management to use self-registering plugins.
Removed system table RDB$USERS. PLG$USERS is not created automatically by plugin, but
will be later (work in progress).
2010-07-23 12:04:18 +00:00
alexpeshkoff
6cbefa1f46
Introduced class SharedMemory - base class for everything, using IPC. Related to CORE-3035.
2010-06-25 11:55:11 +00:00
hvlad
3271bbae3a
Disable hard limit on number of worker threads. Something more smart should be implemented instead.
2010-06-23 13:36:52 +00:00
dimitr
01c57892e8
Fixed a lock-up when connecting locally to the missing database file. The issue is old, but it could never fire prior to v3.0.
2010-06-17 14:27:01 +00:00
asfernandes
e37d097240
Misc
2010-05-22 02:00:45 +00:00
alexpeshkoff
74a4aaacb6
Moved not auth-specific part of interface declaration to separate file
2010-05-20 15:02:31 +00:00
alexpeshkoff
ea28dc5773
Frontported - raise NPROC limit on unix to avoid errors when starting many threads
2010-05-20 12:03:30 +00:00
hvlad
cd5fcdd279
Fixed bug CORE-2995 : Same error in status vector reported twice
2010-05-07 13:02:21 +00:00
alexpeshkoff
8b4d53703d
Cleaned isc_dpb_sys_user_name and related things
2010-04-21 12:55:43 +00:00
alexpeshkoff
4ce63669c1
finished fb_inet_server cleanup
2010-04-16 13:33:22 +00:00
asfernandes
b36b9764ce
Misc
2010-04-16 02:31:36 +00:00
dimitr
a24996acf8
Adjusted the Alex changes for Windows.
2010-04-15 15:45:14 +00:00
alexpeshkoff
88b8a40a04
1. Cleaned up most of SUPERSERVER usage.
...
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())
2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).
3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
dimitr
998e0b9523
Cleanup SUPERCLIENT.
2010-04-01 04:45:05 +00:00
asfernandes
68e67d1453
Misc
2010-03-30 00:25:52 +00:00
alexpeshkoff
deb5c2317b
Fixed CORE-2948: Segfault when server is exiting
2010-03-29 15:24:03 +00:00
asfernandes
11a3746970
Misc
2010-03-25 02:10:57 +00:00
alexpeshkoff
1a75dcc12c
Cleanup SUPERCLIENT - and also more generic control for overwritten const cstring
2010-03-24 12:13:07 +00:00
alexpeshkoff
e81e0db47b
Cleanup SUPERCLIENT/EMBEDDED - avoid different remote builds
2010-03-24 07:50:10 +00:00
dimitr
9aa33a6b9e
Misc.
2010-03-22 13:29:41 +00:00
asfernandes
2ed85aef29
Misc
2010-03-21 23:01:30 +00:00
dimitr
ee01b7499b
Fixed the client side crash when error is returned from the server during attaching.
2010-03-21 13:15:16 +00:00
dimitr
1b732a3579
Reworked the remote protocol analyzing logic.
...
In particular, it resolves the possible problems with the local access to databases on network shares.
Also, it removes any dependencies from EMBEDDED to simplify Alex's cleanup.
Finally, it adds the initial implementation of the Vlad's suggestion (for testing purposes).
2010-03-21 13:13:55 +00:00
dimitr
eb97ea665c
Cleanup.
2010-03-21 13:01:34 +00:00
dimitr
63bedffa71
Refactored the sorter into a proper class.
...
Removed some dead code and unused files.
2010-03-16 11:19:29 +00:00
asfernandes
d3ad05b7eb
Misc
2010-03-14 15:33:06 +00:00
alexpeshkoff
b0a411f8bf
Frontported fix for CORE-2725: Server crashes when sending wrong BLR for parameters in op_execute
2010-03-14 13:58:11 +00:00
asfernandes
01f6e290fd
Misc
2010-02-15 00:43:04 +00:00
hvlad
d19395459f
Fixed bug CORE-2864 : Listener process of Classic Server leak handles.
2010-02-14 12:18:07 +00:00
hvlad
317e2b5105
Fixed bug CORE-2851 : problem with fb_cancel_operation
2010-02-08 13:36:56 +00:00
robocop
7ffc4d001f
Misc.
2010-02-08 07:57:33 +00:00
alexpeshkoff
08a8ee9f42
Make InitInstance release objects, created by it
2010-02-07 15:13:28 +00:00
robocop
280cbb3ab2
Totally misc.
2010-02-06 04:26:14 +00:00
asfernandes
281d382185
Misc
2010-02-06 01:32:53 +00:00
alexpeshkoff
513734bb8c
Frontported fix for CORE-2836: fb_cancel_operation() incorrectly modifies rdb_status_vector
2010-02-04 15:36:03 +00:00
dimitr
73ec84cace
Restored the legacy explicit checks for NULL objects instead of hiding that check inside checkHandle() and isHandleKnown().
...
This improves the readability and also fixes the [possible in the future] issues with multiple inheritence.
2010-02-02 14:22:46 +00:00
dimitr
fbbc7a2432
Restored the legacy explicit checks for NULL objects instead of hiding that check inside checkHandle() and isHandleKnown().
...
This improves the readability and also fixes the [possible in the future] issues with multiple inheritence.
2010-02-02 14:14:00 +00:00
alexpeshkoff
fb1a042859
Better fix for trusted authentication problem
2010-01-29 17:53:07 +00:00
hvlad
3c20fd3e07
Make trusted auth works again.
...
To be reviewed by Alex.
2010-01-29 13:08:53 +00:00
asfernandes
a454b705d0
Misc
2010-01-28 15:01:57 +00:00
alexpeshkoff
b0321f78ff
Better approach to const correctnes of auth interfaces - thanks to Claudio
2010-01-27 16:51:26 +00:00
asfernandes
5fb0432672
Misc
2010-01-24 16:52:24 +00:00
asfernandes
eb9eef9d77
Misc
2010-01-24 15:18:43 +00:00
dimitr
7f0b8af499
Fixed the compilation.
2010-01-23 10:18:55 +00:00
alexpeshkoff
55e717f810
Moved authentication code from engine to remote listener.
...
Get ready for authentication plugins.
2010-01-22 14:55:11 +00:00
robocop
dc978c61e9
Style.
2010-01-02 02:02:17 +00:00
alexpeshkoff
443f261abf
Introduce isc_dpb_version2 - format is WideTagged.
2009-12-30 15:24:16 +00:00
alexpeshkoff
e338fb79d1
frontported change from 2.5 - issue with too many records in log file
2009-12-04 16:00:12 +00:00
hvlad
140604e4d6
Fixed bug CORE-2670 : FB 2.5 freezes during data pump operations
2009-12-04 11:46:43 +00:00
dimitr
8914324bf1
Fixed CORE-2769: Make XNET_CONNECT_TIMEOUT in xnet.h user configurable.
2009-11-28 12:42:31 +00:00
robocop
1386adcf90
Style.
2009-11-16 08:06:31 +00:00
asfernandes
cefe295ad9
Misc
2009-11-14 01:20:33 +00:00
alexpeshkoff
8bfa0a37a2
Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed
2009-11-13 18:29:06 +00:00
asfernandes
0b2a994c27
Misc
2009-11-13 01:36:09 +00:00
dimitr
25957ce12a
Fixed CORE-2742: Server may stop responding to a particular client attachment under some conditions.
...
Credits belong to Vlad ;-)
2009-11-09 09:41:05 +00:00
robocop
55d60892ca
Warnings.
2009-11-05 08:29:33 +00:00
asfernandes
d59001341c
Misc
2009-10-31 17:31:48 +00:00
dimitr
6dd8a5c2f3
Wipe out the SCROLLABLE_CURSORS code + minor cleanup.
2009-10-31 05:20:30 +00:00
robocop
6b997b901f
Misc.
2009-10-30 10:59:52 +00:00
asfernandes
ed0e0daeb3
- External Engines implementation.
...
- Plugins API.
- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.
- Fixed CORE-2699 - Common table expression context could be used with parameters.
- Introduce ODS 12.0.
- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
hvlad
163b6a59c9
Better fix for bug CORE-2656 : Error reading data from the connection. On disconnect.
2009-10-12 14:38:47 +00:00
hvlad
d2c89f53f3
Fixed bug CORE-2656 : Error reading data from the connection. On disconnect
...
Thanks to Oleg Matveyev for test case and assistance
2009-10-11 19:54:04 +00:00
hvlad
653a3f2e02
Make better XNET's error messages in firebird.log
2009-10-01 09:12:49 +00:00
verbguy
56f291e05f
HP-UX changes - 64-bit atomic counters, support for HP-UX 11 v2, and small tweak of build options
2009-09-29 19:13:51 +00:00
alexpeshkoff
60a115efc2
Fixed CORE-2601: fine tuning of the installation directories does not work in configure
2009-09-11 10:49:46 +00:00
asfernandes
519a3b0aa7
A few necessary "volatile" usage
2009-09-10 15:30:03 +00:00
robocop
43962281d4
Misc and isolate the win9x code even more.
2009-09-02 04:23:02 +00:00
alexpeshkoff
d7a9b25e74
Store strings, received from server, in circular buffer
2009-09-01 13:56:16 +00:00
alexpeshkoff
9629eafccd
Use per-thread circular strings buffers instead common and per-attachment combination
2009-09-01 09:20:24 +00:00
skidder
aca5a83a46
Fixed CORE-2609: Update support for Windows 98/ME and NT4.0
2009-08-30 19:00:46 +00:00
asfernandes
398975b940
Misc
2009-08-20 01:32:24 +00:00
robocop
6a521a72b2
Comment obsolete architectures.
2009-08-18 12:56:00 +00:00
robocop
f84198ee98
Comment or delete unused things.
2009-08-18 12:55:38 +00:00
dimitr
70b28297c1
Fixed the POSIX build.
2009-08-18 07:35:29 +00:00
robocop
ff405cfa85
Comments and misc.
2009-08-15 11:47:48 +00:00
robocop
ee40c31cb7
Comments.
2009-08-15 11:46:48 +00:00
robocop
8120fcd23e
Style.
2009-08-14 10:05:00 +00:00
robocop
959203c1fe
Comments.
2009-08-14 10:03:19 +00:00
robocop
4def041e27
Comments.
2009-08-14 09:44:49 +00:00
asfernandes
ae6c7e7352
Misc
2009-08-14 01:58:22 +00:00
dimitr
6f887cb6dc
More information about unexpected failures.
2009-08-13 10:07:53 +00:00
dimitr
5b5a19fa70
No need to check the handle here, as the retrieval from the array will handle it automagically.
2009-08-13 09:56:38 +00:00
dimitr
b1107730c0
1) protocol.cpp is not expected to throw. Processing of port_objects should be wrapped by try-catch blocks.
...
2) Minor refactoring.
2009-08-13 09:55:33 +00:00
dimitr
9a34d50e99
1) Let's process unexpected port disconnections gracefully.
...
2) Don't allow any untrapped exceptions to leave loopThread.
2009-08-13 09:52:56 +00:00
dimitr
e50d813c0e
Let's process returned errors correctly.
2009-08-13 08:18:46 +00:00
asfernandes
2cb136d9b8
Misc
2009-08-05 02:12:46 +00:00
dimitr
54814e9393
Misc.
2009-08-04 11:36:17 +00:00
dimitr
96e39adc2e
Cleanup the code not relevant anymore.
2009-08-04 11:35:39 +00:00
robocop
ab578df954
Fix the Win32 build by brute force for VC2008 (other compilers may complain).
2009-08-02 14:50:58 +00:00
dimitr
e24dd620a0
Little battle against warnings.
2009-08-02 10:47:45 +00:00
dimitr
632ec92723
Little battle against warnings.
2009-08-02 10:36:21 +00:00
asfernandes
8c265e5a45
Misc
2009-08-01 18:41:46 +00:00
alexpeshkoff
5b6738dcb4
Patch from Bill Oliver and some more consts
2009-07-31 09:17:30 +00:00
alexpeshkoff
a55c2a35a0
Fixed posix build
2009-07-31 09:05:25 +00:00
dimitr
a0941a6b34
Someone attempted to turn on a keepalive option for the event channel, but used a main connection socket handle instead of the event one ;-)
2009-07-31 08:55:10 +00:00
dimitr
3038f8b5db
Use a proper handle type for TCP sockets. Don't share that handle with named pipes. This allows to eliminate many unnecessary casts.
2009-07-31 08:46:35 +00:00
hvlad
3e4b0677ce
Fixed regression in Beta2 : can't connect using XNET
2009-07-29 08:59:28 +00:00
asfernandes
6377356940
Misc
2009-07-23 00:56:28 +00:00
dimitr
d6c79a4203
Fixed two issues for the case of non-authorized op_connect_request:
...
1) Missing error reporting which makes the client to stall forever
2) CORE-2563: Possible DoS attack using the malformed packet sent into the connection port
2009-07-20 14:05:39 +00:00
asfernandes
68ebf172f6
Fixed CORE-2561 - Incorrect database name transliteration when connecting using WNET or XNET
2009-07-19 17:33:52 +00:00
robocop
cfb9403481
Warnings.
2009-07-17 09:06:03 +00:00
asfernandes
5063bafc36
Misc
2009-07-15 03:13:16 +00:00
asfernandes
b2c8c1f1e6
Fixed the problem with trusted authentication
2009-07-13 15:26:37 +00:00
dimitr
816f2971da
Deleted the unnecessary files.
2009-07-13 15:13:23 +00:00
dimitr
136d064565
1) Complete the Alex's changes for CORE-2526 (Windows part).
...
2) Cleanup the license, help and settings parts of the server properties window (they're unused for a long time already).
3) Misc changes.
2009-07-13 15:09:58 +00:00
asfernandes
e26c3083f8
Improvement CORE-2551 - Interpret DPB items as now the database name parameter is interpreted and change MON$ filenames fields from NONE to UNICODE_FSS.
2009-07-11 19:58:28 +00:00
asfernandes
20c91dcef7
Misc
2009-07-11 03:01:18 +00:00
asfernandes
7d0074310c
Initialize xcc struct.
...
After its creation, things may go wrong and then cleanup_comm access not initialized members.
2009-07-09 17:30:29 +00:00
alexpeshkoff
fe4aec8a12
Fixed CORE-2550: Bus error when working with DB_KEY on bigendian machines. Introduced dtype_dbkey inside engine.
2009-07-09 14:04:42 +00:00
robocop
33f2a7881d
Leave xdr and friends in peace for now.
2009-07-07 08:50:26 +00:00
robocop
e297859792
Undo some particular cases of signed/unsigned conversions.
2009-07-07 07:21:34 +00:00
robocop
336098a038
Ged rid of a lot of reinterpret_cast cases.
2009-07-05 10:12:06 +00:00
asfernandes
8a94ecf6bc
Misc
2009-06-29 02:06:00 +00:00
robocop
67c4d03965
Style.
2009-06-28 11:59:30 +00:00
robocop
2ca526b779
Style.
2009-06-28 10:26:25 +00:00
robocop
ff4b546efd
Style.
2009-06-27 12:07:51 +00:00
robocop
34e347fddd
Cleanup.
2009-06-27 08:28:07 +00:00
dimitr
14e9ed63f1
Fixed CORE-2462: 2.5 beta 1 has huge, fast-growing log files.
...
Also bring some uniformity to the code among different protocols.
2009-06-27 08:00:17 +00:00
robocop
f10e1b72eb
Style.
2009-06-27 06:23:36 +00:00
asfernandes
26c1892310
Misc
2009-06-20 18:46:59 +00:00
robocop
6bfacad413
CORE-2509. Took the opportunity to fix several data types.
2009-06-18 12:07:07 +00:00
robocop
b578ec50dc
Put bad_port_context() in alphabetical order and created a little helper, send_error().
2009-06-09 12:52:19 +00:00
alexpeshkoff
4a0ab87d6b
Use PORT_FILE for port file lock - thanks to Claudio
2009-06-09 11:06:57 +00:00
alexpeshkoff
f21a2bf4be
Make initialization distributed - each subsystem does what it needs when needs, removed gds.cpp:init()
2009-06-09 10:08:12 +00:00
alexpeshkoff
40fa68971c
Make it compile on posix
2009-06-09 08:39:29 +00:00
robocop
01cfec77b1
Paranoid checks.
2009-06-09 08:20:51 +00:00
robocop
044276cdc0
Style.
2009-06-09 05:55:17 +00:00
dimitr
6bbff07368
Slightly improve the retry loops in inet.cpp. Let's give up as soon as the call fails with any unexpected error.
2009-06-08 12:34:47 +00:00
dimitr
ae1de3f245
CORE-2263: RemoteAuxPort for SuperClassic and regular Classic.
...
This change also fixes the possible races in SuperServer (possible after getting rid of the global mutex in the remote subsystem).
2009-06-08 12:21:31 +00:00
robocop
2e3ce0d23d
Misc.
2009-06-07 09:49:58 +00:00
asfernandes
f8eb935eb7
Misc
2009-06-06 18:13:57 +00:00
dimitr
a964f5762b
Misc.
2009-06-04 12:23:20 +00:00
dimitr
5abc5a373d
Added timeouts to the network event listener code.
...
Fixed wrong usage of SO_REUSEADDR on Windows.
2009-06-04 10:53:00 +00:00
robocop
68f44cb6a6
Misc.
2009-06-02 09:18:59 +00:00
robocop
81868b2783
Misc.
2009-06-02 06:37:01 +00:00
robocop
b29af64d5b
This is already a Windows file, no need to check for the WIN_NT macro.
2009-06-02 06:34:59 +00:00
robocop
51d3c9b756
Let's use more typical #ifdef to test macros instead o #if.
2009-05-29 11:27:41 +00:00
alexpeshkoff
46527f2084
MT safe floating point exceptions control. Raise error in case of FP overflow according to SQL standard requirements.
2009-05-27 07:57:06 +00:00
robocop
4bae43779f
Some #if should be #ifdef instead.
2009-05-17 11:25:50 +00:00
asfernandes
158a05c78d
Misc
2009-05-10 15:23:31 +00:00
robocop
0e7dc28051
Style.
2009-05-09 13:46:06 +00:00
dimitr
d3dad89130
Correction.
2009-05-08 15:31:03 +00:00
dimitr
0f776b2517
Finalized the remote cleanup by Dmitry Kovalenko.
2009-05-08 09:23:34 +00:00
alexpeshkoff
a37d818726
AIX port - native compiler support
2009-05-07 14:49:40 +00:00
hvlad
a6578b4bba
Fixed bug CORE-2453 : AV at engine when client used events disconnects
2009-05-07 11:11:43 +00:00
alexpeshkoff
c93c65df4c
Use macro __sun instead of sun for this platform
2009-05-07 07:11:06 +00:00
robocop
d02c711694
Style and misc.
2009-05-05 11:45:58 +00:00
robocop
8edd8a7cd9
Style and misc.
2009-05-03 14:19:35 +00:00
robocop
e5b226f7a7
More unused params; style.
2009-05-02 13:00:09 +00:00
robocop
66b1227b22
Unused params, some formatting, cleanup.
2009-05-01 17:21:36 +00:00
asfernandes
1c20adb8fc
Misc
2009-04-29 01:52:49 +00:00
robocop
2d7cb94844
Unused params
...
Some BLR checks
2009-04-28 13:08:04 +00:00
alexpeshkoff
9b0950da7a
Fixed CORE-2306: fbserver terminated abnormally when thread start failed
2009-04-24 15:51:40 +00:00
asfernandes
c986de33a2
Misc
2009-04-22 01:58:40 +00:00
alexpeshkoff
354aae3bc1
misc
2009-04-20 13:19:45 +00:00
robocop
754b185c10
Comments.
2009-04-18 09:58:31 +00:00
alexpeshkoff
cd54e5533e
Fixed CORE-2437: Buffer overflow on client when delivering events.
2009-04-17 13:36:34 +00:00
alexpeshkoff
4ee99ff984
Make port wait for event thread shutdown on disconnect
2009-04-17 11:22:31 +00:00
robocop
4a6dddd02e
Comments.
2009-04-16 06:52:08 +00:00
asfernandes
e707efaa1d
Misc
2009-04-16 01:09:12 +00:00
robocop
ee08d55b01
Comments.
2009-04-15 14:18:20 +00:00
robocop
42e26b034f
Comments.
2009-04-15 13:47:54 +00:00
robocop
09a087e458
Comments.
2009-04-15 13:41:22 +00:00
alexpeshkoff
78ef36a730
cleanup
2009-04-15 09:58:18 +00:00
robocop
1452ca21c1
Misc.
2009-04-15 06:40:17 +00:00
robocop
dea57e9099
Get rid of SCO.
2009-04-15 06:29:00 +00:00
asfernandes
f6f364da49
Trim trailling spaces
2009-04-04 16:39:31 +00:00
asfernandes
9e0c4f06f2
Misc
2009-04-04 16:28:33 +00:00
alexpeshkoff
77498cac9b
Fixed some warnings
2009-04-03 10:49:07 +00:00
hvlad
d443178d0f
More complete fix for bug CORE-2368 : AV after isc_cancel_events if event was not found
2009-03-23 17:20:51 +00:00
alexpeshkoff
ac92e643e6
Cleanup - events delivery using unix signals is not used any more
2009-03-16 16:31:51 +00:00
hvlad
428204cdf8
Fixed bug CORE-2368 : AV after isc_cancel_events if event was not found
2009-03-12 08:06:26 +00:00
asfernandes
2c92602c66
Close handle refering to parent process
2009-03-09 01:42:29 +00:00
robocop
cb6849f8a4
Misc.
2009-03-08 12:17:42 +00:00
hvlad
c574a32c39
Fixed bug CORE-2356 : On Windows listener process of Classic Server can't create necessary resources after restart if any worker process was present
2009-03-07 22:25:57 +00:00
hvlad
d4e7e15b85
Correction for my patch re. errors at graceful socket shutdown
2009-03-07 20:21:10 +00:00
asfernandes
9d086d289c
Misc
2009-03-05 00:52:25 +00:00
robocop
4dc1d3d144
Misc.
2009-03-04 12:13:32 +00:00
dimitr
39b6dac932
Fixed the wrong assertion.
2009-03-03 15:25:34 +00:00
hvlad
fd2099aa96
Fixed bug CORE-2349 : False "Invalid SQLDA" error
2009-03-03 12:00:29 +00:00
dimitr
9dca0fa2b7
Correction related to my last commit.
2009-03-02 09:34:37 +00:00
asfernandes
283509ad8d
Misc
2009-03-01 15:42:23 +00:00
alexpeshkoff
4fc28a7195
AIX port - cleanup
2009-03-01 13:23:58 +00:00
hvlad
de11e4037a
Don't report wrong error at graceful socket shutdown.
...
Misc.
2009-03-01 10:35:43 +00:00
dimitr
fdeb9d6e53
Fixed the "bad handle" error reporting in the remote server.
2009-02-28 13:12:37 +00:00
robocop
fab6a3a6cf
Get rid of superflous parentheses.
2009-02-28 11:57:40 +00:00
robocop
f309e01a7e
Apply patch from Kovalenko Dmitry (Lipetsk).
2009-02-25 08:08:34 +00:00
robocop
41efd08618
Comment flag that I marked as unused years ago.
2009-02-25 05:38:27 +00:00
asfernandes
b204a1e54f
Misc
2009-02-21 17:43:07 +00:00
alexpeshkoff
c69863bdd5
Clean up - code was not needed since security fix, avoiding use of UID, transfered by client
2009-02-20 16:13:32 +00:00
aafemt
c3cf2052ef
Fix some mistypes that GCC doesn't tolerate
2009-02-17 17:00:22 +00:00
paulbeach
13274ac5a9
Frontport and solve symbol issue for MacOSX
2009-01-21 13:04:36 +00:00
robocop
3689f15321
Style.
2009-01-20 08:33:59 +00:00
robocop
3a03e0515c
Style: aligning the opening and ending braces in switch() statements and in large blocks of code.
2009-01-18 11:36:08 +00:00
asfernandes
cd010ff939
Misc
2009-01-17 19:07:07 +00:00
robocop
5cdbf4cf00
Style.
2009-01-17 10:11:29 +00:00
hvlad
a789c93954
Avoid races - twice close handle of listener port during server shutdown. It was not dangerous but not comfortable for developers as under debugger CloseHandle() throw exception at second close attempt.
2009-01-16 23:58:10 +00:00
dimitr
4e54096846
Misc.
2009-01-16 20:25:31 +00:00
robocop
546290b68b
Style.
2009-01-16 09:55:38 +00:00
alexpeshkoff
832394fd5a
cleanup suggested by Claudio
2009-01-15 10:22:03 +00:00
robocop
f1fab1b53c
Style.
2009-01-14 12:37:23 +00:00
robocop
b627ad2a39
Style.
2009-01-07 09:30:57 +00:00
robocop
fda9c3bc75
Style.
2009-01-05 08:22:58 +00:00
asfernandes
79e89d573d
Misc
2009-01-03 19:02:04 +00:00
robocop
21bb7f3d20
Style.
2009-01-03 09:14:29 +00:00
robocop
6406e45337
Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.)
2009-01-02 06:36:12 +00:00
asfernandes
a177d28d60
Misc
2008-12-31 20:22:10 +00:00
robocop
dbb595ad86
Shut up compiler warning (unreachable code).
2008-12-31 05:07:26 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
alexpeshkoff
4b20155e75
Fixed CORE-2262: Client connection is abruptly terminated
2008-12-30 15:23:06 +00:00
alexpeshkoff
9bdb3ecb7c
assertion is wrong for event ports - to be reviewed by Vlad
2008-12-30 15:17:50 +00:00
alexpeshkoff
e7355ab712
misc
2008-12-30 15:16:47 +00:00
dimitr
c714df0aa9
Misc.
2008-12-29 20:57:40 +00:00
hvlad
df3c623874
Fixed bug CORE-2248 : AV in server.cpp\loopThread()
...
Removed not needed check for request's port in parent port clients list as
a) this check not needed anymore
b) this loop is performance killer
2008-12-19 09:01:44 +00:00
asfernandes
d03b6ede7f
Misc
2008-12-18 01:24:58 +00:00
asfernandes
84dfa0e092
Fixed CORE-316 - Can't open database with MBCS/Extended characters in name.
...
Documentation soon.
2008-12-15 14:59:34 +00:00
robocop
f140cbb7d2
Before I put the "explicit" modifier on AtomicCounter's constructor, the compiler was generating a temporary AtomicCounter on the fly and later assigning it to the target AtomicCounter instance to satisfy an assignment of an integer to an AtomicCounter. I'm not sure we want to allow (and worse, foster) the copying of AtomicCounter instances or temporaries created by the compiler, hence I implemented a new method and fixed the code, but I don't know how to write the best code for one group of platforms in fb_atomic.h, hence I wrote the method with a syntax problem to be caught by someone who knows better.
2008-12-13 09:19:22 +00:00
hvlad
a93f6c32f0
Some thread safety
2008-12-12 10:06:32 +00:00
asfernandes
05947b7afc
Misc
2008-12-12 00:55:03 +00:00
hvlad
ff268a4fb3
Sorry, again some debugging code was left
2008-12-11 11:51:10 +00:00
hvlad
9bcfe005cb
Wait for end of all server's threads (at fb_shut_finish handler) to ensure no threads will access global variables (mutexes) during gds__cleanup phase of process shutdown. It must guarantee no races and AV's during process shutdown.
2008-12-11 11:49:52 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb
Remove trailing spaces (.h files)
2008-12-05 00:56:15 +00:00
robocop
d39690fbff
Style (and let lines grow up to 100 columns).
2008-12-04 09:29:16 +00:00
asfernandes
744e83f240
Misc
2008-12-03 01:05:53 +00:00
robocop
9f52942ab0
Style.
2008-12-02 07:09:49 +00:00
robocop
eb6ea18df4
Misc.
2008-12-01 09:21:31 +00:00
asfernandes
c1c7a4fb31
Fix Linux build
2008-11-30 20:09:28 +00:00
hvlad
ca8b78bcff
Make WNET use overlapped (non-blocking) IO. It allows to break blocked IO operations and implement force_close() call correctly.
...
Also don't write in firebird.log "FileRead end-of-file" error on clean disconnect and don't write more than one OS error on the same port.
2008-11-30 11:47:30 +00:00
hvlad
56e5b9b544
FB_CANCEL_OPERATION supports only by TCP\IP transport currently
2008-11-30 11:41:03 +00:00
hvlad
2b6ba03d63
Implement new option (fb_cancel_abort) for fb_cancel_operation(). It allows forcebly close client port and allow application to shutdown even it wait of execution finish of some long running query. Use carefull !
...
Not implemented for WNET, work in progress.
2008-11-27 22:59:42 +00:00
hvlad
3c8c5b565c
Fixed few bugs for XNET under high load. Improve XNET connections error diagnostics. Don't stop processing XNET incoming connections if one of them failed at initial stage (at XNET_conect).
2008-11-27 22:48:21 +00:00
alexpeshkoff
9ca7135efa
fixed gcc warning
2008-11-24 17:04:29 +00:00
asfernandes
db82e7cd6b
Misc
2008-11-06 00:23:21 +00:00
roman-simakov
4e6eaa17cd
Fixed server crash by right mouse button clicking at server properties page on Windows x64
2008-11-05 16:48:27 +00:00
dimitr
d7d1e1d0a4
Let's don't use system_call_failed() for local exception handling.
2008-11-05 11:24:17 +00:00
hvlad
7918aaa256
Fixed AV in CS worker process (there was double deallocation of port).
...
Avoid wrong error message in firebird.log when listener is shutted down.
2008-11-04 14:22:51 +00:00
hvlad
a1ccc92d67
Fixed brocken -d mode of CS.
...
Fixed AV in CS worker process (there was double deallocation of port).
Add missed mutex control when port's list accessed.
2008-11-04 14:20:57 +00:00
dimitr
4c05d2d8dd
Fixed CORE-2137: Database restore may crash the server when DummyPacketInterval is set.
2008-10-22 15:43:16 +00:00
dimitr
8e72ece026
Uncouple Mutex and RefMutex. This resolves the circular dependency: "AtomicCounter->Mutex->RefCounted->AtomicCounter" and thus enables all non-x86 POSIX builds.
2008-10-19 11:41:43 +00:00
robocop
66f41f7986
Simplify the #ifdef.
2008-10-16 08:52:16 +00:00
alexpeshkoff
065c4b0430
Disconnect all ports after shutdown of working threads
2008-10-13 16:04:15 +00:00
alexpeshkoff
1483d0e465
Need to keep reference count here too
2008-10-13 12:19:26 +00:00
alexpeshkoff
38a8b41c7f
Avoid annoying messages in firebird.log
2008-10-10 15:50:07 +00:00
asfernandes
ac600b29d7
Misc
2008-10-09 00:59:56 +00:00
hvlad
ca2519263b
Fixed bug CORE-2108 : "get_free_slot() failed" error
2008-10-04 19:41:18 +00:00
hvlad
857129d3f7
Initialize local variable
2008-10-04 17:46:31 +00:00
hvlad
4180370a7a
Enlarge space reserved for strings in errors returned after attachment failure. It allow to report errors correctly for application which made a lot of simultaneous (failed) connections.
2008-10-04 17:45:58 +00:00
hvlad
c56ebce7bc
Fixed bug CORE-2107 : Failed to establish TCP\IP connection with Windows Classic Server under high load
2008-10-04 17:14:51 +00:00
alexpeshkoff
2f803217f8
1. Never shutdown worker threads from fb_shutdown()'s callback -
...
instead do it at the end of main server loop.
2. Fixed races when worker thread(s) remained running after exit from main().
3. Added better protection by mutex to counter of worker threads.
Avoid possible races when worker thread starts.
2008-10-03 16:22:54 +00:00
asfernandes
e25ab5a1c6
Misc
2008-09-27 02:54:30 +00:00
robocop
b461e728ad
Make inet_aton a function i Windows.
2008-09-24 11:27:37 +00:00
robocop
e1487d3684
inet_aton() does not exist in Windows.
2008-09-24 09:27:11 +00:00
asfernandes
3bf8ec8fb2
Misc
2008-09-24 02:02:38 +00:00
alexpeshkoff
14f21f568e
1. Fixed CORE-2087: server binds to all interfaces in case of error in firebird.conf.
...
2. Fixed CORE-2093: Superserver startup fails on solaris / 64 bit.
3. Improvement CORE-2094: Make it possible to use hostname when specifying interface to listen on in firebird.conf.
Almost impossible to separate: came in one week and required modifications in same part of code.
2008-09-22 14:46:13 +00:00
asfernandes
22c65f0153
Misc
2008-09-10 02:21:13 +00:00
alexpeshkoff
b63b160fdc
make multiclient server shutdown in main thread with normal main port cleanup
2008-09-08 14:06:33 +00:00
alexpeshkoff
eecaa826e3
Cleanup - put two exit handlers with different tasks into separate functions
2008-09-08 13:59:53 +00:00
alexpeshkoff
41488cd241
restored old behavior in OOM conditions - thanks to Claudio
2008-09-08 13:26:47 +00:00
asfernandes
0f387a9bee
Misc
2008-09-06 18:42:55 +00:00
alexpeshkoff
d66900f78a
Refactored code saving strings in remote.cpp
2008-09-05 13:15:24 +00:00
asfernandes
96194d08ba
Misc
2008-08-31 01:10:41 +00:00
asfernandes
a245731588
Partial fix for the Windows build
2008-08-27 15:33:56 +00:00
alexpeshkoff
13a15d4bfe
1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
...
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
alexpeshkoff
a5c262873a
Better fix for CORE-2055, thanks to Claudio
2008-08-27 10:40:51 +00:00
alexpeshkoff
475913287b
Fixed CORE-2055: BOF in fbclient
2008-08-27 08:05:29 +00:00
dimitr
6fb84abce3
Fixed CORE-2016: Client hang at use of XNET protocol in cases when database or attachment has been shut down.
2008-07-29 11:02:15 +00:00
dimitr
8f05c35f88
Misc.
2008-07-29 10:36:36 +00:00
alexpeshkoff
7c8427bc35
Separated CVT functions to common and jrd parts.
...
This made possible to avoid ugly CVT_move export.
Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00