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

440 Commits

Author SHA1 Message Date
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
hvlad
58d381edd7 1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +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
dimitr
7c405166aa 1) Support for client PID in the monitoring data.
2) Changed XNET to return local hostname instead of PID as its remote address.
2006-09-14 13:47:31 +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
aafemt
7673a7a491 License added as Adriano requested 2006-08-18 03:46:33 +00:00
aafemt
a4b37f371c Separate header for public constants 2006-08-17 05:58:00 +00:00
aafemt
ea13d58f5f GCC provide inttypes.h even on Win32 2006-08-14 11:37:26 +00:00
asfernandes
144f712c1e Regenerate files 2006-08-07 16:40:49 +00:00
dimitr
00080ab731 More patches for Win64 compatibility. 2006-08-02 05:28:57 +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
alexpeshkoff
2d1957bb5e rollback my previous commit, check SIZEOF_LONG correctness 2006-07-26 09:24:53 +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
alexpeshkoff
c13976d791 Always have correct SIZEOF_LONG 2006-07-25 12:58:07 +00:00
dimitr
f830d925f7 More patches for Win64 compatibility. 2006-07-24 15:42:38 +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
alexpeshkoff
94c81aaaca removed unneeded STL-based headers 2006-05-23 13:04:49 +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
alexpeshkoff
2aafa91873 avoid reinterpret_cast in exception's handler 2006-05-22 11:45:19 +00:00
hvlad
1296e18049 Regenerate parser and error codes files (after GTT) 2006-05-21 22:14:38 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
dimitr
cebda2b4bf Threading cleanup. More to follow. 2006-05-01 04:43:59 +00:00
alexpeshkoff
469589f573 Use Firebird::Array instead of STL's vector 2006-04-25 17:49:24 +00:00
robocop
192832199f Solve a possible truncation problem due to USHORT<->ULONG issues.
Tweak for embedded so it doesn't crash when handling an error.
2006-04-11 07:16:37 +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
alexpeshkoff
baa8ede6a8 better support for OS error code in system_call_failed 2006-03-15 17:29:11 +00:00
robocop
f9f26ed891 Sync after Dmitry's changes. 2006-03-08 03:12:01 +00:00
asfernandes
b08ba57248 Move ISC_STATUS_LENGTH and ISC_STATUS_ARRAY to public 2006-03-07 03:11:16 +00:00
robocop
044c5841ad Misc. 2006-02-10 03:28:43 +00:00
kkuznetsov
528f5a4524 Minor fixes big thanks to Alex and Dmitry 2006-02-09 11:00:36 +00:00
kkuznetsov
079d1a2121 Add 2 aligment fixes templates 2006-02-06 08:13:39 +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
dimitr
8b20d04a8a 1) An attempt to fix the endianess/alignment issues in the b-tree code.
2) Some adjustments in the pointers management.
2006-01-26 10:45:02 +00:00
robocop
8e7da59fa6 Sync after Dmitry Yemanov's changes. 2006-01-26 07:21:26 +00:00
robocop
7939c5f3d8 Avoid a crash. 2006-01-08 01:11:06 +00:00
alexpeshkoff
64ac449789 avoid vararg constructors in status_exception 2006-01-07 16:50:13 +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
robocop
2b2e2d5dd0 Const correctness and the like. 2005-12-23 01:42:40 +00:00
robocop
0253028a5d This alternative constructor shouldn't be public, but MSVC6 doesn't obey the private clause if there's another constructor made public. Maybe no compiler does. 2005-12-22 06:22:23 +00:00
aafemt
7470059c2a Move type declarations to appropriate header 2005-12-17 12:55:52 +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
df8b67d67d Fixed 64bit builds. 2005-12-05 13:42:24 +00:00
dimitr
52abeceb5e Changed location of some defines in order to avoid internals inside ibase.h. 2005-12-05 11:31:45 +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
b69db887fd Totally misc. 2005-09-22 07:09:57 +00:00
kkuznetsov
38beb75685 Adding ability to build CS server with threaded services (can be controled throught configure platform varyable
service_thread_CS):
1)Add new define STD_UTIL



Build tested Solaris x86 and Linux x86
2005-09-21 08:31:35 +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
dimitr
e2b0b80eaf Fixed the win32 build. 2005-08-19 10:08:46 +00:00
kkuznetsov
97fed5be82 Disabled service threads at boot time for all platform except of WIN_NT 2005-08-19 06:56:08 +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
dimitr
7a343b8162 Moved the Services API into the engine on threadable platforms. 2005-08-10 14:47:42 +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
robocop
b8d1f00f94 - Corrections and changes to Adriano's commit, subject to his inspection.
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30:03 +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