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

347 Commits

Author SHA1 Message Date
alexpeshkoff
edc03201ca Fixed CORE-1537: NBackup creates difference file in bad place 2007-10-26 13:21:16 +00:00
asfernandes
1706ea36d3 Backport patch to make references (at BLR level) to non-existent system fields return NULL - to simplify ODS differences handling 2007-10-14 01:32:24 +00:00
dimitr
317748b2e1 Added MON$STAT_GROUP into the statistics tables.
This allows to join backwards from a particular statistics record.
2007-09-28 19:43:06 +00:00
dimitr
72bbf56ea2 Added MON$BACKUP_STATE to MON$DATABASE. 2007-09-14 15:39:53 +00:00
dimitr
a13f1e0ff4 Added MON$IO_STATS and MON$RECORD_STATS. 2007-09-14 15:13:19 +00:00
asfernandes
6e5cc128e8 Correction 2007-09-11 16:07:29 +00:00
robocop
23fb63d680 Misc. 2007-06-08 08:40:59 +00:00
alexpeshkoff
344fdfbfc7 Make ids.h better human-readable 2007-06-06 13:08:03 +00:00
alexpeshkoff
ea8ba3370d Cleaned up mutexes - removed MUTX_T and related macros 2007-06-06 12:37:24 +00:00
dimitr
bc7c4d0054 Added remote process name to the monitoring data. Applications are allowed to override this value via DPB. 2007-05-16 07:54:33 +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
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
dd2432420a Either VC doesn't have INFINITY in math.h or it should be constrained to new versions of the compiler. 2007-04-15 11:21:56 +00:00
robocop
01864d3507 Fix CORE-1162 2007-03-28 04:51:48 +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
4c970f143d Correct error code (forgot this generated file in the previous commit). 2007-03-22 14:03:24 +00:00
dimitr
d31f946fba Added MON$CALL_STACK plus some minor monitoring-related changes. 2007-03-05 07:50:23 +00:00
robocop
3a73b8c28c Update generated file after Alex changes. 2007-03-02 11:14:14 +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
659d23e6ab Report number of concurrent transaction when raising update_conflict 2006-12-17 21:03:41 +00:00
dimitr
b43b43eca9 1) Changed MON$STATEMENTS a bit.
2) Implemented statement cancellation.
2006-12-04 21:36:29 +00:00
asfernandes
ac0f122511 Fixed CORE-997 - Database-Update 1.5 to 2.0 fails 2006-12-01 14:36:12 +00:00
robocop
c466e704c8 For unknown reasons, this generated file wasn't committed. 2006-11-28 08:52:28 +00:00
asfernandes
5e818bd4a9 Rename REPLACE to UPDATE OR INSERT 2006-11-26 15:40:10 +00:00
asfernandes
d168869475 Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS 2006-11-24 00:25:13 +00:00
robocop
7f2b0cd25d Fix typos in recent messages. 2006-11-10 08:10:56 +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
dimitr
363ed4b7ba Simplification and fix. 2006-10-31 15:19:13 +00:00
dimitr
736e1122e7 Win64 adjustments. 2006-10-30 13:04:03 +00:00
dimitr
e4fffd425f 1) Updated monitoring implementation.
2) Cleanup.
2006-10-30 12:39:08 +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
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
asfernandes
55ec30965d REPLACE statement 2006-09-03 01:09:23 +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
asfernandes
fcac437363 Don't check procedure BLR when it's marked as invalid, to allow restoration of backups with invalid procedures. 2006-08-27 01:09:47 +00:00
dimitr
67e061029f Fixed a small issue noticed by Michal. 2006-08-25 04:51:13 +00:00
asfernandes
b7af27215e Allow usage of domains in PSQL (with TYPE OF syntax) 2006-08-19 02:52:39 +00:00
asfernandes
144f712c1e Regenerate files 2006-08-07 16:40:49 +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
af95e42ef1 Put the manual Windows #defines in the same position as the autoconf's AC_CHECKs for easy visual match. 2006-07-27 09:11:18 +00:00
asfernandes
bd8a3216e1 MSVC have limits.h 2006-07-26 01:06:15 +00:00
kkuznetsov
d34f8b80a1 Fix compile error in sort.cpp 2006-07-25 13:03:11 +00:00
robocop
f7b398cec8 Regenerate files after Dmitry's changes. 2006-07-21 01:36:37 +00:00
robocop
64f6eb42a1 Misc. 2006-07-21 01:35:17 +00:00
dimitr
64322e468d Let's workaround the MS' attempt to declare the entire string-handling RTL deprecated.
BTYACC and ICU are still affected by those tons of warning, though.
2006-07-20 06:29:17 +00:00
dimitr
6992f3b904 Reject attempts to select from executable procedures. 2006-07-19 14:50:33 +00:00
dimitr
f1c9466c7f Monitoring, continued. 2006-07-19 05:30:21 +00:00
dimitr
c68587fe66 1. Virtual tables
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +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
1296e18049 Regenerate parser and error codes files (after GTT) 2006-05-21 22:14:38 +00:00
dimitr
72a9936fd2 Added new error message. 2006-03-28 09:54:35 +00:00
robocop
e5338ba1ed Only strcmp and strncmp have common names across all plartforms. Cater for differences in strcasecmp/stricmp and strncasecmp/strnicmp. 2006-03-25 07:08:00 +00:00
robocop
f9f26ed891 Sync after Dmitry's changes. 2006-03-08 03:12:01 +00:00
robocop
fed6653b17 Sync after Vlad's changes. 2006-02-04 04:20:22 +00:00
hvlad
71b04d901c New error message 2006-02-03 17:45:46 +00:00
robocop
8e7da59fa6 Sync after Dmitry Yemanov's changes. 2006-01-26 07:21:26 +00:00
robocop
6a3b45e1da Misc. 2005-12-27 08:10:00 +00:00
dimitr
430197c4bd Continued fixing public headers. 2005-12-26 10:31:06 +00:00
robocop
0d4025691a Make sure gmtime_r is marked as missing in Win32. 2005-12-23 23:32:40 +00:00
dimitr
da625272db More error messages. 2005-12-12 13:56:56 +00:00
dimitr
a909203774 Added new error messages. 2005-12-12 10:51:02 +00:00
dimitr
96d92682e5 Damn, I'm much sorry. 2005-11-25 05:54:53 +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
asfernandes
306d4d5f46 Regenerate files 2005-10-13 19:09:04 +00:00
robocop
6ec02b200e Moved another hardcoded error string to the msg database. 2005-10-07 08:52:51 +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
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
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
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
dimitr
ff06b5f9af Added new error message. 2005-07-24 18:45:13 +00:00
dimitr
668907912f Changed the ODS encoding, messaging and protection rules. 2005-06-26 16:11:59 +00:00
asfernandes
890494ac7c 1) Fixed SF #1016040 Missing external libraries causes engine exception
2) Use better error messages
2005-06-14 03:16:54 +00:00
robocop
a867f700d0 Substring evolved and the error message was never updated. Now I've done two messages, although I think we need three in the long term. 2005-06-12 23:45:15 +00:00
hvlad
ac03b22901 Regenerated error codes 2005-06-11 21:26:05 +00:00
robocop
3a8cd43a05 Please Dmitry and try to report the line/column of an incomplete statement. 2005-06-11 00:20:22 +00:00
dimitr
d9294d7938 Added new error message. 2005-06-06 13:37:31 +00:00
asfernandes
0f67560006 Make "configure --with-editline" work 2005-05-29 15:27:08 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
robocop
7813fe3402 Fix SF Bug #494981.
If we can print the name of the exception, we do.
2005-05-22 06:13:54 +00:00
robocop
382d5b3432 Fix for first part of field test bug #1173988.
Also, fix for misleading message, use -R switch tal must be use -REP switch.
2005-04-29 05:36:19 +00:00
robocop
f9815af4ea Updating messages and history after Dmitry's changes. 2005-04-28 05:27:47 +00:00
alexpeshkoff
f4cd5a154f Changed name to security2.fdb 2005-02-24 12:24:38 +00:00
dimitr
5dd85db2ea Changes and cleanup regarding XNET vs old-style IPC. 2005-01-16 10:21:54 +00:00
skidder
37739c2c57 Add check for overly long identifiers when pasing BLR. This helps with savepoints problem reported by Vlad and other similar issues as well 2004-12-22 18:34:52 +00:00
skidder
9507cf9714 Context variables support 2004-11-22 20:22:03 +00:00
hvlad
6db033a401 Added new isc_stack_trace error code for PL-SQL stack trace 2004-11-18 13:50:54 +00:00
dimitr
499688434f 1) Reworked error reporting
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 15:23:27 +00:00
dimitr
c1cab92cab 1) Reworked error reporting
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 14:50:33 +00:00
skidder
933063c7ce Slightly adjust Dmitry's Firebird::TimeStamp class to make it more useful, change is coordiated with Dmitry. Use thread-safe localtime_r routine when it is available 2004-11-04 19:14:20 +00:00
skidder
e2a45653b3 regenerated msgs.h 2004-11-04 18:59:56 +00:00
robocop
41c68bdd70 Implement rdb$description in rdb$generators. What a chore. 2004-10-30 05:23:31 +00:00
robocop
2b3c98520d Added new message. To be used later (pending changes). 2004-10-25 10:31:59 +00:00
skidder
f01b34ae8e Regenerated ids.h 2004-10-25 02:56:43 +00:00
skidder
fc0c02d2dc Add notion of ODS type to wrong_ods error message 2004-09-01 01:08:35 +00:00
skidder
56a42f9765 Use slightly more clear messages during FK violations. Patch submitted by Adriano dos Santos Fernandes 2004-08-31 22:29:59 +00:00
dimitr
4309b20a5e Added two new error messages. 2004-08-02 19:43:54 +00:00
skidder
b980507ad2 Valgrind support 2004-07-30 22:38:08 +00:00
skidder
277788de7a NetBSD port from James K. Lowden 2004-05-20 23:05:02 +00:00
brodsom
84bfc45134 Macro cleaning 2004-05-15 01:23:26 +00:00
brodsom
3918a1abba Removing codes.h 2004-05-10 08:17:15 +00:00
brodsom
4d1085d1bb Removing codes.h 2004-05-10 08:05:29 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
brodsom
62a4b10c22 -Replace define with const
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
eku
3dd652eea7 Remainings of ib_stdio 2004-05-03 11:31:57 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
ba44794c1e -Remainings of ib_stdio (Pointed by Claudio) 2004-05-01 14:18:28 +00:00
brodsom
afa030b5a2 Update generated header with the actual content 2004-04-23 01:53:17 +00:00
skidder
d1e22bee87 Use llrint() on platforms where it is available 2004-04-09 00:23:58 +00:00
skidder
f26d84f76b 1. POSIX build libraries export only public API. 2. Unify exports for PROD_BUILD and DEV_BUILD. 3. Support for context memory pools. 4. Memory manager has lower memory overhead exceptionally on 64 bit targets 2004-03-25 23:12:50 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
skidder
2c4fe73bd4 Implement new shutdown modes (single-user and full shutdown). Tested on Linux/AMD64 CS and SS 2004-02-25 01:50:40 +00:00
dimitr
f99e3373d4 Let's support segment-level selectivities. Amen. 2003-11-30 21:14:30 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
skidder
b43441040c Fix MSVC build after Erik's changes 2003-11-21 15:42:36 +00:00
dimitr
31e52605aa Modified an existing error message. 2003-10-26 12:29:01 +00:00
dimitr
0269173b64 Added new error message. 2003-10-25 12:44:42 +00:00
eku
b6151b52c2 SINIX-Z: POSIX stylish sigaction. 2003-10-14 13:10:05 +00:00
aafemt
76eac2d80d Move MSVC-related hack of vsnprintf to MSVC header because it crashed MinGW build 2003-10-02 10:17:40 +00:00
robocop
2376d8daac The products of codes.epp 2003-09-08 11:39:52 +00:00
dimitr
b6f1b4cfe3 Added new error message for Arno. 2003-08-25 08:17:56 +00:00
skidder
bd1b3e9ead Add nbak messages 2003-08-12 19:54:34 +00:00
eku
4ff4800a4a Use autoconf to do it right :-) 2003-08-12 10:06:14 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
brodsom
ab9e5e8fa5 Rollback generated metadata headers change 2003-08-03 23:26:51 +00:00
brodsom
350f589a62 Correction 2003-07-12 23:16:48 +00:00
brodsom
32787c51c1 Adding generator for fields.h, relations.h, ids.h and names.h 2003-07-12 20:13:22 +00:00
brodsom
952daa6bbd Move fields.h, relations.h and names.h to include/gen, generator will follow 2003-07-12 13:02:26 +00:00
brodsom
e81872b162 -Include var definitions in rdb_codes, codetext, msgs and blh.p headers.
-Uncommited change to codes.epp to allow to used two directories (moving ftn and pas)
2003-07-12 10:24:47 +00:00
brodsom
6df257f479 Moving fortran, pascal etc helpers to lang_helpers 2003-07-10 23:29:52 +00:00
dimitr
b41fee4014 New error messages for:
- gbak
  - DSQL layer (aggregate tracking)
  - JRD layer (EXECUTE STATEMENT)
  - config stuff
2003-06-13 07:56:08 +00:00
dimitr
64ad91db69 Fixed win32 build. VC6 doesn't have mkstemp(). 2003-05-20 15:39:58 +00:00
eku
d496ef4e4e Check for the function mkstemp(). If it's not available, fall back to mktemp(). 2003-05-14 05:40:00 +00:00
dimitr
aebd3c1212 Updated messages database. 2003-04-13 13:07:37 +00:00
aafemt
d266ad6452 Public headers don't use pathes in #include directives any more. Now they can be provided 'as is' 2003-04-08 10:25:30 +00:00
alexpeshkoff
1391e13f0a Dropped HAVE_*EXIT defines 2003-03-13 15:46:34 +00:00
eku
6cbd82fea8 Editline changes:
o got a FB-compliant makefile
 o uses configure
 o eventually compiles on SINIX-Z
2003-03-12 12:39:58 +00:00
alexpeshkoff
bb94eea0be Fixed HAVE_ATEXIT define - MSVC has atexit() 2003-03-11 11:49:51 +00:00
brodsom
165023d329 Remove FAR_VARIABLE 2003-02-28 12:57:13 +00:00