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

1638 Commits

Author SHA1 Message Date
alexpeshkoff
320f7c86b6 Fixed segfault in DEV_BUILD 2011-06-08 09:27:04 +00:00
alexpeshkoff
6249be4f9f Fixed posix build 2011-06-08 06:38:32 +00:00
hvlad
e6329b0663 Make TA work with 2.1 clients and not crash. Thanks to Alex. 2011-06-07 12:59:52 +00:00
asfernandes
f14ec26183 Misc. 2011-06-04 02:18:55 +00:00
asfernandes
64b3a55a80 Fixed CORE-3416 - Inserting Käse into a CHARACTER SET ASCII column succeeds. 2011-06-03 19:12:42 +00:00
asfernandes
e2bd4d0e55 Fixed CORE-3511 - Unquoted role names with non-ASCII characters passed in DPB are upper-cased wrongly. 2011-06-03 14:19:54 +00:00
asfernandes
5ffa6c77c8 Move v3 public include files to src/include/firebird. 2011-06-02 15:57:08 +00:00
asfernandes
7ad98cd292 Work in progress on the external engines API changes. 2011-06-01 01:44:54 +00:00
asfernandes
2c9dd7e1ff Misc. 2011-05-28 02:05:45 +00:00
alexpeshkoff
2f85b664d7 Avoid deadlocks in timers. Fixes use of timers to delay plugin modules unload. 2011-05-27 11:31:29 +00:00
hvlad
99c9c8e2db Enabled background threads (garbage collector and cache writer).
Introduced special kind of system attachments used in this threads and show its activity in monitoring.
2011-05-27 07:57:16 +00:00
asfernandes
62846d2e68 Make synchronization primitives work in the POSIX build. 2011-05-23 15:33:19 +00:00
asfernandes
717ef9c486 Misc. 2011-05-21 19:11:03 +00:00
asfernandes
19cbed237b Misc. 2011-05-21 18:56:02 +00:00
alexpeshkoff
e01eb34b0e Atomic operations: use gcc builtin functions instead asm, fix atomic_ops library use 2011-05-20 16:45:31 +00:00
alexpeshkoff
4641d2de68 Better interfaces hierarchy: all of them are derived from IVersioned 2011-05-19 16:24:46 +00:00
alexpeshkoff
85b3b5cf95 Interface for 2PC (distributed transactions coordinator) 2011-05-19 11:38:38 +00:00
mapopa
b95234da44 cleanup comment EKU: obsolete, replaced by _FILE_OFFSET_BITS 2011-05-19 11:12:20 +00:00
asfernandes
fb6c81f0dc Fix warning. 2011-05-14 21:44:07 +00:00
asfernandes
e4d1311b63 Correction. 2011-05-13 01:23:53 +00:00
asfernandes
d0c2265105 Misc. 2011-05-10 01:12:14 +00:00
hvlad
fef1f49c94 Shared page cache implementation 2011-05-09 10:15:19 +00:00
asfernandes
7915153e51 Misc. 2011-05-07 19:33:46 +00:00
hvlad
f40d569f3f Don't use placement new[] as its behavior is inconsistent between compilers 2011-05-03 12:03:16 +00:00
asfernandes
48fa5193e7 Invert the functionality of addSlash to fixPath. It was creating paths with double slashes in config files.
The right way to create paths in others places is with PathUtils::concatPath, and it don't need what addSlash was doing.
2011-04-30 18:23:04 +00:00
hvlad
8b635ddf38 Some refactoring and cleanup. 2011-04-30 11:38:00 +00:00
asfernandes
0b2ffeae81 Misc. 2011-04-30 02:28:31 +00:00
hvlad
eecde7801c Windows version of PlatformAtomicPointer 2011-04-29 19:11:43 +00:00
alexpeshkoff
c076b1d8c1 Added delay before unloading plugin module after last reference to that module outside plugin manager is gone 2011-04-29 16:24:27 +00:00
alexpeshkoff
b77154b2b5 Cleanup: make fb_atomic be the single file working with atomic operations and membars 2011-04-29 15:50:04 +00:00
hvlad
b0b1db9fc1 Typo and missed cast 2011-04-29 12:03:52 +00:00
hvlad
ff490e8f6a Cleanup and some comments 2011-04-29 11:34:35 +00:00
hvlad
59c4f7bb9f Let PlatformAtomicCounter::setValue() returns old value on Windows too 2011-04-29 11:12:29 +00:00
alexpeshkoff
09ecefd320 Fixed posix build 2011-04-29 09:25:06 +00:00
dimitr
dafd8c894e Misc. 2011-04-28 16:59:29 +00:00
hvlad
388ed56602 correction 2011-04-28 14:39:19 +00:00
hvlad
c65bbf74ca Preparing for the shared page cache : new sync objects ported from Vulcan 2011-04-28 14:35:58 +00:00
alexpeshkoff
256cb1e853 1. Use reference counted stable in global pool objects instead PublicHandle's validation.
2. Avoid massive segfaults when closing heavily loaded server.                                                                                 
3. Restored logic in YValve required for correct shutdown.                                                                                    
4. Do not change externally visible request body when preparing it.
2011-04-25 17:47:56 +00:00
hvlad
a98fb23229 Frontported fix for regression introduced by me in patch for CORE-3326 - too many unnecessary calls of ISC_check_process_existence().
Added defines to switch usage of fast mutex off if necessary.
2011-04-25 12:56:27 +00:00
asfernandes
abbc8975c2 Correction. 2011-04-18 19:21:34 +00:00
asfernandes
7cf1a31bda Misc 2011-04-17 16:04:43 +00:00
robocop
ac7cb9019f Misc. 2011-04-17 05:02:26 +00:00
asfernandes
27515ef82c Do not count selected records for IStatement::getAffectedRecords. 2011-04-16 21:59:19 +00:00
asfernandes
73543914c7 Misc. 2011-04-15 02:51:29 +00:00
asfernandes
c42405a0b4 License. 2011-04-14 13:21:21 +00:00
asfernandes
c63493ffba Added metadata support to IStatement. 2011-04-14 01:03:43 +00:00
asfernandes
b4056a0463 Misc 2011-04-13 15:09:18 +00:00
alexpeshkoff
437d841cfa Rolled back my commit using IBlrMessage interface. Replaced with single plain structure FbMessage. 2011-04-13 12:41:40 +00:00
hvlad
60b1b19a20 Let config file detects literals "true", "yes" and "y" as TRUE boolean values. 2011-04-12 12:47:33 +00:00
alexpeshkoff
bbf146f918 Renamed a number of functions to match Dmitry's requirement 2011-04-11 11:12:21 +00:00
alexpeshkoff
9a4689d3e9 Use interface IBlrMessage instead passing C++ class pointer to API interface's functions 2011-04-08 16:43:05 +00:00
alexpeshkoff
4c3f87d6bd Continued renaming interfaces. Added comments 2011-04-08 15:18:50 +00:00
alexpeshkoff
5c88e478f6 Use better names for a number of objects according to Vlad's suggestion 2011-04-07 17:16:00 +00:00
asfernandes
e01b9567a9 Fixed CORE-3427 - Server crashing with UTF8 blobs. 2011-04-05 18:02:28 +00:00
asfernandes
03ce334e2b Misc 2011-04-04 13:37:47 +00:00
robocop
be6852c25b Misc, style, etc. 2011-04-02 04:50:25 +00:00
robocop
8838103d0e Explicit and others. 2011-04-02 04:16:48 +00:00
robocop
02cca7f6cb Fix legacy code. 2011-04-02 04:13:03 +00:00
robocop
62a1685618 Misc. 2011-04-02 04:11:41 +00:00
asfernandes
b688dc04a8 Misc 2011-04-01 02:05:19 +00:00
alexpeshkoff
9ef53b65e0 Remove reference counting where not appropriate 2011-03-31 13:44:22 +00:00
dimitr
b8d5f6f24a Applied patch for CORE-3412: Array with BOOLEAN. Bug in sdl_desc [sdl.cpp]. Thanks to Dmitry Kovalenko. 2011-03-30 08:14:42 +00:00
asfernandes
e4658d76c3 Misc 2011-03-20 16:24:46 +00:00
alexpeshkoff
7761fcd22f Fixed CORE-3397: Unresolved symbols in intl and trace libraries 2011-03-18 17:48:20 +00:00
hvlad
72a9eb2fc8 Missed initialization 2011-03-18 13:11:32 +00:00
hvlad
d018caf680 Missed code 2011-03-18 12:28:58 +00:00
asfernandes
6534883d94 Misc 2011-03-18 02:00:11 +00:00
alexpeshkoff
f6914b8db0 Added timer-related interfaces. Added helper method to wait for plugin to be released on shutdown. Misc stability changes in PluginManager. 2011-03-16 11:04:04 +00:00
asfernandes
146448b877 Misc 2011-03-06 01:06:36 +00:00
alexpeshkoff
7c8bacb692 Detect forced unload of plugin by OS when process is exited 2011-03-04 15:49:37 +00:00
alexpeshkoff
0a7c3fc69d Fixed CORE-3369: first step to make it possible to specify non-default security database for specific database 2011-03-02 13:42:56 +00:00
asfernandes
0193d90f6c Fix definition and usages of fb_assert. 2011-02-26 16:03:36 +00:00
hvlad
d756a02f89 Fixed bug CORE-3351 : Windows client could put 10054 error messages into firebird.log at connection time 2011-02-15 10:10:57 +00:00
dimitr
1c1e858227 Sorry, but I've got tired of these endless warnings. 2011-02-06 16:19:55 +00:00
asfernandes
7800060e22 Misc 2011-02-04 23:58:10 +00:00
hvlad
8fa43498d5 Fixed bug CORE-3326 : Fast mutex could be left in locked state by dead process 2011-02-02 12:11:05 +00:00
hvlad
7df6fb552f Correction for previous commit 2011-02-02 11:56:48 +00:00
hvlad
0c73f2caef Fixed bug CORE-3325 : At high load it is possible that new process could fail to map shared memory 2011-02-02 11:51:24 +00:00
alexpeshkoff
172cc477d3 Fixed order of function calls, thanks to Dmitry Kovalenko 2011-01-31 14:05:12 +00:00
asfernandes
248ddfa04a Misc 2011-01-28 00:58:32 +00:00
alexpeshkoff
eb11598570 Implement Thread::kill for posex threads. Do not support separate Thread::closeHandle - move it inside kill and waitForCompletion 2011-01-24 16:36:29 +00:00
hvlad
433114a847 Refactor open events cache to avoid atexit handler which could crash process on DLL unload. 2011-01-24 14:10:14 +00:00
hvlad
1e6135ec40 Fixed main reason of AV at engine DLL unload time. More fixes will follow soon. 2011-01-24 13:20:25 +00:00
hvlad
dca44e309d Make it compiles on Windows after Alex's changes. MSVC10 build will follow later. 2011-01-24 12:51:32 +00:00
asfernandes
ffb28dfc3d Misc 2011-01-22 17:15:52 +00:00
alexpeshkoff
a6f11f4add Avoid use of negative block size for small blocks 2011-01-21 17:18:40 +00:00
alexpeshkoff
511daaca67 warnings 2011-01-21 16:43:49 +00:00
alexpeshkoff
02391c5932 Unavoidable casts when working with printf() return value 2011-01-21 16:38:49 +00:00
alexpeshkoff
33f4aa923a fixed bug in my previous commit 2011-01-20 09:18:37 +00:00
alexpeshkoff
2cf062e317 Front-ported fix for CORE-3297: nbackup exits without info when firebird.conf is missing. Make all utilities run without firebird.conf - only server requires it's presence. 2011-01-19 17:24:49 +00:00
alexpeshkoff
24713815b8 misc 2011-01-19 16:58:54 +00:00
alexpeshkoff
e5b62e9789 Misc 2011-01-19 07:15:00 +00:00
asfernandes
768ab2d6fb Misc 2011-01-17 19:28:45 +00:00
alexpeshkoff
ddaddccb97 Fixed bug, found by Adriano - destructor of statically allocated factory should better never be called 2011-01-17 12:17:24 +00:00
alexpeshkoff
8cab237153 cleanup 2011-01-16 17:45:25 +00:00
asfernandes
233093cee4 Misc 2011-01-16 02:16:15 +00:00
alexpeshkoff
d6fcde387b New plugin manager. Use it for all types of plugins. 2011-01-14 17:31:40 +00:00
asfernandes
c9ec26c0c3 Feature CORE-726 - Boolean data type 2010-12-18 02:17:06 +00:00
alexpeshkoff
b53812548a Damyan's patch for MIPSEB 2010-11-22 15:44:33 +00:00
alexpeshkoff
a5c6b04441 This should fix first problem in BSD build 2010-11-22 08:23:38 +00:00
asfernandes
7b579d2f85 Fixed a source of many warnings when using clang 2010-11-21 21:22:20 +00:00
asfernandes
b46abf3984 Misc 2010-11-21 02:36:57 +00:00
alexpeshkoff
d5afc7aaeb Correction for improvement CORE-3248: Set unused bytes of varchar values in message buffer to 0 2010-11-19 17:35:24 +00:00
alexpeshkoff
e51722e906 misc 2010-11-19 17:09:05 +00:00
dimitr
fbb34b249f Front ported CORE-3059: RemoteFileOpenAbility fails on Windows. 2010-11-18 11:40:10 +00:00
asfernandes
1f92097d59 Misc 2010-11-13 01:50:12 +00:00
alexpeshkoff
1c5fc68b1f Fixed CORE-3229: Records: "operating system directive open failed, Too many links" in firebird.log 2010-11-12 12:19:53 +00:00
alexpeshkoff
9c81026641 Fixed CORE-3212: Error compile 2.5 for FreeBSD 2010-11-11 13:56:13 +00:00
alexpeshkoff
56cffa651b Damyan's patch to enable changing firebird.log filename 2010-11-10 12:43:56 +00:00
alexpeshkoff
de453fcfd3 Check for presence of ICU development package in configure, related cleanup 2010-11-08 18:12:03 +00:00
asfernandes
045c090a38 Misc 2010-11-06 18:56:46 +00:00
alexpeshkoff
db866e3a45 Make fb_string's length limit type-dependent 2010-11-04 16:22:42 +00:00
alexpeshkoff
3c4a864677 Clean up usage of inline keyword in my old code 2010-11-04 15:28:08 +00:00
alexpeshkoff
0ab6c4abf7 Avoid throwing C++ exceptions from authentication plugins 2010-10-28 08:02:42 +00:00
alexpeshkoff
ae516016bf Fixed performance issues when creating and destroying pools 2010-10-27 09:49:16 +00:00
asfernandes
b5cfdbf513 Misc 2010-10-27 00:32:58 +00:00
alexpeshkoff
3fc570d729 Patches from Damyan Ivanov 2010-10-25 15:48:35 +00:00
asfernandes
5c7e5ce634 Misc 2010-10-22 01:24:31 +00:00
hvlad
4182eb6781 Warning 2010-10-21 11:46:39 +00:00
hvlad
df8a6a2ff7 Corrections for new build system. Work in progress... 2010-10-20 22:00:34 +00:00
hvlad
6ebcb6311f Change names of monitoring and trace shared memory to allow FB3 to run simultaneously with previous versions of engine 2010-10-20 21:59:10 +00:00
alexpeshkoff
b31eb6fdf5 Changed libraries' names. Improved a bit ModLoader. 2010-10-19 13:48:56 +00:00
alexpeshkoff
605e08944c Fixed issues, found by clang 2010-10-15 15:53:38 +00:00
alexpeshkoff
8a9a09b0c5 CORE-3184: Committed Damyan's patch - support HW IDs from 2.5 2010-10-15 09:08:25 +00:00
alexpeshkoff
6d962037cb Fixed issue, detected by clang++ compiler 2010-10-14 06:11:15 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
hvlad
a16f3c4ea8 Corrections for new build system. Work in progress... 2010-10-13 09:23:01 +00:00
asfernandes
91384eb587 Misc 2010-10-12 17:40:27 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
18a6a6b4f9 More consts 2010-08-13 15:22:00 +00:00
asfernandes
38a4fb7be2 Misc 2010-08-11 15:33:06 +00:00
asfernandes
dadc0f560c Const correction for EVL, EXE and they subsystems. Adjustments to CMP and OPT. 2010-08-09 15:48:51 +00:00
alexpeshkoff
14962fb831 Damian's patch for additional CPUs under linux 2010-08-09 13:56:20 +00:00
robocop
4677d74e9b Misc. 2010-08-09 11:50:12 +00:00
hvlad
087a7f7cda Fixed bug CORE-3100 : Wait mode and lock timeout of external transaction of EXECUTE STATEMENT not matched to corresponding parameters of local transaction 2010-08-07 21:18:23 +00:00
asfernandes
3197757f00 Rename misleading TriStateType class name to Nullable 2010-07-29 00:20:53 +00:00
asfernandes
0b7c21172a Refactor CREATE/ALTER/DROP/RECREATE TABLE and DROP VIEW commands 2010-07-26 02:37:57 +00:00
hvlad
2c6529c303 Correction. 2010-07-24 11:22:57 +00:00
asfernandes
2cbc4e3675 Misc 2010-07-24 02:43:28 +00:00
alexpeshkoff
d24cd9cbd7 Implemented self-registering plugins format (same plugin can be easily linked statically
or as dynamic library, depending upon platform requirements). Self-registering plugins
need not export any functions, instead they call fb_register_plugin() on startup.

Reworked all user management to use self-registering plugins.

Removed system table RDB$USERS. PLG$USERS is not created automatically by plugin, but
will be later (work in progress).
2010-07-23 12:04:18 +00:00
dimitr
5c1c5ee7a9 Fixed the old bug which was left unnoticed until RC3 where Pair<MetaName, MetaName> was used as a key for a b-tree.
At the first glance, it promises only wrong ordering of items, but in fact it trashes the b-tree internals and crashes the server :-(
It's unregistered and undocumented, but being a very recent RC3 only regression, let's leave it this way.
I suppose the intended code should be !(v.first < this->first), but we have the operator == defined, so I used a simpler form.
2010-07-08 10:44:35 +00:00
asfernandes
20b0bbaf82 Refactor CREATE/ALTER/DROP DOMAIN 2010-07-06 00:49:33 +00:00
asfernandes
ab834d2ec1 Fixed CORE-3038 - The insert failed because a column definition includes validation 2010-06-12 16:28:11 +00:00
alexpeshkoff
c985b0a87d Mac port - use dispatch semaphores 2010-06-08 13:35:46 +00:00
asfernandes
e37d097240 Misc 2010-05-22 02:00:45 +00:00
alexpeshkoff
74a4aaacb6 Moved not auth-specific part of interface declaration to separate file 2010-05-20 15:02:31 +00:00
alexpeshkoff
ea1b1843d8 Cleaned up macro BOOT_BUILD, boot ObjModuleType in posix build and a lot of related steps in posix build 2010-05-18 13:32:30 +00:00
alexpeshkoff
b2da448e8c Fixed problems, noticed by Claudio and Adriano 2010-05-17 10:01:34 +00:00
asfernandes
d6e4b53865 Misc 2010-05-08 02:25:58 +00:00
alexpeshkoff
965b851b77 Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup 2010-05-06 13:42:20 +00:00
skidder
f540236674 Re-introduce access to DSQL debugging facility accidentally made inaccessible by Dmitry Y. during Firebird 2.5 development cycle. Also document it firebird.conf and enable it in PROD_BUILD. It is rather hard to debug DSQL compiler issues without intermediate trace output. 2010-05-01 13:47:39 +00:00
robocop
b682a6c39c Misc. 2010-04-21 10:41:22 +00:00
asfernandes
c0165e8c91 Dmitry changed that default value recently. So it seems the old one got wrong while syncing the code. 2010-04-16 01:44:10 +00:00
alexpeshkoff
88b8a40a04 1. Cleaned up most of SUPERSERVER usage.
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())

2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).

3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
dimitr
8c00b7c251 Fixed CORE-2966: Wrong results or unexpected errors while sorting a large data set. 2010-04-13 07:01:02 +00:00
dimitr
e0179c672d Cleanup. Let's finally use a single (and standard) behavior of the allocator. 2010-04-08 09:35:39 +00:00
dimitr
63babe1492 Changed the default page cache size for Classic, as discussed in fb-devel. 2010-04-08 04:15:08 +00:00
asfernandes
fe9bf02848 Refactor user and system functions nodes 2010-04-05 18:43:11 +00:00
dimitr
c8863d86b1 Fixed fbclient/fbembed being loaded from non-FB-instance location. 2010-03-29 10:54:18 +00:00
alexpeshkoff
f5970e2fca Cleanup SUPERCLIENT - always use same method to get automatic pool 2010-03-24 12:11:59 +00:00
robocop
d0a9add6d0 Totally misc. 2010-03-24 07:02:30 +00:00
alexpeshkoff
26f9b12d04 Cleanup - SUPERCLIENT, never needed here to avoid throwing something in fbudf library now. To be explicit marked used methods (which really never throw something) as "throw()" 2010-03-22 18:27:17 +00:00
dimitr
d3b0f4db34 A (temporary?) solution to prevent dependencies from SUPERCLIENT/EMBEDDED in the root directory determination.
To be reconsidered later, if necessary.
2010-03-21 09:50:39 +00:00
robocop
28eb2aba81 Style. 2010-03-15 06:39:09 +00:00
asfernandes
d3ad05b7eb Misc 2010-03-14 15:33:06 +00:00
alexpeshkoff
c933ba6af6 Make config files case-insensitive 2010-03-11 14:46:19 +00:00
asfernandes
9463ffe238 Misc 2010-03-08 01:21:24 +00:00
robocop
be3660d221 Misc. 2010-03-07 04:30:35 +00:00
alexpeshkoff
34cf00e326 Removed RootDirectory parameter from firebird.conf and enabled use of vulcan-style macro in it 2010-03-05 17:21:18 +00:00
alexpeshkoff
e344287aa0 Make all configuration files case-sensitive 2010-03-04 12:52:01 +00:00
asfernandes
06e6e0531b Misc 2010-03-04 02:16:55 +00:00
alexpeshkoff
d6fcd8eb63 It was bad idea to make two TempSpace related parameters per-database - rolled back some changes 2010-03-03 15:02:01 +00:00
alexpeshkoff
fdbf8dd2bc Make this variable volatile - thanks to Adriano 2010-03-02 15:13:55 +00:00
alexpeshkoff
c8071aee27 comments 2010-03-02 14:52:55 +00:00
alexpeshkoff
e3d3d8e3fb Moved template function to .h file 2010-03-02 14:48:37 +00:00
alexpeshkoff
aee38abecd Clear value here - thanks to Claudio 2010-03-02 14:25:54 +00:00
hvlad
692878348e Lets be independent from internal representation of time_t type 2010-03-02 10:23:37 +00:00
hvlad
05f3d82854 Lets report missing file name ;) 2010-03-01 09:03:00 +00:00
hvlad
7e437dd384 Fixed Windows build after recent changes 2010-03-01 08:19:47 +00:00
asfernandes
77a2706b73 Misc 2010-03-01 02:14:36 +00:00
alexpeshkoff
e5017f1a12 Extend format of firebird configuration file with a set of additional parameters for any parameter.
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
asfernandes
5cb37fda71 Misc 2010-02-11 01:08:20 +00:00
alexpeshkoff
8f86a54bbd const correctness 2010-02-08 13:39:37 +00:00
robocop
7ffc4d001f Misc. 2010-02-08 07:57:33 +00:00
robocop
be4ecc52c6 Leave this clause in two lines for easier debugging, please. 2010-02-08 07:57:08 +00:00
alexpeshkoff
08a8ee9f42 Make InitInstance release objects, created by it 2010-02-07 15:13:28 +00:00
alexpeshkoff
239e9708bb Always convert arg_cstring to arg_string when saving strings in circular buffer 2010-02-07 13:17:41 +00:00
alexpeshkoff
50f1294ec3 Fixed copy of cstring in status vector 2010-02-07 10:16:04 +00:00
asfernandes
a454b705d0 Misc 2010-01-28 15:01:57 +00:00
robocop
2b13bcfa2a Style. 2010-01-27 04:33:36 +00:00
robocop
446097fe8e Be explicit, change "qualifier" to "package" in QualifiedName (needed anyway if/when schemas are added). 2010-01-27 04:32:27 +00:00
alexpeshkoff
da12b517a5 Make ctor/assign with explicitly given bytes count more generic 2010-01-26 15:14:47 +00:00
robocop
1d87d749f0 Misc. 2010-01-26 08:20:27 +00:00
robocop
94b6451014 Allow QualifiedName to interact with StatusArg. 2010-01-26 07:32:12 +00:00
asfernandes
eb9eef9d77 Misc 2010-01-24 15:18:43 +00:00
alexpeshkoff
dc3f505ccb Cleanup, suggested by Claudio 2010-01-24 15:16:23 +00:00
alexpeshkoff
fa6607bd24 Fixed unregistered bug - invalid datetime2string conversion, reported by Claudio 2010-01-23 14:14:16 +00:00
alexpeshkoff
55e717f810 Moved authentication code from engine to remote listener.
Get ready for authentication plugins.
2010-01-22 14:55:11 +00:00
asfernandes
2faab16698 Misc 2010-01-21 02:51:32 +00:00
robocop
14b9cbab5a Totally misc. 2010-01-20 08:25:37 +00:00
hvlad
abfb67edbb Fixed bug when huge memory chunk (more than 2GB) is released 2010-01-19 12:50:43 +00:00
asfernandes
7de2c38703 Misc 2010-01-09 22:15:18 +00:00
asfernandes
72fab0e317 Update way to deliver parameterized exceptions so the client doesn't need special handling 2010-01-08 14:13:12 +00:00
asfernandes
be859980ea Feature CORE-832 - Parameterized exceptions 2010-01-07 00:16:50 +00:00
asfernandes
7e18d760ab Fix segmentation fault running tcs SVC_API_SWEEP_DB 2010-01-02 21:34:39 +00:00
robocop
dc978c61e9 Style. 2010-01-02 02:02:17 +00:00
asfernandes
e13a0e3865 Misc 2010-01-01 20:23:52 +00:00
asfernandes
fc370c986e A new way to use PreparedStatement. That one preserves code readability and is very like the preprocessed code. 2009-12-31 17:08:07 +00:00
alexpeshkoff
443f261abf Introduce isc_dpb_version2 - format is WideTagged. 2009-12-30 15:24:16 +00:00
alexpeshkoff
4f58f8ef67 removed wrong assertion 2009-12-30 15:16:32 +00:00
hvlad
a3ab95f8f6 All memory allocations should be ALLOC_ALLIGMENT aligned.
It fixed bug in Win64 DEBUG build.
2009-12-29 12:46:53 +00:00
dimitr
00bc7b9025 Cleanup the deprecated configuration stuff. 2009-12-28 13:27:10 +00:00
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +00:00
robocop
13a8d5488f Get rid of the obsolete option CompleteBooleanEvaluation in the config file. We always do short-circuit boolean logic. 2009-12-21 07:01:24 +00:00
alexpeshkoff
f2753b7e86 Frontported changes to make -Direct switch of nbackup accept on/off parameter 2009-12-18 14:06:28 +00:00
alexpeshkoff
4f249d5269 Frontported - fixed delivery of status vector from service thread 2009-12-18 12:42:26 +00:00
alexpeshkoff
c569345201 Some more changes suggested by Claudio 2009-12-16 13:40:26 +00:00
alexpeshkoff
3b95a6b5b4 Fixed an issue with gsec compatibility with previous versions 2009-12-16 11:25:50 +00:00
robocop
dae574f7f1 Misc, style and unused vars. 2009-12-13 10:41:53 +00:00
aafemt
83261600c1 Fix MinGW build 2009-12-13 09:43:02 +00:00
asfernandes
a035a92ce2 Misc 2009-12-06 02:40:03 +00:00
asfernandes
e99a07bffd Remove usage of tdbb (and tdbb->tdbb_status_vector) in the lock manager 2009-12-06 01:34:57 +00:00
asfernandes
7a78601ef2 1) Use metadata character set in DSQL cache
2) Make exceptions in metadata charset and convert them to the client charset - this should fix CORE-2431
3) Support for "internal" (engine) DSQL statements and use in COMMENT ON
2009-12-05 14:21:52 +00:00
robocop
44c469b51a Misc. 2009-12-01 05:35:54 +00:00
alexpeshkoff
34d79c9c3f Fixed CORE-2728: Access Violation when trying to add an user that already exists 2009-11-30 12:10:47 +00:00
asfernandes
9ec1c36a55 Cleanup 2009-11-28 19:39:23 +00:00
robocop
9af5ae7f8d Style. 2009-11-23 05:24:29 +00:00
robocop
f7957e6910 Totally misc. 2009-11-16 09:03:49 +00:00
asfernandes
1e794dc51d Fix typo 2009-11-15 18:38:34 +00:00
robocop
b9106f313b Warnings. 2009-11-14 09:20:54 +00:00
robocop
6f0d002188 Misc. 2009-11-14 09:19:45 +00:00
asfernandes
cefe295ad9 Misc 2009-11-14 01:20:33 +00:00
alexpeshkoff
4f54fd68e8 Frontported improvement CORE-2748: allow gsec to grant RDB$ADMIN role in the security database 2009-11-13 19:00:09 +00:00
alexpeshkoff
8bfa0a37a2 Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed 2009-11-13 18:29:06 +00:00
asfernandes
0b2a994c27 Misc 2009-11-13 01:36:09 +00:00
verbguy
6fe23f8f33 commit missing Solaris inline assembly routines - SPARC and AMD64 2009-11-10 15:53:38 +00:00
verbguy
09b03c3196 fix Sun Studio build - int64_t type name is unknown 2009-11-10 15:16:30 +00:00
alexpeshkoff
ae14324dbe Added license 2009-11-06 18:09:00 +00:00
asfernandes
87e274b76a Misc 2009-11-06 01:21:14 +00:00
alexpeshkoff
1742eca1f3 Use correct type in class instead adding static_cast<> here and there 2009-11-05 11:56:26 +00:00
robocop
08a33d50cc Unfortunately several of these are intertwined:
CORE-462 	 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 	 Utilities need a more coherent way to show help and version
CORE-2541 	 Too many hardcoded messages in nbackup
CORE-2542 	 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 	 nbackup may hide the real cause of failure
CORE-2545	 Lack of several validations in gbak
CORE-2547 	 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 	 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
robocop
55d60892ca Warnings. 2009-11-05 08:29:33 +00:00
robocop
01237d509d Misc. 2009-11-05 08:27:03 +00:00
hvlad
996ce01cb5 Fix Win32 build 2009-11-04 15:48:17 +00:00
hvlad
cd4502a7bb Make WIN32 build work. To be reviewed by Alex. 2009-11-04 15:18:38 +00:00
robocop
f9a571343f Misc. 2009-11-04 13:05:30 +00:00
alexpeshkoff
bc99c22556 Some hanges suggested by Claudio, also fixed compile errors 2009-11-04 11:37:10 +00:00
robocop
1990db7c9c Misc (hope the change is for better). 2009-11-04 10:51:27 +00:00
alexpeshkoff
c40737ca56 cleanup unused NDEBUG macro 2009-11-04 10:04:33 +00:00
alexpeshkoff
d91792c9e2 Added initialization - thanks to Adriano 2009-11-04 09:50:37 +00:00
alexpeshkoff
27ca1a00dd Added forgotten new file - thanks to Adriano 2009-11-04 09:39:25 +00:00
asfernandes
bcee7417c4 1) Misc; 2) Fix bad indenting 2009-11-04 00:20:56 +00:00
verbguy
5148da5cd8 fix Sun Studio error, "a union member cannot have a user-defined assignment operator," per Adriano's suggestion 2009-11-03 15:02:11 +00:00
alexpeshkoff
00affefdb0 Small fixes after changing memory manager 2009-11-03 13:33:53 +00:00
alexpeshkoff
4dc99001af Vulcan improvement - keep reason of locking to be viewed by debugger 2009-11-03 13:31:24 +00:00
alexpeshkoff
2d0701f96e Merged vulcan memory pools 2009-11-03 13:30:37 +00:00
robocop
a8b74e0a3b CORE-1712: Another B.O. bites the dust. 2009-11-03 10:00:57 +00:00
verbguy
5e904927f7 front port recent 2.5 HPUX changes 2009-11-02 21:08:58 +00:00
asfernandes
4a3d198ade Misc 2009-10-31 01:46:06 +00:00
robocop
b304b96224 Misc. 2009-10-30 10:43:42 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
asfernandes
5f852e3bd1 Misc 2009-10-08 00:21:27 +00:00
alexpeshkoff
7d08867e27 Fixed CORE-2669: Enhance diagnostics in case of status vector overflow 2009-10-07 08:22:01 +00:00
alexpeshkoff
749675cf6d Cleanup 2009-10-06 12:51:34 +00:00
alexpeshkoff
fbda7f245e Fixed CORE-2439: Add FIX_FSS_DATA and FIX_FSS_METADATA into the server 2009-10-05 10:26:59 +00:00
alexpeshkoff
d0f2c3a623 Assertion added 2009-09-30 08:51:04 +00:00
asfernandes
90dfb9a411 Misc 2009-09-30 01:10:11 +00:00
verbguy
56f291e05f HP-UX changes - 64-bit atomic counters, support for HP-UX 11 v2, and small tweak of build options 2009-09-29 19:13:51 +00:00
alexpeshkoff
b19dacee16 Ported fix for CORE-2634: Performance regression when restoring database with big metadata 2009-09-29 10:35:16 +00:00
verbguy
45bbbe0613 Improvement CORE-2619: make Solaris 10 atomic counters 64-bit 2009-09-28 17:14:24 +00:00
robocop
19323b3801 Misc. 2009-09-22 09:44:03 +00:00
alexpeshkoff
0396da5147 Improvement CORE-2619: make atomic counters 64-bit for 64-bit builds on AIX, linux and with libatomic 2009-09-22 09:08:57 +00:00
asfernandes
2c4ff818df Misc 2009-09-17 15:55:18 +00:00
verbguy
d80913a37e Fixed CORE-2315: Better definition of FLOAT_MAX. Tested on AIX. 2009-09-15 15:47:22 +00:00
alexpeshkoff
dda4cd784b Take into an account case sesitivity - thanks to Claudio 2009-09-14 07:48:54 +00:00
asfernandes
c34a508256 Misc 2009-09-12 01:34:26 +00:00
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
robocop
38b621fd1b Misc. 2009-09-10 06:04:54 +00:00
hvlad
46a72fcc51 Improvement CORE-2619 : Make memory and other statistics to work with 64-bit values.
Part (a) for Win64 - allow Win64 builds of engine to account memory stats using 64-bit values
2009-09-09 10:23:54 +00:00
asfernandes
9902dfc555 Fix problem verified by Claudio 2009-09-06 15:42:15 +00:00
robocop
dfd4b2114c Misc. 2009-09-06 06:24:07 +00:00
asfernandes
11ecb659e4 Misc 2009-09-05 18:18:44 +00:00
asfernandes
c8a6620661 Fixed CORE-2615 - Silent truncation when using utf8 parameters and utf8 client character set encoding 2009-09-04 15:20:48 +00:00
asfernandes
d8f739f53c Misc 2009-09-03 01:28:54 +00:00
robocop
0f671fc249 Misc. 2009-09-02 09:04:10 +00:00
hvlad
1fff28ee80 Fixed VC8 build 2009-09-02 08:02:47 +00:00
robocop
43962281d4 Misc and isolate the win9x code even more. 2009-09-02 04:23:02 +00:00
alexpeshkoff
404f2b7c0b Avoid suspicious ctor according to Claudio's request 2009-09-01 10:36:30 +00:00
hvlad
a6cb268489 Optimize a bit 2009-09-01 09:44:19 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
skidder
aca5a83a46 Fixed CORE-2609: Update support for Windows 98/ME and NT4.0 2009-08-30 19:00:46 +00:00
dimitr
cc46e2cdac Grammar. 2009-08-30 10:08:19 +00:00
skidder
2b9fa8cf4e Support for filesystem cache size management needed to work with large databases on modern Windows hosts (64-bit - starting with XP, 32-bit - starting with Vista) 2009-08-29 19:55:23 +00:00
robocop
09033f5e82 Warnings from Bill Oliver. 2009-08-27 09:51:55 +00:00
alexpeshkoff
10de4096a5 misc 2009-08-27 08:07:06 +00:00
asfernandes
8c0b380fac Misc 2009-08-27 02:19:36 +00:00
robocop
cb7fee92da Misc. 2009-08-26 14:50:54 +00:00
alexpeshkoff
9a325bd8b5 Avoid need in StringsBuffer when processing serious system errors 2009-08-26 13:08:54 +00:00
asfernandes
50102f6f4c Misc 2009-08-23 01:27:46 +00:00
dimitr
7ad1ec32a5 The same logic just expressed differently. 2009-08-21 11:59:57 +00:00