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

893 Commits

Author SHA1 Message Date
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
paulbeach
0cbd833b0f Fix problem with Trace not working on MacOS 2012-11-01 09:13:13 +00:00
paulbeach
19730bf27b Fix CORE-3740 - optimisation bug in GCC 2012-08-08 14:41:07 +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
paulbeach
4d1651a327 Copy libfbclient.dylib to Firebird SuperServer Framework Libraries to support the ODBC driver 2012-06-20 09:30:39 +00:00
alexpeshkoff
292cf70723 Cleanup - no more separate classic/super builds support 2012-06-07 11:43:41 +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
a2b389f1db Getting rid of dsql_nod. 2012-04-25 01:42:47 +00:00
alexpeshkoff
6a45fe32a1 Better track file dependencies 2012-03-15 09:52:55 +00:00
alexpeshkoff
6e6c7bcbcd Fixed opening read-only databases on unix 2012-03-01 08:37:55 +00:00
alexpeshkoff
9a4670a33f Fixed Darwin build 2012-02-27 16:59:01 +00:00
alexpeshkoff
b4c806385f Fixed make syntax 2012-02-27 12:12:47 +00:00
alexpeshkoff
50bbe2e446 Mac port 2012-02-24 16:55:18 +00:00
alexpeshkoff
2a5e7e7f32 Implemented CORE-672: "Over the wire" connection encryption 2012-02-24 12:39:27 +00:00
alexpeshkoff
173db599b7 Fixed CORE-3727: Support C preprocessor flags in firebird build system 2012-01-12 15:00:49 +00:00
alexpeshkoff
71ca2d9348 Applied Michal's patch 2012-01-11 12:56:48 +00:00
asfernandes
4b115ba622 Make the thing build with Ubuntu 11.10, binutils 2.21.53.20110810.
Was failing to build 'firebird' caused by common.a (BigInteger.o) usage of libtommath functions.
2011-12-29 00:21:21 +00:00
alexpeshkoff
4780466fcd Fixed CORE-3677: Stop utilities to export entrypoints 2011-12-27 08:14:58 +00:00
asfernandes
359f74e73a Misc. 2011-12-24 18:08:13 +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
ef11481552 Fixed CORE-3606: Linker commands that use c or c++ compiler should apply CFLAGS and CXXFLAGS respectively 2011-10-12 11:55:18 +00:00
alexpeshkoff
0109520964 Fixed non-root build 2011-10-12 11:24:03 +00:00
alexpeshkoff
bf36c6a366 Cleanup 2011-10-11 13:42:55 +00:00
alexpeshkoff
d61e4a7344 Create metadata.fdb using isql 2011-10-11 08:20:16 +00:00
alexpeshkoff
963096063f Fronported CORE-3615: add silent_install target to firebird's Makefile (and some other misc install-related fixes) 2011-10-06 09:31:22 +00:00
paulbeach
78dfea75db 2011-09-14 13:01:11 +00:00
asfernandes
4463186e19 Correction for my last commit to make it work without gen's bin directory in the $PATH. 2011-08-22 01:07:27 +00:00
asfernandes
7545b8d172 Make Linux build faster.
It seems the usage of databases with FW=ON in ext4 filesystems mounted with barriers=1 (default) is very slow.

This change decreased build time in my machine from 2m41s to 1m21s.
2011-08-21 04:11:41 +00:00
alexpeshkoff
40ef6666d5 Enabled use of any available on the target system ICU version for non-collation calls 2011-08-02 11:54:30 +00:00
alexpeshkoff
9a58295f44 Reflect Vlad's changes in posix build 2011-07-01 07:55:13 +00:00
paulbeach
317430bc0d Fix typo 2011-06-15 08:35:30 +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
asfernandes
7ad98cd292 Work in progress on the external engines API changes. 2011-06-01 01:44:54 +00:00
alexpeshkoff
2d6355645f misc 2011-05-20 16:44:12 +00:00
asfernandes
69dc52ba48 Integrate IAttachment and ITransaction in the external engines API. 2011-05-07 19:52:44 +00:00
alexpeshkoff
2ce69ffac3 Applied patch from Damyan Ivanov: no compiler flag repetinion when CXXFLAGS is set in the environment 2011-03-27 11:22:57 +00:00
alexpeshkoff
abeb17be14 Fix boot build 2011-03-21 13:43:51 +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
ada72e8ec2 Damyan's fix for an error, noticed by him 2011-02-24 14:06:39 +00:00
alexpeshkoff
dc9e744fc3 Fixed binary packages build. No more CS/SS difference. No more linux RPMs on SF. 2011-01-17 17:38:25 +00:00
alexpeshkoff
0492d1ff83 cleanup 2011-01-16 14:03:18 +00:00
alexpeshkoff
d6fcde387b New plugin manager. Use it for all types of plugins. 2011-01-14 17:31:40 +00:00
asfernandes
4318920100 An attempt which seems to work to not lose cpp files generated from epp ones. 2010-12-12 19:53:27 +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
a77b580d8c Fixed build without --with-system-editline switch 2010-12-01 16:20:22 +00:00
alexpeshkoff
108fd3a000 Make it work with long paths, when ":" is placed on the second line of file 2010-11-30 08:57:10 +00:00
alexpeshkoff
e5825e97da Better handling of absolute and relative paths 2010-11-23 09:43:58 +00:00
alexpeshkoff
de453fcfd3 Check for presence of ICU development package in configure, related cleanup 2010-11-08 18:12:03 +00:00
alexpeshkoff
f694b301be Damyan's patch for distro-untegrated posix builds 2010-11-04 17:06:59 +00:00
asfernandes
b5cfdbf513 Misc 2010-10-27 00:32:58 +00:00
alexpeshkoff
3fc570d729 Patches from Damyan Ivanov 2010-10-25 15:48:35 +00:00
alexpeshkoff
d951c8e2da misc examples build 2010-10-25 15:07:11 +00:00
alexpeshkoff
b31eb6fdf5 Changed libraries' names. Improved a bit ModLoader. 2010-10-19 13:48:56 +00:00
asfernandes
9ef31ce972 Fix the UDR engine build 2010-10-16 01:15:51 +00:00
alexpeshkoff
1be5683394 CORE-3185: Firebird compilation on a box, already running firebird server 2010-10-15 15:52:44 +00:00
alexpeshkoff
407f7654a3 CORE-3185: Firebird compilation on a box, already running firebird server 2010-10-15 14:54:23 +00:00
asfernandes
91384eb587 Misc 2010-10-12 17:40:27 +00:00
alexpeshkoff
5586a7d450 We have to many dependencies on blrtable - build it explicitly at boot phase 2010-10-12 11:33:00 +00:00
alexpeshkoff
6f5a8b2a81 Forgotten changes 2010-10-12 09:35:10 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
paulbeach
78ca999d4a Fix for UDFs on Darwin 2010-10-05 12:43:24 +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
fc74f8d4e2 Mistyped - thanks to Adriano 2010-08-06 15:16:33 +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
asfernandes
2c51032b1e Misc 2010-07-15 00:47:24 +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
asfernandes
162ad97d38 Do not remove cpp files generated from epp ones 2010-06-15 15:20:09 +00:00
paulbeach
14824da4b2 Grand Central Dispatch - 10.6 Darwin only 2010-06-08 14:44:45 +00:00
asfernandes
e37d097240 Misc 2010-05-22 02:00:45 +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
asfernandes
2d082d1927 Fix parallel make 2010-04-17 15:14:02 +00:00
alexpeshkoff
4ce63669c1 finished fb_inet_server cleanup 2010-04-16 13:33:22 +00:00
alexpeshkoff
98a72dc866 cleanup 2010-04-16 08:26:08 +00:00
asfernandes
fed89f1f51 Duplicate line 2010-04-16 02:34:42 +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
4bc6f2f660 Make makefile dependency handling not broke when header files are deleted 2010-04-14 01:35:30 +00:00
alexpeshkoff
815fd88e4b fixed posic build 2010-03-24 13:27:05 +00:00
alexpeshkoff
04b4781e6c Avoid backslash escapes that behave differently even on different linux boxes 2010-03-15 09:52:53 +00:00
robocop
7546c2282d Misc. 2010-03-15 06:38:49 +00:00
asfernandes
35fadf9056 Fixed the Linux build 2010-03-14 15:58:13 +00:00
alexpeshkoff
77c86ad5a7 Fixed CORE-2844: Unresolved symbol references when linking fbsvcmgr and fbtracemgr 2010-03-14 14:16:55 +00:00
alexpeshkoff
fd7232231e Use same export symbol lists for all posix platforms, added script building platform-specific format 2010-03-14 13:44:57 +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
alexpeshkoff
49a4e3fb88 Frontported fix for freebsd and related OSs, including CORE-2825 2010-02-04 16:05:08 +00:00
alexpeshkoff
16ad48dea8 freebsd port 2010-01-27 15:55:50 +00:00
asfernandes
b68658534f Feature CORE-2823 - Support the ORDER BY subclause for current aggregate functions (except LIST) 2010-01-23 03:02:53 +00:00
alexpeshkoff
55e717f810 Moved authentication code from engine to remote listener.
Get ready for authentication plugins.
2010-01-22 14:55:11 +00:00
asfernandes
bc2fdf4c6a Fix Linux build 2010-01-14 14:36:46 +00:00
asfernandes
d89082f434 Make the UDR shared libraries prefixed with "lib" in POSIX. That fixes they don't working since the change to doctorModuleExtension function. 2010-01-13 22:23:09 +00:00
robocop
fb161097df Finally use the same logic to detect ODS capabilities in backup and restore. 2010-01-03 03:45:09 +00:00
asfernandes
9a5ad8b604 Do not pass -RAW to GPRE in the build, to facilitate the analyse of generated files 2010-01-01 18:39:42 +00:00
robocop
1d084192b1 Put class Attachment in its own files by brute force. 2009-12-25 10:25:16 +00:00
asfernandes
bc0cfcd584 1) Make it build in Linux; 2) Fix some warnings 2009-12-21 20:55:07 +00:00
asfernandes
4495355833 Use the correct translation files in posix build, pointed by Claudio 2009-12-21 15:43:23 +00:00
asfernandes
2f4715d0d0 Fix Linux build 2009-12-20 20:49:47 +00:00
alexpeshkoff
a2b325bf63 It was bad idea to try to make fbsvcmgr more intellectual than it should be - rolled back part of my changes 2009-12-16 12:34:17 +00:00
alexpeshkoff
3b95a6b5b4 Fixed an issue with gsec compatibility with previous versions 2009-12-16 11:25:50 +00:00
alexpeshkoff
eeb4bfd847 fixed posix build 2009-12-14 12:09:49 +00:00
asfernandes
e71e4d1e3e Rename file to match class name 2009-12-10 13:46:22 +00:00
asfernandes
933af8f7c2 Make it build in Linux 2009-12-09 20:55:12 +00:00
aafemt
2efbb460ff No hardcoded library extension, please 2009-12-06 10:38:37 +00:00
asfernandes
7a78601ef2 1) Use metadata character set in DSQL cache
2) Make exceptions in metadata charset and convert them to the client charset - this should fix CORE-2431
3) Support for "internal" (engine) DSQL statements and use in COMMENT ON
2009-12-05 14:21:52 +00:00
robocop
ecd01da22d Goodbye gdef. 2009-12-04 10:05:41 +00:00
paulbeach
6fbdecc3b9 Add trace plugin for Darwin 2009-11-30 11:59:18 +00:00
asfernandes
a088b60936 Fix symbols not being exported in Linux embedded fbudf 2009-11-15 02:00:37 +00:00
alexpeshkoff
8bfa0a37a2 Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed 2009-11-13 18:29:06 +00:00
verbguy
6fe23f8f33 commit missing Solaris inline assembly routines - SPARC and AMD64 2009-11-10 15:53:38 +00:00
verbguy
28a1670403 front port fix - international library fails to load on AIX with unresolved symbols. reviewed by Alex 2009-11-10 15:36:34 +00:00
asfernandes
87e274b76a Misc 2009-11-06 01:21:14 +00:00
alexpeshkoff
6914ea456b Fixed posix build 2009-11-05 11:52:43 +00:00
alexpeshkoff
c40737ca56 cleanup unused NDEBUG macro 2009-11-04 10:04:33 +00:00
alexpeshkoff
370806c17f Small fixes to make best of binreloc during development - can run all binaries now directly from gen/firebird/bin 2009-11-03 13:35:19 +00:00
alexpeshkoff
abefcea0ca Avoid useless warning 2009-11-03 13:29:50 +00:00
alexpeshkoff
28f5f5a703 As long as we have backward compatible API no use changing SONAME 2009-11-03 13:29:15 +00:00
verbguy
5e904927f7 front port recent 2.5 HPUX changes 2009-11-02 21:08:58 +00:00
verbguy
c5e4dde5ac front port AIX porting changes
- suppress "unknown pragma message" messages for production build
- fix comment, -qstaticinline is still used in production build
2009-11-02 20:38:21 +00:00
asfernandes
79e9320875 Refactor aggregate handling into AggregateRsb class 2009-10-31 19:03:30 +00:00
paulbeach
4b0cafaf29 Missing symbols 2009-10-23 11:37:02 +00:00
paulbeach
88a5d71506 remove -lfbembed from the link line, as it breaks the Mac build. - if you need this amend LINK_UDF_LIBS in the prefix file instead. 2009-10-23 09:44:53 +00:00
paulbeach
059c8cc7e8 Missing symbols.... 2009-10-21 12:53:49 +00:00
asfernandes
19fac12314 Misc 2009-10-21 01:01:04 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
paulbeach
d5cde9b2d6 MacOSX 10.6 and gcc 4.1.2 changes 2009-10-20 14:02:32 +00:00
paulbeach
eba69c9d7b MacOSX 10.6 and gcc 4.1.2 changes 2009-10-20 13:46:02 +00:00
alexpeshkoff
946893600b Fixed darwin built with gcc4.1 2009-10-12 13:44:35 +00:00
asfernandes
90dfb9a411 Misc 2009-09-30 01:10:11 +00:00
verbguy
56f291e05f HP-UX changes - 64-bit atomic counters, support for HP-UX 11 v2, and small tweak of build options 2009-09-29 19:13:51 +00:00
verbguy
804b6107f5 1) it seems we *do* own Solaris/Intel boxes that do *not* support -xarch=sse2
2) -xmemalign not supported on Solaris/Intel and not wanted on Solaris/SPARC
2009-09-29 14:54:34 +00:00
alexpeshkoff
323d9bcb75 Cleanup - do not build unneeded files 2009-09-29 10:33:10 +00:00
verbguy
44bbcf6a76 on HP-UX we need the optional AtomicAPI SPK software package 2009-09-24 19:15:03 +00:00
alexpeshkoff
ec2eb3f144 Improvement CORE-1643: Use DatabaseAccess configuration parameter for default database location 2009-09-22 13:17:41 +00:00
alexpeshkoff
2ca82515cd Impovement CORE-2625: Port to s390 (32-bit), patch from Damyan Ivanov 2009-09-18 13:08:47 +00:00
aafemt
e506c6fbd2 No more ibconfig 2009-09-12 12:47:15 +00:00
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
verbguy
ed6ef283d2 make perf64_format, perf64_get_info, perf64_report visible for unix builds 2009-09-09 14:00:07 +00:00
verbguy
626f4ccfbd solaris distribution kit changes, reviewed by alex 2009-09-08 20:11:30 +00:00
verbguy
608b4dc06c suppress more HP-UX warnings 2009-08-26 14:13:51 +00:00
paulbeach
08a1fde1a8 Adjust installer and add script to handle SuperClassic 2009-08-26 08:47:59 +00:00
verbguy
3ece88d3bc +Ofast is too much. For example, it implies +DSnative, but we really want default +DSblended 2009-08-17 17:57:00 +00:00