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

80 Commits

Author SHA1 Message Date
alexpeshkoff
99764207d0 Fixed CORE-3548: GFIX returns an error after correctly shutting down a database 2015-07-13 15:55:27 +00:00
alexpeshkoff
e7663b6bc0 Use status interface instead plain status vector when working with exceptions.
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
alexpeshkoff
187f86b2e6 Fixed CORE-4662: Make services API pass SQL role to server. Also added switch -role to some utilities that missed it. 2015-01-08 14:03:54 +00:00
alexpeshkoff
255b4ff855 Fixed CORE-4571: Can't select from table with ICU column when database (.FDB) is created on LINUX with icu 4.2.1 and then copied to WINDOWS 2014-12-16 14:39:04 +00:00
asfernandes
c642ddca82 Misc. 2014-10-12 02:25:02 +00:00
hvlad
e56788a0e2 Improvement CORE-4562 : Split all validation messages on critical and minor ones 2014-09-28 09:43:57 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
alexpeshkoff
568861d2d7 Cleanup - removed unused any more service time only switches trusted_user & trusted_role 2014-06-25 11:20:42 +00:00
alexpeshkoff
120b10a78a Implemented CORE-4263: Database linger 2013-11-14 16:16:24 +00:00
alexpeshkoff
e0eda0c873 Fixed use of UTF8 strings in services 2012-03-15 15:05:31 +00:00
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
asfernandes
eb5689ef0e Misc. 2011-10-07 02:33:02 +00:00
alexpeshkoff
5cfb49f79b Fixed CORE-3612: gfix-related services may loose error value in status vector in isc_service_start() 2011-10-04 12:55:47 +00:00
alexpeshkoff
70ddf7a875 Make services work correctly with multiple security databases 2011-10-04 12:51:57 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
robocop
08a33d50cc Unfortunately several of these are intertwined:
CORE-462 	 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 	 Utilities need a more coherent way to show help and version
CORE-2541 	 Too many hardcoded messages in nbackup
CORE-2542 	 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 	 nbackup may hide the real cause of failure
CORE-2545	 Lack of several validations in gbak
CORE-2547 	 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 	 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
robocop
c65d7cca2a The flags field is SINT64, not ULONG (upgrade it).
"switches" changed to "flags" in tdr.cpp to allow code that resembles other utilities (need also for impending commit after 2.5).
2009-07-17 09:29:44 +00:00
robocop
72293a7f69 Style. 2009-06-24 12:11:17 +00:00
robocop
6780b8c31e Comments. 2009-04-17 14:10:11 +00:00
robocop
fab6a3a6cf Get rid of superflous parentheses. 2009-02-28 11:57:40 +00:00
asfernandes
79e89d573d Misc 2009-01-03 19:02:04 +00:00
robocop
21bb7f3d20 Style. 2009-01-03 09:14:29 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
robocop
bf3e601fd0 Misc. 2008-09-06 11:44:59 +00:00
alexpeshkoff
de1cc4f41a Fixed broken by me this week use of status vector in services - thanks to D.Kovalenko 2008-09-05 11:41:00 +00:00
alexpeshkoff
7ff8e4d2be Fixed CORE-1879: Server uses wrong authentication method 2008-05-04 13:38:02 +00:00
robocop
14a0296b68 Changed sw_use to sw_no_reserve and ua_use to ua_no_reserve to distinguish them from sw_user and ua_user. Also, the new name is clearer on the intended usage.
Disabled the replay log feature since Adriano deleted it in the server.
2008-04-21 11:36:10 +00:00
dimitr
0cda20a31a Cleanup AliceMemoryPool. 2008-01-29 12:28:28 +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
f7941cca12 The merge continued. 2008-01-16 05:58:53 +00:00
asfernandes
7eb068c3ee Misc 2007-09-10 00:45:40 +00:00
robocop
c7ce762503 Simplification and check for end of buffer. 2007-09-04 08:37:06 +00:00
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +00:00
alexpeshkoff
6b537af439 A couple of improvements/cleanups, suggested by Adriano 2006-12-10 11:17:50 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +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
robocop
fddf92395e Misc. 2004-12-10 22:54:16 +00:00
alexpeshkoff
387e678cca applied Clumplet* classes to dpb where possible 2004-12-09 19:19:47 +00:00
robocop
8dd94e9d5b Misc and mark suspicious place(s). 2004-11-08 02:57:23 +00:00
robocop
ed17cfafbf Style:
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +00:00
alexpeshkoff
edf58bab73 Fixed my bug in alice. Also some style changes and cleanup. 2004-09-01 14:51:33 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
brodsom
a80f2ee39b Put thread functions into thread class 2004-07-02 10:02:46 +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
brodsom
877cce340b - Convert *_thread_data macros to inline func 2004-05-20 00:56:59 +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
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
e0854daa99 Removing ib_stdio.h 2004-04-28 22:00:03 +00:00