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

268 Commits

Author SHA1 Message Date
asfernandes
9582ea243c 1) Upgrade INTL interface to undestand misc. configuration informations
2) Make our ICU collations work with different ICU versions (tested with ICU 3.6)
2007-04-15 15:57:12 +00:00
robocop
f1288007c1 Put new messages after the comment as indicated. 2007-04-10 10:03:26 +00:00
asfernandes
72d139baf3 Misc 2007-04-07 15:52:45 +00:00
asfernandes
c41172f121 Update after new messages added 2007-04-07 15:47:17 +00:00
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +00:00
robocop
01864d3507 Fix CORE-1162 2007-03-28 04:51:48 +00:00
robocop
b3becd7d80 Put messages and system_errors table in sync: facility code, message number in this order (until now, system_errors used message number, code). 2007-03-28 04:49:35 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
robocop
cb34d2d5cc Correct error code. 2007-03-21 12:36:40 +00:00
robocop
1dda5e4463 Let anyone read the tables in msg.fdb. 2007-03-12 11:49:05 +00:00
robocop
d550a1175c Simpler code. 2007-03-10 09:33:08 +00:00
robocop
e88135503a The usage of the SQLWARN facility is bizarre, but at least it should be consistent. 2007-03-03 04:22:44 +00:00
alexpeshkoff
47688fd1ad Fixed SQL error code 2007-03-01 15:33:59 +00:00
robocop
f83b2c407d Commit undocumented, primitive facility to deal with prepared statements and feed data to them. I need it to play with the messages.sql file.
Did other misc changes.
2007-02-25 12:03:18 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
asfernandes
be9e3a8a84 1) Correction for input parameters
2) Correct message for constraint violation in CAST
3) Display parameter/variable number when there is no debug info
2007-01-17 23:59:23 +00:00
asfernandes
aca179f398 Full domain support and NOT NULL in PSQL 2007-01-17 01:19:01 +00:00
asfernandes
6a932a3846 Misc 2006-12-22 01:14:03 +00:00
asfernandes
659d23e6ab Report number of concurrent transaction when raising update_conflict 2006-12-17 21:03:41 +00:00
robocop
ec84566af7 Please play by the rules:
- New messages go at the end
- Platform is named Windows (not windows or window)
- Update facilities.sql accordingly.
2006-12-17 09:06:46 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
asfernandes
ac0f122511 Fixed CORE-997 - Database-Update 1.5 to 2.0 fails 2006-12-01 14:36:12 +00:00
asfernandes
5be9424349 Update the errors messages 2006-11-27 00:31:54 +00:00
asfernandes
5e818bd4a9 Rename REPLACE to UPDATE OR INSERT 2006-11-26 15:40:10 +00:00
robocop
7f2b0cd25d Fix typos in recent messages. 2006-11-10 08:10:56 +00:00
asfernandes
11838b0601 Misc 2006-11-06 01:07:31 +00:00
asfernandes
570b6cd4b4 1) CORE-645 and CORE-745: Database triggers
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
hvlad
05b028628f Replace few hardcoded error messages by new error codes 2006-11-05 10:54:46 +00:00
robocop
fb0cd24854 Put two recent hardcoded messages into the msg db. 2006-11-05 04:01:30 +00:00
robocop
a270d9c440 Put into the msg file several hardcoded messages marked by Arno to be localized. 2006-10-17 06:03:21 +00:00
robocop
28c3d29886 ApiGuide.pdf says a maximum of 16 databases is allowed for a multi-db transaction. However, Ann agrees that a modern new, sensible limit is 256 databases for start_transaction and start_multiple.
Fixed a buffer overrun in jrd.cpp related to this.
2006-10-14 01:29:36 +00:00
robocop
2b27f56428 - Give meaningful message when reaching max group items (255), reported by David Schnepper.
- Misc: more mnemonics for nodes' argument positions.
- Experimental: try to detect conflicting sort options on the same field.
2006-10-07 09:40:59 +00:00
asfernandes
06c273a293 Fixed untracked collation dependencies in PSQL 2006-10-01 22:09:05 +00:00
robocop
f32795fe1d More improvements for CORE-945 because there are other confusing messages in DYN. 2006-10-01 09:14:38 +00:00
asfernandes
597cd7844c Fixed CORE-945 - Bad error message when trying to create FK to non-existent table 2006-09-30 16:17:24 +00:00
robocop
e0badaed04 Solve problem reported by Bill Oliver in fb-devel: we should complain when someone tries to sort on more than 255 items. 2006-09-30 09:10:28 +00:00
robocop
af8ecc26ca Solve three problems with arrays:
- Don't allow to apply scalar/subscript syntax to fields that aren't array.
- Detect if we get corrupt database containing array with more than 16 dimensions.
- Reject attempt to subscript array with more than 16 dimensions and thus fix the buffer overrun.
2006-09-10 09:05:40 +00:00
robocop
ea4eaf8c03 Totally misc. 2006-09-09 08:16:01 +00:00
robocop
59f4ba9363 Explain why server version cannot be retrieved. 2006-09-08 07:26:24 +00:00
robocop
7e94e15d6f Implement SHOW SECCLASS command, mostly for core developers' needs. 2006-09-08 05:07:37 +00:00
robocop
6f7e1c34a8 Fix CORE-851 by brute force: linear search, slow for indices with lots of segments. 2006-09-05 09:04:03 +00:00
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