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

167 Commits

Author SHA1 Message Date
robocop
4ca73444e5 - Fix message requesting a unique index to request a UK or PK constraint to be able to create a FK: indexes manually created aren't honored.
- Commit (without external or self documentation) a debugging features in isql to show dependencies with cryptic. not suite for end users output:
SHOW DEPENendenc[y | ies] obj_name
2006-07-14 06:57:19 +00:00
robocop
5a796f0b4e Misc. 2006-07-09 05:08:23 +00:00
hvlad
c56ec0b730 Correct GTT's error reporting code as Claudio suggested 2006-05-27 21:19:15 +00:00
asfernandes
1dcdd0d3ca Misc 2006-05-25 03:15:53 +00:00
hvlad
614443f90d Refactor common code and constants 2006-05-24 20:43:07 +00:00
hvlad
caeacdc13d Added check of relation temporary scope for foreign key constraints defined
in CREATE TABLE statement. Noted by Adriano
2006-05-23 20:01:17 +00:00
dimitr
211645e3dc Getting rid of the old allocator routines. 2006-05-23 10:17:00 +00:00
asfernandes
818f56dc3c Correct error code 2006-05-22 19:43:31 +00:00
asfernandes
1df0aca116 Misc 2006-05-22 03:04:26 +00:00
hvlad
701f2cbda4 Global temporary tables implementation 2006-05-21 22:07:35 +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
dimitr
ee43406e94 Remove DLS where it's not used. 2006-05-17 13:55:01 +00:00
asfernandes
eb77ff3709 Misc 2006-05-01 02:26:10 +00:00
robocop
92fff3bd1e Trying to solve the directory traversal issue again. The problem would be better solved in the long term if ISC_expand_filename was informed whether we need to verify the path and file is valid (we are loading it) or only the path is valid (we are creating a new file). 2006-04-30 00:39:37 +00:00
robocop
1ca7a582f9 EXPRESSION_INDICES code is considered stable and therefore there's no need to keep it protected by macros. Please do a full rebuild. 2006-01-14 07:00:44 +00:00
robocop
4e53c3eb1c Fix crash caused by ODS < 11 and rdb$system_flag in rdb$roles, found by Dmitry. 2005-11-16 05:41:16 +00:00
robocop
5743a15afe DYN must write always the system flag when creating objects.
This is the first step before we are able to make rdb$system_flag field mandatory in the future.
2005-10-30 07:44:26 +00:00
robocop
22742ccdd7 Tweak DYN to solve several issues:
- Allow to set and drop defaults for table's fields (as it has been possible with domains).
- Stop people from setting a default value for array types.
- Close checking holes that allowed people to change from scalar types to array types and vice/versa.
- Improve some error messages.
2005-08-14 05:48:20 +00:00
asfernandes
888174719e Misc. 2005-06-08 02:09:46 +00:00
robocop
b8d1f00f94 - Corrections and changes to Adriano's commit, subject to his inspection.
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30:03 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
robocop
e93513cd9a - Adjust error messages.
- Correct way to stop automatically generated triggers from being altered.
2005-05-20 00:23:25 +00:00
robocop
b79672c9a3 Getting rid of commented code that belonged to the dead shared cache and/or WAL. 2005-05-19 08:26:38 +00:00
robocop
43ce2abc98 Correcting myself. 2005-05-18 07:27:25 +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
dimitr
4f7ad04fc4 Minor corrections. 2005-04-27 18:06:19 +00:00
robocop
aa4673a8dd Fix the error message for SF Bug #1108909
We want to say we don't have rights to the base table/view, not to the view we are creating, of course.
2005-01-26 08:04:50 +00:00
robocop
24742873ad fb_string.h is moved to common/classes. 2004-12-17 05:41:47 +00:00
robocop
2814294027 Misc. 2004-12-16 03:03:13 +00:00
robocop
fd2bcc04e4 frb_sys_flag becomes fb_sys_flag 2004-11-29 09:09:42 +00:00
robocop
5d7fe7b9a1 Constant for non-specified role. 2004-11-27 06:54:18 +00:00
alexpeshkoff
ea9e900ab3 cleanup of methods, storing data in plain char* 2004-11-14 18:05:13 +00:00
alexpeshkoff
73c3fc3e51 1.fixed problem with double-opened databases on LanMan mounted disk.
might cause database corruption.
2.more active use of Firebird::string in isc_file.cpp
2004-11-07 14:43:29 +00:00
dimitr
8d6ebc97d9 Some changes to support procedure-based views. Much work is still required. 2004-10-13 18:17:43 +00:00
robocop
a8da598248 Redundant casts. 2004-10-08 11:08:42 +00:00
robocop
25f115b66e Closing several possible buffer overruns.
Alex is expected to overwrite my changes in isc_file.cpp.
2004-10-08 04:48:02 +00:00
robocop
7b01a5d1c8 Ugh, a change that belong to another, still not posted "configuration" slipped in. Go back. 2004-10-07 09:24:26 +00:00
robocop
4778d95532 Possible buffer overrun. 2004-10-07 09:02:24 +00:00
robocop
31ba754981 After talking to Ann, decided to disable several items:
- obsolete items like WAL and JOURNAL (cleaned in the past)
- crud from attempts never finished like the shared cache manager for Classic
- DSQL nodes that aren't used. This allowed freeing some keywords.
The functionality was disabled by commenting the code. No code has been deleted.
2004-10-03 04:49:04 +00:00
robocop
0f876d3492 Fixed wrong function explanation (Borland's advanced copy/paste) 2004-09-27 03:44:54 +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
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
a19dadb269 1.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h, second round.
2.- Prevent users from deleting system generators and modifying any entry in rdb$generators. VIO passes the task to DFW, the only problem being that the user gets the error when a commit is done, not before.
2004-07-06 05:59:40 +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
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
alexpeshkoff
1573a98b13 use better typedef name 2004-05-06 08:39:24 +00:00
brodsom
80b424e346 -Replace define with const
-Move SYS_ERR, ERRNO, H_ERRNO and INET_ERRNO(ERRNO in inet.cpp) macros to common.h
-Remove unused macros
2004-05-05 21:55:13 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
a549091c94 - Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
f10702fea7 Replace defines for constants 2004-04-29 11:16:31 +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
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
7007d6f2a4 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
958f9e31aa Cleanup
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +00:00
alexpeshkoff
67f1740fea Various cleanup to make engine compile and work after mentioned earlier changes.
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +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
alexpeshkoff
efb64b2aab Added native firebird::string class. 2004-02-08 17:08:34 +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
hvlad
3502b4e025 Added support for default parameters 2004-01-16 12:59:16 +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
skidder
6c4f29d46b Fix bug that Claudio exposed 2003-12-31 21:18:03 +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
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +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
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
skidder
bd1b3e9ead Add nbak messages 2003-08-12 19:54:34 +00:00
skidder
5ba3139ccb Slightly fix formatting as Claudio suggested 2003-08-08 13:17:47 +00:00
skidder
3e748e9126 Fix warnings 2003-08-06 17:22:52 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
brodsom
51499f9150 Add special action to be used in dyn_def.cpp.
(remove dyn_def.sed)
2003-07-02 19:02:49 +00:00
aafemt
19bb54f2a8 STATUS -> ISC_STATUS 2003-04-10 06:49:16 +00:00
alexpeshkoff
45ad6a1bda External files access restriction cleanup 2003-03-23 16:50:54 +00:00
dimitr
d3a7ab53c5 Allowed UK to be created on nullable columns (SQL-99 spec).
The index management code isn't ready for this yet, but appropriate changes will follow shortly.
2003-03-03 19:14:06 +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
dimitr
b096a2593d CONST -> const 2003-02-13 10:11:35 +00:00
brodsom
bc6d7593a1 Remove JPN_ defines 2003-02-08 00:31:29 +00:00
alexpeshkoff
a812da6fea Removed pSCHAR - not needed any more. 2002-12-22 13:08:50 +00:00
alexpeshkoff
dbfef25568 Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *)
Fixed bug #625899 - bugcheck 291
2002-12-16 16:25:10 +00:00
tamlin
1f0da4a4de Removed unused variables. 2002-11-21 21:02:18 +00:00
hippoman
4a76e9e4fe change TRA,REQ,TRG,REL,CTX or PRC, to module local names. 2002-11-17 00:13:59 +00:00
dimitr
5f61e44ddc Global names change:
FBOK=>FB_SUCCESS
FAILURE=>FB_FAILURE
xxx_FBOK=>xxx_SUCCESS
2002-11-14 08:33:08 +00:00
kkuznetsov
6887f405ab Renaming all occurences of SUCCESS to FBOK 2002-11-13 15:01:21 +00:00
tamlin
3bd6d4173c Fixed gds__vtov to use native char type, and const correct. 2002-11-03 22:26:52 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
dimitr
b482d6555e Removed problematic code related to ALTER VIEW implementation. 2002-10-02 13:27:18 +00:00