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

173 Commits

Author SHA1 Message Date
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
alexpeshkoff
c881c9bc6c Always define appropriate macro before including pthread.h 2012-02-29 07:08:01 +00:00
alexpeshkoff
e3866b85b3 Fixed broken multi DB transaction - thanks to Adriano 2012-02-27 16:09:40 +00:00
asfernandes
435666cea5 Misc. 2012-02-26 14:27:27 +00:00
asfernandes
1198014fcf Renamed error constant/message by Alex request. 2012-02-25 13:55:04 +00:00
alexpeshkoff
488bd238c2 Fixed races in YValve 2012-02-24 12:25:26 +00:00
alexpeshkoff
8f9370ecda Minor debugging enhancement - makes it possible to watch name in dtor 2012-02-24 12:24:39 +00:00
asfernandes
0437488857 Misc. 2012-02-05 14:46:03 +00:00
asfernandes
27bb1f8bc1 1) Removed READ/WRITE BLOB sql commands. 2) Refactored request operations to fix server crashes. 2012-02-03 19:01:36 +00:00
robocop
21cd78a0fd Cleanup: unused functions, parameters & variables. 2012-01-24 03:37:43 +00:00
alexpeshkoff
4a852536ab Fixed segfault in case of error in queEvents() 2012-01-16 14:30:47 +00:00
alexpeshkoff
db80e18dc7 Fixed CORE-3658: FBSVCMGR connects to server as OS user name rather than value of ISC_USER environment variable 2011-12-30 14:11:24 +00:00
alexpeshkoff
e3f9db44cd Front-ported fix for CORE-3646: Segmentation fault in Linux 2011-12-29 17:48:59 +00:00
alexpeshkoff
1a4b65f4c2 Fixed overloaded virtual function error - thanks to Adriano 2011-12-26 10:05:29 +00:00
alexpeshkoff
7fb8ebd3a9 Fixed CORE-1898: Increase the password length from 8 characters, CORE-3372: Simplify process of non-default security database creation 2011-12-23 12:43:58 +00:00
asfernandes
1bb24e6c08 Fixed CORE-3238 - Makes GEN_UUID return a compliant RFC-4122 binary UUID and introduce CHAR_TO_UUID2 and UUID_TO_CHAR2 to convert UUIDs from/to string also complying with the RFC. 2011-12-20 14:30:41 +00:00
asfernandes
906ea4729e Misc. 2011-10-27 01:04:14 +00:00
asfernandes
cea1efd81b Feature CORE-3620 - Window function LAST_VALUE.
Feature CORE-3621 - Window function NTH_VALUE.
2011-10-25 15:04:17 +00:00
alexpeshkoff
69d29c3cf1 Diag 2011-10-25 08:45:39 +00:00
asfernandes
10496876fb Feature CORE-3619 - Windows function FIRST_VALUE. 2011-10-23 21:27:55 +00:00
alexpeshkoff
3513087d98 Fixed services to make them work with trusted auth emulator and old client 2011-10-20 12:20:33 +00:00
asfernandes
c627005a89 Feature CORE-3626 - Subfunctions in PSQL and EXECUTE BLOCK.
Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBFUNC_1.output.

Also did:
- Refactor to share more code/data between procedures and functions.
- Fixed some PSQL functions problems.
2011-10-16 20:36:07 +00:00
asfernandes
eb5689ef0e Misc. 2011-10-07 02:33:02 +00:00
alexpeshkoff
70ddf7a875 Make services work correctly with multiple security databases 2011-10-04 12:51:57 +00:00
asfernandes
5ae632cf0b Feature CORE-1288 - Sub Procedures.
They're very simple for now. No access to parent variables nor to call neighbour procedures.

Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBPROC_1.output.
2011-10-02 22:11:41 +00:00
alexpeshkoff
56236f575e Fixed assertion - thanks to Adriano 2011-07-18 11:19:58 +00:00
asfernandes
06430c488b Fixed problems in public headers. 2011-07-12 16:07:05 +00:00
asfernandes
577e9e4b7e Misc. 2011-07-02 22:10:07 +00:00
alexpeshkoff
bba27cb187 Avoid some casts in yValve 2011-07-01 07:56:39 +00:00
hvlad
7cb28a7af6 Fixed some AV's reported privately 2011-06-29 20:18:37 +00:00
alexpeshkoff
13e0341fea Use interface-based API in remote server. Use stable "next" pointers in yvalve. 2011-06-29 09:41:47 +00:00
robocop
5ad96271e6 Misc. 2011-06-24 06:34:16 +00:00
asfernandes
9c84e1a03f Misc. 2011-06-15 00:47:19 +00:00
alexpeshkoff
40348295e1 Used upgradeInterface() in a number of places.
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
asfernandes
5ffa6c77c8 Move v3 public include files to src/include/firebird. 2011-06-02 15:57:08 +00:00
hvlad
ff3e53184a Fixed AV when transaction start failed 2011-06-01 14:09:57 +00:00
asfernandes
7ad98cd292 Work in progress on the external engines API changes. 2011-06-01 01:44:54 +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
asfernandes
a40a926f8b Fix attachment leak due to variable shadow in isc_start_multiple. 2011-05-25 00:54:59 +00:00
asfernandes
14f53d6d2a Misc. 2011-05-25 00:45:14 +00:00
asfernandes
c07b4f8aff Hope this fixes the windows build. 2011-05-24 22:39:35 +00:00
asfernandes
f43a768c92 Fix problems with new multi-db transactions implementation:
1) fb_get_transaction_handle access object of invalid type and crash
2) Attachment::createBlob/openBlob access object of invalid type and crash
3) isc_start_multiple creates YTransaction with NULL attachment and makes its constructor crash
2011-05-24 15:20:15 +00:00
alexpeshkoff
44370e0d82 Fixed isc_start_multiple() - thanks to Adriano 2011-05-23 11:45:48 +00:00
asfernandes
d4ba10b32a Misc. 2011-05-21 21:43:13 +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
f152094002 Destroy transaction only when next level returns success 2011-05-20 17:14:38 +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
8aca17dd5e Misc 2011-05-15 15:37:51 +00:00
asfernandes
f56cafbf7d Fix the build. 2011-05-11 15:57:45 +00:00
hvlad
db4d4df653 Avoid memory leaks due to wrong reference counting. 2011-05-11 14:24:45 +00:00
asfernandes
3ce54d2eda Misc. 2011-05-11 01:18:28 +00:00
hvlad
e6fd7c66e0 Temporary solution to not crash utilities working with embedded engine on exit. 2011-05-10 13:44:54 +00:00
asfernandes
69dc52ba48 Integrate IAttachment and ITransaction in the external engines API. 2011-05-07 19:52:44 +00:00
alexpeshkoff
62d6343ccf This should fix deadlock, noticed by Damyan 2011-05-03 07:43:23 +00:00
asfernandes
0b2ffeae81 Misc. 2011-04-30 02:28:31 +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
5ae0f9b3ca Fixed bug - thanks to Adriano 2011-04-26 08:03:20 +00:00
asfernandes
9754526943 Misc; reinterpret to static casts; correction in YRequest version. 2011-04-26 01:00:33 +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
robocop
93a3937214 Unused vars. 2011-04-17 05:04:24 +00:00
robocop
ac7cb9019f Misc. 2011-04-17 05:02:26 +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
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
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
asfernandes
8be570289d Misc 2011-04-09 19:27:59 +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
hvlad
b777663ea0 Fix by Alex to prevent crash at exit time 2011-04-06 12:06:04 +00:00
asfernandes
e88ac107cf Hope this avoid some crashs in exit. 2011-04-04 14:55:43 +00:00
asfernandes
03ce334e2b Misc 2011-04-04 13:37:47 +00:00
asfernandes
9119a7bc27 Fix the problem reported by Dmitry Kovalenko. 2011-04-04 12:40:39 +00:00
robocop
2be2422518 Solve compilation problem in Win32. Maybe better solution exists. 2011-04-03 04:05:36 +00:00
asfernandes
dc5f5b497f Fix things seen by Claudio. 2011-04-03 03:43:08 +00:00
robocop
6a201351e0 Warnings. 2011-04-03 03:03:23 +00:00
asfernandes
311e68d53a Fix problems with commit/rollback-retaining seen by Claudio. 2011-04-03 01:58:14 +00:00
asfernandes
204b0b8d32 Remove CleanupCallback from the public header. 2011-04-02 21:41:17 +00:00
asfernandes
1a9f678844 Rework on the SQLDA support. 2011-04-02 19:39:27 +00:00
asfernandes
20bfe736bb New YValve implementation. 2011-04-02 19:38:50 +00:00
robocop
295b694a8d Misc, style, etc. 2011-04-02 04:57:04 +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
asfernandes
aeefde32c0 Fixed CORE-3401 - Collation errors with [type of] <domain>, type of column. 2011-03-22 18:59:13 +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
alexpeshkoff
476ce7483e Fixed issue, reported by Damyan in devel - missing symbols in libfbclient. Make prototypes match with ibase.h. 2011-03-21 18:15:20 +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
2ce201f4ae Use MessageBuffer in executeMessage and fetchMessage. 2011-03-20 19:14:03 +00:00
hvlad
9b3732e42d Make it OS-independent 2011-03-18 12:30:01 +00:00
alexpeshkoff
668d086515 Forgotten added file 2011-03-18 11:38:23 +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
d67b091ee5 Misc 2011-03-11 00:58:55 +00:00
hvlad
d1f9eb91b5 Front ported fix for bug CORE-3328 : Client writes error messages into firebird.log when database is shutted down 2011-03-07 15:48:39 +00:00
asfernandes
146448b877 Misc 2011-03-06 01:06:36 +00:00