8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 22:43:04 +01:00
Commit Graph

785 Commits

Author SHA1 Message Date
alexpeshkoff
477e14a820 Implemented CORE-2666: Make it possible to use API to do remote backups/restores 2012-06-20 11:47:30 +00:00
alexpeshkoff
ec99aff55f Implemented CORE-3594: Include expected and actual string length into error message 2012-06-06 11:06:31 +00:00
asfernandes
87ea81df34 Improvements to the UDR engines. 2012-06-05 15:31:32 +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
4a431dd696 1) Change UdrCpp triggers macros to match procedures and functions - first phase.
2) Adjustments to procedures and functions.
2012-05-29 16:02:39 +00:00
asfernandes
17ecd7f39b More C++-ish to the C++ API. 2012-05-24 15:56:36 +00:00
asfernandes
339da08ae3 Misc. 2012-05-23 15:44:43 +00:00
asfernandes
595bc63f5b Improvements and correction to external routines. 2012-05-23 15:39:27 +00:00
robocop
642d506cd9 Change txn numbers to unsigned and commit after Vlad's review. If the compile-time checks (to ensure enough room for the new txn type) are too ugly, they may be deleted. 2012-05-19 12:04:37 +00:00
robocop
70d5ebdfdf - Got rid of the fixed array that kept the stream count in the first element and 255 streams after it.
- Changed streams from UCHAR to ULONG as Dmitry wanted
- Got rid of some redundant flags to indicate BLR level
- Misc changes (for example, converted to test for DBB_read_only in Database to a function)
- BLR v6 is left commented (waiting for a better solution to appear, if any exists)
- This change is not going to raise the engine limits until a solution is found to express more than 255 streams in BLR.
2012-04-12 09:02:13 +00:00
robocop
501f14a9d3 I plan to use this msg because the current one is misleading. 2012-04-10 01:38:57 +00:00
alexpeshkoff
1ceb4847e1 Make plugins use passed instance of master interface, not one got from fb_get_master_interface(). This helps in case when >1 fbclient libraries is loaded by process. 2012-03-26 11:34:52 +00:00
alexpeshkoff
e0eda0c873 Fixed use of UTF8 strings in services 2012-03-15 15:05:31 +00:00
alexpeshkoff
a23cc5f472 Misc 2012-03-15 08:14:19 +00:00
alexpeshkoff
1d18be26d5 Changed order of args as requested by Claudio 2012-03-10 12:07:47 +00:00
hvlad
4041b0e780 Undo part of previous commit: it is not good to make internal type (ThreadId) as public 2012-03-01 15:42:24 +00:00
hvlad
adf02dd070 Misc 2012-03-01 15:27:23 +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
alexpeshkoff
c881c9bc6c Always define appropriate macro before including pthread.h 2012-02-29 07:08:01 +00:00
asfernandes
aa2b0a02e1 Corrections. 2012-02-26 14:26:51 +00:00
asfernandes
1198014fcf Renamed error constant/message by Alex request. 2012-02-25 13:55:04 +00:00
alexpeshkoff
2a5e7e7f32 Implemented CORE-672: "Over the wire" connection encryption 2012-02-24 12:39:27 +00:00
asfernandes
df31dac958 Refactor GRANT and REVOKE commands. This eliminates the DYN subsystem. 2012-02-19 02:17:27 +00:00
robocop
d1fa698a13 Delete unused and wrong definition. 2012-02-15 03:36:04 +00:00
mapopa
25d006ecdf comment cleanup STEXT and UTEXT not used anywhere 2012-02-12 14:54:34 +00:00
asfernandes
27bb1f8bc1 1) Removed READ/WRITE BLOB sql commands. 2) Refactored request operations to fix server crashes. 2012-02-03 19:01:36 +00:00
asfernandes
e51ddc7a38 Misc. 2012-01-29 02:53:44 +00:00
robocop
32712c2c40 Misc and cleanup 2012-01-27 09:10:12 +00:00
dimitr
88336dfde3 Cleaned up and slightly refactored the XDR logic. 2012-01-25 07:13:53 +00:00
robocop
c333847adf Uninvited file went with others in the commit. 2012-01-24 09:26:07 +00:00
robocop
a12820300f Move hardcoded message to the msg db. 2012-01-24 03:04:28 +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
alexpeshkoff
a91c034a37 Misc 2012-01-13 11:36:32 +00:00
dimitr
69cede6f1a Refactored CREATE/ALTER USER. Untested at runtime. 2012-01-08 18:33:59 +00:00
alexpeshkoff
1a4b65f4c2 Fixed overloaded virtual function error - thanks to Adriano 2011-12-26 10:05:29 +00:00
asfernandes
359f74e73a Misc. 2011-12-24 18:08:13 +00:00
asfernandes
d1f9bce0d6 Correction. 2011-12-24 17:59:53 +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
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
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
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
alexpeshkoff
70ddf7a875 Make services work correctly with multiple security databases 2011-10-04 12:51:57 +00:00
asfernandes
5ae632cf0b Feature CORE-1288 - Sub Procedures.
They're very simple for now. No access to parent variables nor to call neighbour procedures.

Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBPROC_1.output.
2011-10-02 22:11:41 +00:00
asfernandes
b7fefbc751 Make easier to use hardcoded messages. 2011-09-03 20:19:58 +00:00
alexpeshkoff
417b13b2a2 Make diagnostics about wrong array subscript a bit better 2011-08-02 09:26:49 +00:00