asfernandes
732b070ec9
Fix warnings
2008-05-24 02:08:12 +00:00
alexpeshkoff
ff7cfc717e
Implemented Adriano's suggestion concerning fb_shutdown_callback() - added new parameter
2008-05-22 08:59:45 +00:00
alexpeshkoff
86cd8cb6b3
1. Added parameter 'shutdown reason' to fb_shutdown() API call. It's passed to shutdown
...
callback function, and helps to take correct action in it. This fixes CORE-1827: Win32
Embedded Server should pass control to application before calling exit(3).
2. Removed unneeded any more flag in isql and qli, used earlier to distinguish between
kinds of shutdown.
2008-05-16 11:31:57 +00:00
alexpeshkoff
27a97e2a6a
1. Modified syntax of ALTER ROLE command according to Dmitry's request.
...
2. Avoid any use of predefined NT group name "Domain Admins".
3. Fixed DYN code generation for USER operations.
***** WARNING *****
After this commit all previous backups of 2.5 databases with turned on
admins mapping become unrestorable. ODS is not changed.
2008-05-14 11:24:45 +00:00
asfernandes
8b4a83f201
Misc
2008-05-11 03:00:46 +00:00
dimitr
0a1268830e
Added table MON$MEMORY_USAGE.
2008-05-06 08:24:07 +00:00
alexpeshkoff
0ba2ab7ea7
Make fb_cancel_operation() public API call. Related cleanup.
2008-04-29 09:55:41 +00:00
alexpeshkoff
d4ffa306bf
Fixed CORE-1864: SELECT operator does not work in ISQL
2008-04-24 16:05:39 +00:00
asfernandes
29490460b2
Misc
2008-04-20 23:03:35 +00:00
asfernandes
c416ea1621
Lock the attachment handle during API calls
2008-04-20 22:54:36 +00:00
robocop
97543c6cb9
Generated iberor.h has slightly different layout.
2008-04-18 09:48:52 +00:00
dimitr
8a07d31e5f
1) Simplified the internal provider API a little.
...
2) Passed the original filename (possibly an alias) via DPB. This way it can be transmitted through the remote subsystem.
Hopefully, this should fix CORE-1105, CORE-1390 and CORE-1566 at once.
Although a better hope would be that it won't break anything else :-)
2008-04-17 16:02:46 +00:00
alexpeshkoff
a9fd3a9a6f
Fixed CORE-1844: Valgrind often reports "Conditional jump or move depends on uninitialised value(s)" in check_status_vector()
2008-04-17 13:13:04 +00:00
robocop
28979f1d73
Fix EXECUTE STATEMENT regarding the constness of the interface.
2008-04-13 08:11:16 +00:00
asfernandes
0e8febd6e3
Misc
2008-04-10 02:35:30 +00:00
hvlad
fe3f8c184b
New EXECUTE STATEMENT with support of external data source implementation
2008-04-09 20:18:47 +00:00
dimitr
be8494e655
Adjustments upon discussion with Bill.
2008-04-04 19:45:22 +00:00
alexpeshkoff
46dac1b8e1
Added message for shutdown timeout failure
2008-04-04 14:04:55 +00:00
dimitr
580544fbd7
More changes targeted to a better error diagnostics.
2008-04-04 10:01:06 +00:00
dimitr
56617e6e22
Ooops. Wrong commit.
2008-04-01 13:47:10 +00:00
dimitr
37c1f5eba8
More details about arithmetical exceptions.
2008-04-01 13:47:09 +00:00
robocop
cc72b37c9a
Introduce more specific errors for date-time operations.
2008-03-28 13:21:59 +00:00
robocop
5ec7462d12
Restore the old error message for io_error.
2008-03-25 12:04:03 +00:00
alexpeshkoff
4d9db9e4fb
Added types of remote blocks
2008-03-24 15:19:12 +00:00
robocop
2ca5d0e4ab
Commit generated file after my messages2.sql changes.
2008-03-22 06:36:59 +00:00
dimitr
a0434798ff
Correction. We cannot have vtbl in child classes.
2008-03-20 16:38:37 +00:00
dimitr
492264980f
A bit better name.
2008-03-20 16:24:11 +00:00
robocop
36da6e9056
Misc fixed to the default messages.
2008-03-20 10:03:09 +00:00
dimitr
13f5cc92e1
Major cleanup of the old-style blk and allocator-based blk_type.
2008-03-19 16:09:00 +00:00
dimitr
4ce29e0624
Sync with SAS: Better diagnostics for some DYN errors.
2008-03-17 17:58:47 +00:00
hvlad
46a7a47953
Update codes after new error message added. Note, i added message at the place where it can be added in 2.1 release, not at the end of list as usual.
2008-03-17 10:29:13 +00:00
robocop
04106ddde6
More fixes for CORE-1600.
...
CORE-1777.
2008-03-12 07:33:12 +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
6fe139de30
Not sure who needs this file, but I updated it to reflect the deletion of rdb_codes.h; I would delete this file as well.
2008-03-07 09:18:55 +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
alexpeshkoff
7dacbbbd74
Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
...
Related cleanup.
2008-03-03 17:47:09 +00:00
dimitr
22081e1cd7
Cleanup.
2008-03-01 11:39:35 +00:00
alexpeshkoff
48e9858b57
fixed CORE-1756: AV in isc_start_transaction (isc_start_multiple)
2008-02-29 16:44:17 +00:00
robocop
f363882082
Switch to FB_ prefix.
2008-02-29 05:33:44 +00:00
robocop
2a0238254f
Make sqlstate a public type like status vector.
2008-02-28 09:35:49 +00:00
dimitr
ec513fd5cb
Ported SQLSTATE from Vulcan.
...
Part I: core changes.
2008-02-24 14:07:01 +00:00
dimitr
253765389a
Done CORE-1750.
2008-02-20 13:13:22 +00:00
robocop
0d1985d1f0
Misc, explicit constructors, extra commas in enumerations, constness, etc.
2008-02-02 16:57:15 +00:00
robocop
980b9e5176
I thought this DYN message deserves to be translatable.
2008-02-02 16:51:51 +00:00
asfernandes
aea2bcb354
Misc
2008-01-23 19:03:16 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
alexpeshkoff
68a4f26b0e
Fixing merge (generated headers)
2008-01-16 12:29:17 +00:00
dimitr
48e81dd58a
The merge is being fixed.
2008-01-16 12:22:11 +00:00
dimitr
17e5267603
The merge continued.
2008-01-16 07:15:01 +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
hvlad
2b47bbe55b
Revert files back after wrong commit
2007-11-19 00:21:18 +00:00
hvlad
86f1141328
Execute statement with support of external data source
2007-11-18 22:59:20 +00:00
robocop
4463333859
No more hpux (lowercase). To be reviewed by Paul Beach.
2007-11-17 10:26:09 +00:00
hvlad
5fb46701d1
Regenerate files
2007-11-15 23:05:40 +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
paulbeach
c823619e92
HPUX Port
2007-11-12 15:18:49 +00:00
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
alexpeshkoff
fc89b23b7f
added public method to make strings in vector permanent to StringsBuffer
2007-09-26 17:50:31 +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
paulbeach
1644f2cb64
MacOS Port into HEAD
2007-06-11 14:21:33 +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
skidder
91fa2c7080
Fix MSVC8/Win32 build. IMO, these things where not nice:
...
- Target-dependent global typedefs
- Target-dependent stuff in COMMON .cpp files
2007-04-26 19:30:15 +00:00
alexpeshkoff
8274d3213d
Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible
2007-04-25 14:10:47 +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
robocop
409ff041dd
Misc and replaced "IB" by "FB" where it made sense to me.
2007-02-11 09:04:54 +00:00
asfernandes
cec7eaa8b6
Some changes based on Claudio's comments
2007-01-21 15:35:35 +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
alexpeshkoff
1a4652f01a
Trusted authentication for windows
2006-12-08 18:38:15 +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
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