8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 06:43:04 +01:00
Commit Graph

90 Commits

Author SHA1 Message Date
hvlad
bf294658b3 Report names of failed index and its relation at foreign key index creation. Previously its wrong reported names of partner relation and index.
It fixed CORE-2289 : Do error reporting more meaningfull
2009-01-25 10:08:14 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
robocop
2c2fee86da Style. 2009-01-14 11:10:48 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
alexpeshkoff
e9162ee2f2 Fixed CORE-2179: Deadlock when trying to shutdown server with opened ExecuteStatement 2008-11-12 14:32:18 +00:00
alexpeshkoff
35ed43e0da Some asserts 2008-09-05 11:46:26 +00:00
alexpeshkoff
a48c98bc5d added new function, minor cleanup 2008-09-03 08:55:09 +00:00
robocop
df3e9d37c5 Delete useless line. 2008-08-31 06:33:19 +00:00
asfernandes
1899067660 Misc 2008-08-30 03:14:08 +00:00
asfernandes
41d9d94945 Warnings 2008-08-27 15:37:09 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
607f55503d Misc 2008-07-11 02:37:23 +00:00
alexpeshkoff
7c8427bc35 Separated CVT functions to common and jrd parts.
This made possible to avoid ugly CVT_move export.

Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
alexpeshkoff
b237f4ebd8 Cleanup - avoid use of SUPERCLIENT macro in files, used by utilities
(and in some other places too).
2008-04-08 14:18:24 +00:00
alexpeshkoff
58f8675e57 1. Make use of gds__log_status() more consustent (no Database: line in log when database is not specified).
2. A bit better logic when error happens during provider shutdown.
2008-03-03 13:59:09 +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
4c3381ef6b Style, constness and macro cleanup. 2008-02-03 10:41:44 +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
e3128c2479 The merge continued. 2008-01-16 08:54:50 +00:00
dimitr
29c1588c20 Fixed the primary reason of the crash reported by Roman Simakov in fb-devel.
I'm wondering why it didn't cause problems earlier.
2007-12-19 14:14:18 +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
alexpeshkoff
b50399cdb5 Better fix for CORE-1558 2007-11-05 13:18:40 +00:00
alexpeshkoff
309957937f Comment 2007-11-02 15:21:25 +00:00
alexpeshkoff
52c9aca3d4 Fixed CORE-1558: Help people get core files in case of abort() on BUGCHECK 2007-11-02 15:14:57 +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
dimitr
211645e3dc Getting rid of the old allocator routines. 2006-05-23 10:17:00 +00:00
robocop
136cab1caf Misc. 2006-05-04 02:57:26 +00:00
alexpeshkoff
6624163e59 slightly better diagnostic in log 2006-03-03 16:06:25 +00:00
alexpeshkoff
5729790ed6 1. Applied class MetaName
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
50d57b354f Fix a possible buffer overrun after Arno's enhancement of ERR_bugcheck and internal_error. 2004-10-09 03:58:45 +00:00
robocop
b003ce8db5 I don't see a reason to call ERR_cstring over the result of a previous ERR_cstring.
Also, string literals are at fixed addresses, so they survive the function that originated them.
2004-10-09 03:55:43 +00:00
dimitr
f85ce55c14 Minor correction. 2004-10-03 12:36:54 +00:00
robocop
7dcb66a250 When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
arnobrinkman
3a5cec7e97 1) Add filename and linenumber to loginformation for ERR_BUGCHECK
2) Fix some index bugs and little refactoring
2004-09-24 00:11:32 +00:00
skidder
56a42f9765 Use slightly more clear messages during FK violations. Patch submitted by Adriano dos Santos Fernandes 2004-08-31 22:29:59 +00:00
robocop
b60c0e4cab Misc: format 2004-08-21 09:29:46 +00:00
hvlad
5b0dce67e9 Fix comments 2004-08-10 13:40:10 +00:00
hvlad
d82cde309e Ability to show PSQL stack trace when exception occurs. 2004-08-06 15:26:55 +00:00
robocop
bbc973a414 Const correctness and style 2004-07-07 03:43:20 +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
alexpeshkoff
9a34ce553c make bool (isEmpty/hasData) checks for string and stack safe 2004-05-27 16:26:52 +00:00
brodsom
75a0483d75 -Comment some common.h unused macros
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +00:00
brodsom
bed146ad19 -Replace *_thread_data macros with inline functions (jrd step 2) 2004-05-23 03:18:10 +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
62a4b10c22 -Replace define with const
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
brodsom
f953ee5f1b Remove unused macros 2004-05-03 17:47:44 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00