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

307 Commits

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