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

219 Commits

Author SHA1 Message Date
robocop
2c2fee86da Style. 2009-01-14 11:10:48 +00:00
asfernandes
91a4550d23 Misc 2009-01-06 17:46:08 +00:00
robocop
fda9c3bc75 Style. 2009-01-05 08:22:58 +00:00
robocop
21bb7f3d20 Style. 2009-01-03 09:14:29 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
robocop
e9be920cc0 Shut up some compiler warnings (some warnings should be enabled again in autoconfig_msvc.h IMHO because hiding our possible mistakes won't help us). 2008-12-30 10:52: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
alexpeshkoff
1030c9f189 Make it possible to build firebird on NFS drive 2008-11-11 16:59:23 +00:00
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