asfernandes
fda4406b41
Fixed CORE-1369 - Downgrade from ODS11.1 misses default values of procedure parameters
2007-07-20 01:45:20 +00:00
asfernandes
b63bbb7c59
Fix for:
...
CORE-1286 - Bug with COMPUTED BY fields
CORE-1292 - Can't create table using long username and UTF8 as attachment charset
2007-06-02 19:13:29 +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
f0d465bf34
Fixed gcc warnings, general (un)signed usage cleanup
2007-04-11 09:28:50 +00:00
asfernandes
2904d5d96d
Misc
2007-03-31 02:19:37 +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
aca179f398
Full domain support and NOT NULL in PSQL
2007-01-17 01:19:01 +00:00
asfernandes
d168869475
Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS
2006-11-24 00:25:13 +00:00
asfernandes
570b6cd4b4
1) CORE-645 and CORE-745: Database triggers
...
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +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
58d381edd7
1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
...
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +00:00
asfernandes
1d422a8330
1) Refactor intl_classes.h and intl.cpp
...
2) Make conversions from CharSet1->UTF16->CharSet2 job of CsConvert class
2006-10-10 19:40:33 +00:00
asfernandes
48d51e53c2
Misc
2006-10-02 02:39:45 +00:00
asfernandes
06c273a293
Fixed untracked collation dependencies in PSQL
2006-10-01 22:09:05 +00:00
robocop
f32795fe1d
More improvements for CORE-945 because there are other confusing messages in DYN.
2006-10-01 09:14:38 +00:00
asfernandes
597cd7844c
Fixed CORE-945 - Bad error message when trying to create FK to non-existent table
2006-09-30 16:17:24 +00:00
asfernandes
ad0143ac68
Always check max length of DDL strings
2006-09-27 16:48:33 +00:00
asfernandes
9d4e6c7199
Misc
2006-09-06 02:43:37 +00:00
robocop
6f7e1c34a8
Fix CORE-851 by brute force: linear search, slow for indices with lots of segments.
2006-09-05 09:04:03 +00:00
aafemt
e6151fd57f
Warnings
2006-09-01 10:51:57 +00:00
robocop
4b4d5ae0e7
Make sure these domain fields remain NULL for the new ODS.
2006-08-30 04:55:15 +00:00
dimitr
fc790706e7
Fixed creation of views and external tables.
2006-08-29 05:38:52 +00:00
asfernandes
a1b03ceefb
Correction for default value of parameters
2006-08-26 02:02:46 +00:00
dimitr
bb34500a8b
Fixed another bug reported in fb-devel.
2006-08-25 05:42:11 +00:00
asfernandes
b7af27215e
Allow usage of domains in PSQL (with TYPE OF syntax)
2006-08-19 02:52:39 +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
82fd656a20
Misc
2006-08-12 16:13:20 +00:00
asfernandes
539ae2be77
Misc
2006-08-12 16:12:24 +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
772fa52bdf
Correction
2006-07-31 12:35:16 +00:00
asfernandes
273da882bc
Misc
2006-07-31 01:46:52 +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
alexpeshkoff
a02cc1bd60
fix illegal RDB$CHARACTER_LENGTH in UDF arguments
2006-07-28 12:26:34 +00:00
asfernandes
2689003a91
Misc
2006-07-18 18:02:54 +00:00
dimitr
4bb6dda45c
More reliable code, just in case.
2006-07-18 11:17:34 +00:00
dimitr
549a412019
Cleanup of some older remainings...
2006-07-18 09:55:01 +00:00
dimitr
c68587fe66
1. Virtual tables
...
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
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