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

1971 Commits

Author SHA1 Message Date
skidder
6c83079b27 As per Dmitry's comment, remove DSQL debugging facility from PROD_BUILD. Remove its documentation from firebird.conf. We don't want users to learn too much about the engine internals 2010-05-02 08:48:22 +00:00
skidder
f540236674 Re-introduce access to DSQL debugging facility accidentally made inaccessible by Dmitry Y. during Firebird 2.5 development cycle. Also document it firebird.conf and enable it in PROD_BUILD. It is rather hard to debug DSQL compiler issues without intermediate trace output. 2010-05-01 13:47:39 +00:00
hvlad
aa88147b2f Update boot build for MSVC8 2010-04-29 16:18:38 +00:00
dimitr
12bb4a6d4f Fixed the Windows boot build. 2010-04-28 10:57:54 +00:00
hvlad
82f316f51d Update MSVC8 build 2010-04-21 14:34:54 +00:00
asfernandes
06549e3d45 MSVC9 build fix. BTW, boot build (or king of) required. 2010-04-18 22:24:43 +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
asfernandes
b36b9764ce Misc 2010-04-16 02:31:36 +00:00
dimitr
5be8dd3e73 Fixed the MSVC9 build. 2010-04-15 15:43: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
4bc6f2f660 Make makefile dependency handling not broke when header files are deleted 2010-04-14 01:35:30 +00:00
dimitr
63babe1492 Changed the default page cache size for Classic, as discussed in fb-devel. 2010-04-08 04:15:08 +00:00
dimitr
16b1887435 Cleanup. 2010-03-27 11:30:46 +00:00
dimitr
c0ccbacc65 Misc. 2010-03-26 17:35:33 +00:00
dimitr
b3d85f554b Fixed fbudf in the MSVC8 build as well. Untested. 2010-03-26 17:28:17 +00:00
dimitr
ee1ef4d167 Cleanup the MSVC9 build to benefit from the latest changes by Alex:
1) Make remote.lib independent of SUPERSERVER and containing only the protocol and authentication files (needed for both server and client)
2) Drop remote_classic.lib
3) Add the server-only remote files (listener and server.cpp) directly into fbserver.exe and fb_inet_server.exe
4) Make fbembed.dll, fbclient.dll, fbserver.exe and fb_inet_server.exe dependent on remote.lib
5) Explicitly add interface.cpp into fbclient.dll to benefit from the SUPERCLIENT stuff (override the code from remote.lib)
6) Some cleanup in fbclient/fbembed regarding common.lib
7) Add pwd.cpp into fbserver.exe and fb_inet_server.exe

Also, fixed compilation of fbudf.dll. The only easy way to do that was to re-link it (dynamically) with fbclient.dll. To be reconsidered, if required.
2010-03-26 11:45:10 +00:00
dimitr
3b8b6256e8 This should make fbembed to work again and thus fix the boot build.
MSVC9 changes are still incomplete, they will be more global.
2010-03-26 10:57:44 +00:00
alexpeshkoff
815fd88e4b fixed posic build 2010-03-24 13:27:05 +00:00
hvlad
86051b0896 Fixed bug CORE-2934 : Memory leak in FB2.5 trace plugin.
Updated MSVC project files
2010-03-24 13:13:12 +00:00
asfernandes
cd0c292823 Misc 2010-03-17 02:12:39 +00:00
dimitr
7f64eab5ad Cleanup. 2010-03-16 11:21:05 +00:00
alexpeshkoff
af44c617d8 Fixed CORE-2926: "make install" fails on linux 2010-03-15 14:34:52 +00:00
alexpeshkoff
24cc956f6e freebsd port 2010-03-15 11:58:46 +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
alexpeshkoff
c6372d4a9d CORE-2921: still miss superclassic support 2010-03-12 14:40:45 +00:00
alexpeshkoff
c2f82bea92 Fixed CORE-2919: Installation script ignores non-standard ports 2010-03-11 14:40:50 +00:00
asfernandes
1c131c507b Ability to build with VS 2008 Express 2010-03-08 15:58:06 +00:00
asfernandes
9463ffe238 Misc 2010-03-08 01:21:24 +00:00
alexpeshkoff
34cf00e326 Removed RootDirectory parameter from firebird.conf and enabled use of vulcan-style macro in it 2010-03-05 17:21:18 +00:00
alexpeshkoff
d6fcd8eb63 It was bad idea to make two TempSpace related parameters per-database - rolled back some changes 2010-03-03 15:02:01 +00:00
hvlad
bf319f4387 Make boot build work. After recent changes embedded fails without config file. Hope it will be fixed too. 2010-03-01 09:04:13 +00:00
hvlad
f2955be502 Fixed MSVC9 build after recent changes 2010-03-01 08:18:37 +00:00
hvlad
70df3eb35e Fixed MSVC8 build after recent changes 2010-03-01 08:15: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
robocop
73010ed66e Update VC9 project files. 2010-02-16 08:57:02 +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
dimitr
87b57f6041 Fixed the MSVC8 build. 2010-01-27 18:32:35 +00:00
alexpeshkoff
16ad48dea8 freebsd port 2010-01-27 15:55:50 +00:00
dimitr
d55bf3b044 Fixed the MSVC8 build. 2010-01-27 12:45:09 +00:00
dimitr
ffc7494330 Fixed the MSVC8 build. 2010-01-27 10:39:03 +00:00
robocop
94b6451014 Allow QualifiedName to interact with StatusArg. 2010-01-26 07:32:12 +00:00
dimitr
b701c98644 Correction. 2010-01-25 07:46:33 +00:00
dimitr
c5a7d9d3a5 This should fix the MSVC9 build.
I don't insist on copying these changes into other MSVC builds.
2010-01-25 07:32:25 +00:00
dimitr
25780c4aff This should fix the MSVC9 build.
I don't insist on copying these changes into other MSVC builds.
2010-01-25 07:26:44 +00:00
dimitr
52d7d00664 Compile /jrd/pwd.cpp as a remote module, not an engine one. This is logically correct, while looks weird. 2010-01-23 12:01:12 +00:00
dimitr
17fe35effa I don't see any real need in utilities_embed. Its files don't contain any references to the EMBEDDED macro.
The only difference is that it misses GSEC which fbembed doesn't need, but let's leave it up to the linker to eliminate the unused code.
2010-01-23 11:10:48 +00:00
dimitr
ef2ff21730 Fixed the MSVC9 build. 2010-01-23 10:24:14 +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
dimitr
3528b63edc Committed the forgotten project files. 2010-01-15 07:28:38 +00:00
hvlad
645520683b Update MSVC8 build 2010-01-15 07:28:36 +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
dimitr
296f0f2d6e Added the missing public entrypoint. 2010-01-06 09:32:21 +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
dimitr
00bc7b9025 Cleanup the deprecated configuration stuff. 2009-12-28 13:27:10 +00:00
robocop
43a6cb6d97 Misc. 2009-12-25 10:30:24 +00:00
robocop
1d084192b1 Put class Attachment in its own files by brute force. 2009-12-25 10:25:16 +00:00
robocop
820b342aee Put class Attachment in its own files by brute force. 2009-12-25 10:19:45 +00:00
robocop
06a4224d0b Put class Attachment in its own files by brute force. 2009-12-25 09:55:05 +00:00
asfernandes
ac417179e2 Fix MSVC8 build 2009-12-22 14:26:49 +00:00
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +00:00
asfernandes
bc0cfcd584 1) Make it build in Linux; 2) Fix some warnings 2009-12-21 20:55:07 +00:00
dimitr
d7ebfcbd9f Fixed project files. 2009-12-21 17:55:06 +00:00
asfernandes
4495355833 Use the correct translation files in posix build, pointed by Claudio 2009-12-21 15:43:23 +00:00
robocop
13a8d5488f Get rid of the obsolete option CompleteBooleanEvaluation in the config file. We always do short-circuit boolean logic. 2009-12-21 07:01:24 +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
hvlad
bfeab2cefb Forgotten changes 2009-12-14 11:38:42 +00:00
dimitr
5694dfec64 Misc. 2009-12-11 07:01:52 +00:00
asfernandes
e71e4d1e3e Rename file to match class name 2009-12-10 13:46:22 +00:00
hvlad
3557bbfbb3 Fix MSVC8 build - follow recent MSVC9 changes 2009-12-09 23:05:48 +00:00
asfernandes
933af8f7c2 Make it build in Linux 2009-12-09 20:55:12 +00:00
dimitr
11495a55fb Refactored the whole RSB stuff into classes. They're inside the /recsrc sub-directory now.
Fixed the layering for WITH LOCK and (partially) ANY/ALL predicates.
Cleaned up the outdated code that never worked (mapping DISTINCT to an index, some VMS remainings).
Wiped out a lot of the pre-ODS11 optimizer logic. Some minor adjustments there.
Re-implemented the full outer join from scratch. This resolves CORE-2678 (full outer join cannot use available indices).
Resolved CORE-2796: DB_KEY is always zero for external tables.
Implemented the core part of the scrollable PSQL cursors. Implementation is still incomplete, but ready for testing.
Some other changes I don't recall at the moment ;-)

WARNING! The engine may be unstable. Please email me about any issues found.
2009-12-09 18:45:44 +00:00
alexpeshkoff
66e980a1f2 Frontported fixed of bugs, found during 2.5.0.RC1 QA - incorrect message when lockdir is not accessible; broken yValve behavior when lockdir is not accessible; bad access rights on lockdir in init.d startup scripts 2009-12-08 15:02:09 +00:00
aafemt
2efbb460ff No hardcoded library extension, please 2009-12-06 10:38:37 +00:00
hvlad
5964eec979 Don't use with x64 build Win32 targets 2009-12-06 09:49:58 +00:00
asfernandes
bcf04ac222 Cleanup 2009-12-05 20:10:59 +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
alexpeshkoff
cd7b9a3e00 Fixed CORE-2775: Linux packages miss fbtrace.conf 2009-11-30 14:06:39 +00:00
paulbeach
6fbdecc3b9 Add trace plugin for Darwin 2009-11-30 11:59:18 +00:00
robocop
8f5c30f4a0 Copy the new conf file. 2009-11-30 09:47:19 +00:00
asfernandes
388405dccd Fix MSVC8 build 2009-11-16 12:09:06 +00:00
robocop
6ee0363c03 Put the correct information for UAC in VC9. 2009-11-15 09:42:37 +00:00
asfernandes
a088b60936 Fix symbols not being exported in Linux embedded fbudf 2009-11-15 02:00:37 +00:00
robocop
6d3860411c Take Alex' changes to VC9. 2009-11-14 09:22:15 +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
asfernandes
5e14c00030 Added DllNoEmbedManifest.vsprops to udr_engine of MSVC9 2009-11-13 00:51:36 +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
robocop
cf7d574e48 Remove the manifest files not needed by VC9. 2009-11-09 12:34:58 +00:00
robocop
8b9c37a107 Get rid of references to the manifest files not needed by VC9. 2009-11-09 12:29:10 +00:00
robocop
2a450b01df Follow the VC8 settings. 2009-11-06 10:43:58 +00:00
robocop
55d9d20045 Follow the VC8 settings. 2009-11-06 08:53:39 +00:00
asfernandes
87e274b76a Misc 2009-11-06 01:21:14 +00:00
hvlad
8b7372b1f3 Follow Claudio's changes in MSVC8 build 2009-11-05 22:16:35 +00:00
alexpeshkoff
6914ea456b Fixed posix build 2009-11-05 11:52:43 +00:00
robocop
08a33d50cc Unfortunately several of these are intertwined:
CORE-462 	 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 	 Utilities need a more coherent way to show help and version
CORE-2541 	 Too many hardcoded messages in nbackup
CORE-2542 	 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 	 nbackup may hide the real cause of failure
CORE-2545	 Lack of several validations in gbak
CORE-2547 	 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 	 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
dimitr
07d01b2fcb Correction. 2009-11-05 08:15:52 +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
asfernandes
58d959e624 I believe the manifest should not be here too, as it's a library. To be reviewed by Dmitry/Vlad. 2009-10-31 00:58:31 +00:00
dimitr
ba2a1f11eb Added DllNoEmbedManifest rule to the UDR engine library. 2009-10-30 10:04:29 +00:00
dimitr
40e01140ee Fixed the manifest conflict that VC8 ignores but VC8 SP1 takes into account.
This is expected to resolve CORE-2711.
2009-10-30 09:42:30 +00:00
dimitr
da4f0f5229 Committed the forgotten files. 2009-10-30 08:03:34 +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
dimitr
402c981002 Fixed MSVC9 build. 2009-10-22 07:07:13 +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
hvlad
d9cd70fa09 Restore lost argument of findstr 2009-10-06 10:57:54 +00:00
paul_reeves
819fbe383f Use findstr instead of find, thus removing the namespace clash with posix find and removing the need to parse the file with type prior to deleting the tag. 2009-10-06 06:00:37 +00:00
hvlad
8b8d28f653 I was wrong : instreg also requires administrative privileges. 2009-10-05 21:04:47 +00:00
hvlad
7072c245cd Missed content. Seems VS IDE doing some dirty tricks with open files 2009-10-05 15:53:55 +00:00
paulbeach
7f4eeee8d2 Correct the corrupt background installer image problem on Mac OSX 10.6 while I remember 2009-10-05 15:42:51 +00:00
hvlad
b080f4bcae Mark instclient and instsvc with "requireAdministrator" execution level as its really requires administrative privileges. Note, instreg not requires such privileges. 2009-10-05 13:22:45 +00:00
hvlad
6e6b849359 Mark all executable's with "asInvoker" execution level. It avoid virtualization in Vista and Windows 7 2009-10-05 13:21:14 +00:00
hvlad
8f53ff6497 Manifests and property sheet for VSVC8 2009-10-05 13:19:39 +00:00
hvlad
37166ccc3d Avoid file name printed by "find" at the first line. I.e. avoid
---------- ...\BUILDS\INSTALL\MISC\FIREBIRD.CONF.IN

in resulting firebird.conf
2009-10-02 08:46:03 +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
skidder
0070f2342b Implement RemoteFileOpenAbility on Windows. This also implements CORE-1038 improvement 2009-09-29 16:55:26 +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
paul_reeves
aa8b3c0029 Quench the thirst 2009-09-25 13:41:54 +00:00