dimitr
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
f363882082
Switch to FB_ prefix.
2008-02-29 05:33:44 +00:00
robocop
2a0238254f
Make sqlstate a public type like status vector.
2008-02-28 09:35:49 +00:00
dimitr
b4a3c2d418
Ported SQLSTATE from Vulcan.
...
Part III: explicit passing of isc_arg_sql_state.
2008-02-24 15:28:52 +00:00
dimitr
a38b327886
Cleanup. Get rid of the JrdMemoryPool.
2008-01-29 10:11:52 +00:00
dimitr
8f742ba52c
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 12:57:52 +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
1fa56f4cd7
The merge is being fixed.
2008-01-16 12:10:43 +00:00
dimitr
2c78462820
The merge continued.
2008-01-16 08:46:02 +00:00
asfernandes
41faeba3cc
Misc
2007-12-05 00:03:15 +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
robocop
fa1538a1ae
Minor changes in MetaName usage.
2007-08-26 09:05:29 +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
hvlad
add72ba94d
Don't convert to UNICODE_FSS metadata text blobs for ODS < 11.1 as older engines didn't convert it back to attachment charset when reading
2007-05-24 20:05:14 +00:00
alexpeshkoff
346dea2f04
misc
2007-05-11 09:19:36 +00:00
robocop
52f1b15e0c
Misc.
2007-05-02 06:57:18 +00:00
asfernandes
eefa3ff1c9
Misc
2007-04-29 16:29:18 +00:00
alexpeshkoff
f9b7195280
Fixed CORE-1083 - engine silently ignored attempt to revoke privilege
2007-04-28 14:13:44 +00:00
robocop
e71a03261c
This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash.
2007-03-28 04:20:36 +00:00
asfernandes
8feba5fcd2
Improvement CORE-1170 - Conversion of DDL source from client charset to metadata charset
2007-03-16 00:46:02 +00:00
asfernandes
e26fa90333
Don't wast time moving bytes when not necessary
2006-12-22 00:12:12 +00:00
dimitr
b6804bdf76
Fixed bug introduced in one of the previous commits. Method resize() was overwriting the DYN string with a pad character, because reserve() doesn't set the length.
2006-12-21 11:35:06 +00:00
dimitr
4e9130ddb4
Fixed CORE-1010.
2006-12-09 13:28:11 +00:00
robocop
ec0ea31c19
Simplify Vlad's DYN_skip_blr_blob but with this change, it becomes the same as DYN_skip_attribute and thus it's candidate for removal.
2006-11-05 03:55:25 +00:00
asfernandes
0872d7132c
Fixed the problem found by Claudio during make_boot
2006-11-04 15:33:52 +00:00
asfernandes
6da2d6c615
Fixed CORE-986 - Non-ASCII quoted identifiers are not converted to metadata (UNICODE_FSS) charset
2006-11-04 03:45:02 +00:00
hvlad
f9afb946da
Moved DYN_skip_blr_blob from dyn_util.epp into dyn.epp as Claudio suggested
2006-11-01 21:16:55 +00:00
asfernandes
9a6b3da5cd
Misc
2006-09-28 01:31:38 +00:00
asfernandes
ad0143ac68
Always check max length of DDL strings
2006-09-27 16:48:33 +00:00
robocop
7fced64a88
Misc.
2006-08-30 04:54:44 +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
asfernandes
e538061c38
Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations
2006-08-07 16:39:21 +00:00
asfernandes
2670981b70
Create common UCharBuffer based on Claudio and Alex suggestions
2006-07-31 15:43:20 +00:00
asfernandes
c13b4cc61a
Work on collation attributes:
...
1) Define a common format for it
2) Merge attributes of the base collation in the attributes of the derived one
2006-07-30 20:31:25 +00:00
dimitr
211645e3dc
Getting rid of the old allocator routines.
2006-05-23 10:17:00 +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
robocop
ebe0a75026
Simplification.
2006-05-04 00:02:58 +00:00
dimitr
9d0ff78b80
Simplified the locking a bit.
2006-04-30 19:22:21 +00:00
dimitr
61bd8dbc05
Threading cleanup. More to follow.
2006-04-30 17:49:32 +00:00
robocop
1e6d89ebfc
Comment excessive dependencies on license.h.
2006-01-07 00:31:37 +00:00
robocop
5f0b3021b9
Misc.
2005-11-02 00:11:18 +00:00
dimitr
a1c26e7451
Fixed bug SF #223128 .
2005-10-03 13:46:52 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
robocop
95d8b36260
Misc.
2005-05-19 23:41:17 +00:00
robocop
0285f6bf76
- Implement the proposed COMMENT keyword to allow descriptions in database objects. Subject to change or withdrawal.
...
- Enhance some messages. Reuse some msg numbers that were duplicate.
- Fix some issues found in Alex recent MetaName-related commits.
2005-05-17 07:17:25 +00:00
alexpeshkoff
5729790ed6
1. Applied class MetaName
...
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
d65307b497
Style.
2004-12-24 08:52:39 +00:00
dimitr
3238d79641
Implemented REVOKE ADMIN OPTION FROM
2004-12-03 05:36:32 +00:00
robocop
5d7fe7b9a1
Constant for non-specified role.
2004-11-27 06:54:18 +00:00
robocop
e5be73b048
Misc: extra semicolons do not help. :-)
2004-11-07 10:47:20 +00:00
robocop
840bf14b36
If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes).
2004-09-26 01:49:52 +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
1741432859
Got rid of redundant cast to jrd_req*
2004-08-26 11:07:57 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
robocop
682b582764
USHORT -> bool
2004-07-07 03:47:12 +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
f4ca41fa3d
-Replace *_thread_data macros with inline functions (jrd step 1)
2004-05-22 14:28:54 +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
60d9d085a0
Macro cleaning
2004-05-03 21:43:56 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
alexpeshkoff
193292a6ab
fixed small problems noticed by Claudio
2004-04-22 13:59:51 +00:00
alexpeshkoff
045e9dc8ec
1. removed any mentions of blk_pool() from engine (and method itself)
...
2. replaced 'struct lls' with 'template Stack'
2004-04-18 14:22:27 +00:00
robocop
59b235cea3
Small corrections
2004-04-10 00:25:22 +00:00
alexpeshkoff
fe0af19cec
renamed gbl to Global with small class cleanup
2004-03-31 17:38:53 +00:00
robocop
1824343930
Cleanup.
...
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
alexpeshkoff
a25ed33019
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 15:21:15 +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
robocop
2ab1f94dd2
Cleanup
...
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +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
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
robocop
663e3b16e7
Cleanup
2004-02-02 11:02: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
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
brodsom
abe35ef6fe
-Remove unneeded setjmp header
2003-11-18 12:39:12 +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
brodsom
4285bc623c
Removing gdsold.h and gds.h
2003-11-08 16:40:17 +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
skidder
79dea9d5a3
- Fix incorrect assignment of DYN constants for NBACKUP
...
- Fix minor inconsistency in drop_generator DYN constant definition
Noted by Dmitry Emanov
2003-09-21 13:33:45 +00:00
robocop
724d4f93e4
Store correct privilege
2003-09-11 11:53:06 +00:00
aafemt
efaa1d23bd
Fix mistype
2003-09-11 10:45:06 +00:00
skidder
e55cd9e124
Make engine compile after recent cleanup
2003-09-10 15:31:57 +00:00
robocop
79e4522ffe
const correctness, bool, etc.
...
locksmith is harmless => root/administrator/sysdba, nothing mysterious.
2003-09-09 11:07:19 +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
33572e15bf
Fixed porting bug. Thanks to Oleg LOA.
2003-07-13 08:28:47 +00:00
alexpeshkoff
01fa7a0822
fixing linux SS - removed V4_THREADING left from netware port
2003-06-06 14:13:11 +00:00
aafemt
e5146fd644
Introduce of ISC_STATUS_ARRAY
2003-04-16 10:18:51 +00:00
aafemt
19bb54f2a8
STATUS -> ISC_STATUS
2003-04-10 06:49:16 +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
eku
341d7f560a
Fixed "embedded `\0' in format".
2003-02-18 07:15:15 +00:00
brodsom
059dbd4a25
Remove nlm_thd.h (netware nlm)
2003-02-15 16:41:32 +00:00
dimitr
67749f906b
Fixed exception handling.
2003-02-13 13:33:57 +00:00