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

188 Commits

Author SHA1 Message Date
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