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

488 Commits

Author SHA1 Message Date
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
robocop
4677d74e9b Misc. 2010-08-09 11:50:12 +00:00
asfernandes
ad57aa29a1 Refactor CREATE/ALTER/CREATE OR ALTER/RECREATE VIEW and cleanup related to previously refactors 2010-08-02 02:22:26 +00:00
asfernandes
96cd57ba83 Better error reporting and adjustments 2010-07-29 00:36:31 +00:00
asfernandes
0b7c21172a Refactor CREATE/ALTER/DROP/RECREATE TABLE and DROP VIEW commands 2010-07-26 02:37:57 +00:00
robocop
5d2e4a1df9 Misc. 2010-07-10 08:33:19 +00:00
alexpeshkoff
88db8b2fbc ODS change: made RDB$USERS system table, added virtual table SEC$USERS 2010-07-09 12:51:05 +00:00
robocop
4edd547b17 Misc. 2010-06-30 08:55:16 +00:00
asfernandes
f2c938d9fa Refactor CREATE/DROP COLLATION 2010-06-26 01:52:06 +00:00
dimitr
83867feb26 Corrections for SQL states. 2010-04-09 07:56:29 +00:00
robocop
20568d2751 Warn users when qli cannot do DDL on a db (due to FB version >= 3). 2010-03-15 10:16:24 +00:00
asfernandes
55b245bbac Implement Claudio' suggestion of explicit message about access to private packaged routines 2010-02-25 15:56:39 +00:00
alexpeshkoff
43653efb47 Reserved error code for 2.5 fix 2010-02-01 14:04:05 +00:00
robocop
0bc8507778 Misc. 2010-01-29 04:29:24 +00:00
asfernandes
7c59c445e7 Misc 2010-01-14 16:47:47 +00:00
asfernandes
9c1bab1793 Feature CORE-1385 Identity columns - in its basic form 2010-01-13 19:14:15 +00:00
asfernandes
be859980ea Feature CORE-832 - Parameterized exceptions 2010-01-07 00:16:50 +00:00
asfernandes
876167f147 Misc 2010-01-04 00:48:40 +00:00
robocop
5326aa9a5f Show me the backup level when restoring with verbose option. 2010-01-03 12:43:43 +00:00
robocop
8141afe475 Put more strings into the msg db. 2010-01-03 10:46:42 +00:00
robocop
a2f34c1dbc Put more strings into the msg db. 2010-01-02 09:42:09 +00:00
robocop
7d47e6217d Set ODS8 (IB4.0) as the minimum requirement to backup a db. Establish previous enhancements (belonging to older ODS versions) as always present, then clean the code. Added two messages, too. 2010-01-01 09:53:49 +00:00
asfernandes
a5ab8a2b33 Make referencing and execution (try) of unimplemented packaged routines work correctly 2009-12-31 11:24:28 +00:00
asfernandes
29df794a24 Fixes and completions for packages 2009-12-29 15:27:58 +00:00
robocop
6ef6202f89 Change this confusing ROWCOUNT feature to MAXROWS (there's also COUNT) but the old name is accepted for compatibility with FB2.5. 2009-12-28 11:54:51 +00:00
hvlad
fde013f1a0 More detailed statistics : fragments, big records and blobs info are now available when records analisys is performed. 2009-12-28 09:34:18 +00:00
asfernandes
2d62037b2a Misc 2009-12-23 21:43:37 +00:00
dimitr
df3d4508d0 Error codes introduced for PSQL functions. 2009-12-21 16:38:49 +00:00
alexpeshkoff
0b0650370a Fixed error reporting in nbackup 2009-12-21 11:58:29 +00:00
robocop
262149b2d1 Delete obsolete files. 2009-12-19 12:50:37 +00:00
robocop
9333a880ca GDEF is dead. In practice, it was dead in 1994 since Borland didn't provide a binary for it in IB4. 2009-12-19 12:48:50 +00:00
robocop
8e5d0e1f0a Trying to reflect better what nbackup options do. 2009-12-19 09:17:02 +00:00
robocop
c5c03c06c3 Correction (worked thanks to legacy-aware code). 2009-12-19 09:03:07 +00:00
robocop
e65ebd6681 Fixing the indentation of two gbak messages. 2009-12-19 04:11:19 +00:00
asfernandes
9f57aa3eaa It's 2009 - thanks to Alex :) 2009-12-19 02:08:53 +00:00
alexpeshkoff
24bd207732 Enhanced fbsvcmgr usage print - list all known switches if -? is specified 2009-12-18 16:34:01 +00:00
alexpeshkoff
3d7a990876 Frontported detection of missing/invalid parameter in fbsvcmgr 2009-12-18 14:15:26 +00:00
alexpeshkoff
f2753b7e86 Frontported changes to make -Direct switch of nbackup accept on/off parameter 2009-12-18 14:06:28 +00:00
robocop
30eee9c993 Move more hardcoded messages to the msg db. 2009-12-18 12:01:44 +00:00
asfernandes
680c08452a I insist again, we're in December (and counting from 1) :) 2009-12-17 23:57:14 +00:00
robocop
5f7d45be9b Make more error messages non-hardcoded. 2009-12-17 10:50:40 +00:00
asfernandes
b525f3b54f Misc 2009-12-16 21:52:01 +00:00
alexpeshkoff
1bb19c721d Added switch to nbackup, controlling direct access to database file 2009-12-16 17:28:52 +00:00
robocop
12729a3038 Distinguish between table and view in verbose mode. 2009-12-16 10:58:09 +00:00
robocop
363ebe834b Localization: one needed message and two messages to be used. 2009-12-16 08:12:59 +00:00
robocop
f1e70cd821 Do not hardcode anymore the backup versions allowed. 2009-12-10 07:24:18 +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
robocop
227cce42e4 Put an indication in case of string truncation when backing up. 2009-12-07 08:54:31 +00:00
robocop
8ac7971dc2 - Firebird does not use runtime licences.
- Client for DOS has not been seen for more time than I care to count.
2009-11-29 08:36:02 +00:00
asfernandes
3f5aded4e3 Misc 2009-11-28 01:44:42 +00:00
robocop
ec26064316 Misc (obsolete utility). 2009-11-27 06:56:05 +00:00
asfernandes
13e1546a70 Misc 2009-11-21 00:10:16 +00:00
robocop
0411da9f59 Related to CORE-2759 (but doesn't fix it yet). 2009-11-20 04:53:15 +00:00
asfernandes
59a21a1f8c Improvement CORE-2754 - Hint the user about -FIX_FSS_METADATA and -FIX_FSS_DATA when restore fail with malformed string error 2009-11-19 13:21:59 +00:00
asfernandes
c3ae6a708b Create new message recommended by Claudio 2009-11-17 14:22:16 +00:00
robocop
5ca7733606 Style. 2009-11-16 08:06:33 +00:00
robocop
1386adcf90 Style. 2009-11-16 08:06:31 +00:00
robocop
6f0d002188 Misc. 2009-11-14 09:19:45 +00:00
alexpeshkoff
4f54fd68e8 Frontported improvement CORE-2748: allow gsec to grant RDB$ADMIN role in the security database 2009-11-13 19:00:09 +00:00
robocop
79931e1285 Continue package support in isql. 2009-11-13 08:37:04 +00:00
robocop
7ee3db1d37 Fix Mark's rowcount feature to detect errors properly and add the due messages to the db. 2009-11-12 07:41:31 +00:00
asfernandes
f2cd6b7ec2 Misc 2009-11-12 01:38:48 +00:00
robocop
4a87e631f2 Some changes requested by Adriano and some additions (for current and future code). 2009-11-09 10:44:02 +00:00
robocop
749f83a177 Fix CORE-2740. 2009-11-08 09:12:34 +00:00
robocop
d85538ec52 Upgrade the backup version to 10 for FB3. 2009-11-06 11:36:06 +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
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
alexpeshkoff
dbbea09f2b Fixed CORE-2657: Ability to get any permissions (including SYSDBA) working with services 2009-10-02 16:44:00 +00:00
hvlad
41896eeba1 Fixed bug CORE-2252 : EXECUTE STATEMENT on EXTERNAL SOURCE does not check the status of the transaction 2009-09-02 10:46:43 +00:00
robocop
cd0ffd44fd Misc. 2009-08-21 11:40:17 +00:00
dimitr
4c459ebf1b Fixed CORE-2514: When there is not enough space on the temp drive an error about CreateFile is reported.
This also fixes CORE-2321: query fails with message 'operating system directive write failed. Invalid argument.
2009-08-21 08:36:37 +00:00
hvlad
2ac6ae2804 Improvement CORE-2587 : User friendly diagnostic when engine can't create shared memory already created by the antoher engine process in another windows session 2009-08-08 12:41:45 +00:00
robocop
b22b7dc25e CORE-2582 Infinity from UDF should be trapped by the engine (and NaN as well). 2009-08-07 05:22:04 +00:00
robocop
3ede1a8f28 Reserve numbers in msg.fdb like reserving airline tickets (no discount for massive changes, however). 2009-08-06 13:12:11 +00:00
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
robocop
c9455664eb Misc (obsolete utilities) 2009-07-20 12:44:11 +00:00
robocop
e60f718dfb The original message about FP overflow was not very useful for built-in functions (unlike other msgs, it didn't identify the cause). Made a special message for it. Also, one alice (gfix) help item was put erroneously by IB engineers in system_errors.sql; delete it. 2009-07-17 17:13:28 +00:00
asfernandes
5063bafc36 Misc 2009-07-15 03:13:16 +00:00
robocop
ba89580753 CORE 2540: Utilities need a more coherent way to show help and version
Now all utilities react to -z for version and -? for help (qli was left for another time)
CORE-2541: Too many hardcoded messages in nbackup (done partially)
2009-07-07 10:25:50 +00:00
robocop
56671546e3 CORE-756 and CORE-2528. 2009-06-25 10:05:27 +00:00
robocop
2a8bb95ff4 CORE-1411 and CORE-1412. 2009-06-23 14:45:20 +00:00
robocop
ce9a9baf08 Validations (do not crash). 2009-06-21 11:16:24 +00:00
asfernandes
26c1892310 Misc 2009-06-20 18:46:59 +00:00
robocop
82d2c6377c New messages to fix CORE-2505: beware of built-in functions returning NaN and Inf. Code will follow in one day. 2009-06-14 12:22:59 +00:00
robocop
2e3ce0d23d Misc. 2009-06-07 09:49:58 +00:00
asfernandes
f8eb935eb7 Misc 2009-06-06 18:13:57 +00:00
asfernandes
83820dc0d9 Fixed CORE-2499 - Implementation limit of DISTINCT items are not enforced, causing generation of incorrect BLR 2009-06-06 02:21:23 +00:00
dimitr
6d2711ff7b Added timeouts to the network event listener code.
Fixed wrong usage of SO_REUSEADDR on Windows.
2009-06-04 11:06:34 +00:00
robocop
51d3c9b756 Let's use more typical #ifdef to test macros instead o #if. 2009-05-29 11:27:41 +00:00
dimitr
83f78f5756 Fixed CORE-2461: Deadlock error terminates the restore process while restoring privileges. 2009-05-13 07:36:53 +00:00
dimitr
8813c1915d SQLSTATE adjustments. 2009-05-13 06:31:25 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
robocop
6016b5b6c0 Misc. 2009-04-26 13:51:56 +00:00
asfernandes
7be7979f3f Misc 2009-04-25 20:36:07 +00:00
alexpeshkoff
9b0950da7a Fixed CORE-2306: fbserver terminated abnormally when thread start failed 2009-04-24 15:51:40 +00:00
robocop
4df2839ac2 Misc. 2009-04-22 11:47:19 +00:00
asfernandes
58ce555210 Fixed CORE-2432 - Missing SHOW COLLATIONs in HELP 2009-04-21 15:40:10 +00:00
alexpeshkoff
cd54e5533e Fixed CORE-2437: Buffer overflow on client when delivering events. 2009-04-17 13:36:34 +00:00
robocop
a730fbf074 Get rid of more typedefs. 2009-04-03 10:07:55 +00:00