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

176 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
4070fe8c0d Prepare ISQL to have unit tests. 2023-09-29 19:01:35 -03:00
Adriano dos Santos Fernandes
39b019574a
Feature #7675 - EXPLAIN statement and RDB$SQL package. (#7697)
* Feature #7675 - EXPLAIN statement and RDB$SQL package.

* Change ObjectsArray::back() to match STL semantics and add front() method.

* Fix indentation problem.

* Add OBJECT_TYPE column.

* Add CARDINALITY column.

* Add conversion from bid to ISC_QUAD.

* Replace fb_assert by static_assert.

* Change ACCESS_PATH output parameter to blob.

* Improve docs.
2023-09-18 21:52:20 -03:00
Adriano dos Santos Fernandes
14507af30d Flat Android tree. 2023-02-04 18:32:57 -03:00
Adriano dos Santos Fernandes
581795ed78 Merge branch 'work/profiler-plugin' into work/profiler-plugin-merge 2022-08-10 22:26:38 -03:00
Adriano dos Santos Fernandes
30ff90bac1 Reference gds.cpp in src/yvalve. 2022-08-01 22:50:55 -03:00
Adriano dos Santos Fernandes
76dbad5002 Add test framework in engine library. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
2139d4a5ac Add tests for common/classes/Aligner. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
bb5a1e0149 Add test framework in common library. 2022-07-18 08:16:15 -03:00
Dmitry Yemanov
19f2bfdd01 Refactored the optimizer. Better debug logging. 2022-02-09 10:20:16 +03:00
Adriano dos Santos Fernandes
2f503f2e2d Profiler. 2021-12-23 15:08:04 -03:00
Adriano dos Santos Fernandes
ee088c22e3
Rework messages processing, simplifying the build and avoiding store generated files in git. (#6958) 2021-09-15 08:37:17 -03:00
Adriano dos Santos Fernandes
010c3a8bd5
Remove QLI. (#6840) 2021-06-08 10:31:18 -03:00
AlexPeshkoff
96b134a718 Front-ported MacOS related changes from FB3 2021-03-02 19:08:42 +03:00
AlexPeshkoff
30784c1db2 Fixed CORE-6305: Android port build failure 2020-05-15 18:03:52 +03:00
AlexPeshkoff
95163e7455 Fixed CORE-6237: Performance issue - security database connections cache in SRP plugin 2020-01-24 19:02:52 +03:00
Alexander Peshkov
4ea61ec05b
Wire encryption plugin using chacha cypher (#244)
* Added wire crypt plugin using ChaCha cipher
Co-authored-by: Vlad Khorsun <hvlad@users.sourceforge.net>
2019-12-24 11:16:59 +03:00
Dmitry Yemanov
932ca51574
Replication support (#182)
* Initial implementation of replication

* Postfixes for configuration and Windows builds

* Misc Windows adjustments

* Forgotten changes from prior commits

* Last round (fingers crossed) of fixing the Windows build

* Improve self-documentation

* Misc improvements

* Updates the docs

* More configuration

* Frontported some remaining pieces

* Installation post-fixes

* Special permission for replication
2019-01-25 12:09:01 +03:00
Alex Peshkoff
b9a93f5312 Applied CORE-5788: Security Patch: Replacement of use of SHA-1 in the SRP Client Proof with SHA-256 2018-06-21 14:49:16 +03:00
b9c17656e9 Fixed CORE-5657: Various UDF-related security vulnerabilities 2017-11-09 13:15:00 +03:00
f418336819 Fixed CORE-5654: Mixed intermediate build files for plugins examples 2017-11-03 14:44:13 +03:00
Adriano dos Santos Fernandes
ca33f71291 Added src/common/tomcrypt to POSIX build. 2017-07-24 12:07:07 +00:00
Bernhard M. Wiedemann
3278b68b35 have constant link order (#92)
to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.

Without this patch g++ would order functions in libEngine12.so and fbintl
depending on random order of files in the build system's filesystem.

partial fix for http://tracker.firebirdsql.org/browse/CORE-5548
2017-05-22 17:36:06 +03:00
alexpeshkoff
30f28252cb Fixed posix build 2014-11-26 10:01:51 +00:00
alexpeshkoff
de258c2844 Convert legacy auth server to non-builtin plugin on posix 2013-10-28 10:27:40 +00:00
alexpeshkoff
b91c68bb30 Cross-build support + android port: work in progress, currently can build fbclient for android 2012-06-22 11:39: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
alexpeshkoff
9a4670a33f Fixed Darwin build 2012-02-27 16:59:01 +00:00
alexpeshkoff
2a5e7e7f32 Implemented CORE-672: "Over the wire" connection encryption 2012-02-24 12:39:27 +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
alexpeshkoff
0102a5c9fc Follow Vlad's changes in posix build 2011-03-03 08:36:02 +00:00
alexpeshkoff
0a7c3fc69d Fixed CORE-3369: first step to make it possible to specify non-default security database for specific database 2011-03-02 13:42:56 +00:00
alexpeshkoff
d6fcde387b New plugin manager. Use it for all types of plugins. 2011-01-14 17:31:40 +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
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
c1b5abfdf2 1) Refactor all types of boolean nodes.
2) Remove the scratch from the nodes.
2010-09-17 03:15:32 +00:00
asfernandes
b7b63becf3 Refactor a number of expression nodes: nod_add, nod_divide, nod_multiply, nod_negate, nod_user_name, nod_subtract, nod_current_date, nod_current_time, nod_current_timestamp, nod_add2, nod_subtract2, nod_multiply2, nod_divide2, nod_current_role, nod_internal_info 2010-09-04 21:36:41 +00:00
asfernandes
52a4c39f41 1) Separate DsqlCompilerScratch in its own files.
2) Move BlockNode functionality to it.
3) Move some related CTE functions to it.
2010-08-27 02:18:00 +00:00
asfernandes
48d83b8fef Refactor nod_rse, nod_relation, nod_procedure, nod_union, nod_aggregate and nod_window. 2010-08-24 03:25:01 +00:00
alexpeshkoff
d24cd9cbd7 Implemented self-registering plugins format (same plugin can be easily linked statically
or as dynamic library, depending upon platform requirements). Self-registering plugins
need not export any functions, instead they call fb_register_plugin() on startup.

Reworked all user management to use self-registering plugins.

Removed system table RDB$USERS. PLG$USERS is not created automatically by plugin, but
will be later (work in progress).
2010-07-23 12:04:18 +00:00
dimitr
58f8384cec Reworked the SEC$USERS implementation so that no new physical table type and data access method would be required. More changes are likely to follow soon. 2010-07-13 12:32:36 +00:00
alexpeshkoff
88db8b2fbc ODS change: made RDB$USERS system table, added virtual table SEC$USERS 2010-07-09 12:51:05 +00:00
asfernandes
12079f5ece Created class BlrWriter and reorganization (move BLR generation from statement to scratch) 2010-06-17 01:18:40 +00:00
alexpeshkoff
ea1b1843d8 Cleaned up macro BOOT_BUILD, boot ObjModuleType in posix build and a lot of related steps in posix build 2010-05-18 13:32:30 +00:00
asfernandes
4763533669 Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
alexpeshkoff
88b8a40a04 1. Cleaned up most of SUPERSERVER usage.
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())

2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).

3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
asfernandes
77a2706b73 Misc 2010-03-01 02:14:36 +00:00
alexpeshkoff
e5017f1a12 Extend format of firebird configuration file with a set of additional parameters for any parameter.
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
asfernandes
d3c0e1971a 1) Feature CORE-2830 - Window functions: DENSE_RANK, RANK and ROW_NUMBER
2) Fix BLR filter for some procedure verbs
2010-02-14 19:08:22 +00:00
asfernandes
0affd15dc5 Merge OrderedWindowStream into AggregatedStream 2010-02-13 23:55:48 +00:00
asfernandes
c737d6a807 Create ExprNode class hierarchy.
Convert CONCATENATE and aggregate functions to it.

Fix some bugs:
- select sum(n) over (order by n2), sum(n) over (), n, n2 from x1;
- select (select 1 from x1 b where list(1, a.n) = 1) from x1 a;
2010-02-13 20:29:29 +00:00