alexpeshkoff
20e846369e
Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names)
2014-04-04 15:57:18 +00:00
robocop
29e36dc4f3
The 0th generator becomes unnamed. Only internal requests can access it (zero length names are not allowed from outside). RDB$GENERATORS is no longer a reserved name.System generators cannot be changed by user requests, but can be queried with gen_id(g, 0) if the permissions (ACL) allow that. We don't track dependencies on sys generators, it's not necessary.
2014-04-04 06:39:09 +00:00
robocop
acde43cf94
Misc.
2014-04-02 02:22:13 +00:00
asfernandes
3a87224281
Warnings and make Linux debug build compile.
2014-02-18 01:49:07 +00:00
robocop
5013cc4f16
Give names to the old and new streams in triggers.
2014-02-06 06:53:57 +00:00
asfernandes
56ed22998d
Misc.
2014-02-06 00:37:30 +00:00
asfernandes
fc6110da59
Fixed CORE-4315 - Usage of field's alias in view WITH CHECK OPTION leads to incorrect compile error or incorrect internal triggers.
2014-01-14 15:03:22 +00:00
asfernandes
980cc3edf0
Fixed CORE-4307 - Fields present only in WHERE clause of views WITH CHECK OPTION causes invalid CHECK CONSTRAINT violation.
2014-01-09 15:42:49 +00:00
asfernandes
f85f43ae9c
Change type of user flags from int to bool.
2014-01-06 00:57:10 +00:00
asfernandes
7bb6f550ee
Misc.
2013-12-25 23:36:56 +00:00
alexpeshkoff
dacbc27616
Implemented CORE-3365: Extend syntax for ALTER CURRENT USER
2013-12-17 16:24:49 +00:00
alexpeshkoff
64b4f89d43
Changed syntax of user definition operators according to discussion in devel
...
Added virtual table sec$user_attributes with parsed user's attributes
Implemented CORE-2004: Ability to alter user inactive/active
Implemented CORE-2063: Added CREATE OR ALTER USER operator
Implemented CORE-3931: Ability to set comment for the user
2013-12-17 14:20:25 +00:00
asfernandes
8e73b1cb28
Misc.
2013-12-14 23:59:55 +00:00
alexpeshkoff
72bfd909e6
Fixed CORE-4290: added SQL support to set/drop unlimited list of user's properties
2013-12-10 13:03:39 +00:00
alexpeshkoff
190ff0ad45
Fixed warning "deleting object of abstract class type" where possible
2013-11-18 13:28:47 +00:00
alexpeshkoff
120b10a78a
Implemented CORE-4263: Database linger
2013-11-14 16:16:24 +00:00
asfernandes
5296e616d3
Fixed CORE-4237 - FB3 vs FB2.5. Different metadata for UDF return argument.
...
The is a case showing a difference between 2.5 and 3.0 in the first comment. The second comment does not show difference between versions.
2013-10-04 15:58:03 +00:00
asfernandes
56c2a5fc66
Fixed CORE-4237 - FB3 vs FB2.5. Different metadata for UDF return argument.
2013-10-03 15:38:58 +00:00
asfernandes
0b51caa5f4
Fixed CORE-4145 - Memory leak when preparing Execute Block which uses domains.
2013-09-25 15:49:43 +00:00
hvlad
8611366e5f
Fixed bug CORE-4214 : GTT should not reference permanent relation
2013-09-10 14:37:06 +00:00
asfernandes
eae91e94a9
Improvement CORE-4206 - Add RESTART [WITH] clause for alter identity columns.
2013-09-05 15:58:30 +00:00
asfernandes
4789ba1672
Improvement CORE-4199 - Add optional START WITH clause to identity columns.
2013-09-04 15:54:19 +00:00
asfernandes
8e6a973957
Simplificate representation of 64-bit numbers and sequences in the parser.
2013-08-29 16:05:37 +00:00
dimitr
20d9fd1d76
Fixed regression appeared in test bugs.core_1715.
2013-07-16 03:53:58 +00:00
dimitr
81466c3768
1) Fixed XCP_MESSAGE_LENGTH to represent the real max length. We have the column defined as VARCHAR(1023), so there's no need to subtract the overhead.
...
2) Slightly refactored the message buffer management.
3) Fixed the buffer overrun in the release build.
2013-07-10 11:44:39 +00:00
dimitr
ecfe07ab72
A somewhat hackery solution that allows ISQL to work with SET GENERATOR as it expects. It fixes the issue reported by Philippe in fb-devel.
2013-06-20 08:04:04 +00:00
dimitr
3ba9ad4cc1
A few corrections, mostly regarding new-style vs legacy UDFs.
2013-06-19 09:14:01 +00:00
dimitr
0c9a9fdf4c
Made the ALTER SEQUENCE RESTART behavior standard compliant.
2013-06-18 18:22:31 +00:00
asfernandes
bce4462d85
Fixed CORE-4071 - external function declaration with "returns parameter" crashes the server.
2013-03-27 16:09:18 +00:00
asfernandes
d7c58ad709
Fixed CORE-4070 - NOT-NULL-column can be used as primary key and filled with NULL-values.
2013-03-27 15:54:13 +00:00
asfernandes
1652cf93d7
Fixed CORE-4067 - Problem with "CREATE DATABASE ... COLLATION ..." and 1 dialect.
2013-03-23 20:41:17 +00:00
asfernandes
a412ef75bf
Misc.
2013-03-17 20:36:56 +00:00
dimitr
478857711e
Correction.
2013-03-12 10:26:33 +00:00
asfernandes
bd237461db
Misc.
2013-03-08 02:37:40 +00:00
dimitr
86f4b02ef3
1) Cleanup and renaming in the SCL code.
...
2) Reimplemented the USAGE privilege as a separate one.
3) Added USAGE permission checks for generators/sequences and exceptions.
4) Supported USAGE in GRANT/REVOKE for all object types.
5) Refactored SET GENERATOR and ALTER SEQUENCE as true DDL. blr_set_generator is supported only for backward compatibility, it's not generated by DSQL anymore.
6) Added START WITH clause for [RE]CREATE SEQUENCE and CREATE OR ALTER SEQUENCE.
7) Fixed a number of related errors.
2013-03-07 13:59:03 +00:00
alexpeshkoff
fc12495d0e
Modified IStatement interface in our API:
...
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
asfernandes
42cbecab05
Fixed a problem with CREATE COLLATION.
2013-01-20 15:11:57 +00:00
asfernandes
970677e8de
Get rid of dsql_str and fix metadata strings.
2012-12-25 17:34:50 +00:00
asfernandes
eb00918b00
Misc.
2012-12-10 15:46:51 +00:00
asfernandes
d5f3e9f1fb
Get rid of g_field hack.
2012-12-10 02:09:28 +00:00
asfernandes
1cfac2b169
Refactor dsql_fld, TypeClause and ParameterClause. Eliminate some warnings.
2012-12-05 02:07:37 +00:00
asfernandes
a1b17ce0a5
Small cleanup on COMMENT ON constants.
2012-10-18 15:49:15 +00:00
asfernandes
81609a77d7
Cleanup.
2012-09-18 16:01:58 +00:00
asfernandes
1e918da7b6
Fixed database default charset being ignored.
2012-09-13 15:55:12 +00:00
asfernandes
94a9c6dad0
Fixed CORE-3894 - Wrong numbers in error message for decreasing char/varchar columns.
2012-07-22 01:42:19 +00:00
asfernandes
1dcad0fe90
Misc.
2012-06-03 03:00:24 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
asfernandes
5580857d73
Fixed problems with views WITH CHECK OPTION. Also change its triggers as asked for opinions in fb-devel.
2012-05-20 19:28:52 +00:00
robocop
844b15bd13
Misc and style.
2012-05-20 10:00:52 +00:00
asfernandes
9575304592
Fixed the problem reported a while ago in fb-devel by Thomas Steinmaurer ("Fb 3 and RDB$MECHANISM values for SP/SF parameters").
2012-05-07 15:25:46 +00:00