asfernandes
312a391d78
Misc
2008-02-26 02:23:28 +00:00
dimitr
c1f75dcdf8
Ported SQLSTATE from Vulcan.
...
Part II: handling of isc_arg_sql_state.
2008-02-24 15:02:04 +00:00
robocop
c94b6c9a58
Misc.
2008-02-21 13:19:45 +00:00
dimitr
e3e9d3c172
Cleanup.
2008-02-20 15:25:20 +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
alexpeshkoff
19b903f0c5
fixed posix build
2008-02-14 11:52:59 +00:00
alexpeshkoff
cbed6dbcf2
Explicit init for mutexes - thanks to Claudio
2008-02-11 09:52:32 +00:00
paulbeach
978dabb8f2
64bit MacOS use __x86_64__ instead of DARWIN64 as per Adriano
2008-02-08 10:49:25 +00:00
paulbeach
aa44c442ce
64bit MacOS
2008-02-06 16:51:00 +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
alexpeshkoff
f9a14e19bf
Use LockGuard instead of try/catch
2008-02-04 11:59:42 +00:00
alexpeshkoff
391a3e5f85
use GlobalStorage in UtilSvc
2008-02-02 18:16:04 +00:00
alexpeshkoff
6622980725
One more common storage class
2008-02-02 17:43:59 +00:00
robocop
0d1985d1f0
Misc, explicit constructors, extra commas in enumerations, constness, etc.
2008-02-02 16:57:15 +00:00
asfernandes
6e88cb9598
Misc
2008-02-01 17:33:14 +00:00
alexpeshkoff
a4aac986f8
Make syslog interface as light as possible
2008-01-31 12:05:08 +00:00
alexpeshkoff
83ec91fb5b
Ignore exceptions in destructors in release build
2008-01-31 12:01:03 +00:00
alexpeshkoff
e231c73051
First add an element, next increase count - makes class safer in MT world
2008-01-31 11:03:55 +00:00
alexpeshkoff
9f4c2e9a61
having this methods const dangerous - thanks to Claudio
2008-01-31 10:53:18 +00:00
asfernandes
ce0ae486c5
Misc
2008-01-29 18:07:37 +00:00
alexpeshkoff
35520bc1f1
fixed posix SS - use recursive mutex to protect security DB access
2008-01-29 15:03:34 +00:00
dimitr
d57616e749
Just a little useful feature.
2008-01-29 12:16:41 +00:00
dimitr
d61abb2710
Misc.
2008-01-29 11:57:35 +00:00
dimitr
2b89d48d8f
Misc.
2008-01-29 10:20:41 +00:00
asfernandes
de8771570f
Misc
2008-01-29 01:36:41 +00:00
mkubecek
2c98e5b193
added missing namespace
2008-01-27 02:33:14 +00:00
alexpeshkoff
fa4354b0f3
Remove conditional compilation - it was raising hell in windows build
2008-01-24 15:01:02 +00:00
alexpeshkoff
0943027a19
do not initialize context pool in init() - TLS may be not ready for it
2008-01-24 11:09:37 +00:00
dimitr
e1d53429ae
Fixed the win32 build.
2008-01-23 19:27:36 +00:00
asfernandes
aea2bcb354
Misc
2008-01-23 19:03:16 +00:00
alexpeshkoff
704c3ddc11
added new file to support GlobalPtr
2008-01-23 15:55:21 +00:00
alexpeshkoff
a815c74a26
move remaining thd.x files to common
2008-01-23 15:54:36 +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
887206e65b
The merge is being fixed.
2008-01-16 13:38:46 +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
dimitr
80a3875c5f
Cleanup.
2008-01-16 06:32:16 +00:00
dimitr
8ef0e6aba7
The merge continued.
2008-01-16 06:24:06 +00:00
dimitr
12c4322ab9
The merge continued.
2008-01-16 06:11:50 +00:00
robocop
3c411cdade
No need to use the class name in a member function declaration inside the class.
2008-01-05 08:19:44 +00:00
asfernandes
0ee85c7525
Misc
2007-12-28 00:14:00 +00:00
paulbeach
8f06756d06
Minor Mods MacOS
2007-12-27 13:47:38 +00:00
paulbeach
4a2f1647fe
Apply MacOS changes to HEAD
2007-12-27 10:55:58 +00:00
robocop
11afbba54d
I don't see the point in using the class name to qualify a method declaration inside the class definition.
2007-12-22 09:37:27 +00:00
asfernandes
c27c33d750
Misc
2007-12-22 00:53:39 +00:00
paulbeach
f0e34ffc83
Apply MacOS changes to HEAD
2007-12-19 14:35:52 +00:00
dimitr
48ec3bd270
1) Make the class members more readable.
...
2) Add two methods: release() and reset() (accordingly to the ISO/IEC 14882 standard re. auto_ptr).
3) Utilize release() in DatabaseSnapshot.
2007-12-17 13:49:29 +00:00
alexpeshkoff
62dde2b68f
misc
2007-12-07 12:50:43 +00:00
paulbeach
d1a0e95271
MacOS 10.5 (Leopard) updates
2007-12-07 12:19:37 +00:00
alexpeshkoff
57ff88afec
Dropped method, compliant with STL's copy(), but never used due to presence of much better copyTo()
2007-12-03 13:29:33 +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
alexpeshkoff
b2ce2a8697
Fixed wrong return - thanks to Adriano
2007-11-19 10:30:59 +00:00
asfernandes
702ea9585e
Misc
2007-11-17 17:22:41 +00:00
robocop
1445f9b685
Style. I expect the code is logically equivalent to the original.
2007-11-17 10:16:04 +00:00
asfernandes
54b36766c0
Misc
2007-11-17 00:38:16 +00:00
dimitr
a47a191154
Cleanup after Alex's commit.
2007-11-15 13:50:49 +00:00
alexpeshkoff
b87d1f2418
Make it buildable with old SDK
2007-11-15 13:28:08 +00:00
alexpeshkoff
79d4b002f9
Fixed posix build
2007-11-15 11:31:56 +00:00
paulbeach
c823619e92
HPUX Port
2007-11-12 15:18:49 +00:00
paulbeach
7602a29b94
HPUX Port
2007-11-12 14:26:44 +00:00
asfernandes
2550e82d24
Misc
2007-11-02 15:13:47 +00:00
robocop
076d6778b9
Misc.
2007-10-29 08:30:49 +00:00
robocop
7feced9cd9
Make compilation possible in VC6.
...
Simplify code.
2007-10-29 03:20:33 +00:00
asfernandes
76f3f85b80
Misc
2007-10-29 00:19:27 +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
skidder
4f1b37669c
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:23:20 +00:00
skidder
e554bb22e9
Correction
2007-10-28 09:03:43 +00:00
skidder
6cd78729bc
Correction as per Adriano suggestion. Firebird client library links to Advapi32.dll only by mistake now. If somebody fixes that it could break privilege checking code
2007-10-28 08:53:37 +00:00
skidder
e6bd5d5466
Reduce warnings on Win64
2007-10-28 08:46:14 +00:00
skidder
44b0e24005
Restore the ability broken around FB 2.0.2 to run server under Vista and (hopefully) 2000/XP restricted accounts as application. This change may break the build against old Platform SDK, please replace SE_CREATE_GLOBAL_NAME constant with the hardcoded string in this case.
2007-10-27 20:48:41 +00:00
alexpeshkoff
5bf6bd05d9
Fixed CORE-1543: Security bug in trusted authentication
2007-10-26 13:17:33 +00:00
alexpeshkoff
7545d52870
Corrections - thanks to Claudio and Adriano
2007-10-19 08:13:33 +00:00
alexpeshkoff
df41c37643
Fixed minor 64-bit issue
2007-10-18 12:47:22 +00:00
asfernandes
3ed4d0373a
Misc
2007-10-06 16:07:31 +00:00
alexpeshkoff
752567679a
Added templates to ensure alignment in INTL
2007-10-05 14:35:01 +00:00
robocop
78e090ec4a
Still trying to adjust isql to fix CORE-1261 completely: now it needs to understand that
...
RDB$PRIMARY<n> are implicit index names and shouldn't be part of a script.
2007-10-04 09:20:04 +00:00
robocop
1ea2f4b014
Misc.
2007-10-02 10:41:19 +00:00
asfernandes
f7e8bd1ff0
Misc
2007-10-02 01:53:12 +00:00
alexpeshkoff
fc89b23b7f
added public method to make strings in vector permanent to StringsBuffer
2007-09-26 17:50:31 +00:00
alexpeshkoff
e570a56187
misc
2007-09-26 17:48:20 +00:00
dimitr
af1a7bd430
Fixed the wrong assertion.
2007-09-17 05:56:16 +00:00
asfernandes
a8355d8e8f
Misc
2007-09-16 16:15:19 +00:00
robocop
e256254154
Fix CORE-1465
2007-09-16 09:02:53 +00:00
asfernandes
7eb068c3ee
Misc
2007-09-10 00:45:40 +00:00
robocop
7bbf9c2742
Switch to inline for now.
2007-09-05 09:41:54 +00:00
asfernandes
6fd370e90c
Do not include file more than once
2007-09-05 02:26:47 +00:00
robocop
d59376ef7c
Fix CORE-1440.
2007-09-04 08:22:48 +00:00
alexpeshkoff
63bd11815a
Removed buggy implementation of semaphore on solaris in favour of standard one
2007-08-20 13:24:59 +00:00
alexpeshkoff
92f3857b56
Never include autoconfig.h directly
2007-08-20 13:22:49 +00:00
asfernandes
b5a23c12d1
Improvements:
...
1) CORE-1387 - Add MILLISECONDS handling to EXTRACT, DATEADD and DATEDIFF functions
2) CORE-663 - EXTRACT(WEEK FROM DATE)
2007-07-31 01:22:59 +00:00
robocop
4211bbddd8
Misc.
2007-07-29 02:30:35 +00:00
alexpeshkoff
8eb5b9d7a1
Backported fix for spare space in MemoryPool
2007-07-27 13:40:39 +00:00
asfernandes
6beb5e28bd
Misc
2007-07-26 01:23:18 +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
alexpeshkoff
18c4c77b18
Function to put pair to map, using default value, returning pointer to it
2007-07-24 13:44:20 +00:00
asfernandes
81f1f817e2
Fixed CORE-1331 - Charset transliterations don't work with EXECUTE STATEMENT
2007-06-23 18:48:27 +00:00
aafemt
ba26b3db9e
Warning
2007-06-18 12:52:07 +00:00
alexpeshkoff
81442d2856
added missing method
2007-06-14 12:25:54 +00:00
paulbeach
1644f2cb64
MacOS Port into HEAD
2007-06-11 14:21:33 +00:00
robocop
3bfe45e966
Fix wrong indentation.
2007-06-08 08:40:23 +00:00
asfernandes
ae3c20aa55
Misc
2007-06-07 03:35:04 +00:00
alexpeshkoff
4889acba81
front-ported changes required for Solaris and Darwin
2007-06-06 09:03:33 +00:00
alexpeshkoff
77af3792c4
Null implementation for ST case
2007-06-05 07:11:39 +00:00
hvlad
217feb7a99
Fixed crash in DEV_BUILD when zero length blob is read by gbak. Reported privately by Adriano
2007-06-02 19:51:44 +00:00
hvlad
0fd72e6753
fb_assert added to not allow illegal use of StatusHolder
2007-05-28 20:24:17 +00:00
robocop
5f3d9bbd54
Misc.
2007-05-18 06:15:26 +00:00
hvlad
fca89c31f2
Add class for holding status vector and error strings
2007-05-17 13:01:20 +00:00
alexpeshkoff
ccf3fdd53b
Fixed posix build
2007-05-17 12:30:04 +00:00
alexpeshkoff
14401b0c6e
Misc
2007-05-17 12:25:54 +00:00
dimitr
1aa2ecfcb3
Changed the logic a bit to please Claudio.
2007-05-16 08:38:24 +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
robocop
e058195959
Formatting and VC6 hack.
2007-05-16 06:52:23 +00:00
asfernandes
a4592b183c
Correction
2007-05-13 13:44:10 +00:00
asfernandes
bf895341ef
Fixed CORE-1256 - Table columns hide destination variables of RETURNING INTO, and others problems recent introduced
2007-05-13 01:37:54 +00:00
alexpeshkoff
2164354c90
misc
2007-05-08 08:50:17 +00:00
asfernandes
b5fab19683
Misc
2007-05-08 02:31:11 +00:00
hvlad
8a133871c0
Optimize SparseBitmap::set a bit
2007-05-04 12:37:47 +00:00
asfernandes
9d0d8bf2db
Misc
2007-05-04 01:18:25 +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
robocop
52f1b15e0c
Misc.
2007-05-02 06:57:18 +00:00
asfernandes
c5cf6ea6b8
Implementation of CORE-1235: NATURAL JOIN and JOIN...USING
2007-04-29 19:04:26 +00:00
alexpeshkoff
c3d1f74d45
Removed tags, which never appear in any clumplet
2007-04-27 15:06:30 +00:00
alexpeshkoff
e26228270f
1. avoid code duplication defining arg_string
...
2. fix posix build
2007-04-27 09:20:17 +00:00
skidder
91fa2c7080
Fix MSVC8/Win32 build. IMO, these things where not nice:
...
- Target-dependent global typedefs
- Target-dependent stuff in COMMON .cpp files
2007-04-26 19:30:15 +00:00
alexpeshkoff
90b9b09261
fixed diagnostics
2007-04-26 16:15:24 +00:00
alexpeshkoff
064a298fd4
misc comment
2007-04-26 08:51:04 +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
8274d3213d
Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible
2007-04-25 14:10:47 +00:00
alexpeshkoff
4f56b0b690
fixed writing of SpbStart clumplet
2007-04-25 14:02:08 +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
asfernandes
f676883248
Misc
2007-04-21 03:27:36 +00:00
asfernandes
f5e1a35cfd
Avoid code duplication - thanks to Alex
2007-04-19 15:27:13 +00:00
alexpeshkoff
8b5dd60a66
fixed posix build after latest changes
2007-04-19 09:19:11 +00:00
alexpeshkoff
556908f3ad
Added one more clumplet style
2007-04-19 09:16:38 +00:00
dimitr
eed31fda8b
Fix for the issue reported by Michal Kubecek in fb-devel.
2007-04-18 17:01:30 +00:00
robocop
46df6dd844
Misc.
2007-04-18 11:02:41 +00:00
asfernandes
a798e403ee
Misc
2007-04-17 02:24:33 +00:00
asfernandes
9582ea243c
1) Upgrade INTL interface to undestand misc. configuration informations
...
2) Make our ICU collations work with different ICU versions (tested with ICU 3.6)
2007-04-15 15:57:12 +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
dchri
42ffcc8a5d
Renamed struct small to mbk_small
2007-04-11 15:55:30 +00:00
alexpeshkoff
f0d465bf34
Fixed gcc warnings, general (un)signed usage cleanup
2007-04-11 09:28:50 +00:00
robocop
22decb76f7
Misc.
2007-04-10 10:04:00 +00:00
robocop
345b422633
Inject UserBlob into QLI (not in all places).
2007-04-06 10:10:10 +00:00
alexpeshkoff
edfa819bf7
restored functionality of -e family of switches, broken somewhere in 1.5
2007-04-05 12:47:20 +00:00
alexpeshkoff
ed7baa5dc2
Misc
2007-04-05 12:35:39 +00:00
alexpeshkoff
c4c0764569
frontported from 2.0: fixed races on Darwin/386 during init
2007-04-04 12:21:09 +00:00
robocop
f4cfe6a829
Avoid some checks in the production build.
2007-04-04 08:51:27 +00:00
robocop
4391bbdcd4
Tweaks to UserBlob to support backup/restore.
2007-04-04 08:46:31 +00:00
robocop
16d2196a23
Drop useless functionality.
2007-04-03 08:19:39 +00:00