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

43851 Commits

Author SHA1 Message Date
asfernandes
c5b605af3c Misc. 2012-01-09 00:49:25 +00:00
asfernandes
ac5713d843 Misc. 2012-01-09 00:08:58 +00:00
asfernandes
c44c548f8c Corrections and cleanup. 2012-01-09 00:08:33 +00:00
dimitr
69cede6f1a Refactored CREATE/ALTER USER. Untested at runtime. 2012-01-08 18:33:59 +00:00
dimitr
e956e2e6c0 1) Restricted ALTER/DROP permissions to the object owners only. Now this applies to domains, charsets, collations, generators and exceptions. This fixes CORE-304: Metadata security hole - any user can alter/drop generators and exceptions.
2) Opened the gates to implement the standard USAGE privilege (CORE-2884). SQL support and validation logic are still to be developed.
3) Added the grant option to the owner permissions for packages, procedures and functions.
4) Misc cleanup and refactoring.
2012-01-08 14:05:29 +00:00
dimitr
ea73eb8935 Misc. 2012-01-08 09:40:58 +00:00
firebirds
f5f8a27a7d nightly update 2012-01-07 03:21:50 +00:00
dimitr
2dd5b35f2b Cleanup. We don't need a separately stored global index selectivity for along time already. 2012-01-07 02:30:42 +00:00
asfernandes
9564611f90 Improvement CORE-3343 - RETURNING clause is not supported in positioned (WHERE CURRENT OF) UPDATE and DELETE statements. 2012-01-06 14:33:01 +00:00
dimitr
51c0e87146 Removed support for the remote protocol versions prior to v10. 2012-01-06 11:25:17 +00:00
dimitr
cf9427d88b Removed support for the remote protocol versions prior to v10. 2012-01-06 11:24:37 +00:00
firebirds
37c48d2e7e nightly update 2012-01-05 03:22:12 +00:00
asfernandes
9394fea3ab Misc. 2012-01-05 01:07:06 +00:00
firebirds
213fcec8bb nightly update 2012-01-04 03:21:51 +00:00
dimitr
abf5c027f4 Totally misc. 2012-01-03 18:26:51 +00:00
dimitr
704694f5c7 Removed the outdated RPC support + some misc cleanup. 2012-01-03 18:06:42 +00:00
alexpeshkoff
a0371269e2 Make SRP management plugin notify caller when user to alter/drop is missing 2012-01-03 16:14:41 +00:00
firebirds
93e0756ddb nightly update 2012-01-03 03:21:16 +00:00
firebirds
ec90730043 nightly update 2011-12-31 03:21:54 +00:00
asfernandes
7c9fb70af3 Make UUID_TO_CHAR2 returns lower-cased strings, as the RFC specifies· 2011-12-30 14:38:03 +00:00
alexpeshkoff
dfa99f218a Small correction for CORE-3658 2011-12-30 14:19:47 +00:00
alexpeshkoff
db80e18dc7 Fixed CORE-3658: FBSVCMGR connects to server as OS user name rather than value of ISC_USER environment variable 2011-12-30 14:11:24 +00:00
firebirds
edd8e39f45 nightly update 2011-12-30 03:19:57 +00:00
alexpeshkoff
e3f9db44cd Front-ported fix for CORE-3646: Segmentation fault in Linux 2011-12-29 17:48:59 +00:00
firebirds
7d4f7d2819 nightly update 2011-12-29 03:23:07 +00:00
dimitr
db982b80fe Misc. 2011-12-28 18:16:11 +00:00
firebirds
0241496ee8 nightly update 2011-12-28 03:21:12 +00:00
asfernandes
3c2e388571 Warning. 2011-12-28 01:20:11 +00:00
asfernandes
c75f170530 Misc. 2011-12-28 01:07:49 +00:00
firebirds
aa5db0e3e5 nightly update 2011-12-27 03:21:31 +00:00
alexpeshkoff
c31aea58ed Diagnostics 2011-12-26 16:06:00 +00:00
alexpeshkoff
e093442122 Enable passwords >9 bytes in gsec. Remove old warning. 2011-12-26 14:51:25 +00:00
hvlad
a3ebd462fd Built SRP server into firebird.exe 2011-12-26 14:46:28 +00:00
alexpeshkoff
ce026f29ec Fixed init/fini order in srp 2011-12-26 14:33:59 +00:00
dimitr
b5919087f0 A patch resolving client-side crashes with a new fbclient. Thanks to Alex. 2011-12-26 13:51:45 +00:00
hvlad
de723c9df7 Fixed mismatched parameters order 2011-12-26 13:35:26 +00:00
dimitr
0b00d98167 Fixed the asserts in the debug build. 2011-12-26 13:17:58 +00:00
dimitr
1129013cf8 Fixed a connection error (FB3 client - FB3 server), only LegacyAuth was affected. 2011-12-26 12:57:30 +00:00
dimitr
83831b130c This should fix the trusted authentication. 2011-12-26 12:26:15 +00:00
alexpeshkoff
1a4b65f4c2 Fixed overloaded virtual function error - thanks to Adriano 2011-12-26 10:05:29 +00:00
alexpeshkoff
6631bc93a9 Moved big integer implementation to common dir 2011-12-26 09:16:24 +00:00
dimitr
4ed4dae375 Correction. 2011-12-26 08:50:28 +00:00
firebirds
2133884499 nightly update 2011-12-25 03:19:23 +00:00
asfernandes
359f74e73a Misc. 2011-12-24 18:08:13 +00:00
asfernandes
d1f9bce0d6 Correction. 2011-12-24 17:59:53 +00:00
firebirds
3124f53572 nightly update 2011-12-24 03:20:25 +00:00
dimitr
1888b962cd Fixed some compilation errors. 2011-12-23 18:33:23 +00:00
dimitr
64f68935d0 Methinks this solution should be a bit better, as it doesn't overwrite the pending error code (happened in PIO). 2011-12-23 18:13:55 +00:00
dimitr
1a0b1cc358 Correction. 2011-12-23 17:59:45 +00:00
dimitr
20a8600bd0 Cleanup. 2011-12-23 17:55:00 +00:00
dimitr
e719c87753 Make locks unconditionally granted in the fair order. The legacy behavior is unsafe in the highly loaded systems. 2011-12-23 17:50:44 +00:00
dimitr
8dda62eaab Fixed the assertions caused by the isc_lock_conflict error left in the status vector after successful execution of the API call. 2011-12-23 17:11:37 +00:00
dimitr
d6c99d641a Fixed the lock owners accordingly to the per-attachment metadata caches. 2011-12-23 17:08:54 +00:00
dimitr
498a61af43 Allowed multiple waiting requests per owner. This resolves various crashes and asserts in the SharedDatabase + SharedCache mode. Page-level deadlocks are still expected, the cache manager needs fixing.
Also, made the lock table synchronization a bit stricter. Some refactoring and cleanup was performed as well.
2011-12-23 17:07:33 +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
firebirds
c2e17f5cbf nightly update 2011-12-23 03:21:38 +00:00
dimitr
e7c9ebba12 Re-implemented the disabled code in the remote server. Cleaned up the legacy logic that doesn't look actual these days.
Some code refactoring.
2011-12-22 15:32:06 +00:00
asfernandes
958bca323a Misc. 2011-12-22 14:18:43 +00:00
dimitr
08cff42833 Let's avoid duplication of shared constants. 2011-12-22 08:07:17 +00:00
firebirds
6659b847ff nightly update 2011-12-21 03:21:59 +00:00
asfernandes
93b3c8933e Misc. 2011-12-21 00:51:28 +00:00
asfernandes
1bb24e6c08 Fixed CORE-3238 - Makes GEN_UUID return a compliant RFC-4122 binary UUID and introduce CHAR_TO_UUID2 and UUID_TO_CHAR2 to convert UUIDs from/to string also complying with the RFC. 2011-12-20 14:30:41 +00:00
firebirds
615e07be1c nightly update 2011-12-20 03:21:44 +00:00
hvlad
dd546a9d8a Fixed AV in trace when statement free event is traced and it is first traced event for a given statement (i.e. prepare\execution was not traced before).
Adriano, please review.
2011-12-19 10:01:02 +00:00
firebirds
a0e2b62ff8 nightly update 2011-12-17 03:21:33 +00:00
asfernandes
d075c8459c Misc. 2011-12-17 01:34:39 +00:00
hvlad
92f4b8bf86 Second try to work with null's correctly 2011-12-16 14:48:49 +00:00
firebirds
04316f47b9 nightly update 2011-12-15 03:21:11 +00:00
dimitr
f30f9e58e8 Reworked the fix for CORE-3683: Recursive query with GROUP BY in root part: wrong results if no index exists for fields that are grouped. It resolves some optimization regressions appeared after the original fix. 2011-12-14 06:45:24 +00:00
firebirds
5e9c50e3ae nightly update 2011-12-10 03:22:16 +00:00
asfernandes
e94a79bec5 Misc. 2011-12-10 01:18:58 +00:00
firebirds
88c5345a0a nightly update 2011-12-09 03:22:59 +00:00
asfernandes
b0dfb22eeb Fixed CORE-3694 - internal Firebird consistency check in query with grouping by subquery+stored procedure+aggregate. 2011-12-08 15:13:28 +00:00
firebirds
73039963f3 nightly update 2011-12-07 03:20:58 +00:00
dimitr
efa1adfec0 Correction related to CORE-927. 2011-12-06 18:09:15 +00:00
hvlad
c5cc0b113e Cleanup 2011-12-06 15:08:08 +00:00
asfernandes
d8a30e8094 Fixed CORE-3545 - Inconsistent domain's constraint validation in PSQL. 2011-12-06 14:24:10 +00:00
dimitr
21c71a0682 Fixed CORE-3692: Cannot drop a NOT NULL constraint on a field participating in the UNIQUE constraint. 2011-12-06 13:12:18 +00:00
dimitr
8ffffb7f81 Fixed CORE-927: Grants don't work for procedures used inside views. 2011-12-06 13:09:51 +00:00
dimitr
1575ff5b54 Fixed CORE-927: Grants don't work for procedures used inside views. 2011-12-06 10:02:20 +00:00
firebirds
ba77c374bf nightly update 2011-12-06 03:21:23 +00:00
hvlad
6a8a920840 Fixed bug CORE-3690 : Wrong warning message for ambiguous query 2011-12-05 13:06:30 +00:00
firebirds
3c827ea4a7 nightly update 2011-12-05 03:20:53 +00:00
asfernandes
965bf3f159 Fixed the problem with windowed functions in recursive CTEs, reported by Frank Ingermann in fb-devel.
This fix is complementary to the one done in CORE-3683.
2011-12-04 18:36:26 +00:00
firebirds
bb44af42a4 nightly update 2011-12-04 03:20:06 +00:00
asfernandes
3009484b26 Fixed CORE-3683 - Recursive query with GROUP BY in root part: wrong results if no index exists for fields that are grouped. 2011-12-03 20:22:14 +00:00
dimitr
1fb40d535f Fixed the authentication during restore via the Services API. 2011-12-03 12:48:54 +00:00
firebirds
787da0095f nightly update 2011-12-02 03:23:47 +00:00
dimitr
887b3c13da For a number of reasons, it seems being a good thing to unwind the trigger requests ASAP. 2011-12-01 09:54:36 +00:00
dimitr
aa4e36e0d6 Correction. 2011-12-01 09:37:25 +00:00
dimitr
e3fb73cdca Attempted to fix CORE-3490: Concurrency problem when using named cursors. The solution may look sub-optimal but it doesn't seem to affect the performance. 2011-12-01 09:24:59 +00:00
firebirds
3970019916 nightly update 2011-12-01 03:19:39 +00:00
asfernandes
a886171bf2 Fixed window function with empty streams. 2011-12-01 00:47:58 +00:00
firebirds
f6724bbefc nightly update 2011-11-30 03:23:05 +00:00
dimitr
18df9a3ab7 Raised the lock table version. Some cleanup. 2011-11-29 08:14:49 +00:00
firebirds
6958d52a70 nightly update 2011-11-28 03:20:10 +00:00
asfernandes
59acf81405 Misc. 2011-11-28 00:57:11 +00:00
asfernandes
016ddf41dc Refactored CREATE FILTER and CREATE INDEX. 2011-11-27 19:08:06 +00:00
firebirds
cb192938e6 nightly update 2011-11-24 03:20:18 +00:00
asfernandes
19735c1e44 Misc. 2011-11-24 00:17:29 +00:00
firebirds
641d1ec312 nightly update 2011-11-23 03:20:41 +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
firebirds
e60947c631 nightly update 2011-11-18 03:20:43 +00:00
asfernandes
bdd2fac058 Fixed backup/restore of BOOLEAN columns. 2011-11-18 01:07:26 +00:00
firebirds
b69140c353 nightly update 2011-11-17 03:21:09 +00:00
dimitr
93089a4261 Misc. 2011-11-16 17:41:27 +00:00
firebirds
fce9f8669f nightly update 2011-11-15 03:20:50 +00:00
hvlad
8938c616ff Update documentation 2011-11-14 23:10:30 +00:00
asfernandes
2013038d7f Correction. 2011-11-14 18:15:44 +00:00
asfernandes
4abaa3b3fb Misc. 2011-11-14 18:15:16 +00:00
asfernandes
0de4423b02 Misc. 2011-11-14 18:06:44 +00:00
firebirds
3abfc694fe nightly update 2011-11-14 03:18:14 +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
firebirds
33fd17708a nightly update 2011-11-11 03:18:33 +00:00
asfernandes
fb030aa4a8 Cleanup for RECREATE commands. 2011-11-10 15:03:12 +00:00
asfernandes
45327bf06b Feature CORE-3018 - RECREATE SEQUENCE/GENERATOR. 2011-11-10 14:55:06 +00:00
asfernandes
56400c594a Rename methods to match error constants as per Claudio request. 2011-11-10 14:35:40 +00:00
firebirds
9d36fce842 nightly update 2011-11-10 03:19:44 +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
dimitr
9bac54c2ca A little bit of safety doesn't hurt. 2011-11-09 13:31:27 +00:00
firebirds
402f9ee936 nightly update 2011-11-09 03:20:04 +00:00
hvlad
0ed1fadf25 Additional fix for CORE-3557 : AV in engine when preparing query against dropping table
Also fixed CORE-3579 : Can't drop table when computed field depends on later created another field
2011-11-08 16:46:40 +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
firebirds
b3625b5cb1 nightly update 2011-11-08 03:21:20 +00:00
asfernandes
a460334c67 Fixed CORE-3650 - Recreation of collation leads to FB "death". 2011-11-05 20:51:46 +00:00
dimitr
7c124b4487 Small optimizations in the mover/converter code. 2011-11-05 18:07:04 +00:00
firebirds
86e92ff8d0 nightly update 2011-11-02 03:20:10 +00:00
dimitr
d542f5ac88 Fixed the races leading to a crash during dbb finalization. Thanks to Adriano for assistance. 2011-11-01 04:02:59 +00:00
firebirds
89f7a71e59 nightly update 2011-10-28 03:18:44 +00:00
asfernandes
9ae117e388 Fixed CORE-3611 - Wrong data while retrieving from CTEs (or derived tables) with same column names. 2011-10-27 23:53:15 +00:00
firebirds
e761c32f19 nightly update 2011-10-27 03:19:17 +00:00
asfernandes
906ea4729e Misc. 2011-10-27 01:04:14 +00:00
asfernandes
4f1b4fe10f Correction. 2011-10-27 00:22:23 +00:00
firebirds
737a5a89b0 nightly update 2011-10-26 03:21:00 +00:00
asfernandes
cea1efd81b Feature CORE-3620 - Window function LAST_VALUE.
Feature CORE-3621 - Window function NTH_VALUE.
2011-10-25 15:04:17 +00:00
alexpeshkoff
69d29c3cf1 Diag 2011-10-25 08:45:39 +00:00
firebirds
f5c7361ee7 nightly update 2011-10-24 03:20:01 +00:00
asfernandes
10496876fb Feature CORE-3619 - Windows function FIRST_VALUE. 2011-10-23 21:27:55 +00:00
asfernandes
9056e2b5a8 Misc. 2011-10-23 21:27:25 +00:00
asfernandes
475852fd57 Correction. 2011-10-23 21:26:58 +00:00
firebirds
e6e0830e9e nightly update 2011-10-23 03:19:20 +00:00
asfernandes
372d48c97b Improvement CORE-3639 - Allow the use of multiple WHEN MATCHED / NOT MATCHED clauses in MERGE, as per the SQL 2008 specification.
Also updated MERGE and RETURNING docs, and fixed a bug with MERGE WHEN MATCHED DELETE and RETURNING.
2011-10-23 01:31:11 +00:00
firebirds
8abb27e974 nightly update 2011-10-22 03:23:18 +00:00
alexpeshkoff
3513087d98 Fixed services to make them work with trusted auth emulator and old client 2011-10-20 12:20:33 +00:00
firebirds
db8435d3bd nightly update 2011-10-19 03:20:59 +00:00
dimitr
444d5302e1 Refactored the tdbb initialization, especially in AST and BG threads.
Replaced dbb_use_count with a list of active requests (to be utilized later).
Misc cleanup.
2011-10-18 18:02:57 +00:00
firebirds
ee77cc20e1 nightly update 2011-10-17 03:18:32 +00:00
asfernandes
c627005a89 Feature CORE-3626 - Subfunctions in PSQL and EXECUTE BLOCK.
Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBFUNC_1.output.

Also did:
- Refactor to share more code/data between procedures and functions.
- Fixed some PSQL functions problems.
2011-10-16 20:36:07 +00:00
hvlad
862a9e0694 Port forward fix for bug CORE-3636 : Firebird 2.5.1 server crashes with Trace API 2011-10-16 14:10:48 +00:00
firebirds
ba1a02f3f5 nightly update 2011-10-14 03:19:48 +00:00