asfernandes
a4a71bbea5
Correction.
2011-05-21 18:55:14 +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
asfernandes
983686d71c
Added IRoutineMetadata to external engines.
...
Not well tested:
1) EE is broken after shared page cache.
2) Semantics of addRef/release still keeps changing in developers minds.
2011-05-15 15:37:11 +00:00
asfernandes
5e854fe20f
Remove "#pragma GCC system_header". Current build with GCC 4.5.2 and clang 2.8 shows no related warning.
...
This pragma was interfering with -MMD dependency output, causing crashes after full build when the API is changed.
2011-05-08 17:53:37 +00:00
asfernandes
69dc52ba48
Integrate IAttachment and ITransaction in the external engines API.
2011-05-07 19:52:44 +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
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
asfernandes
b781d62d4a
Make the new BLOB API use void* buffers, so applications can read/write char* strings or any other type without casts.
2011-04-15 18:54:02 +00:00
asfernandes
c63493ffba
Added metadata support to IStatement.
2011-04-14 01:03:43 +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
alexpeshkoff
bbf146f918
Renamed a number of functions to match Dmitry's requirement
2011-04-11 11:12:21 +00:00
asfernandes
04bb4ba305
Remove unused parameter and rename a constant.
2011-04-09 20:00:00 +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
204b0b8d32
Remove CleanupCallback from the public header.
2011-04-02 21:41:17 +00:00
asfernandes
20bfe736bb
New YValve implementation.
2011-04-02 19:38:50 +00:00
alexpeshkoff
9ef53b65e0
Remove reference counting where not appropriate
2011-03-31 13:44:22 +00:00
asfernandes
166c41c5b1
Move transactRequest, createBlob, openBlob, getSlice, putSlice and ddl from ITransaction to IAttachment.
...
It's better to have one standard than two, and "ddl" was broken from API POV.
So make the IAttachment always the caller, explicit or implicit (via IStatement or IRequest), and pass the ITransaction as parameter.
2011-03-21 21:56:47 +00:00
asfernandes
c863db6e6d
Removed commented out Sqlda support and rename methods removing the word 'messsage'.
2011-03-20 19:15:55 +00:00
asfernandes
34fd6866bc
Remove unused message types.
2011-03-20 19:15:13 +00:00
asfernandes
d9f90b811f
Names
2011-03-20 19:14:28 +00:00
asfernandes
2ce201f4ae
Use MessageBuffer in executeMessage and fetchMessage.
2011-03-20 19:14:03 +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
bbbab07d82
Misc
2011-03-10 15:54:52 +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
97da335f60
Removed the legacy DSQL hash table module (HSHD).
2011-02-26 21:52:47 +00:00
asfernandes
2096bd7239
Refactor DSQL exceptions: nod_on_error, nod_sqlcode, nod_gdscode, nod_exception and nod_default.
2011-02-25 02:52:51 +00:00
asfernandes
f26d9a4b14
Fixed CORE-3201 - ATAN2 returns incorrect value for (0, 0).
2011-02-03 14:51:50 +00:00
alexpeshkoff
89d82bd9fc
MT safety and exceptions processing in upgradeInterface
2011-02-01 13:11:30 +00:00
asfernandes
b0f702e7bd
Another small refactor on variables in DSQL.
2011-01-31 14:47:41 +00:00
alexpeshkoff
6a2a22ec28
It was useless here
2011-01-19 17:22:19 +00:00
alexpeshkoff
86df15917b
Fixed calling conventions in interfaces - thanks to Dmitry Kovalenko
2011-01-17 14:13:57 +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
asfernandes
9c42d4e5af
Finish the statements refactor in the engine. Get rid of jrd_nod.
2010-12-04 22:15:03 +00:00
dimitr
7eded400e8
Let's clearly distinguish between deterministic and invariant functions, they're not the same thing actually. Runtime optimization usage is to be re-considered, if necessary.
...
Warning: this includes an ODS change, please boot-build.
2010-11-13 15:03:44 +00:00
dimitr
086adbac30
Fixed the Windows build.
2010-11-11 07:41:56 +00:00
alexpeshkoff
0ab6c4abf7
Avoid throwing C++ exceptions from authentication plugins
2010-10-28 08:02:42 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
alexpeshkoff
c6932824f7
Full fix for CORE-3024
2010-10-13 09:15:48 +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
ad57aa29a1
Refactor CREATE/ALTER/CREATE OR ALTER/RECREATE VIEW and cleanup related to previously refactors
2010-08-02 02:22:26 +00:00
asfernandes
96cd57ba83
Better error reporting and adjustments
2010-07-29 00:36:31 +00:00
asfernandes
0b7c21172a
Refactor CREATE/ALTER/DROP/RECREATE TABLE and DROP VIEW commands
2010-07-26 02:37:57 +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
alexpeshkoff
88db8b2fbc
ODS change: made RDB$USERS system table, added virtual table SEC$USERS
2010-07-09 12:51:05 +00:00
asfernandes
f2c938d9fa
Refactor CREATE/DROP COLLATION
2010-06-26 01:52:06 +00:00
asfernandes
b36b9764ce
Misc
2010-04-16 02:31:36 +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
ab42a23369
Corrections for SQL states.
2010-04-09 08:03:41 +00:00
asfernandes
68b5c1df6f
Cleanup
2010-04-07 16:32:12 +00:00
asfernandes
fd8a4d3b00
Small cleanup
2010-04-06 01:13:22 +00:00
alexpeshkoff
bf0c113988
Cleanup SUPERSERVER - this code is not needed in FB3
2010-03-23 11:55:09 +00:00
asfernandes
2ed85aef29
Misc
2010-03-21 23:01:30 +00:00
dimitr
8e579e0359
Commit the forgotten file, sorry.
2010-03-21 17:55:41 +00:00
asfernandes
77a2706b73
Misc
2010-03-01 02:14:36 +00:00
asfernandes
55b245bbac
Implement Claudio' suggestion of explicit message about access to private packaged routines
2010-02-25 15:56:39 +00:00
robocop
e5cd58ecbe
I hope nobody will mind if I reuse this constant for the future.
2010-02-14 10:57:30 +00:00
alexpeshkoff
43653efb47
Reserved error code for 2.5 fix
2010-02-01 14:04:05 +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
dimitr
b795f91267
Misc.
2010-01-14 08:42:33 +00:00
asfernandes
9c1bab1793
Feature CORE-1385 Identity columns - in its basic form
2010-01-13 19:14:15 +00:00
asfernandes
7c47718d68
Move DYN constants to private header
2010-01-10 17:56:57 +00:00
asfernandes
be859980ea
Feature CORE-832 - Parameterized exceptions
2010-01-07 00:16:50 +00:00
asfernandes
4dc5b55f74
Misc
2010-01-04 00:43:45 +00:00
robocop
8141afe475
Put more strings into the msg db.
2010-01-03 10:46:42 +00:00
robocop
a2f34c1dbc
Put more strings into the msg db.
2010-01-02 09:42:09 +00:00
asfernandes
06a3d020b2
Misc
2010-01-01 18:45:30 +00:00
asfernandes
76ec6d6bdb
Remove the noisy of msgs.h when new messages are added
2010-01-01 18:10:35 +00:00
robocop
7d47e6217d
Set ODS8 (IB4.0) as the minimum requirement to backup a db. Establish previous enhancements (belonging to older ODS versions) as always present, then clean the code. Added two messages, too.
2010-01-01 09:53:49 +00:00
asfernandes
a5ab8a2b33
Make referencing and execution (try) of unimplemented packaged routines work correctly
2009-12-31 11:24:28 +00:00
robocop
08819b1224
Silence these two warnings for now.
2009-12-31 09:07:59 +00:00
alexpeshkoff
443f261abf
Introduce isc_dpb_version2 - format is WideTagged.
2009-12-30 15:24:16 +00:00
asfernandes
29df794a24
Fixes and completions for packages
2009-12-29 15:27:58 +00:00
robocop
bf3fbd05c3
Comment unused items.
2009-12-29 12:56:09 +00:00
asfernandes
d8c99a9be2
1) Make procedures and functions member of the same hierarchy (Routine class)
...
2) Some completion for external functions
2009-12-27 22:05:22 +00:00
robocop
5d9204657c
More appropriate name.
2009-12-26 13:24:39 +00:00
asfernandes
534b8c020e
Misc
2009-12-25 19:29:58 +00:00
robocop
273ef5b87c
Tabify and style.
2009-12-25 05:18:07 +00:00
asfernandes
d3ac9ac6cc
More refactoring: name changes, accessors, consts, removed not good references (statement referencing scratch and metadata indirectly)
2009-12-23 00:57:08 +00:00
dimitr
54b9459117
Support for PSQL functions.
2009-12-21 16:48:06 +00:00
dimitr
df3d4508d0
Error codes introduced for PSQL functions.
2009-12-21 16:38:49 +00:00
dimitr
fd6c858ba7
New system fields (ODS change).
2009-12-21 16:36:39 +00:00
alexpeshkoff
0b0650370a
Fixed error reporting in nbackup
2009-12-21 11:58:29 +00:00
asfernandes
20ed875d57
Replaced linked list of dsql parameters by array
2009-12-19 18:50:38 +00:00
robocop
c5c03c06c3
Correction (worked thanks to legacy-aware code).
2009-12-19 09:03:07 +00:00
alexpeshkoff
3d7a990876
Frontported detection of missing/invalid parameter in fbsvcmgr
2009-12-18 14:15:26 +00:00
alexpeshkoff
f2753b7e86
Frontported changes to make -Direct switch of nbackup accept on/off parameter
2009-12-18 14:06:28 +00:00
robocop
30eee9c993
Move more hardcoded messages to the msg db.
2009-12-18 12:01:44 +00:00
robocop
5f7d45be9b
Make more error messages non-hardcoded.
2009-12-17 10:50:40 +00:00
alexpeshkoff
1bb19c721d
Added switch to nbackup, controlling direct access to database file
2009-12-16 17:28:52 +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
alexpeshkoff
2ecf08fa75
Forgotten file?
2009-12-16 11:19:46 +00:00