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

1021 Commits

Author SHA1 Message Date
hvlad
90de193a3a Add ICU's include folder to isql 2011-04-06 12:07:14 +00:00
robocop
8e5cb67618 Update project files as seen on VC8. 2011-04-02 04:09:09 +00:00
robocop
51b20677fe Crap cleaning. 2011-04-02 03:31:17 +00:00
hvlad
9a43aae291 Update MSVC8 build 2011-03-04 09:16:22 +00:00
hvlad
0bd7d05e71 Follow Alex changes 2011-03-02 23:42:58 +00:00
asfernandes
97da335f60 Removed the legacy DSQL hash table module (HSHD). 2011-02-26 21:52:47 +00:00
dimitr
bb1f7ad9a6 Implement CORE-3076: Better performance for (table.field = :param or :param = -1) in where clause. 2011-02-07 17:54:24 +00:00
dimitr
be4eaa5e36 Follow the MSVC10 changes regarding the binary name. 2011-01-27 10:39:10 +00:00
dimitr
fb40db3bfc Follow the MSVC10 changes regarding the binary name. 2011-01-27 10:37:29 +00:00
hvlad
749bcc5b28 Corrections for windows build 2011-01-24 22:58:37 +00:00
hvlad
c732332a2e Update MSVC10 build files 2011-01-24 20:32:21 +00:00
hvlad
dca44e309d Make it compiles on Windows after Alex's changes. MSVC10 build will follow later. 2011-01-24 12:51:32 +00:00
dimitr
d73ec7a883 Fixed the debug boot build. 2011-01-12 10:46:56 +00:00
asfernandes
9c42d4e5af Finish the statements refactor in the engine. Get rid of jrd_nod. 2010-12-04 22:15:03 +00:00
asfernandes
8af7ec0211 Refactored the support for blr_handler, blr_loop, blr_exec_sql, blr_exec_into, blr_exec_stmt,
blr_start_savepoint, blr_end_savepoint, blr_store, blr_store2, blr_erase, blr_modify,
blr_modify2, blr_exec_proc, blr_exec_proc2, blr_exec_pid, blr_dcl_cursor, blr_cursor_stmt,
blr_set_generator, blr_receive, blr_stall, blr_select, blr_block, blr_error_handler,
blr_label, blr_leave, blr_continue and the source info node.
2010-11-29 02:17:04 +00:00
hvlad
dff60ff120 Correction 2010-11-06 19:31:53 +00:00
hvlad
475c11215a Correction 2010-11-06 19:05:01 +00:00
dimitr
fb53d4334e Fixed MSVC8 build. 2010-11-03 08:33:28 +00:00
dimitr
12a50244bb Correction. 2010-10-31 13:40:19 +00:00
hvlad
3fe72eeede Fixed linker warnings 2010-10-29 21:40:34 +00:00
hvlad
57c38f83d5 Switched on multi-processor compilation 2010-10-29 21:39:12 +00:00
hvlad
6ab41f6033 Fixed errors about missed ib_util.dll in firebird.log during boot build 2010-10-29 21:38:17 +00:00
dimitr
248f525924 Fixed MSVC9 build. 2010-10-26 03:34:53 +00:00
dimitr
4cdc7a94f3 Fixed MSVC9 build. 2010-10-26 03:14:29 +00:00
dimitr
a8b391bb53 Fixed MSVC9 build. 2010-10-25 15:14:41 +00:00
hvlad
0c7a455a0c Misc 2010-10-23 22:36:01 +00:00
hvlad
a96a70768d New build system for Windows. MSVC8. 2010-10-22 21:18:13 +00:00
hvlad
271ea9889a Corrections 2010-10-22 21:14:29 +00:00
hvlad
bb825fd673 Misc 2010-10-22 17:55:42 +00:00
asfernandes
5c7e5ce634 Misc 2010-10-22 01:24:31 +00:00
hvlad
e57fd95d25 User management plugin. Works with gsec, supports manage of user accounts at security database. 2010-10-21 11:43:37 +00:00
hvlad
dc4d16ce34 Misc 2010-10-21 11:41:46 +00:00
hvlad
90525ccb2e Correction 2010-10-21 11:40:45 +00:00
hvlad
5e0f9392a2 New build system for Windows. MSVC10 only so far. 2010-10-20 22:15:48 +00:00
dimitr
69fbe060d9 More fixes for the MSVC8 build. 2010-09-24 07:26:14 +00:00
dimitr
e091d6ce17 More fixes for the MSVC8 build. 2010-09-24 07:23:41 +00:00
dimitr
603b6e6214 Fixed the MSVC8 build. 2010-09-23 11:46:20 +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
dimitr
6a3b92701f Fixed MSVC9 build. 2010-08-31 11:17:06 +00:00
asfernandes
cca6b452f3 Fix MSVC10 build 2010-08-27 15:14:55 +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
asfernandes
dadc0f560c Const correction for EVL, EXE and they subsystems. Adjustments to CMP and OPT. 2010-08-09 15:48:51 +00:00
dimitr
6ebf2864a0 Fixed MSVC9 build. 2010-07-27 09:27:44 +00:00
asfernandes
1b11bf48bb Fix MSVC10 build 2010-07-26 23:05:10 +00:00
hvlad
74ac68137a Correction. Thanks to Adriano. 2010-07-24 08:33:59 +00:00
hvlad
6e2db049ea Make Windows build work (MSVC8 only) after Alex changes.
Some corrections is still required.
2010-07-23 14:06:29 +00:00
dimitr
da183a98ed 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:31:35 +00:00
asfernandes
2f1c61f387 Fix MSVC10 build 2010-07-12 15:51:46 +00:00
robocop
9f6776920c Fix project files. 2010-07-10 08:35:00 +00:00
asfernandes
20b0bbaf82 Refactor CREATE/ALTER/DROP DOMAIN 2010-07-06 00:49:33 +00:00
hvlad
1fcc7136ca VC10 build: leave build_msg.exe and codes.exe at intermediate build folder else make_boot failed 2010-06-30 21:29:41 +00:00
hvlad
4f5031a0e5 VC10 build: don't put .bsc files into target build folder 2010-06-30 21:27:53 +00:00
asfernandes
29ce1d3630 Fix run from MSVC10 IDE 2010-06-29 16:22:48 +00:00
asfernandes
6f97a530f1 Fixed MSVC10 boot build 2010-06-28 16:49:42 +00:00
asfernandes
69fea5a49c MSVC10 support 2010-06-27 03:47:40 +00:00
hvlad
eabfade321 Update MSVC8 build 2010-06-25 06:45:10 +00:00
asfernandes
12079f5ece Created class BlrWriter and reorganization (move BLR generation from statement to scratch) 2010-06-17 01:18:40 +00:00
hvlad
697c1ecfea Update MSVC9 build after Alex's changes 2010-05-20 11:49:48 +00:00
hvlad
cc851ed977 Update MSVC8 build after Alex's changes 2010-05-20 11:48:20 +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
b36b9764ce Misc 2010-04-16 02:31:36 +00:00
dimitr
5be8dd3e73 Fixed the MSVC9 build. 2010-04-15 15:43:11 +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
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
dimitr
7f64eab5ad Cleanup. 2010-03-16 11:21:05 +00:00
asfernandes
1c131c507b Ability to build with VS 2008 Express 2010-03-08 15:58:06 +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
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
dimitr
87b57f6041 Fixed the MSVC8 build. 2010-01-27 18:32:35 +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
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
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
robocop
43a6cb6d97 Misc. 2009-12-25 10:30:24 +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
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
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
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
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
robocop
6d3860411c Take Alex' changes to VC9. 2009-11-14 09:22:15 +00:00
asfernandes
5e14c00030 Added DllNoEmbedManifest.vsprops to udr_engine of MSVC9 2009-11-13 00:51:36 +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
hvlad
8b7372b1f3 Follow Claudio's changes in MSVC8 build 2009-11-05 22:16:35 +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
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
dimitr
402c981002 Fixed MSVC9 build. 2009-10-22 07:07:13 +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
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
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
paul_reeves
258a4727c8 Make the best of a bad situation. Using find /V will get messy if we have to strip several markers. 2009-09-25 13:38:46 +00:00
robocop
9c4f12ce92 Put an indication that we need further processing in Windows (using sed, probably). 2009-09-24 09:06:25 +00:00
robocop
b560250f34 make_all fails silently after the canonical config file was renamed. 2009-09-24 06:31:23 +00:00
hvlad
f8c417adb3 Improvement CORE-2619 : Make memory and other statistics to work with 64-bit values.
Part (b) add perf64 API into client and use perf64 API in utilities
2009-09-09 10:28:26 +00:00
dimitr
20ad6edd48 Fixed MSVC9 build. 2009-09-01 14:31:30 +00:00
hvlad
251f85740f Fixed MSVC8 build 2009-09-01 10:02:29 +00:00
asfernandes
e5367cdbb0 Redo fbintl dependency change removing the noise in Firebird2.sln 2009-08-31 15:52:14 +00:00
skidder
aca5a83a46 Fixed CORE-2609: Update support for Windows 98/ME and NT4.0 2009-08-30 19:00:46 +00:00
asfernandes
4171c16988 Some things discussed with Dmitry and Claudio - rename the new function to fb_print_blr, use ULONG parameter for blr_length and return int 2009-08-03 15:52:48 +00:00
asfernandes
4759973045 Fixed CORE-2576 - Server may crash parsing wrong or truncated BLR
Full rebuild required - CMP_compile2 prototype changed
2009-08-02 04:10:07 +00:00
robocop
6f1f881b3c Follow Dmitry's cleanup. 2009-07-14 09:08:54 +00:00