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

227 Commits

Author SHA1 Message Date
asfernandes
55ec30965d REPLACE statement 2006-09-03 01:09:23 +00:00
asfernandes
4d0252d980 Misc 2006-09-01 01:27:55 +00:00
asfernandes
8e08d2c25c Extend SHOW SYSTEM to accept parameters TABLES, FUNCTIONS and COLLATIONS 2006-08-31 16:52:48 +00:00
robocop
7dab022ddf Prevent users from creating explicit domains that resemble implicit domains because this trick confuses our internal checks:
SQL> create domain rdb$1 int;
Statement failed, SQLCODE = -637
Dynamic SQL Error
-SQL error code = -637
-Implicit domain name RDB$1 not allowed in user created domain
2006-08-31 09:06:15 +00:00
robocop
55add73a89 Fix two domain-related deletion messages; one of the fixes was taken from Bill Oliver's commit. 2006-08-31 08:24:56 +00:00
asfernandes
b7af27215e Allow usage of domains in PSQL (with TYPE OF syntax) 2006-08-19 02:52:39 +00:00
asfernandes
dbc714ec52 Tell the user he can't drop a default collation as sugested by Claudio 2006-08-14 18:49:08 +00:00
asfernandes
e538061c38 Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations 2006-08-07 16:39:21 +00:00
robocop
bcf2cb8701 1.- COALESCE/CASE and VIA (subqueries) allowed breach in computed field checks (no array and no blob).
2.- Misc: since gbak allows not only to backup metadata only but to restore metadata only (even from a full backup), changed the help message.
2006-07-30 02:59:29 +00:00
robocop
16fdc76d44 Fix wrong gbak verbose messages due to Borland's copy/paste (example: function instead of procedure).
Initialize more sysflags to zero instead of NULL.
2006-07-29 06:01:29 +00:00
robocop
64f6eb42a1 Misc. 2006-07-21 01:35:17 +00:00
dimitr
653dfe8a5e Fixed CORE-859. 2006-07-20 11:05:07 +00:00
dimitr
6992f3b904 Reject attempts to select from executable procedures. 2006-07-19 14:50:33 +00:00
asfernandes
2689003a91 Misc 2006-07-18 18:02:54 +00:00
dimitr
c4b5942c74 Allow backup/restore of the new fields. 2006-07-18 11:17:03 +00:00
robocop
4ca73444e5 - Fix message requesting a unique index to request a UK or PK constraint to be able to create a FK: indexes manually created aren't honored.
- Commit (without external or self documentation) a debugging features in isql to show dependencies with cryptic. not suite for end users output:
SHOW DEPENendenc[y | ies] obj_name
2006-07-14 06:57:19 +00:00
robocop
7587eacacb Fix CORE-850 2006-07-08 04:10:06 +00:00
asfernandes
3a87b41a2d Misc 2006-06-10 02:21:31 +00:00
asfernandes
c981a5aedb Extend locale pattern of WIN32 to be equal to others platforms 2006-06-09 13:24:03 +00:00
robocop
00b890174a Blob sub_types greater than 1 (text) are for our internal ussage. Negative blob sub_types are for users. Stop users from creating columns with blob sub_types beyond. Probably the same check has to be done in DYN. 2006-06-02 08:44:19 +00:00
robocop
039ebf4d20 Vlad used the wrong msg number in system_errors.sql: it's 232 instead of 231. Regenerating headers. 2006-05-23 08:54:59 +00:00
hvlad
701f2cbda4 Global temporary tables implementation 2006-05-21 22:07:35 +00:00
robocop
92fff3bd1e Trying to solve the directory traversal issue again. The problem would be better solved in the long term if ISC_expand_filename was informed whether we need to verify the path and file is valid (we are loading it) or only the path is valid (we are creating a new file). 2006-04-30 00:39:37 +00:00
robocop
19e9ad696b Correction. 2006-04-08 03:28:52 +00:00
robocop
a90a72232c Adjust isql to the full words stated in the IB5 docs for the command line options. 2006-04-08 00:03:50 +00:00
dimitr
72a9936fd2 Added new error message. 2006-03-28 09:54:35 +00:00
mkubecek
4a94466a5a Fix of isql command line parser: check for repeated switches or database name. 2006-03-28 04:31:35 +00:00
robocop
d3cc293049 Misc. 2006-03-26 04:58:01 +00:00
mkubecek
332dce9203 Fix of isql command line parser: allow only abbreviations of standard switch names, check integer arguments to be integers. 2006-03-25 23:41:36 +00:00
robocop
3ed50872b2 Give isql a more useful help when receiving incorrect command line arguments, in sync with other utilities. Courtesy of Michal Kubecek.
Example: isql -?
2006-03-16 09:07:37 +00:00
robocop
f9f26ed891 Sync after Dmitry's changes. 2006-03-08 03:12:01 +00:00
dimitr
b6ad933b8e Fixed the error message. 2006-03-07 14:39:55 +00:00
robocop
c5c56a0043 Fix misleading error message reported by Michal Kubecek. 2006-02-24 09:21:16 +00:00
robocop
503a3ce6e6 Misc. 2006-02-04 04:19:33 +00:00
hvlad
daadf2dce0 Prevent transaction numbers from overflow MAX_SLONG boundary 2006-02-03 17:44:19 +00:00
hvlad
00fdbbe579 Replace one fb_assert with BUGCHECK as Claudio suggested some time ago 2006-02-03 16:57:26 +00:00
hvlad
3a08331e27 Fixed isql's statistics output 2006-02-03 16:22:43 +00:00
robocop
8e7da59fa6 Sync after Dmitry Yemanov's changes. 2006-01-26 07:21:26 +00:00
dimitr
6f6eae051e A small correction. 2006-01-25 09:48:53 +00:00
robocop
1626cc7a27 Misc. 2005-12-14 02:20:47 +00:00
dimitr
da625272db More error messages. 2005-12-12 13:56:56 +00:00
dimitr
6b696540a4 Added new error messages. 2005-12-12 10:57:14 +00:00
robocop
6b336190f9 Undo Alex mistake with the facility number. 2005-11-29 06:39:15 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
robocop
77e6b4a2d0 Correct messages. 2005-11-08 23:54:38 +00:00
robocop
42f7fd7ab6 Fixing SET DEFAULT so it operates on rdb$relation_fields only and raises an error if DROP DEFAULT finds the default belonging to an explicit domain. Thanks to Ann for committing the messages to the central db. 2005-11-04 04:46:27 +00:00
dimitr
12946de11d Restored the XCPCODE reporting to be compatible with 1.5.
A temporary solution.
2005-10-22 11:09:36 +00:00
dimitr
da3106e9e4 Added new error message. 2005-10-21 09:37:55 +00:00
robocop
860b2f1b9b Try to please the team leader before it's too late.
:-)
We have definitely serious problems with firebird.msg mismatches.
2005-10-20 04:09:40 +00:00
robocop
55fc0a38a3 Changed the command-line help in isql when you type
isql -?
2005-10-14 04:51:10 +00:00
dimitr
756404cbb6 Added new error message. 2005-10-13 13:36:06 +00:00
robocop
6ec02b200e Moved another hardcoded error string to the msg database. 2005-10-07 08:52:51 +00:00
robocop
4337f38101 Update isql accordingly to my previous Fix SF Bug #1292007
Move more hardcoded error strings to the msg database.
2005-10-06 07:02:04 +00:00
robocop
7d304b0fbb Fix SF Bug #1292007
Move some hardcoded error texts to the msg database.
2005-10-06 06:08:10 +00:00
robocop
c81191a3de Misc. 2005-10-01 07:16:12 +00:00
alexpeshkoff
063986cfe3 reanimated -database switch in gsec 2005-09-30 16:21:30 +00:00
robocop
aab2d20725 - Get rid of DBB_v3 in DSQL and put a message just in case we find ODS<=7 (impossible in theory, since FB wouldn't open such db).
- Put mnemonics for two hardcoded error msgs I hijacked from DYN years ago. Now they are defined for the SQLERR facility.
2005-09-10 07:15:24 +00:00
robocop
6bf95490fb Archeology: enable QLI to handle NUMERIC, DECIMAL and BIGINT in definitions. No dialect check made. 2005-09-03 05:52:02 +00:00
robocop
95cf97005b Solve Dmitry's compatibility concerns about my solution for SF Bug #494981. Remember to rebuild the messages db from the scripts in src/msgs. 2005-08-14 06:56:24 +00:00
robocop
22742ccdd7 Tweak DYN to solve several issues:
- Allow to set and drop defaults for table's fields (as it has been possible with domains).
- Stop people from setting a default value for array types.
- Close checking holes that allowed people to change from scalar types to array types and vice/versa.
- Improve some error messages.
2005-08-14 05:48:20 +00:00
robocop
34f1f5e2c2 Fixed misplaced error messages in gfix. For example, if you do
gfix - housekeeping
you were getting "dialect number required".
2005-07-31 01:06:20 +00:00
dimitr
ff06b5f9af Added new error message. 2005-07-24 18:45:13 +00:00
dimitr
668907912f Changed the ODS encoding, messaging and protection rules. 2005-06-26 16:11:59 +00:00
robocop
a3e76836e3 Misc. 2005-06-16 05:02:37 +00:00
asfernandes
890494ac7c 1) Fixed SF #1016040 Missing external libraries causes engine exception
2) Use better error messages
2005-06-14 03:16:54 +00:00
robocop
a867f700d0 Substring evolved and the error message was never updated. Now I've done two messages, although I think we need three in the long term. 2005-06-12 23:45:15 +00:00
dimitr
457c58ace2 Correction. 2005-06-12 04:00:18 +00:00
hvlad
b4545712dd Added new error messages 2005-06-11 11:41:12 +00:00
robocop
3a8cd43a05 Please Dmitry and try to report the line/column of an incomplete statement. 2005-06-11 00:20:22 +00:00
robocop
66bb9ee231 Totally misc. 2005-06-10 00:54:15 +00:00
dimitr
313fe5664a Added new error message. 2005-06-06 13:28:51 +00:00
robocop
b8d1f00f94 - Corrections and changes to Adriano's commit, subject to his inspection.
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30:03 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
robocop
35dc1e343c - Cleanup.
- A bit better handling of SHOW EXCEPTION.
2005-05-26 06:45:25 +00:00
robocop
7813fe3402 Fix SF Bug #494981.
If we can print the name of the exception, we do.
2005-05-22 06:13:54 +00:00
robocop
e93513cd9a - Adjust error messages.
- Correct way to stop automatically generated triggers from being altered.
2005-05-20 00:23:25 +00:00
robocop
da0da74ee9 New message for isql. 2005-05-19 07:43:16 +00:00
robocop
0285f6bf76 - Implement the proposed COMMENT keyword to allow descriptions in database objects. Subject to change or withdrawal.
- Enhance some messages. Reuse some msg numbers that were duplicate.
- Fix some issues found in Alex recent MetaName-related commits.
2005-05-17 07:17:25 +00:00
robocop
8c381ef54b Better fixes related to field-test bug #1173988, first part.
Also, a new, more accurate message has been added to the restoration process.
2005-05-03 04:09:26 +00:00
robocop
382d5b3432 Fix for first part of field test bug #1173988.
Also, fix for misleading message, use -R switch tal must be use -REP switch.
2005-04-29 05:36:19 +00:00
robocop
f9815af4ea Updating messages and history after Dmitry's changes. 2005-04-28 05:27:47 +00:00
dimitr
f38b4536b9 Minor corrections. 2005-04-27 17:56:58 +00:00
robocop
2ec9bbc824 Keeping the history manually. 2005-04-18 03:21:41 +00:00
hvlad
f09ef16560 1. New switch for gbak -RECREATE_DATABASE [OVERWRITE].
Simple RECREATE_DATABASE is equal to CREATE_DATABASE,
    RECREATE_DATABASE OVERWRITE is equal to REPLACE_DATABASE.
2. gbak uses isc_dpb_overwrite to create database over existing files
3. engine overwrite existing files only if asked explicitly by
    user by setting isc_dpb_overwrite to 1
4. fixed unregistered bug - when gbak uses service manager and passed
    command line contains invalid switch. Service reports error and
    finish but not call Service::svc_started therefore response is not
    send and gbak is stalled forever
2005-04-09 18:44:50 +00:00
robocop
0d60ef7d2f Fixed one msg for isql and added others to support add_row (ADD command). 2005-03-26 05:05:21 +00:00
skidder
37739c2c57 Add check for overly long identifiers when pasing BLR. This helps with savepoints problem reported by Vlad and other similar issues as well 2004-12-22 18:34:52 +00:00
robocop
af6a16107a Misc. 2004-11-30 06:18:39 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
robocop
68258a475b Fix the messages database's history. 2004-11-24 09:00:29 +00:00
robocop
6f376126bc Applying Damyan Ivanov's isql patch.
Document it in the interactive help isql -?
Document also the m2 option (merge diagnostics).
2004-11-24 08:58:11 +00:00
robocop
dd4952c4ed Preparing to commit Damyan Ivanov's isql patch, first step. 2004-11-23 10:29:31 +00:00
skidder
b03741c566 Add messages for context variables and correct bad SQL code used for couple messages added earlier 2004-11-22 19:45:57 +00:00
robocop
ec42dc2c42 The obvious missing constraints, at least for me. 2004-11-19 03:52:43 +00:00
robocop
7b916e7077 Get rid of journal-related messages. 2004-11-19 03:51:57 +00:00
robocop
3915523b1d Keep history up to date by hand. 2004-11-19 03:51:03 +00:00
robocop
93b309b449 The facilities's MAX_NUMBER is one more than the last used number in messages.sql for each facility. It worked nicely for years until the utilities became obsolete. 2004-11-19 03:50:19 +00:00
hvlad
6db033a401 Added new isc_stack_trace error code for PL-SQL stack trace 2004-11-18 13:50:54 +00:00
dimitr
b78d71d9fd no message 2004-11-18 08:09:56 +00:00
dimitr
499688434f 1) Reworked error reporting
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 15:23:27 +00:00
dimitr
5fb5acbb75 1) Reworked error reporting
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 15:01:16 +00:00