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

270 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
278c993915 Improvement CORE-5430 - Support for INCREMENT option in identity columns. 2016-12-27 14:57:46 -02:00
5aede150e3 Decimal floating point numbers - first draft 2016-11-11 17:59:55 +03:00
Dmitry Yemanov
af37a963e9 Bugfix CORE-5382: Incorrect processing (truncation) of SQL statement with length 10MB+1. 2016-11-08 12:48:58 +03:00
Roman Simakov
9aab6ed8cc SQL SECURITY Feature (#42)
* Added SQL SECURITY clause to various DDL statements
2016-09-28 17:24:04 +03:00
Adriano dos Santos Fernandes
a9378178fd Feature CORE-5346 - Window Function: named window. 2016-09-23 13:43:10 -03:00
Adriano dos Santos Fernandes
41d24deb26 Feature CORE-3647 - Window Function: frame (rows / range) clause. Readme to be done.
Also updated README.keywords of others features.
2016-09-02 15:20:01 -03:00
fa9f723cce Minor diagnostics cleanup 2016-07-28 15:19:39 +03:00
88748bd890 Fixed CORE-5213 2016-06-03 15:52:46 +03:00
7ad99b795e Added support for system privileges 2016-05-31 20:07:08 +03:00
Dmitry Yemanov
fbd7bd86da Add missing index depth protection during index creatiion + new error
code/message.
2016-05-15 16:07:44 +03:00
hvlad
fa0bae17e2 Applied initial patch from red-soft 2016-03-22 10:35:55 +02:00
aafemt
7a7c6cb95b Some more cases of CORE-5112 as pointed by Dmitry Yemanov 2016-02-23 16:18:38 +00:00
aafemt
13940f54d1 Messages for CORE-5112 2016-02-14 13:10:23 +00:00
alexpeshkoff
bebf1d5a70 Implemented CORE-5100: Improve control over database crypt keys 2016-02-03 13:20:41 +00:00
alexpeshkoff
7b5b0ca838 Fixed CORE-5056: Write-lock of database file is cleared ("W" disappears from output of lsof <db_name>) when remote machine obtains DB header running "fbsvcmgr <remote_host>/port:service_mgr action_db_stats <remote_dbname>" 2015-12-30 15:16:43 +00:00
alexpeshkoff
df2fb331cf Fixed CORE-4964: Real errors during connect to security database are hidden by Srp user manager. Errors should be logged no matter what AuthServer is used. (taking into an account Sean's request re. special error for system-related problems) 2015-12-22 17:53:30 +00:00
alexpeshkoff
474538c7ff Added support for using pascal to access OO API 2015-12-21 17:01:26 +00:00
asfernandes
96e6676163 Fixed CORE-4954 - The package procedure with value by default isn't called if this parameter isn't specified. 2015-10-07 18:24:36 +00:00
alexpeshkoff
ef78fedd46 Fixed CORE-4899: GFIX -online: message "IProvider::attachDatabase failed when loading mapping cache" appears in Classic (only) if access uses remote protocol 2015-08-18 15:04:04 +00:00
asfernandes
9a2a88b560 Fixed CORE-4884 - Crash on pasring of script containing execute block with lot of nested begin..end statements. 2015-08-05 16:44:48 +00:00
asfernandes
67e92f8872 Fixed CORE-4881 - Increase maximum string literal length to 64K (bytes) while setting a lower limit (of characters) for multibyte charsets based on their max char. length (UTF-8 literals will be limited to 16383 characters). 2015-07-27 01:06:51 +00:00
asfernandes
4a4e85e29a Fixed CORE-4279 - Invalid error message: "CHARACTER SET OCTETS is not defined" on db creation with isc_dpb_lc_ctype = OCTETS. 2015-07-12 21:16:33 +00:00
asfernandes
bdbdc30efc Fixed CORE-4781 - Maximum string length (32765 bytes) is not validated. 2015-05-04 16:24:10 +00:00
asfernandes
dd2411e576 Fixed CORE-4755 - Parameterized exception: wrong output when number of arguments greater than 7. 2015-04-29 15:59:46 +00:00
asfernandes
5109af2436 Fixed CORE-4725 - Inconsistencies with ALTER DOMAIN and ALTER TABLE with DROP NOT NULL and PRIMARY KEYs; Fixed some others problems with trailing spaces in object names in error messages. 2015-04-13 18:35:46 +00:00
asfernandes
f776db3b14 Warning. 2015-02-06 14:39:19 +00:00
dimitr
2cd3863201 Fixed CORE-4572: Incorrect error for PSQL function when the number of actual arguments does not match the number of formal arguments. 2014-12-16 19:12:18 +00:00
asfernandes
49d1a73994 Get rid of upgradeInterface API method and some adjustments. To be continued. 2014-11-10 14:45:40 +00:00
alexpeshkoff
2a293c2691 Implemented CORE-4538: Access rights for CREATE DATABASE operator 2014-09-02 16:55:14 +00:00
alexpeshkoff
0bbb336608 misc 2014-08-28 07:27:28 +00:00
roman-simakov
573e93e5a6 Fixed CORE-735: User rights for metadata changes.
We check DDL in DDL nodes and skip at vio level. vio level still exists for direct metadata editing.
2014-07-08 07:35:27 +00:00
alexpeshkoff
2b066db7ab Fixed CORE-4478: Failure to load provider/plugin not reported 2014-07-04 08:25:49 +00:00
alexpeshkoff
a38c2ab324 Fixed CORE-4464: Duplicate tags for CREATE/ALTER USER not handled correctly 2014-06-24 06:58:05 +00:00
alexpeshkoff
685b5f1369 Implemented CORE-4462 (Make it possible to restore compressed .nbk files without explicitly decompressing them) for POSIX systems 2014-06-17 10:27:59 +00:00
asfernandes
3f8de25fcc Feature CORE-4403 - Allow referencing cursors as record variables in PSQL.
Improvement CORE-4434 - Extend the use of colon prefix for read/assignment OLD/NEW fields and assignment to variables.
2014-05-19 19:06:47 +00:00
mapopa
9b059636a6 remove vms basic 2014-05-09 11:38:23 +00:00
mapopa
da1e63df21 remove vax pascal 2014-05-06 08:49:27 +00:00
mapopa
55da24472a remove PYXIS 2014-05-06 08:34:00 +00:00
mapopa
ac65e2269b cleanup VMS leftovers 2014-05-05 15:28:10 +00:00
robocop
a6133d02a8 Replace "unknown token" by specific messages. 2014-05-03 00:27:47 +00:00
alexpeshkoff
9bd0939f09 Implemented CORE-1377: Add an ability to change role without reconnecting to database 2014-04-30 15:12:12 +00:00
alexpeshkoff
10346ce4bc Fixed CORE-2119: Use entries in restrict list of ExternalFileAccess parameter to mangle filenames with relative path, also fixed assertion and diagnostics related to EXTERNAL FILE tables 2014-04-22 13:37:14 +00:00
alexpeshkoff
8c39e4563c Enhanced diagnostics in authentication mapping 2014-04-18 15:33:11 +00:00
robocop
de7ed79414 Fixing several issues with my previous commit:
Use increment [by], no step.
Enable again code in ini.epp because it's needed when restoring (but not when creating gens directly in a new db).
Gbak has code to fix system generators and we should allow it.
Nbackup cannot update the history generator when doing a backup.
Field name renamed to rdb$generator_increment.
2014-04-09 07:17:34 +00:00
robocop
cadd8accc4 Implemented STEP for generators/sequences and took the opportunity to make the blrOp param const. Please rebuild the databases. 2014-04-09 02:28:38 +00:00
robocop
19bc83be9d When I tried to modify a system domain, I got the confusing message "create domain failed", so I tried to improve the feedback to the user. 2014-04-04 20:30:03 +00:00
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
966a2c8db3 Do not take explicit locks on virtual/sys/temp tables using TPBs. 2014-03-28 22:00:05 +00:00
asfernandes
6d3e7f295e Fixed CORE-4373 - Duplicate names in package are not checked. 2014-03-26 16:55:57 +00:00
asfernandes
9350f941dc Fixed CORE-4322 - Engine crashes when use aggregate or window functions in recursive query. Vlad, please review. 2014-01-27 01:09:32 +00:00
asfernandes
d9b4f7b99f Commit missing generated files. 2014-01-13 02:03:51 +00:00
alexpeshkoff
9dbdab9d28 Enhanced diags for unprepared statement 2013-11-05 11:54:06 +00:00
alexpeshkoff
5a054cca16 Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00
dimitr
befd3a3e60 Improved the error reporting. 2013-09-04 07:20:56 +00:00
dimitr
69961e9bae Fixed CORE-4164: Owner name is missing for generators/exceptions restored from a backup.
Also propagated the sysflag/owner/secclass assignment and validation to all object types and wiped out the duplicating system triggers.
Warning: testing is required!
2013-08-04 15:19:31 +00:00
alexpeshkoff
e4356e4b46 Added operator include to config files 2013-03-27 11:45:02 +00:00
alexpeshkoff
33b4336028 Enhancements of IMetadataBuilder 2013-02-21 14:59:24 +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
dc8e42e9bb Migrate external triggers to the new message-based style. 2013-01-29 01:21:32 +00:00
asfernandes
a8483163ee Fixed CORE-3929 - Error "attempted update of read-only column" when trying select minvalue from list with more than 255 elements. 2012-09-20 15:53:04 +00:00
asfernandes
22fef2016a Feature CORE-3291 - New pseudocolumn to get number of transaction that created this record version. 2012-08-28 01:02:56 +00:00
alexpeshkoff
9bf5e60dfa Anti isc_random pass 2012-06-29 12:44:41 +00:00
alexpeshkoff
ec99aff55f Implemented CORE-3594: Include expected and actual string length into error message 2012-06-06 11:06:31 +00:00
robocop
501f14a9d3 I plan to use this msg because the current one is misleading. 2012-04-10 01:38:57 +00:00
asfernandes
1198014fcf Renamed error constant/message by Alex request. 2012-02-25 13:55:04 +00:00
asfernandes
df31dac958 Refactor GRANT and REVOKE commands. This eliminates the DYN subsystem. 2012-02-19 02:17:27 +00:00
robocop
e30d6a6c1f Move hardcoded message to the msg db. 2012-01-24 03:11:40 +00:00
dimitr
f0112290c6 Disallowed deletions from RDB$DATABASE. This fixes the only problematic part of CORE-3735: Unprivileged user can delete from RDB$DATABASE, RDB$COLLATIONS, RDB$CHARACTER_SETS. The implemented solution could be used to protect other system tables from direct modifications. 2012-01-20 10:23:31 +00:00
dimitr
69cede6f1a Refactored CREATE/ALTER USER. Untested at runtime. 2012-01-08 18:33:59 +00:00
alexpeshkoff
7fb8ebd3a9 Fixed CORE-1898: Increase the password length from 8 characters, CORE-3372: Simplify process of non-default security database creation 2011-12-23 12:43:58 +00:00
asfernandes
016ddf41dc Refactored CREATE FILTER and CREATE INDEX. 2011-11-27 19:08:06 +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
alexpeshkoff
417b13b2a2 Make diagnostics about wrong array subscript a bit better 2011-08-02 09:26:49 +00:00
dimitr
d9e4c3eac0 Completed some missing parts of the PSQL functions implementation. Adriano, please review. 2011-07-15 11:52:16 +00:00
dimitr
d455d15bfe Implemented COMMENT for function arguments. 2011-07-15 08:54:00 +00:00
asfernandes
cd7c8dee95 Use the BLR message definition of external procedures and functions. 2011-07-10 01:23:53 +00:00
alexpeshkoff
40348295e1 Used upgradeInterface() in a number of places.
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
alexpeshkoff
3ef46d7fa8 Frontported fix for CORE-3482: nbackup ctrl-c segfaults and leaves db locked (delta file continues to grow) 2011-05-25 12:59:41 +00:00
asfernandes
f26d9a4b14 Fixed CORE-3201 - ATAN2 returns incorrect value for (0, 0). 2011-02-03 14:51:50 +00:00
asfernandes
c9ec26c0c3 Feature CORE-726 - Boolean data type 2010-12-18 02:17:06 +00:00
asfernandes
9c42d4e5af Finish the statements refactor in the engine. Get rid of jrd_nod. 2010-12-04 22:15:03 +00:00
alexpeshkoff
c6932824f7 Full fix for CORE-3024 2010-10-13 09:15:48 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
ad57aa29a1 Refactor CREATE/ALTER/CREATE OR ALTER/RECREATE VIEW and cleanup related to previously refactors 2010-08-02 02:22:26 +00:00
asfernandes
0b7c21172a Refactor CREATE/ALTER/DROP/RECREATE TABLE and DROP VIEW commands 2010-07-26 02:37:57 +00:00
asfernandes
f2c938d9fa Refactor CREATE/DROP COLLATION 2010-06-26 01:52:06 +00:00
asfernandes
55b245bbac Implement Claudio' suggestion of explicit message about access to private packaged routines 2010-02-25 15:56:39 +00:00
alexpeshkoff
43653efb47 Reserved error code for 2.5 fix 2010-02-01 14:04:05 +00:00
asfernandes
be859980ea Feature CORE-832 - Parameterized exceptions 2010-01-07 00:16:50 +00:00
robocop
8141afe475 Put more strings into the msg db. 2010-01-03 10:46:42 +00:00
robocop
a2f34c1dbc Put more strings into the msg db. 2010-01-02 09:42:09 +00:00
robocop
7d47e6217d Set ODS8 (IB4.0) as the minimum requirement to backup a db. Establish previous enhancements (belonging to older ODS versions) as always present, then clean the code. Added two messages, too. 2010-01-01 09:53:49 +00:00
asfernandes
a5ab8a2b33 Make referencing and execution (try) of unimplemented packaged routines work correctly 2009-12-31 11:24:28 +00:00
asfernandes
29df794a24 Fixes and completions for packages 2009-12-29 15:27:58 +00:00
asfernandes
bc0cfcd584 1) Make it build in Linux; 2) Fix some warnings 2009-12-21 20:55:07 +00:00
alexpeshkoff
3d7a990876 Frontported detection of missing/invalid parameter in fbsvcmgr 2009-12-18 14:15:26 +00:00