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