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

943 Commits

Author SHA1 Message Date
dimitr
40d041d628 Fixed the issue reported by Philippe. To be backported after more testing. 2008-12-12 16:04:57 +00:00
dimitr
25dc79dce2 Fixed CORE-2209: Very slow procesing of the monitoring requests under high load and blocking other activity during that time.
The new code is expected to work 100-200 times faster. To be field-tested.
Implemented CORE-2233: Allow non-SYSDBA users to monitor not only their current attachment but other their attachments as well.
Sorry for mixing two fixes inside a single commit, but they're somewhat related.
2008-12-11 11:58:50 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
hvlad
36e1866a1d Few fixes to correctly close brocken external connection.
Ability to stop execution of external query when :
- engine is shutted down
- database is shutted down
- local statement is cancelled
- local connection is cancelled
2008-11-27 23:06:48 +00:00
hvlad
62ca23fa58 Fixed bug CORE-2183 : Error in ExtDS when server shutdown started with opened Execute Statement 2008-11-17 12:30:28 +00:00
asfernandes
d8855e2e47 Misc 2008-11-14 14:15:37 +00:00
alexpeshkoff
e9162ee2f2 Fixed CORE-2179: Deadlock when trying to shutdown server with opened ExecuteStatement 2008-11-12 14:32:18 +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
roman-simakov
8edd7733d4 Fixed authentication bug with sysdba login written in lowercase letters. 2008-10-14 10:05:10 +00:00
hvlad
a3d266ba83 Fixed bug CORE-2018 : Only one client can access a readonly database 2008-10-14 09:10:36 +00:00
alexpeshkoff
e79f55708d 1. Cleanup - use Firebird::Semaphore instead of local events, removed code
related with local events from isc_sync.cpp.

2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().

3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).

4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).

5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
hvlad
97bf925499 Use fb_utils::init_status instead of status[0] = 0 2008-09-10 11:41:36 +00:00
alexpeshkoff
5be80cc7f5 Restored missing line - thanks to Claudio 2008-09-01 08:56:17 +00:00
asfernandes
96194d08ba Misc 2008-08-31 01:10:41 +00:00
asfernandes
8497cd4307 Misc 2008-08-28 15:39:51 +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
asfernandes
8f9b451ce9 Rework of ib_util changes. Dynamically load it in the engine and inform callback functions to alloc and free memory. Allocate memory from the default pool. 2008-07-12 21:23:42 +00:00
robocop
a302401357 Misc. 2008-07-09 12:34:43 +00:00
dimitr
609f466ad3 1) Fixed the layering, as dbb_lock shouldn't belong to PIO.
2) Passed tdbb to some engine routines that were dealing with TLS.
3) Got rid of fil_length and some minor cleanup.
2008-07-09 08:40:31 +00:00
robocop
534abf1560 const 2008-07-08 06:44:53 +00:00
alexpeshkoff
81579840ab Renamed function 2008-07-07 13:33:28 +00:00
alexpeshkoff
7fe33f3e5d Fixed CORE-1972: Non-SYSDBA user can change FW mode of database 2008-07-07 10:42:17 +00:00
asfernandes
45786da3bc Misc 2008-07-06 16:42:52 +00:00
robocop
80ba24a605 Fixing the Win32 build after Alex' changes. 2008-07-06 11:03:09 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
hvlad
81c1e2e604 Correct error in my previous commit. 2008-06-24 12:02:29 +00:00
hvlad
ac03047011 1. Make work with databases_mutex more consistent (lock\unlock it at the same scope of code).
2. Restore accidentally broken pause when attempt to brute-force login\pwd is detected
2008-06-24 11:56:17 +00:00
asfernandes
af1d955da6 Improvement CORE-1937 - Detect (instead of crash) FREE_IT UDFs that return pointer not allocated by ib_util_malloc 2008-06-14 22:16:40 +00:00
dimitr
9a9d48c45d Restored the missing (wrongly cleaned up) parts of the thread priority logic (still useful for the current SS). 2008-06-09 08:10:11 +00:00
dimitr
ec1d5a91b4 1) Encapsulated the lock manager and integrated it into the engine.
2) Replaced "early" (before LM) checkouts with "late" (inside LM) ones.
3) Removed the mutex protection that's no longer necessary.
Note: the new LM contains some future code (currently commented out) which will be enabled and tested after the Alpha release.
2008-06-07 09:08:16 +00:00
dimitr
bff84e9e7a Cleanup. 2008-06-06 15:55:36 +00:00
alexpeshkoff
b85be10e63 Fixed static variables in verify_database_name() - thanks to Claudio 2008-05-21 08:40:58 +00:00
alexpeshkoff
17061d4280 Make fb_cancel_operation() behave better when enable/disable command is used 2008-05-12 13:36:22 +00:00
hvlad
422338e5e3 Lock att_mutex in Attachment's constructor 2008-05-08 07:45:19 +00:00
dimitr
2c7acdef79 Cleanup of the disabled/unused code. 2008-05-07 10:39:24 +00:00
dimitr
7edcee435b 1) Turn on FW on all platforms by default.
2) Cleanup/misc.
2008-05-07 05:18:09 +00:00
dimitr
0a9e8c8382 Implemented CORE-1751. The changes include:
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
asfernandes
b30236303d Misc 2008-05-05 02:22:53 +00:00
hvlad
a8d9303dc7 Restore att_mutex blocking logic as prior commit broked EXECUTE STATEMENT. Add extra mt protection in cancel_attachments. 2008-05-04 21:24:33 +00:00
alexpeshkoff
7ff8e4d2be Fixed CORE-1879: Server uses wrong authentication method 2008-05-04 13:38:02 +00:00
hvlad
9280a572a0 Avoid long blocking of att_mutex and make sure it is always released when attachment deleted.
Move active requests cancellation at engine shutdown from Y-valve into engine and let them stop execution before deletion of attachments.
Make sweep run in separate thread despite of engine architecture.
2008-05-04 12:49:29 +00:00
asfernandes
59673b03e8 Misc 2008-05-03 01:58:36 +00:00
robocop
ec66e1713a Fix indentation. 2008-05-01 11:01:10 +00:00
alexpeshkoff
0ba2ab7ea7 Make fb_cancel_operation() public API call. Related cleanup. 2008-04-29 09:55:41 +00:00
asfernandes
53a2090f65 Misc 2008-04-27 02:39:51 +00:00
robocop
83d3ddd6cb Replace custom code by helper class ThreadStatusGuard. 2008-04-26 10:29:52 +00:00
alexpeshkoff
6e04201fa5 Fixed AV: exception may be thrown when there is no attachment at all 2008-04-24 15:11:45 +00:00
asfernandes
e18ac3cb53 Misc 2008-04-24 01:53:40 +00:00
asfernandes
a599f8a49a Fixed problems of attachment lock in Windows - thanks to Vlad 2008-04-22 15:32:33 +00:00
alexpeshkoff
9ff2935d79 Fixed CORE-1854: Value of CURRENT_USER may be not in upper case when using unix OS auth 2008-04-21 16:18:41 +00:00
asfernandes
c416ea1621 Lock the attachment handle during API calls 2008-04-20 22:54:36 +00:00
asfernandes
d75951e8e5 Misc 2008-04-18 01:37:44 +00:00
dimitr
c255169fe9 1) Simplified the internal provider API a little.
2) Passed the original filename (possibly an alias) via DPB. This way it can be transmitted through the remote subsystem.

Hopefully, this should fix CORE-1105, CORE-1390 and CORE-1566 at once.
Although a better hope would be that it won't break anything else :-)
2008-04-17 14:05:44 +00:00
asfernandes
77e97a47c0 Feature requests CORE-1737 and CORE-1803:
1) ALTER CHARACTER SET <charset> SET DEFAULT COLLATION <collation>
2) CREATE DATABASE ... [ DEFAULT CHARACTER SET <charset> [ COLLATION <collation> ] ]
2008-04-15 02:18:38 +00:00
hvlad
d5aa346176 Make provider's registration not dependent from existance of EDS::Manager instance. Noted by Adriano. 2008-04-12 21:20:26 +00:00
robocop
bbc2c20725 Misc. 2008-04-10 09:43:31 +00:00
hvlad
fe3f8c184b New EXECUTE STATEMENT with support of external data source implementation 2008-04-09 20:18:47 +00:00
robocop
82ab872e2e Fix comment. 2008-04-09 12:57:22 +00:00
alexpeshkoff
b237f4ebd8 Cleanup - avoid use of SUPERCLIENT macro in files, used by utilities
(and in some other places too).
2008-04-08 14:18:24 +00:00
alexpeshkoff
6901cc5938 Almost misc 2008-04-07 15:26:52 +00:00
asfernandes
a73aa97269 Load ib_util.dll from the install directory, to fbembed.dll loaded with altered search path be able to find it 2008-04-04 15:59:15 +00:00
asfernandes
2723814ced Fix the problem with ib_util.dll caused by CORE-1814 2008-04-04 15:37:48 +00:00
alexpeshkoff
97b10fd3ca Fixed forgotten terminator - thanks to Dmitry and Adriano 2008-04-04 14:47:05 +00:00
alexpeshkoff
abcbabf448 Added message for shutdown timeout failure 2008-04-04 14:20:20 +00:00
alexpeshkoff
aafed20fe1 Fixed problems with shutting down actively running engine - related with CORE-1805. 2008-04-02 14:26:17 +00:00
asfernandes
d11b683899 Fix the pool usage 2008-03-31 01:51:18 +00:00
robocop
3de79a20c9 Fixing the damn interface. 2008-03-30 09:42:24 +00:00
hvlad
5e6a939197 Set transaction handle to NULL after successful commit or rollback 2008-03-28 09:18:39 +00:00
alexpeshkoff
cbe0217664 fixed gcc warning 2008-03-27 09:14:24 +00:00
dimitr
b87b5032ef Changes in the TimeStamp class by Dmitry Kovalenko. 2008-03-26 10:21:04 +00:00
robocop
8270e50066 make them explicit. 2008-03-22 09:02:27 +00:00
dimitr
1f22e3e1c1 1) Added proper handle validation for dbb.
2) Changed dbb_sync lifestyle handling.
3) Sync'ed access to the att_long_locks.
4) Put in a temporary workaround for nbackup deadlocks.
2008-03-20 16:42:29 +00:00
dimitr
f5659c0b70 1) Major cleanup of the old-style blk and allocator-based blk_type.
2) Added synchronization for the JRD locks.
2008-03-19 16:19:56 +00:00
alexpeshkoff
ed25245303 Applied shutdown changes, discussed in fb-devel a week ago. 2008-03-17 16:49:47 +00:00
asfernandes
493a6eab3c Misc 2008-03-17 02:00:16 +00:00
asfernandes
8bb723bec3 Validate (and store in tdbb) non-NULL transaction handles 2008-03-16 19:30:00 +00:00
asfernandes
c7ec88bee4 1) Created classes PreparedStatement and ResultSet
2) Changed EXECUTE STATEMENT to use these classes
3) Fixed CORE-1784 - Error with EXECUTE PROCEDURE inside EXECUTE STATEMENT
2008-03-13 16:37:20 +00:00
dimitr
ebad313cfd 1) Fixed CORE-1788.
2) Protected from other similar deadlocks.
3) Refactoring.
2008-03-13 14:20:32 +00:00
dimitr
afb970dba1 1) Cleanup.
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
c407e8cd0e Make member function inline. 2008-03-12 07:16:26 +00:00
robocop
dadefcb479 Binary things are UCHAR. Let's try to fix them from the innermost layer to the outermost layer until we can fix the public interfaces. 2008-03-10 09:31:40 +00:00
asfernandes
74d8711856 Misc 2008-03-08 21:20:26 +00:00
robocop
b1b7634b3d Since SCL_release changed meaning, it's necessary to adjust the name (SCL_release_all) and the comments. 2008-03-08 11:37:15 +00:00
asfernandes
0b6ecafe1b 1) Remove REPLAY_OSRI_API_CALLS_SUBSYSTEM code
2) Remove internal y-valve function INTERNAL_COMPILE_REQUEST
3) Go direct to engine internals from DSQL, without need to exit/enter the attachment lock and check exceptions in status vector
2008-03-07 15:23:21 +00:00
hvlad
7d54298dea Fixed CORE-1775 : Improve performance of security checking 2008-03-06 13:13:31 +00:00
hvlad
23679a8b04 Fix few race conditions during metadata load and make index lock block accounting more MT safe. 2008-03-05 14:23:19 +00:00
dimitr
d597154a4b 1) Added timeout value to the shutdown API call.
2) Fixed the slow fbembed detach noticed by Claudio and Vlad.
3) Cleanup.
2008-03-04 13:27:02 +00:00
robocop
8888ecb544 Let's better use UCHAR for binary streams. 2008-03-04 06:03:34 +00:00
asfernandes
e88fd596d9 Let DSQL cache lock logic in SS too - per Dmitry request 2008-03-03 15:40:56 +00:00
asfernandes
88b6f39f82 1) Restore logic of not handled exceptions
2) Initialize some status vectors
2008-03-03 00:47:04 +00:00
asfernandes
7a2dedaa39 Go direct to engine internals from DSQL, without need to exit/enter the attachment lock - more to follow 2008-03-02 21:16:16 +00:00
asfernandes
35688cd5d9 Cleanup: remove y-valve functions DSQL_CACHE and INTL_FUNCTION 2008-03-01 19:14:46 +00:00
dimitr
0096b53d9b Fixed the issue reported by Dmitry Kovalenko in fb-devel. We don't need to validate the transaction handle in JRD, as DSQL does some tricks about it. 2008-03-01 08:42:31 +00:00
alexpeshkoff
48e9858b57 fixed CORE-1756: AV in isc_start_transaction (isc_start_multiple) 2008-02-29 16:44:17 +00:00
dimitr
5ca270c096 1) Cleanup SERVER_SHUTDOWN.
2) Make the engine shutdown asynchronous.
2008-02-29 12:47:20 +00:00
alexpeshkoff
00c63c1f8d 1. Make signals handling in yValve MT safe.
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
dimitr
99caa91b85 DSQL integration into the engine. 2008-02-28 13:48:16 +00:00
dimitr
6343ea1d84 1) Fixed a deadlock related to SecurityDatabase.
2) Cleaned up the code duplicated in CMP_shutdown_database(). This was a mistake in one of my prior commits.
2008-02-27 12:25:04 +00:00
dimitr
c7bbcda729 Fixed the mutex recursion in jrd8_prepare_transaction. Thanks to Dmitry Kovalenko. 2008-02-24 09:55:10 +00:00
robocop
95e59f72b5 Undo the check for 255 bytes in JRD_num_attachments (let the callers handle long paths).
Fix some memory leaks (at least one of them signaled by myself years ago) when calling JRD_num_attachments.
Introduce an enumeration for the "flag" parameter in the same function.
2008-02-21 04:24:42 +00:00
dimitr
0542cccc67 Cleanup the code that was never enabled. 2008-02-20 16:33:59 +00:00
dimitr
3b843d8aea Make the memory stats SuperClassic friendly. It doesn't make the Classic logic much worse. 2008-02-20 15:29:07 +00:00
robocop
5bff502eac Better report truncated paths than to crash due to malformed parameter block. 2008-02-20 10:20:40 +00:00
dimitr
81df8a829f Added missing synchronization. 2008-02-19 16:50:04 +00:00
dimitr
7ae3eb5977 1) Make enumeration and shutdown routines SuperClassic friendly.
2) Cleanup and minor refactoring of the Classic shutdown routines.
2008-02-19 16:23:53 +00:00
asfernandes
c979d91901 Misc 2008-02-19 02:34:55 +00:00
robocop
7a0a29e234 Move some clutter out of jrd.h to Database.h and Database.cpp. 2008-02-14 12:24:27 +00:00
robocop
360cc4c31b Style. 2008-02-14 07:31:25 +00:00
dimitr
ff9e777bc0 Cleanup, style and synchronization. Solved a few deadlocks and races during attach. 2008-02-14 07:12:13 +00:00
alexpeshkoff
dbf65528b8 Fixed CORE-1726: isc_service_start failed, use InitHolder for SecurityDatabase in services too. 2008-02-13 13:10:23 +00:00
asfernandes
627202bd84 Fix operator precedence 2008-02-11 23:32:15 +00:00
dimitr
78b4b30764 Move the dbb<->att check under the mutex protection. 2008-02-11 17:39:04 +00:00
asfernandes
4ffcaa7c5b Misc 2008-02-10 17:26:35 +00:00
alexpeshkoff
c3e1830e12 1. Cleanup:
- moved Attachment constructor (big enough) into .cpp file
 - avoid use of dbb in Database::get() and getUserInfo()
2. Complete fix for CORE-1726 - SecurityDatabase::init() is now not Database, but Attachment counted.
2008-02-10 16:38:30 +00:00
alexpeshkoff
18f72a7ed2 Fixed filehandles and temp diskspace leak - delete dbb_sys_trans makes it close TempSpace 2008-02-08 16:54:10 +00:00
asfernandes
691fb487d8 Misc 2008-02-06 00:43:54 +00:00
alexpeshkoff
ee6c433597 Mutexes cleanup:
1. Make all firebird mutexes recursive.
2. Enable exceptions to be thrown by mutexes and process them in code where needed.
3. Catch and ignore exceptions in various MutexGuard dtors.
2008-02-05 08:21:18 +00:00
robocop
4c3381ef6b Style, constness and macro cleanup. 2008-02-03 10:41:44 +00:00
asfernandes
b39ac40c9d Misc 2008-02-03 02:32:39 +00:00
alexpeshkoff
8901a0e003 Services cleanup - make class Service traditional C++ class 2008-02-02 18:33:37 +00:00
robocop
e9e1ead67a Mostly style, constness, native memcpy and explicit constructors. 2008-02-02 17:04:06 +00:00
dimitr
9c9413d02e Fixed issue spotted by Claudio privately. 2008-02-02 14:36:06 +00:00
dimitr
16814b51a6 Let's be consistent with operation order during dbb destruction. 2008-01-29 17:32:42 +00:00
alexpeshkoff
3589cebc95 Fixed some posix problems 2008-01-29 10:36:49 +00:00
dimitr
a38b327886 Cleanup. Get rid of the JrdMemoryPool. 2008-01-29 10:11:52 +00:00
asfernandes
de8771570f Misc 2008-01-29 01:36:41 +00:00
dimitr
c0f1809bde Let's explicitly release all locks we own. 2008-01-28 17:27:03 +00:00
dimitr
ed3817f6b6 Sigh, we have to release the dbb when doing authentication. 2008-01-26 17:33:57 +00:00
dimitr
d54edd1a13 Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 13:51:33 +00:00
asfernandes
aea2bcb354 Misc 2008-01-23 19:03:16 +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
c577fde263 The merge is being fixed. 2008-01-16 12:29:45 +00:00
dimitr
d1e8f67a5d The merge continued. 2008-01-16 09:29:37 +00:00
dimitr
516f75c010 Protect the mutex from being released twice. 2007-12-19 14:12:31 +00:00
dimitr
cf12557e36 Code simplification. We don't need to track the cancellation for the non-request activities. 2007-12-11 09:19:06 +00:00
dimitr
d276641cc8 Fixed CORE-1610 and its subtask CORE-1615. 2007-12-10 07:18:54 +00:00
alexpeshkoff
eea9070f48 Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster 2007-12-03 15:46:39 +00:00
alexpeshkoff
3e0d8ebc5b Fixed CORE-1603: Possible buffer overflow with long user name 2007-11-19 16:18:59 +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
alexpeshkoff
a80dd39b11 Fixed CORE-1593: Full domain user name can be longer than 31 char(for trusted authentication) 2007-11-15 12:48:24 +00:00
alexpeshkoff
c4f6801e34 avoid cast 2007-11-01 17:19:54 +00:00
alexpeshkoff
8c542c5b26 Fixed CORE-1551: AV when all statements are cancelled 2007-10-30 14:50:05 +00:00
alexpeshkoff
edc03201ca Fixed CORE-1537: NBackup creates difference file in bad place 2007-10-26 13:21:16 +00:00
dimitr
025cf5c752 Fixed CORE-1540. 2007-10-26 10:53:47 +00:00
robocop
5e135ba43f Moved the bool before the strings. 2007-10-24 07:03:37 +00:00
robocop
3c9917e8e2 For now, we are only interested in knowing that
dpb_gbak_attach was specified, not in the content of the string.
2007-10-24 06:26:31 +00:00
dimitr
81a791c6bb Allow ASTs to be delivered while the engine performs some long activity. 2007-10-15 17:45:30 +00:00
hvlad
6bc73b2260 Correction for fix for bug CORE-1443 2007-09-18 14:58:31 +00:00
hvlad
ebb55209c0 Fixed bug CORE-1468 : Database corruption possible when database file extension and read\write activity is performed simultaneously 2007-09-18 14:50:51 +00:00
hvlad
193910ff7c Fixed bug CORE-1443 : Embedded engine may hang application on exit if no database access was performed 2007-09-06 07:52:39 +00:00
dimitr
91fa6a519b 1) Replaced the hackery LM-based ID generation with the local counter. Uniqueness will be ensured by the DatabaseSnapshot internals.
2) Fixed CORE-1441.
2007-09-05 07:18:37 +00:00
robocop
3a7d93f658 Misc tweaks with Firebird::string. 2007-08-26 09:53:08 +00:00
asfernandes
6beb5e28bd Misc 2007-07-26 01:23:18 +00:00
alexpeshkoff
4a0e6d59f3 Fixed unreleased (or released in wrong order) locks in:
1. Dsql cache.
2. Transaction (table lock) - only when database dropped.
3. Collation - were released after database's lock.
2007-07-25 13:21:59 +00:00
alexpeshkoff
f250c52b4f Fixed CORE-1323: NBAK not working 2007-06-15 09:28:56 +00:00
alexpeshkoff
0545a76ef6 Fixed role uppercasing - thanks to Adriano 2007-06-13 13:21:40 +00:00
alexpeshkoff
4a4a01ee98 Restored old (SYSDBA) value of CURRENT_USER during BOOT_BUILD 2007-06-09 09:25:40 +00:00
alexpeshkoff
abb9f55932 fixed option name 2007-06-09 08:38:27 +00:00
asfernandes
fbf04d54fc Misc 2007-06-09 04:06:26 +00:00
alexpeshkoff
e5f1e63836 Fixed CORE-1312: A remote attacker can check, if a file is present in the system, running firebird server 2007-06-08 10:24:57 +00:00
alexpeshkoff
ea8ba3370d Cleaned up mutexes - removed MUTX_T and related macros 2007-06-06 12:37:24 +00:00
asfernandes
e705b335f8 Fix non-ASCII object names in:
1) aliases in PLANs
2) EXECUTE PROCEDURE
3) SELECTs inside procedures/triggers
2007-05-26 22:08:13 +00:00
alexpeshkoff
f72f84ed58 Much better pool may be used here 2007-05-24 12:18:41 +00:00
alexpeshkoff
364849e5fe Fixed ContextPoolHolder usage - in non-AST cases pool should not be 0 2007-05-24 12:13:10 +00:00
asfernandes
c67afcb4ee Improvement CORE-1277 - Automatic transliteration of text blobs 2007-05-22 02:14:20 +00:00
dimitr
bc7c4d0054 Added remote process name to the monitoring data. Applications are allowed to override this value via DPB. 2007-05-16 07:54:33 +00:00
hvlad
395fa7f43d Assing memory pool in tdbb at database detach. 2007-05-07 13:09:26 +00:00
alexpeshkoff
6f8fb87780 Front-ported fix for CORE-1240 - any task, using libfbclient, hangs on exit on Darwin/PPC 2007-05-03 13:52:16 +00:00
skidder
742706cc4d Fix server crash if database file cannot be created that was introduced by our previous patch 2007-04-26 17:25:49 +00:00
skidder
04b9ec818b NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues 2007-04-24 14:05:46 +00:00
dimitr
4c66511fbd Correction for my old commit. Enforced rescheduling does very bad job for classic, causing a major slowdown. 2007-04-17 12:39:56 +00:00
alexpeshkoff
f0d465bf34 Fixed gcc warnings, general (un)signed usage cleanup 2007-04-11 09:28:50 +00:00
alexpeshkoff
6e735f7c53 Misc + gcc warning hunting 2007-04-09 16:15:29 +00:00
dimitr
72c5963844 Misc. 2007-04-05 04:27:29 +00:00
hvlad
79613ef6aa Don't waste even a nanosecond copying string if we can avoid it 2007-04-04 21:38:06 +00:00
asfernandes
032a4b170c Don't leak memory after conversion to blob for store the value in a variable or parameter 2007-03-24 03:00:22 +00:00
hvlad
b3dcfede36 Close external table's file when relation is not used by the engine.
This is simplest fix for bug CORE-132 (Restore fails on external table) and CORE-961(Free external tables)
2007-03-19 21:34:52 +00:00
dimitr
05473ab246 Front-ported fix for CORE-943. 2007-03-09 08:55:07 +00:00
dimitr
57c02cc754 Front-ported fix for CORE-1140. 2007-03-09 08:16:37 +00:00
dimitr
d3ae3fef1c Front-ported fix for CORE-1139. 2007-03-09 07:59:05 +00:00
asfernandes
e544f6fd1e Misc 2007-03-01 00:44:14 +00:00
alexpeshkoff
c877054ae5 Fix for CORE-900: Deadlock when attaching simultaneously with services and standard APIs 2007-02-28 08:40:27 +00:00
alexpeshkoff
9b2d957057 Fixed CORE-1091 - isc_service_query() showed full db file name 2007-02-26 16:17:00 +00:00
asfernandes
ba4be4f293 Misc 2007-02-26 02:13:42 +00:00
asfernandes
f73cf3e501 Initialize random seed when necessary 2007-02-26 01:01:17 +00:00
asfernandes
d87a30bf0c Misc 2007-02-23 01:42:10 +00:00
alexpeshkoff
dfef55e991 Fix for CORE-968 - Assertion failure in posix/isc_ipc.cpp 2007-02-22 16:47:39 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
dimitr
1c2de5688c Fixed (partially) CORE-1105. A half of the whole db alias idea has been broken three years ago and left unnoticed until now. Sigh. 2007-02-08 14:14:54 +00:00
alexpeshkoff
7d3949ad67 Fixed some problems, noticed by Claudio. 2007-01-28 12:17:17 +00:00
hvlad
3843604cd0 GTT related bugfix 2007-01-27 15:40:12 +00:00
asfernandes
c3d64106e0 Misc 2007-01-26 01:24:48 +00:00
alexpeshkoff
d66281291f 1. Make classic server close shutdown normally when killed by signals 2 & 15.
2. Don't leave running instances of fb_inet_server after database shutdown.
3. To make all this possible - reworked Y-Valve in general.
2007-01-20 14:45:45 +00:00
asfernandes
f30ee6b63e Use debug informations in EXECUTE BLOCK 2007-01-20 14:18:18 +00:00
asfernandes
aca179f398 Full domain support and NOT NULL in PSQL 2007-01-17 01:19:01 +00:00
dimitr
99c2df56b6 Changed cancellation implementation to work at the transaction level as being more efficient. 2007-01-07 15:15:06 +00:00
asfernandes
9493f2fb66 Fix problems with COMMIT triggers:
1) Fix a problem when the transaction could not be commited due to errors in DFW.
2) Run triggers inside a savepoint when "preparing" the transaction.
3) More doc.
2007-01-06 23:54:23 +00:00
hvlad
b9d0a9bcd6 Fixed CORE-1080 : Bugcheck 167 (invalid SEND request) in SS when many parallel attachments begin to execute trigger not loaded into metadata cache 2007-01-06 13:43:41 +00:00
dimitr
83c7f38229 Fixed CS build. 2007-01-06 06:52:43 +00:00
asfernandes
5db5421a66 Misc 2006-12-30 16:55:06 +00:00
asfernandes
de7dbae857 Rollback changes of all ON TRANSACTION COMMIT triggers when one trigger fail 2006-12-30 01:26:50 +00:00
dimitr
40f6fa11d0 Let's not cancel the verb cleanup process as it causes a fatal bugcheck. 2006-12-22 15:49:31 +00:00
asfernandes
bfcc8df647 Restore the original status vector 2006-12-13 14:28:57 +00:00
asfernandes
7329ad3f3b Run ON DISCONNECT triggers on server shutdown - thanks to Alex 2006-12-12 14:21:17 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
b43b43eca9 1) Changed MON$STATEMENTS a bit.
2) Implemented statement cancellation.
2006-12-04 21:36:29 +00:00
asfernandes
d168869475 Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS 2006-11-24 00:25:13 +00:00
asfernandes
3e7a2b4542 Do not swallow bugcheck exceptions - thanks to Claudio 2006-11-12 21:19:50 +00:00
robocop
4734698382 Fix a crash in Adriano's db triggers when using -shut and -tran in gfix, because TRA_start can throw and thus our result in jrd.cpp was uninitialized. 2006-11-10 08:38:55 +00:00
robocop
7a46dc7247 Misc. 2006-11-10 08:12:07 +00:00
asfernandes
570b6cd4b4 1) CORE-645 and CORE-745: Database triggers
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
hvlad
f48f2af25b Few corrections pointed by Claudio 2006-11-03 09:42:42 +00:00
asfernandes
4197a8be70 Fixed a bug when the connection charset is multibyte, appeared after recent changes to CsConvert class. 2006-11-02 22:37:19 +00:00
dimitr
543fc5e0d1 Enabled rescheduling points for classic. It allows to shutdown database or cancel operation timely for a heavy loaded attachment. 2006-10-31 15:59:23 +00:00
hvlad
58d381edd7 1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +00:00
dimitr
e4fffd425f 1) Updated monitoring implementation.
2) Cleanup.
2006-10-30 12:39:08 +00:00
asfernandes
358326eb08 Misc 2006-10-14 18:33:12 +00:00
robocop
28c3d29886 ApiGuide.pdf says a maximum of 16 databases is allowed for a multi-db transaction. However, Ann agrees that a modern new, sensible limit is 256 databases for start_transaction and start_multiple.
Fixed a buffer overrun in jrd.cpp related to this.
2006-10-14 01:29:36 +00:00
asfernandes
1d422a8330 1) Refactor intl_classes.h and intl.cpp
2) Make conversions from CharSet1->UTF16->CharSet2 job of CsConvert class
2006-10-10 19:40:33 +00:00
robocop
8e7e781e5f Partial commit with some cleanup and more constants. 2006-10-10 06:41:36 +00:00
asfernandes
4191332d2f Fix problem reported by Carsten Schäfer in fbdevel of incorrect server start when using connection pooling 2006-10-10 03:53:08 +00:00
robocop
861cc66a6f Dmitry's last commit appears incomplete for me (for example, no project files were updated). While trying to fix the VC6 build, I added the new class to the three "common*" projects and commented a line in jrd.cpp. Server may misbehave due to the jrd modification. 2006-10-08 07:57:15 +00:00
dimitr
988782a96a 1) A new class to handle aggregated multi-level performance counters.
2) Cleanup and minor fixing.
3) A few monitoring changes.
2006-10-07 10:53:01 +00:00
asfernandes
3cf910dedf Misc 2006-09-15 02:14:46 +00:00
dimitr
7c405166aa 1) Support for client PID in the monitoring data.
2) Changed XNET to return local hostname instead of PID as its remote address.
2006-09-14 13:47:31 +00:00
alexpeshkoff
ba264a2388 Fixed CORE-900 2006-08-17 09:51:34 +00:00
alexpeshkoff
205a7303c3 1. Centralized validation of attachment to be a super-user attachment.
2. Fixed a couple of old problems, when sysdba could perform operations, but
   database owner - could not.
3. Fixed CORE-84 - nbackup operations were allowed for everybody who can login
   to the given database.
4. Disabled creating shadows and adding additional DB-files for non super-user.
2006-08-16 15:15:58 +00:00
dimitr
17f99e1489 More fixes for the monitoring stuff. 2006-07-24 15:56:50 +00:00
robocop
64f6eb42a1 Misc. 2006-07-21 01:35:17 +00:00
asfernandes
155ab12384 Misc 2006-07-20 03:14:15 +00:00
dimitr
b7671e2bf6 Increase minimal created page size to 4096. Note that we still can open less page sizes. 2006-07-19 15:16:14 +00:00
dimitr
129e6229ee Monitoring, continued. 2006-07-19 06:19:56 +00:00
dimitr
c68587fe66 1. Virtual tables
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
asfernandes
3d20c0180a Misc 2006-07-12 15:13:22 +00:00
asfernandes
a86cf35ad4 Synchronization of DSQL metadata cache objects in classic-server 2006-07-10 03:12:10 +00:00
robocop
d2d3230637 Misc. 2006-07-01 08:50:21 +00:00
robocop
db5f743685 Misc. 2006-06-16 08:13:20 +00:00
dimitr
7cc12e8489 1) Reworked memory management in SORT. Now we're pools aware there.
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00
robocop
40f05409c9 Cleanup done and tree is buildable again.
:-)
2006-05-25 10:20:31 +00:00
robocop
7040d668fd Misc. 2006-05-25 08:40:23 +00:00
asfernandes
8dfca54dda Complete Dmitry's cleanup of all_proto.h 2006-05-23 12:23:53 +00:00
hvlad
701f2cbda4 Global temporary tables implementation 2006-05-21 22:07:35 +00:00
asfernandes
292ad66e96 Misc 2006-05-20 01:53:51 +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
dimitr
9ff5877b36 Fixed the posix build. 2006-05-13 05:02:13 +00:00
dimitr
ab72aae201 Threading cleanup. Restored the V4_THREADING code to the state it was before Blas' cleanup. It's not used but preserved as a self-documentation. 2006-05-01 05:11:52 +00:00
dimitr
bece02f7e8 Threading cleanup. More to follow. 2006-04-30 18:15:30 +00:00
dimitr
8f9d2584db Threading cleanup. More to follow. 2006-04-30 17:40:24 +00:00
dimitr
79652b7222 Threading cleanup. More to follow. 2006-04-30 17:30:32 +00:00
dimitr
8e07223ebf Threading cleanup. More to follow. 2006-04-30 16:28:30 +00:00
robocop
e49082193a Delete redundant cast. 2006-04-29 05:42:43 +00:00
asfernandes
89ce677f48 Misc 2006-04-26 02:49:25 +00:00
dimitr
e5869b3921 Misc. 2006-04-25 07:37:19 +00:00
alexpeshkoff
7aa58b7f3a fixed debug build 2006-04-16 12:52:58 +00:00
asfernandes
7923390e54 Allow collation IDs greater than 127 2006-04-05 16:34:18 +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
robocop
044c5841ad Misc. 2006-02-10 03:28:43 +00:00
hvlad
7c5c5ec818 Don't overwrite dbb_oldest_snapshot and another transaction numbers with
oldest values from header page after user call to isc_info_oldest_snapshot etc
2006-02-03 13:23:58 +00:00
robocop
97122ee389 Replace jrd_time.h by our timestamp.h, but I left timestamp.h's #includes commented where it *seemed* not necessary. 2006-02-03 08:39:36 +00:00
robocop
2b99e764e3 The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
Sixth step: remove the places protected by the macro PC_ENGINE. More to come. (I guess all of you who have pending functional changes to post will love this commit. <g>)
2006-02-02 07:32:07 +00:00
robocop
51e1d59ac5 Misc. 2006-01-28 04:12:42 +00:00
robocop
1e6d89ebfc Comment excessive dependencies on license.h. 2006-01-07 00:31:37 +00:00
dimitr
2204fe9624 Fixed the garbage trigger name (reported by Alex). 2006-01-03 11:28:24 +00:00
robocop
f00fc0ff56 1.- Make "vec" type safe and get rid of several code contortions. Fix some small bugs meanwhile.
2.- Put inside PC_ENGINE several data members that belong to that feature.
3.- Put inside PC_ENGINE the code that does cleanup on those unused data members.
2005-12-02 07:35:34 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
hvlad
9d6b361f69 Eliminate unnecessary JRD_get_thread_data call in nbak.
Checked against B2_0_BV_Stable3 branch
2005-11-21 23:33:20 +00:00
robocop
2e49ce85c9 Misc. 2005-10-14 04:12:36 +00:00
alexpeshkoff
46dd9a90d6 1. reanimated -database switch in gsec\n 2. isc_file.cpp should now compile at AIX\n 3.Use PathName to store database name in jrd.cpp during attach/create 2005-09-30 16:16:39 +00:00
asfernandes
13910d5c73 Fix issue of SQLVAR.sqllen from non-system MBCS fields, thanks to Roman 2005-09-14 18:09:40 +00:00
alexpeshkoff
e832cd2c68 fixed BOFs in PIO functions 2005-09-08 16:41:56 +00:00
asfernandes
0b1eb55d62 Fixed SF field-test #1249187 - 2.0a3: String literals dest. for large CHAR fields truncated 2005-08-21 15:52:30 +00:00
dimitr
92415ce39f Fixed a bugcheck (and possibly an engine crash) during server shutdown.
Force a TIP based rollback instead of using a transaction-level savepoint in this case.
2005-07-25 05:03:26 +00:00
dimitr
0af3a3f462 Fixed one of the server shutdown bugs. More to come. 2005-07-24 18:48:45 +00:00
dimitr
c4ff5cf6b8 Expanded the routine comment. 2005-06-25 09:34:59 +00:00
dimitr
0ce1d52f3e Slightly changed (mostly cleaned up and fixed) the SS shutdown mechanics. 2005-06-24 11:14:51 +00:00
asfernandes
890494ac7c 1) Fixed SF #1016040 Missing external libraries causes engine exception
2) Use better error messages
2005-06-14 03:16:54 +00:00
dimitr
894fa1e011 Removed unused thread scheduling option. 2005-06-12 06:27:12 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
alexpeshkoff
5729790ed6 1. Applied class MetaName
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
c8de3fff0c Change misleading comment. 2005-05-02 09:10:06 +00:00
dimitr
559843c97d Fixed origin of the 100% CPU load when an I/O error causes a rollover to non-existing shadow.
Also fixed attempt to wait for the attachment-owned lock for the already purged attachment.
2005-05-02 07:01:33 +00:00
asfernandes
eabacfd9ad Apply Vlad's patch reverting to legacy behavior about overwrite of non-database files 2005-05-01 14:58:21 +00:00
robocop
b609407d9b We can live with static_cast for these cases. 2005-04-18 03:32:35 +00:00
alexpeshkoff
808422abaf fixed windows build 2005-04-14 17:06:14 +00:00
asfernandes
b5294dc7a9 Fixed SF #1155520 - Any user can replace databases created by others 2005-04-13 01:06:24 +00:00
alexpeshkoff
504ec492ab Shutdown SS without SYSDBA password 2005-04-11 15:33:18 +00:00
hvlad
f09ef16560 1. New switch for gbak -RECREATE_DATABASE [OVERWRITE].
Simple RECREATE_DATABASE is equal to CREATE_DATABASE,
    RECREATE_DATABASE OVERWRITE is equal to REPLACE_DATABASE.
2. gbak uses isc_dpb_overwrite to create database over existing files
3. engine overwrite existing files only if asked explicitly by
    user by setting isc_dpb_overwrite to 1
4. fixed unregistered bug - when gbak uses service manager and passed
    command line contains invalid switch. Service reports error and
    finish but not call Service::svc_started therefore response is not
    send and gbak is stalled forever
2005-04-09 18:44:50 +00:00
dimitr
4ec439dd14 1) Deliver trigger type to the compiler level
2) Disallow NEW context assignments for POST-triggers
2005-03-28 21:52:55 +00:00
robocop
331b974d4b Fix role parsing bug. I warned the committer five months ago, but it got lost among his duties, so I'm fixing it now with the same suggestion I gave then.
Demonstration:
SQL> connect isqltest.fdb role "your bug""""is here";
and see what you get inside options.dpb_role_name in jrd.cpp at line 946.
2005-03-15 02:09:58 +00:00
alexpeshkoff
f4cd5a154f Changed name to security2.fdb 2005-02-24 12:24:38 +00:00
robocop
8d4b89723f Welcome to paranoid programming. 2005-01-25 06:33:07 +00:00
alexpeshkoff
643c54fba5 verify DatabaseAccess in the same style&place for both attach and create 2004-12-20 17:44:25 +00:00
alexpeshkoff
8a2e6d6c59 Better way for server to authenticate itself in security database. 2004-12-19 15:24:59 +00:00
skidder
252fae8d3b Second attempt to fix backing up of stream blobs.
This time it should work with XNET and INET too.
Rollback earlier engine fix which now seems incorrect to me.
2004-11-30 20:17:39 +00:00
alexpeshkoff
49aab40955 1. rewritten flu.cpp using modern firebird classes library
2. fixed diagnostic about missing/unusable UDF module
2004-11-29 11:15:09 +00:00
robocop
381ca2754b Misc. 2004-11-27 06:51:58 +00:00
skidder
55c4e0ac85 CLIENT_ADDRESS and NETWORK_PROTOCOL variables support 2004-11-26 01:01:27 +00:00
alexpeshkoff
f762abf547 applied fixes, suggested by Claudio
made get_options method of class DatabaseOptions
2004-11-25 16:09:12 +00:00
alexpeshkoff
bdd3b32278 use ClumpletReader to parse dpb options 2004-11-24 18:26:24 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
hvlad
d1e720d9cb GC policy config entry don't need to be case-sensitive 2004-11-11 10:17:16 +00:00
skidder
1e26d6c80d CURRENT_DATABASE implementation. Established identity may also be used for isc_info_db_id datum 2004-11-11 05:37:52 +00:00
skidder
1fa9ec81c7 Use case-sensitive comparisons for GC policy configuration entires. stricmp does not exist on Linux. 2004-11-10 23:02:31 +00:00
robocop
cf0c42f971 Misc. 2004-11-10 05:19:20 +00:00
hvlad
aba34753cb Add config file parameter for the garbage collection policy 2004-11-09 12:59:37 +00:00
robocop
e2ed110d8c Misc. 2004-11-08 08:01:26 +00:00
alexpeshkoff
3bd02ee852 security fix
1. Use SHA1 hash instead of ENC_crypt.
2. Disable any remote (non-embedded) access to security.fdb.
3. Use services in gsec and isc_*_user() fucntions.
    In gsec switch -database replaced with -server.
4. Protect from attempts to brut-force accounts/passwords.
2004-11-07 14:50:53 +00:00
robocop
e5be73b048 Misc: extra semicolons do not help. :-) 2004-11-07 10:47:20 +00:00
dimitr
feb6b7e006 Replaced non-centralized datetime management with a new class. 2004-10-30 19:41:54 +00:00
robocop
202f9ab5db Misc. 2004-10-28 05:23:16 +00:00
skidder
b29f8356c5 Implement routines for convenient dumping of memory pools under debugger 2004-10-25 05:14:12 +00:00
skidder
02a0915156 Teach engine to work with larger record numbers - 64-bit internally, 40-bit externally 2004-09-28 06:28:38 +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
alexpeshkoff
388503229c fixed problems with DatabseAccess verification during Create Database 2004-09-07 07:03:25 +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
robocop
53c645ce82 Temporary fix for first problem reported by Adriano dos Santos Fernandes.
Server should continue working normally if gbak tries to restore a db in a forbidden path.
Now mutex is unlocked and server can continue working. However, engine doesn't unload the db so it still thinks there's an active connection.
The proper fix should come from Alex, that probably involves throwing an exception to activate the code inside the catch() section.
2004-07-30 05:56:35 +00:00
skidder
8f0cf89afb Correct problems with single-user maintenance mode (note it is used for GBAK restore process now) 2004-06-12 01:06:05 +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
alexpeshkoff
9a34ce553c make bool (isEmpty/hasData) checks for string and stack safe 2004-05-27 16:26:52 +00:00
brodsom
64c1dee04e -Use C++ struct declaration style. 2004-05-24 17:31:47 +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
bed146ad19 -Replace *_thread_data macros with inline functions (jrd step 2) 2004-05-23 03:18:10 +00:00
brodsom
f4ca41fa3d -Replace *_thread_data macros with inline functions (jrd step 1) 2004-05-22 14:28:54 +00:00
brodsom
372c3de67d -Replace & remove unneeded threading macro in jrd.h
-Move more threading selection to firebird.h
-Replace POSIX_THREADS with USE_POSIX_THREADS
2004-05-22 02:11:56 +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
b76a60e8b7 Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build) 2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20 Macro cleaning (THREAD_*) 2004-05-15 00:58:46 +00:00
brodsom
9dbe1e64fe -Remove casts unneeded after macro cleaning 2004-05-14 18:43:34 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
skidder
a8ebb7be3d Apply lock handler fix to the case when multiple attachments are used inside Classic process. This is unusual, but possible case. Fix seems to be safe, but this is one of the most complex and sensitive parts of the engine 2004-05-08 02:57:06 +00:00
brodsom
ce7a5ced08 -Macro cleaning 2004-05-06 22:11:24 +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
skidder
91efe0fba0 Carefully account attachment pointers used inside JRD lock structure. This should cure crash reported by Nils Boedeker 2004-05-05 05:28:48 +00:00
brodsom
cb08ec3407 -Fix another incredibly stupid legacy variable naming, variable name = struct name. 2004-05-03 17:31:28 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
5cf9fdfc90 Removing ib_stdio.h 2004-04-28 22:43:34 +00:00
skidder
8bb5ed0e96 Fix problem with 64-bit SS NPTL builds 2004-04-20 05:57:31 +00:00
alexpeshkoff
ce0d00e9f6 struct trig moved to class Trigger 2004-04-19 15:29:29 +00:00
skidder
abdbec6f84 Switch to Firebird container templates for request resource tracking. This significantly reduces CPU time any memory consumption for databases with complex metadata 2004-04-18 02:50:38 +00:00
alexpeshkoff
f0aaf79090 fixed posix warning - dropped unneeded copy_string() 2004-03-31 17:51:43 +00:00
robocop
faa41f7b3b Cleanup 2004-03-30 04:10:52 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +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
alexpeshkoff
88dcae12db fixed some problems with posix debig build 2004-03-22 15:13:05 +00:00
alexpeshkoff
1e6c7b18e9 fixed problem with loop in includes 2004-03-22 11:38:23 +00:00
dimitr
ca273c2d58 Minor cleanup. 2004-03-21 09:34:30 +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
alexpeshkoff
5e045f18fc fixed posix build - it's buildable now 2004-03-16 17:35:03 +00:00
alexpeshkoff
2cab4e99f0 replaced str with Firebird::string (or Parhname) in Database and attachment 2004-03-14 13:34:43 +00:00
robocop
2ab1f94dd2 Cleanup
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
skidder
b6e5ccd413 Clean up.
1. gds__alloc doesn't throw
2. Add NOMEM handlers to a couple places
3. kill HAVE_*SNPRINTF conditionals
2004-03-09 00:17:07 +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
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
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
dimitr
ae27cf2218 Fixed possible crashes when this routine is called from verify_database_name().
Confirmed for the embedded server in the case of relative root path.
2004-01-28 09:31: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
6973b067ea Do more AMD64 fixes. libfbstatic builds and can do some basic stuff now 2004-01-12 06:58:27 +00:00
robocop
06a4df3708 A requiem for JOURNAL and WAL.
Instructions in the list.
2004-01-06 10:33:18 +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
robocop
d020ea5ca1 ping-pong cleanup: change one place and you have to change several others 2003-12-11 10:33:30 +00:00
robocop
b02c629735 Cleanup
Some name changes
Try to fix SINIX-Z problems with send() prototype
2003-12-05 10:35:47 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
aafemt
5f041977c2 'struct' cleanup 2003-11-26 11:15:32 +00:00
skidder
2ff3ad36cd Fix problem with long stream blobs 2003-11-17 18:09:51 +00:00
brodsom
6e8e00c191 -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:44:51 +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
robocop
f55c6f6f8c const correctness and cleanup 2003-11-10 09:16:38 +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
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +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
robocop
e4d4116b7d Fix logic bug in SEH->try/catch
Thanks to Mike
2003-11-02 06:10:26 +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
brodsom
9b1df738ac Remove unneeded MINGW ifdef 2003-10-29 00:31:51 +00:00
brodsom
9757af1c66 Macro cleaning 2003-10-09 02:02:42 +00:00
robocop
480c1ee968 const correctness 2003-10-08 08:42:48 +00:00
stryqx
4cbf0f0926 Define clock correctly, rather than casting it.
Pointed out by Claudio.
2003-10-07 11:02:25 +00:00
stryqx
674fa73b6a style 2003-10-07 10:43:20 +00:00
stryqx
110204da24 Fix build with gcc 3.3 2003-10-07 10:12:54 +00:00
brodsom
2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
alexpeshkoff
c92d1cf192 Ported today fixes to HEAD. 2003-10-01 15:27:00 +00:00
skidder
235db035ce Ok, i'm joining Firebird destruction team with my cleanup:
1. Bring trace DSQL, DYN and BLR trace logging up-to-date
2. Remove redundant CSB pointer dereferences in BLR parser and request compiler
3. Convert RIGHT JOIN to LEFT JOIN early during BLR parsing
4. Check BLR syntax for unititalized contexts usage
5. Some type-safety and const-correctness fixes
2003-09-28 21:36:05 +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
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +00:00
dimitr
e46c26b779 const correctness, bool, formatting, etc. 2003-09-21 07:57:12 +00:00
alexpeshkoff
62558e73c5 Fixed problems with security.fdb access, introduced in RC6 - front-port to HEAD 2003-09-15 09:04:03 +00:00
brodsom
8c0cc95124 Fix indents 2003-09-13 12:03:11 +00:00
brodsom
7fb0cd648d -Replace NULL_TDBB, NULL_DBB with NULL 2003-09-01 11:08:30 +00:00
brodsom
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
6a2ef35fda -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:16:03 +00:00
dimitr
61a1c1ebb6 Added attachment timestamp (to support future extentions) 2003-08-26 07:20:33 +00:00
skidder
1c394c6d4b Fix up server-side database aliases
- expand Windows SS local connection strings on the client side unless they
specify database aliases (return to backward-compatible behavior)
- use aliases for database creation
- do security checks after database file name expansion
- forbid usage of relative paths in aliases
- do not stick to 8.3 filenames on Windows as it causes problems
2003-08-17 19:56:53 +00:00
aafemt
9dbf56310a sdl is UCHAR again 2003-08-15 10:23:46 +00:00
skidder
bdbeb38959 Avoid storing and using pointers allocated from one request pool
in other requests. Make request access lists use view ID, not pointer
to view structure. This changes solve the crash reported by
Evgeny Kilin when altering complex recursive procedure->trigger chains.
2003-08-14 20:45:36 +00:00
robocop
9f0aeccb2c Fix warning 2003-08-12 09:55:37 +00:00
brodsom
daf2d5ff2c -Fix cast warnings
-Fix signed/unsigned comparison warnings
-Fix format warnings
-Add MinGW 3.0 rc header
2003-08-09 21:15:32 +00:00
skidder
0e8e48e237 Fix stack corruption when aliases are used 2003-08-07 19:13:18 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
aafemt
b672867147 sdl is a plain char again. Some cleanup around it 2003-07-24 10:21:42 +00:00
brodsom
49a86dde7d Move physical io to os specific 2003-07-14 10:35:49 +00:00
alexpeshkoff
fa3c980179 fixed diagnostic in EXECUTE STATEMENT & DirectoryList 2003-06-16 15:43:00 +00:00
dimitr
8c821d7cdb Fixed minor memory leak in CREATE/ATTACH DATABASE. 2003-06-05 08:38:21 +00:00
skidder
b79a5aa971 Fix metadata cache problem that prevented restore of some databases 2003-06-01 16:22:47 +00:00
skidder
7904fcd7ee Cleanup 2003-05-09 16:05:24 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
alexpeshkoff
c6c159cbef Any database, mentioned in aliases.conf, may be accessed
regardless of DatabaseAccess parameter in firebird.conf.
2003-04-12 10:04:28 +00:00
aafemt
19bb54f2a8 STATUS -> ISC_STATUS 2003-04-10 06:49:16 +00:00
alexpeshkoff
7b899d99f0 New style of files access configuration 2003-04-06 15:01:30 +00:00
alexpeshkoff
ec88146136 Code cleanup 2003-04-06 09:08:58 +00:00
brodsom
34fc42b8db - USHORT dpb_sql_dialect can't be < 0
- databases_mutex is only used when v4_threading is defined and superserver not.
2003-04-01 23:22:05 +00:00
alexpeshkoff
b7dfc17d4a Added DatabasesDirs parameter to firebird.conf.
Databases may be accessed only in trees, listed there.
For compatibility reasons, default = /

Also filename type cleanup in gds_attach & gds_create
2003-03-31 17:43:02 +00:00
brodsom
01141efa30 Use V4_THREADING explicitly instead and remove empty defined macros. This change try to make clear V4_THREADING use. 2003-03-24 13:35:37 +00:00
dimitr
56ec5465d9 After some research, I've disabled the automatic ODS upgrade due to lack of reliability. 2003-03-23 09:05:35 +00:00
brodsom
458eaa2b65 Use the same ifdef for function declarations and definitions. (found with gcc never defined warnings) 2003-03-01 18:04:21 +00:00
dimitr
43e4a78b48 Fixed bug with EXECUTE STATEMENT and autocommit transactions. 2003-02-26 11:57:36 +00:00
brodsom
89702f3e88 Restore inlines 2003-02-25 00:05:06 +00:00
eku
796a4e4e31 Fixed more issues with pwd.h. 2003-02-19 06:14:39 +00:00
aafemt
76937f58c8 Occasionally Windows also has unistd.h 2003-02-18 05:22:45 +00:00
dimitr
769fc81705 Corrections. 2003-02-16 18:07:53 +00:00
brodsom
3cb91fce80 Remove PIPE and STACK defines (PIPE_SERVER, PIPE_CLIENT, PIPE_LIBRARY, PIPE_SERVER_YVALUE, PIPE_BRIDGE_TO_V3, V3, V3_PATH, ALTPIPE)(STACK_EFFICIENT, STACK_REDUCTION) 2003-02-14 02:24:44 +00:00
brodsom
45efaaa7e0 Remove inline keyword. 2003-02-13 22:49:16 +00:00
dimitr
67749f906b Fixed exception handling. 2003-02-13 13:33:57 +00:00
eku
a7f18b2e31 Removed "register" variables from the source code. It's up to the compiler
to hold variables in CPU registers.
2003-02-10 13:28:35 +00:00
dimitr
d5ccaeba4c Fixed POSIX builds (at least I hope so). 2003-02-10 07:38:31 +00:00
dimitr
c11ec94f4f Enabled generic support for the database encryption. The key part of the feature is still protected by the macro. Proven to work on win32. 2003-02-09 10:05:07 +00:00
brodsom
bc6d7593a1 Remove JPN_ defines 2003-02-08 00:31:29 +00:00
dimitr
e7289b02b2 1. Re-designed PWD interface.
2. Implemented cached isc4 connection.
3. Cleanup.
2003-02-03 13:34:16 +00:00
brodsom
c3a89aa171 - Move default attachment character set to header
- Mode default database character set to header
- Add isc_dpb_set_db_charset to use in create_database and apply it
2003-01-23 03:33:53 +00:00
skidder
884c38d6c4 Memory manager changes - added memory usage stats, empty extents are now deallocated 2003-01-18 21:45:24 +00:00
dimitr
fd2f852e49 Cleanup. 2003-01-18 19:39:12 +00:00
dimitr
92346cd0be Some changes related to aliases. 2003-01-18 16:31:23 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
alexpeshkoff
4047237a50 Added config file parameters, controlling threads' priorities scheduler 2003-01-12 15:33:00 +00:00
dimitr
85acecde86 Moved temporary hack from jrd.cpp to dls.cpp. 2002-12-13 11:09:25 +00:00
skidder
547fbc6e91 Temporary hack to make engine work until new configuration manager be able to handle directories stuff 2002-12-11 16:31:18 +00:00
dimitr
d6d6ec46c2 More usage of the new config stuff. 2002-12-06 21:12:59 +00:00
eku
eed374c06a Autoconf:
o added tests for nttab.h sys/mntent.h sys/mnttab.h
 o added tests for getcwd getwd setmntent getmntent
 o ISC_PREFIX renamed to FB_PREFIX
 o major code cleanup in src/jrd/isc_file.cpp

Removed platform-specific files from posix/Makefile.in.firebird.
2002-11-18 13:23:00 +00:00
skywalker
10649ce6c2 Change ISC_check_if_remote call since the check for nfs options disabled
is done now in isc_file.cpp
2002-11-18 07:58:13 +00:00
hippoman
4a76e9e4fe change TRA,REQ,TRG,REL,CTX or PRC, to module local names. 2002-11-17 00:13:59 +00:00
dimitr
5f61e44ddc Global names change:
FBOK=>FB_SUCCESS
FAILURE=>FB_FAILURE
xxx_FBOK=>xxx_SUCCESS
2002-11-14 08:33:08 +00:00
kkuznetsov
6887f405ab Renaming all occurences of SUCCESS to FBOK 2002-11-13 15:01:21 +00:00
hippoman
25c1dbd367 * Changed NOD struct name to JRD_NOD. 2002-11-11 19:42:47 +00:00
alexpeshkoff
1c7bf4b0ab Increase time interval, given to thread with high priority in JRD_reschedule 2002-11-11 18:28:35 +00:00
dimitr
bb320e2d43 Cleanup. 2002-11-11 10:03:35 +00:00
dimitr
6e4281babb Force everybody to use new config manager. 2002-11-06 15:13:02 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
tamlin
ca36c9cfa9 Compile without warnings on MSVC6. 2002-10-24 11:16:59 +00:00
eku
0c1b55dd08 Code cleanup:
Since we already have the define ISC_STATUS_LENGTH for the the length of
the status vector, we should use it! Replaced 'status[20]' with
'status[ISC_STATUS_LENGTH]'.

Replaced the different symbolic names for the maximum length of a path
(MAX_PATH, MAX_PATH_LENGTH, MAXPATHLEN) with one uniq symbol MAXPATHLEN.
2002-10-24 09:01:44 +00:00
dimitr
31fa363fc1 Fixed one more 2PC related bug. 2002-10-18 14:40:35 +00:00
eku
3033cff1bf Merged the support for databases on raw devices from FB1 into FB2.
Added switch '--enable-raw-devices' to configure to enable this feature
(default=off). Currently only supported on UNIX platforms.
2002-10-01 05:48:00 +00:00
skidder
0518ca14a3 Fix several mostly DDL-related coredumps and locking failures 2002-09-27 22:59:24 +00:00
bellardo
0eaf588b49 renamed header files jrd/math.h and jrd/time.h to jrd/jrd_math.h and
jrd/jrd_time.h.
2002-09-27 00:20:12 +00:00
skidder
040bd8e499 Fixed some memory leaks 2002-09-26 18:13:02 +00:00
eku
0189c970f0 Fixed compiler warnings. 2002-09-26 09:26:40 +00:00
skidder
6d64014e57 Changed engine to store source file name/line number information for EVERY allocation when DEBUG_GDS_ALLOC is defined. All allocation should be done using FB_NEW or FB_NEW_RPT macros instead of keyword new since now 2002-09-25 17:12:16 +00:00
bellardo
938ebf794b Added support for a single, generic "plugins" directory. Where possible, this
new plugins directory should be used for engine modules.  Note the old separate
directories intl and UDF still exist and have the same usage as before.
2002-09-24 00:27:23 +00:00
bellardo
684c2efbf7 Fixed an infinite recursion problem with the new compilation delayed triggers. 2002-09-23 17:18:22 +00:00
bellardo
dfe98160bd Fixed an order of operations error in the first dbb destructor implementation. 2002-09-22 19:08:33 +00:00
bellardo
33e0d91f8a Patch a rather large dbb memory leak created during the c++ porting. 2002-09-22 17:25:46 +00:00
skidder
b374caac68 Deferred user trigger compilation added. Solves some, but not all DDL issues and speeds things up 2002-09-19 16:02:58 +00:00
eku
da93f6697f Autoconf enhancements:
o autoconf v2.53 and later is now required to generate configure
   (sorry, but it makes many tasks easier)
 o improved tests for mmap, socklen_t and offt_64
 o added tests for atexit, on_exit, (v)fork, set(p)grp, setpgid and flock
 o added test for the keyword 'volatile'
 o fixed errors in configure.in
 o updated config.h.in and autoconfig_msvc.h (the latter may be incorrect)
 o replaced VOLATILE by volatile
 o removed SETPGRP and ATEXIT
 o replaced NO_FLOCK by HAVE_FLOCK
 o SIG_FPTR cleanup
 o vfork cleanup
2002-09-11 11:30:50 +00:00
dimitr
e0d36f375f fbserver instead of ibserver. 2002-09-08 07:56:54 +00:00
eku
f359a95a52 Added / replaced ifdef's around unistd.h with the define HAVE_UNISTD_H
generated by autoconf.
2002-08-26 12:18:16 +00:00
dimitr
e110ba6559 Merging changes from fb1. 2002-07-02 09:49:19 +00:00
dimitr
d35325d2c3 Fixed an ugly error I made in the server-side aliases management 2002-06-16 14:15:51 +00:00
tamlin
3907124c57 const correctness 2002-06-12 07:03:02 +00:00
dimitr
4ce2e3fd41 Server-side database aliases (main changes). 2002-06-05 09:49:33 +00:00
dimitr
de656a4487 Server-side database aliases (main changes). 2002-06-04 12:57:05 +00:00
bellardo
773836f1b1 Finished removal of setjmp/longjmp code, and fixed a handful of FB1->FB2
porting bugs.
2002-04-04 07:10:40 +00:00
tamlin
e48b2468d7 MemoryPool work 2001-12-28 05:16:31 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00
skywalker
570289f7b6 Changes to read /etc/firebird.conf file 2001-08-21 09:41:00 +00:00
skywalker
365a7fe19c Changes to compile fb2 under autoconf includes some structural changes 2001-07-29 17:42:23 +00:00
bellardo
747d13c0d5 Changes to bring FB2 to c++ on *nix. 2001-07-12 05:46:06 +00:00
awharrison
baa3485651 read only databases are supported unconditionally in fb2 2001-07-10 17:35:13 +00:00
tamlin
9a776a604e First steps towards a C++ conversion. 2001-05-23 13:26:42 +00:00