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

366 Commits

Author SHA1 Message Date
robocop
da5068258d Fix the German translation of the firebird.msg file to sync with the English (and default) version. 2008-03-20 10:00:30 +00:00
robocop
c20b0ea35e Clean, order and fix the French translation of the firebird.msg file. 2008-03-20 09:59:25 +00:00
robocop
470f5e37c1 Misc. 2008-03-18 13:46:31 +00:00
robocop
e6de43f68b Cleanup and ordered localized msgs file. Lacks a lot of the new messages. 2008-03-18 12:37:06 +00:00
dimitr
6da8463556 Update. 2008-03-18 06:13:37 +00:00
dimitr
4ce29e0624 Sync with SAS: Better diagnostics for some DYN errors. 2008-03-17 17:58:47 +00:00
hvlad
0170deaff3 Fixed bug CORE-1793 : AV at prepare of query with unused parametrized CTE 2008-03-17 10:27:01 +00:00
robocop
4d4b18c115 Fix some issues: wrong pathname used for localized msgs, possibly trash stored in msg file, some obvious checks, etc. 2008-03-16 13:38:58 +00:00
robocop
d293e5f0d1 Misc. 2008-03-13 11:02:56 +00:00
robocop
55c27384cf Remove files that were superseded by their *2.sql counterparts. 2008-03-13 11:00:29 +00:00
dimitr
29694be08d Change the ISQL output to show SQLSTATE instead of SQLCODE. 2008-03-12 10:18:02 +00:00
robocop
04106ddde6 More fixes for CORE-1600.
CORE-1777.
2008-03-12 07:33:12 +00:00
robocop
2b33eae4d1 Minimize casts. 2008-03-10 08:31:35 +00:00
robocop
747474fc7d Get rid of the field VMS_CODE in the messages database.
You should preprocess and compile codes.epp again or you will read trash from the db when regenerating the header files in include/gen.
For Win32, this means calling create_msgs alone is not enough; do a boot build instead.
2008-03-07 09:24:14 +00:00
robocop
4054c1d65e Putting more constraints was the only way to safely discover all the inconsistencies in the scripts that fill msg.fdb with messages' code, text, sqlclass and other information. Served as an exercise to fix some errors that may predate FB, too. 2008-03-07 07:37:57 +00:00
robocop
f847cbba32 CORE-1600, work in progress. I expect I copied a consistent intermediate state. 2008-03-07 06:26:19 +00:00
robocop
2d8ac2acb9 CORE-1600, work in progress, before I have to return to my private work. 2008-03-06 09:43:43 +00:00
dimitr
c991229426 Fixed the SQLSTATE issue reported by Claudio. 2008-03-05 09:31:51 +00:00
asfernandes
5d2ca89242 Misc 2008-03-01 18:24:06 +00:00
alexpeshkoff
48e9858b57 fixed CORE-1756: AV in isc_start_transaction (isc_start_multiple) 2008-02-29 16:44:17 +00:00
robocop
c8950e618f Fixing the SQL states input file to be able to complete the boot build process without strange errors. 2008-02-28 08:59:20 +00:00
dimitr
fd1d156647 Fixed the boot build. 2008-02-28 08:51:17 +00:00
dimitr
b5a02b04d8 Added the forgotten file. 2008-02-27 05:08:09 +00:00
dimitr
ec513fd5cb Ported SQLSTATE from Vulcan.
Part I: core changes.
2008-02-24 14:07:01 +00:00
robocop
980b9e5176 I thought this DYN message deserves to be translatable. 2008-02-02 16:51:51 +00:00
dimitr
d4d587d155 The merge continued. 2008-01-16 08:16:36 +00:00
dimitr
1dd06bb484 The merge continued. 2008-01-16 07:40:12 +00:00
asfernandes
0ee85c7525 Misc 2007-12-28 00:14:00 +00:00
alexpeshkoff
edd59f96dc Better fix for a problem, reported by Roman - wrong diagnostics in gsec 2007-12-27 09:21:52 +00:00
robocop
1147c140fe Fixed the message
column @1 is not defined in table @1
and added a new one for unknown field in procedure (with Dmitry's permission).
2007-12-04 10:05:17 +00:00
asfernandes
40997f0bc8 Task CORE-1618 - Change GBAK option to not run database triggers to use the same name as the ISQL equivalent option 2007-11-26 14:26:46 +00:00
dimitr
d5dec4ae17 Typo. 2007-11-20 07:39:10 +00:00
asfernandes
54b36766c0 Misc 2007-11-17 00:38:16 +00:00
asfernandes
38693e7cdd New messages should not be appended here 2007-11-17 00:27:53 +00:00
hvlad
d91be7de26 Fixed bug CORE-1597 : GLOBAL TEMPORARY TABLEs allowed to be created in ODS less than 11.1 2007-11-15 23:03:43 +00:00
alexpeshkoff
a80dd39b11 Fixed CORE-1593: Full domain user name can be longer than 31 char(for trusted authentication) 2007-11-15 12:48:24 +00:00
asfernandes
b2669fac42 Misc 2007-10-27 18:09:32 +00:00
alexpeshkoff
edc03201ca Fixed CORE-1537: NBackup creates difference file in bad place 2007-10-26 13:21:16 +00:00
robocop
83192cd8c9 Presenting the SHOW USERS command in society (documenting it when user types HELP or ?)
:-)
2007-10-04 09:29:04 +00:00
asfernandes
7b9ba2ed3f Correction 2007-09-11 15:22:01 +00:00
hvlad
6e93ffb4ff Correction 2007-08-02 20:51:00 +00:00
robocop
6d2e4daf09 Misc. 2007-05-23 06:49:57 +00:00
alexpeshkoff
4487203f21 Fixed CORE-1263 - gsec incorrectly processes some switches 2007-05-21 12:06:44 +00:00
alexpeshkoff
d73fd1edc7 Added missing SPB parameter 2007-05-17 12:40:58 +00:00
alexpeshkoff
8aba4a1ea1 Added fbsvcmgr, utility to access services manager 2007-05-03 11:25:05 +00:00
asfernandes
c5cf6ea6b8 Implementation of CORE-1235: NATURAL JOIN and JOIN...USING 2007-04-29 19:04:26 +00:00
alexpeshkoff
f9b7195280 Fixed CORE-1083 - engine silently ignored attempt to revoke privilege 2007-04-28 14:13:44 +00:00
robocop
9bc71893b2 Restore SQL codes. 2007-04-19 07:50:56 +00:00
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
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