8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-01 14:40:39 +01:00
Commit Graph

260 Commits

Author SHA1 Message Date
asfernandes
cbed660d28 Misc 2008-10-28 00:16:20 +00:00
hvlad
38fa6082be Remove unused method 2008-10-27 09:03:46 +00:00
hvlad
f6398cad07 Fixed bug CORE-2151 : Temp directory with space in the middle wrongly truncated from the rightmost space 2008-10-25 09:54:19 +00:00
dimitr
1739c548b1 Fixed CORE-903: Update Field update / result Updated. 2008-08-25 07:58:45 +00:00
asfernandes
16457ea17a Warnings 2008-05-25 01:48:05 +00:00
asfernandes
9fc4a1881f Misc 2008-05-22 21:45:22 +00:00
robocop
a520a47a68 Fix CORE-1905 for aliases.conf (firebird.conf uses other rules, like demanding paths without quotes). My test string in aliases.conf was:
default = "F:\fb2dev\fbbuild\firebird2\temp\Win32\Debug\firebird\bin\#\f.fdb" #cats
2008-05-21 13:53:17 +00:00
robocop
83f77468a0 Misc. 2008-05-21 13:00:37 +00:00
dimitr
3aad1f4cf3 Reduce number of warnings for 64-bit targets. 2008-05-12 05:25:55 +00:00
asfernandes
cfb2b8ee91 Misc 2008-04-23 02:19:25 +00:00
robocop
05271261e1 Style. 2008-04-19 11:11:10 +00:00
dimitr
e18a16e3cb Removed OldParameterOrdering. 2008-03-25 16:42:10 +00:00
alexpeshkoff
a4aac986f8 Make syslog interface as light as possible 2008-01-31 12:05:08 +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
alexpeshkoff
470505bdae make it compile 2008-01-16 10:08:53 +00:00
dimitr
172c4ba85c The merge continued. 2008-01-16 06:33:06 +00:00
hvlad
c2800e66e8 Implement CORE-1625 : Implement new setting to relax strict SQL standard's alias checking rules 2007-11-29 17:53:38 +00:00
skidder
f6b33d471d Allow local protocol to work with servers running both under restricted accounts (e.g. Vista regular user) and unrestricted accounts (e.g. LocalService) 2007-10-28 14:35:16 +00:00
hvlad
6cd3900a9f Implement CORE-1381 : Allow Firebird to not use filesystem cache for database files
Implementation in unix.cpp is experimental and commented out (calls of posix_fadvice) until testing
Cleanup in winnt.cpp : removed fil_force_write_desc
2007-07-25 18:44:54 +00:00
robocop
52f1b15e0c Misc. 2007-05-02 06:57:18 +00:00
hvlad
29ab1ca027 Implement CORE-1229 : Teach Firebird to allocate disk space by more than one page at a time 2007-04-25 21:08:57 +00:00
alexpeshkoff
ccb4aa2474 Check for negative values to avoid problems comparing unsigned later in the code 2007-04-13 10:53:55 +00:00
alexpeshkoff
edfa819bf7 restored functionality of -e family of switches, broken somewhere in 1.5 2007-04-05 12:47:20 +00:00
hvlad
54fd5ce4b1 Moved ISC_prefix_object_name into fb_utils::prefix_kernel_object_name to avoid a need to add isc.cpp to all projects which can read config file 2007-02-20 15:39:01 +00:00
hvlad
c0989bce8b Fixed CORE-1031 : fb_lock_print.exe fails on windows 2003 R2 / XP SP 2
and CORE-1133 : XNET (IPC) communication protocol does not work across sessions
2007-02-19 13:05:27 +00:00
dimitr
9ee8ef88cf Resolved CORE-937. 2007-01-25 12:56:16 +00:00
alexpeshkoff
e18f8046bd Use symbolic names for authentication methods in firebird.conf 2006-12-17 14:02:23 +00:00
asfernandes
f64e690090 Misc 2006-12-11 23:11:38 +00:00
alexpeshkoff
01f2969e7f Added 'Authentication' parameter to firebird.conf 2006-12-10 12:31:15 +00:00
alexpeshkoff
ded5cc2c49 cleanup 2006-06-06 10:34:32 +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
alexpeshkoff
61427e2a73 Limit packet size which we can process correctly 2006-05-29 16:30:28 +00:00
robocop
e77a46b011 Misc. 2006-05-20 03:55:54 +00:00
asfernandes
a3b411a4c1 Misc 2006-05-20 00:59:22 +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
asfernandes
724cff6230 Misc 2006-05-19 01:35:05 +00:00
alexpeshkoff
13c59755fb restored normal processing way after fixing ObjectsArray 2006-05-18 14:16:46 +00:00
dimitr
f0f8b55700 Temporary commit with the fixed (hopefully) TempDirList class. 2006-05-18 08:37:07 +00:00
robocop
8e94cdad0b Revert to old cumbersome notation so MSVC6 can call the inherited function. 2006-05-18 06:23:52 +00:00
dimitr
562e39f7f1 Fixed the code to please Claudio :-) 2006-05-16 11:55:05 +00:00
dimitr
9d0b3fef26 Fixed the bug I introduced yesterday. 2006-05-14 04:39:23 +00:00
dimitr
913b2645a6 Let our naming conventions be consistent. 2006-05-13 04:57:25 +00:00
alexpeshkoff
469589f573 Use Firebird::Array instead of STL's vector 2006-04-25 17:49:24 +00:00
alexpeshkoff
eddade0912 change default value of LegacyHash 2006-03-15 17:23:07 +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
kkuznetsov
8d9617de87 Fix Sun C++ compiler visibility error 2006-02-20 08:25:50 +00:00
paul_reeves
6baee04435 Forward port OldColumnNaming from Fb 1.5.3 2006-01-17 04:40:31 +00:00
robocop
03a066dcb9 [s|g]etConfigFile renamed [s|g]setConfigFilePath. Clearer, since we have a class named ConfigFile but the function only returns a string with the path, not an object. 2005-12-25 03:59:49 +00:00
alexpeshkoff
8de8ef96ce added Redirection parameter to firebird.conf 2005-12-21 10:10:37 +00:00
dimitr
5e6031a4b5 Fixed one of the UDF access issues. 2005-08-22 09:16:31 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
kkuznetsov
438005440f Allow setting TCP_NODELAY socket option in Classic Server
and make if default true on both arhitecture.
2005-04-04 12:54:34 +00:00
alexpeshkoff
381c1a7ef3 added feature (requested by Dmitry) - first path in ExternalFilesAccess
is used as default when external file is to be initially created
2005-01-26 18:02:30 +00:00
dimitr
03cfc7c237 Changes and cleanup regarding XNET vs old-style IPC. 2005-01-16 12:35:27 +00:00
robocop
3c862d57a3 Misc. 2005-01-12 08:30:24 +00:00
robocop
fccc202ece Change the license.
Also, these two files were done by Dmitry Yemanov, not Mark, according to viewCVS.
2005-01-12 04:24:53 +00:00
robocop
24742873ad fb_string.h is moved to common/classes. 2004-12-17 05:41:47 +00:00
alexpeshkoff
d0ebde70a8 make SortedObjectsArray easier to use in simple cases 2004-11-29 10:07:43 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
hvlad
aba34753cb Add config file parameter for the garbage collection policy 2004-11-09 12:59:37 +00:00
alexpeshkoff
687c93284e security fix
added LegacyHash parameter to firebird.conf - setting to true
makes it possible to check for old (crypt) hashes in security.fdb
2004-11-07 14:12:15 +00:00
skidder
42defc6a3d Default to BugcheckAbort=1 in DEV_BUILD 2004-10-24 02:47:05 +00:00
robocop
ed17cfafbf Style:
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +00:00
alexpeshkoff
079c3f0602 Added firebird.conf parameter UsePriorityScheduler (requested by Nickolay) 2004-09-02 09:00:48 +00:00
alexpeshkoff
a808403767 Partially removed DeadThreadsCollection parameter from firebird.conf.
Concerning complete removal of it I wait for response on my letter to devel list.
2004-09-01 16:11:12 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
robocop
3a45a04ea7 MSVC6 doesn't keep variables in a for() only in that scope. This standard construction is rejected:
for (int i = ...);
for (int i = ...);
Put the variable again before the loops to be able to compile.
2004-08-27 04:46:01 +00:00
brodsom
46aa03e06e Fix signed/unsigned comparisons 2004-08-26 18:28:12 +00:00
alexpeshkoff
4568a1c968 replaced exit() with throw fatal_exception - thanks to Jim 2004-08-16 12:24:30 +00:00
skidder
5494b34caa size_t is more correct type for container sizes and indices 2004-07-16 23:06:31 +00:00
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +00:00
skidder
277788de7a NetBSD port from James K. Lowden 2004-05-20 23:05:02 +00:00
brodsom
e0854daa99 Removing ib_stdio.h 2004-04-28 22:00:03 +00:00
alexpeshkoff
2c12c05621 fixed problem with system log overflow in case of missing aliases.conf
** front-ported fix **
2004-04-11 14:47:04 +00:00
skidder
648dd40826 Make it build 2004-04-11 02:40:08 +00:00
dimitr
a79171299f Corrections. 2004-04-10 14:00:04 +00:00
skidder
af366d4f5a Add BugcheckAbort option to produce coredumps on BUGCHECKs and structured exceptions 2004-04-06 07:25:45 +00:00
skidder
f26d84f76b 1. POSIX build libraries export only public API. 2. Unify exports for PROD_BUILD and DEV_BUILD. 3. Support for context memory pools. 4. Memory manager has lower memory overhead exceptionally on 64 bit targets 2004-03-25 23:12:50 +00:00
skidder
eb89d0fdce Fix a couple warnings 2004-03-25 06:50:50 +00:00
alexpeshkoff
94d2f698e2 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
*** posix build fixes ***
2004-03-20 15:45:12 +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
0e24170951 fixing posix build 2004-03-15 19:35:00 +00:00
alexpeshkoff
221ae2fa2a Pools support 2004-03-14 13:14:58 +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
alexpeshkoff
efb64b2aab Added native firebird::string class. 2004-02-08 17:08:34 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
eku
14b3de174e Port numbers are limited to 16 bit. 2004-01-13 13:38:36 +00:00
skidder
7558470e08 Fix another initializatoin race condition 2003-12-14 04:34:37 +00:00
dimitr
9859341694 Let's be compatible with the config files open in binary mode. 2003-12-13 10:59:59 +00:00
dimitr
b15341b213 Small correction. 2003-12-01 19:44:29 +00:00
dimitr
00f41da60e Increased a default size of the lock table, after discussion with Nickolay. 2003-10-03 10:38:06 +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
dimitr
6d6dae9295 Changed license of some files by Mark and myself. 2003-09-26 14:13:15 +00:00
skidder
6f2c2095ae Fix kernel memory leak 2003-08-21 22:30:20 +00:00
brodsom
408f1feb79 Fix cast warnings 2003-08-09 19:20:02 +00:00
dimitr
9644f06f00 Removed warning for fbembed 2003-07-08 11:49:02 +00:00
dimitr
ffc209d9dc Fixed typo. 2003-07-05 12:45:55 +00:00
dimitr
ef9fb69fa9 1) Cleanup
2) Some changes for the embedded server
2003-07-05 12:13:17 +00:00
dimitr
f765ec326c Renamed environment variable. Fixed one temp-related crash. 2003-06-25 07:45:00 +00:00
dimitr
318d501392 Fixed manual TCP port assignment. 2003-06-25 07:39:04 +00:00
dimitr
1bf11a67bd Fixed the config option. 2003-06-19 18:13:26 +00:00
alexpeshkoff
db39682f9a Added support for case-sensitivity in path's comaparison according to OS requirements.
Use it in config_file & dir_list
Now in win32 one may write: DatabaseAccess=ReStrIcT c:\HiSpAtH
2003-05-30 12:17:47 +00:00
alexpeshkoff
5c2341a427 Fixed problem with fbclient on 9x 2003-05-22 06:39:54 +00:00
alexpeshkoff
ae920fc330 For BootBuild don't give any diagnostic for missing firebird.conf.
For wrong firebird.conf - standard diagnostic.
2003-05-08 10:31:19 +00:00
dimitr
cdb3f8e2fd Since CS doesn't lock processes while waiting for incoming aux connection,
it's potentially dangerous to use one definite port for event processing.
2003-05-07 07:51:27 +00:00
dimitr
6679e2575c Corrected default value, as suggested by Nickolay. 2003-05-07 07:25:38 +00:00
dimitr
61195b72ae Changed default value. 2003-05-06 15:04:57 +00:00
alexpeshkoff
2c3384885d Enable spaces & tabs in directory list 2003-05-05 12:26:37 +00:00
alexpeshkoff
b75b326fdf Preprocessor cleanup 2003-05-05 10:45:10 +00:00
dimitr
cf54a1f284 Bugfix 2003-05-01 13:28:46 +00:00
dimitr
da728b793f Temporary directory management 2003-05-01 12:20:40 +00:00
dimitr
0c60a69e3a Temporary directory management 2003-05-01 11:35:15 +00:00
alexpeshkoff
2af60e8991 Exit on missing / wrong firebird.conf with error report in system log 2003-04-19 16:46:24 +00:00
alexpeshkoff
54acfce2fb Restrict UDF access via UdfAccess entry in firebird.conf 2003-04-12 16:34:26 +00:00
alexpeshkoff
e27219f2e9 Directory access restrictions don't apply now to BOOT_BUILD 2003-04-12 10:24:39 +00:00
alexpeshkoff
4425587591 Removed g++ warnings 2003-04-07 15:48:55 +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
alexpeshkoff
d982d224fe Enabled up-dir access for fully opened filesystem 2003-04-03 13:32:28 +00:00
alexpeshkoff
ff5b7feba5 Fixed use of / and c:\ in directories list 2003-04-02 15:14:14 +00:00
brodsom
20da14459f - Avoid signed-unsigned comparison 2003-04-02 11:14:29 +00:00
alexpeshkoff
33f5f01622 Added DatabasesDirs parameter to firebird.conf.
Databases may be accessed only in trees, listed there.
For compatibility reasons, default = /
2003-03-31 17:41:18 +00:00
alexpeshkoff
45ad6a1bda External files access restriction cleanup 2003-03-23 16:50:54 +00:00
alexpeshkoff
dc5b1d5cb2 Added required comments 2003-03-17 18:01:17 +00:00
alexpeshkoff
40432510b4 Fixed names and default value for EXTERNAL_TABLES_DIRS config parameter 2003-03-17 17:57:58 +00:00
alexpeshkoff
858c958da6 Small posix fix 2003-03-15 20:20:42 +00:00
alexpeshkoff
70c9d082ba Now external tables are checked against directories list 2003-03-15 20:20:41 +00:00
alexpeshkoff
90d86726c8 Add new config parameter 2003-03-15 20:02:39 +00:00
dimitr
b082df8ff7 New config options. 2003-03-11 14:57:08 +00:00
brodsom
89702f3e88 Restore inlines 2003-02-25 00:05:06 +00:00
dimitr
bdb6d25a3b Committed Mike's introduction of short-circuit boolean evaluation. 2003-02-21 09:17:03 +00:00
dimitr
2f8df3c1a5 New config values for win32. 2003-02-16 18:58:56 +00:00
dimitr
567e575ff4 Fixed config error. 2003-02-16 13:26:53 +00:00
brodsom
8bdf295e25 Change build system to move warning control to only one header for each compiler 2003-02-16 11:39:22 +00:00
brodsom
45efaaa7e0 Remove inline keyword. 2003-02-13 22:49:16 +00:00
brodsom
33a205d0c1 Remove warning 'static is not at beginning of declaration' 2003-02-13 02:21:10 +00:00
brodsom
6f0922e049 Add newline at the end 2003-02-09 11:22:10 +00:00
brodsom
e0a4ac9778 Make default parameters values for non forced writes mode depend on the platform 2003-02-07 12:58:30 +00:00
brodsom
d816e112ed Change non FW mode time parameter value. 2003-02-05 23:28:44 +00:00
brodsom
9a9894094f New config parameters to control non forced writes mode. 2003-02-05 14:32:21 +00:00
dimitr
37fa82834a Fixed my latest commit. 2003-02-02 16:01:12 +00:00
dimitr
a80e3e0d84 1. Applied singleton-instance idiom to the config manager. It costs just a few CPU cycles, so doesn't affect the performance.
2. A bit changed two config entry names.
2003-02-02 15:20:02 +00:00
dimitr
81d3885bcc Fixed the errors pointed out by Mike. 2003-01-30 13:26:16 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
dimitr
6bfbf2676b New config values. 2003-01-15 14:10:07 +00:00
alexpeshkoff
4047237a50 Added config file parameters, controlling threads' priorities scheduler 2003-01-12 15:33:00 +00:00
dimitr
a104ed6217 Changed default values. 2002-12-23 15:50:59 +00:00
dimitr
e61f297681 More usage of the new config stuff. 2002-12-07 13:49:37 +00:00
dimitr
48919f19aa More usage of the new config stuff. 2002-12-07 13:27:12 +00:00
dimitr
d6d6ec46c2 More usage of the new config stuff. 2002-12-06 21:12:59 +00:00