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
asfernandes
db30902bad
Misc - seen by Claudio.
2012-05-05 19:16:21 +00:00
asfernandes
2b0eea972a
Make usage of dsqlChildNodes consistent.
2012-05-04 15:32:49 +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
asfernandes
617ef670ed
Refactored nod_select_expr, nod_with and nod_list (union).
2012-04-07 03:03:28 +00:00
dimitr
a1c5800f64
Fixed compilation.
2012-03-26 15:28:13 +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
2522f8fc94
Correction.
2012-02-29 15:24:50 +00:00
asfernandes
b522566474
Remove legacy statements residuals.
2012-02-20 02:02:04 +00:00
asfernandes
df31dac958
Refactor GRANT and REVOKE commands. This eliminates the DYN subsystem.
2012-02-19 02:17:27 +00:00
robocop
5d2a0118c0
I don't see the point in creating temporary strings in these cases.
2012-02-15 03:43:06 +00:00
asfernandes
819da0f942
Fixed problem with default collation.
2012-01-25 17:46:44 +00:00
robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
asfernandes
ed3d7ed720
Misc.
2012-01-20 01:42:03 +00:00
robocop
5ad1da3891
Simplification.
2012-01-19 05:42:04 +00:00
robocop
e2914070b9
Misc.
2012-01-19 04:54:39 +00:00
asfernandes
d66783ae3c
Misc.
2012-01-16 20:33:52 +00:00
alexpeshkoff
35e6c1ff04
Fixed CORE-3599: Possible drop role RDB$ADMIN
2012-01-13 08:23:20 +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
asfernandes
c44c548f8c
Corrections and cleanup.
2012-01-09 00:08:33 +00:00