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

286 Commits

Author SHA1 Message Date
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