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
0c9a9fdf4c
Made the ALTER SEQUENCE RESTART behavior standard compliant.
2013-06-18 18:22:31 +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
dimitr
478857711e
Correction.
2013-03-12 10:26:33 +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
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
594bea6af3
Fixed CORE-3893 - Cannot restore tpcc database in FB 3.0.
2012-07-20 02:41:58 +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
asfernandes
07747144f7
Unify DSQL/JRD sub-nodes.
2012-05-03 16:43:29 +00:00
asfernandes
a2b389f1db
Getting rid of dsql_nod.
2012-04-25 01:42:47 +00:00
robocop
80ca53c094
Misc.
2012-04-10 01:52:05 +00:00
asfernandes
38083d12dc
Refactored nod_field_name, nod_var_name, nod_array and nod_collate.
2012-03-25 01:08:55 +00:00
alexpeshkoff
a89f9b7735
Fixed CORE-3782: Password encoding
2012-03-23 17:44:17 +00:00
asfernandes
456af220a8
Refactor nod_def_index.
2012-03-18 22:22:14 +00:00
asfernandes
3e81925010
Refactor DDL nodes removing references to non-value/-rse dsql_nod.
2012-03-18 21:37:13 +00:00
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00
asfernandes
df31dac958
Refactor GRANT and REVOKE commands. This eliminates the DYN subsystem.
2012-02-19 02:17:27 +00:00
robocop
5ad1da3891
Simplification.
2012-01-19 05:42:04 +00:00
robocop
e2914070b9
Misc.
2012-01-19 04:54:39 +00:00
dimitr
0e41945307
1) Made the functions logic in sync with the procedures one.
...
2) Simplified the privileges creation code.
2012-01-09 09:48:14 +00:00
dimitr
69cede6f1a
Refactored CREATE/ALTER USER. Untested at runtime.
2012-01-08 18:33:59 +00:00
asfernandes
016ddf41dc
Refactored CREATE FILTER and CREATE INDEX.
2011-11-27 19:08:06 +00:00
asfernandes
19735c1e44
Misc.
2011-11-24 00:17:29 +00:00
asfernandes
b956356922
DDL refactor: ALTER EXTERNAL FUNCTION, ALTER INDEX, SET STATISTICS, CREATE SHADOW, ALTER ROLE, CREATE/ALTER DATABASE.
2011-11-22 16:33:25 +00:00
asfernandes
193f9379b9
Refactor DDL commands: DROP INDEX, DROP FILTER, DROP SHADOW, CREATE/DROP ROLE and DROP USER.
2011-11-13 21:32:12 +00:00
asfernandes
45327bf06b
Feature CORE-3018 - RECREATE SEQUENCE/GENERATOR.
2011-11-10 14:55:06 +00:00
asfernandes
e090671523
Apply CORE-3114 patch (Attempt to drop non-existing generator produces bad error) with some modifications.
2011-11-09 15:30:00 +00:00
asfernandes
ba36a29f9d
1) Refactored legacy (UDF) function creation.
...
2) Extend ISQL' SHOW FUNCTION to take packages and parameter's datatype of non-legacy functions into account.
2011-11-08 14:54:48 +00:00
asfernandes
01e6fd70ae
Fixed PSQL functions problem (missing EOS).
2011-09-25 23:28:09 +00:00
dimitr
ffa0c84d97
Added the missing RDB$SYSTEM_FLAG and RDB$DESCRIPTION columns into RDB$FUNCTION_ARGUMENTS.
2011-07-14 15:27:25 +00:00
asfernandes
8d8a8b5047
Fixed problem with position handling (see CORE-2797).
2011-04-01 18:39:41 +00:00
asfernandes
5ffa89e0c7
Reference DML statements in DSQL with StmtNode instead of dsql_nod.
2011-03-06 02:48:34 +00:00
asfernandes
0a6e338392
Refactoring nod_list and nod_block statements.
2011-02-22 00:51:56 +00:00
asfernandes
f27d60369e
Refactor nod_relation_name and nod_rel_proc_name.
2011-01-30 00:25:46 +00:00
dimitr
7eded400e8
Let's clearly distinguish between deterministic and invariant functions, they're not the same thing actually. Runtime optimization usage is to be re-considered, if necessary.
...
Warning: this includes an ODS change, please boot-build.
2010-11-13 15:03:44 +00:00
asfernandes
dde217e91f
Make node creation more directly
2010-10-30 18:57:53 +00:00
asfernandes
c46f5cf800
Misc
2010-10-29 00:28:35 +00:00
asfernandes
097426ffc1
Fixed CORE-3140 - Preserve comments for parameters after altering procedures
2010-10-29 00:23:18 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
asfernandes
c1b5abfdf2
1) Refactor all types of boolean nodes.
...
2) Remove the scratch from the nodes.
2010-09-17 03:15:32 +00:00
asfernandes
52a4c39f41
1) Separate DsqlCompilerScratch in its own files.
...
2) Move BlockNode functionality to it.
3) Move some related CTE functions to it.
2010-08-27 02:18:00 +00:00
asfernandes
4cb0195ee6
Misc
2010-08-10 15:20:20 +00:00
robocop
4677d74e9b
Misc.
2010-08-09 11:50:12 +00:00