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

1949 Commits

Author SHA1 Message Date
alexpeshkoff
74eeb4bbfa Frontported fix for CORE-4919: Classic server (all processes) hangs after death of one process on AIX 2015-08-31 09:30:57 +00:00
alexpeshkoff
db0c84f46e Fixed CORE-4890: Placing comment (single-lined or multi-lined) between final END of creating SP code and terminal character (^) produces compiling error when tool uses old API 2015-08-21 15:23:22 +00:00
asfernandes
046355b5f1 Fixed (again) CORE-3545 - Inconsistent domain's constraint validation in PSQL. Related to CORE-3947. 2015-08-19 02:06:49 +00:00
asfernandes
abde3b2cad Misc. 2015-08-02 15:51:01 +00:00
hvlad
b77bf19e3b Implement improvement CORE-1999 : TimeStamp in the every line output gbak.exe utility
Minor fixes in service manager.
Thanks to Alex for help.
Documentation will follow.
2015-07-26 20:49:15 +00:00
hvlad
fa46891583 Restore fair locking in SyncObject (it was disabled until validation code changed to avoid recursive latches). 2015-07-26 19:58:12 +00:00
alexpeshkoff
be3823bc92 Fixed an issue with missing auth source info when using trusted auth 2015-07-26 18:23:50 +00:00
asfernandes
3fc04a9dd5 On behalf of alexpeshkoff after sourceforge crash - Postfix for CORE-4811: strip single quotes, not making them keep case of ascii string, when used in DPB (connect/create database) 2015-07-26 15:38:06 +00:00
asfernandes
886935cd5f On behalf of robocop after sourceforge crash - Misc. 2015-07-26 15:36:05 +00:00
dimitr
5c96bd5401 Fixed hostless INET/WNET connections on Linux. 2015-07-26 07:50:58 +00:00
asfernandes
e973c86bc6 Misc. 2015-07-12 20:10:49 +00:00
alexpeshkoff
e420019cd4 Fixed CORE-4871: Merge SharedDatabase/SharedCache into single parameter ServerMode, affecting the way how server is started 2015-07-10 13:41:10 +00:00
alexpeshkoff
6d1fcf5567 Solaris port 2015-07-09 17:38:57 +00:00
alexpeshkoff
219077f0b4 Fixed CORE-4861: Segfault when working with saved exception in request 2015-07-05 11:40:22 +00:00
hvlad
7135952f6f Fixed bug CORE-4859 : FB 3 embedded not working without folder C:\ProgramData\firebird 2015-07-05 08:47:23 +00:00
asfernandes
ae30b29011 Misc. 2015-06-29 01:02:52 +00:00
alexpeshkoff
1eda2271ac Front-ported HPUX changes 2015-06-26 13:39:12 +00:00
alexpeshkoff
6ca4eeb39c Front-port AIX changes 2015-06-26 12:55:16 +00:00
alexpeshkoff
4168cdf81d Fixed CORE-4836: Grant update(c) on t to U01 with grant option: user U01 will not be able to "revoke update(c) on t from <user | role>" if this U01 do some DML before revoke 2015-06-25 16:02:43 +00:00
hvlad
2e78b5a7e0 Feature CORE-4707 : Implement ability to validate tables and indices online 2015-06-19 12:07:41 +00:00
asfernandes
e9ccc80f8c Misc. 2015-06-13 19:00:28 +00:00
paulbeach
3e9b1d5ae7 Stack size too small on HPPA and Itanium 2015-06-12 09:06:36 +00:00
robocop
219963e56b Misc. 2015-06-11 06:42:50 +00:00
alexpeshkoff
8d645cd760 Fixed regression, caused by fix for CORE-4811 - error parsing pagesize=N without spaces 2015-06-10 12:27:20 +00:00
hvlad
61a126cef8 Disable debug code in release builds 2015-06-08 11:43:15 +00:00
mapopa
5bdef01c71 Create semaphores with 0660 permissions
Yes, a bit later the access mode is set to the one of the
security database, but in the mean time someone evil could
find some use of an open (0666) semaphore array
Author: Damyan Ivanov <dmn@debian.org>
https://anonscm.debian.org/cgit/pkg-firebird/3.0.git/plain/debian/patches/tighten-sem-perms.patch
2015-06-07 19:24:21 +00:00
alexpeshkoff
1b6632ac8b Fixed CORE-4811: Make user names behave according to SQL identifiers rules 2015-06-03 13:57:18 +00:00
dimitr
cb6ddcde83 Fixed CORE-4809: HASH/MERGE JOIN is not used for more than two streams if they are joined via USING/NATURAL clauses and join is based on DBKEY concatenations. 2015-05-31 13:06:04 +00:00
asfernandes
a2b2d63d51 Postfix for CORE-4789 - Prohibit ability to cast timestamps that out of valid range to varchar. 2015-05-17 02:22:09 +00:00
alexpeshkoff
97990aff56 Make ref.counted pointer recursive-call safe 2015-05-15 16:08:31 +00:00
robocop
18c12ca6db Misc. 2015-05-10 03:03:03 +00:00
asfernandes
63b9def568 Misc. 2015-05-10 01:12:50 +00:00
hvlad
7400866d99 Windows implementation of ISC_utf8Upper. Refactoring. Update VC10 and VC12 builds. 2015-05-04 11:45:05 +00:00
asfernandes
adf1fd737d Misc. 2015-05-02 03:54:03 +00:00
alexpeshkoff
3921d436ad postfix for CORE-4760: take care about RISC CPUs 2015-04-30 14:42:57 +00:00
alexpeshkoff
0ac40f77be Fixed CORE-4760: Can not create user with non-ascii (multi-byte) characters in the name 2015-04-30 13:44:43 +00:00
asfernandes
dd2411e576 Fixed CORE-4755 - Parameterized exception: wrong output when number of arguments greater than 7. 2015-04-29 15:59:46 +00:00
alexpeshkoff
a56062a7b7 Fixed CORE-4767: CREATE USER ... TAGS ( attr = "prefix #suffix" ): "suffix" will be removed from storage because of character # in the value of attribute 2015-04-22 17:02:19 +00:00
hvlad
67383e1ff7 Fixed bug CORE-4753 : Firebird hangs in embed mode.
Removed annoying wrong assertion.
2015-04-21 09:36:22 +00:00
alexpeshkoff
bab9ce6e47 Fixed CORE-4743: Granted role does not work with non-ascii username 2015-04-17 18:35:39 +00:00
alexpeshkoff
9cf62772b1 Fixed segfault caused when compiler used default copy ctor of status_exception 2015-04-14 17:00:45 +00:00
mapopa
9fbac0a793 Comments cleanup 2015-03-31 09:57:22 +00:00
robocop
ed1e4b5b7d Misc. 2015-03-31 02:10:38 +00:00
alexpeshkoff
066dfda8e2 Fixed CORE-4583: FB 3 embedded tries to load ICU DLLs from PATH folders 2015-03-30 17:39:54 +00:00
alexpeshkoff
052381246c Fixed compilation on Mac 2015-03-30 12:03:50 +00:00
asfernandes
336456d140 Misc. 2015-03-28 00:36:04 +00:00
alexpeshkoff
16768b177d Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry 2015-03-27 17:51:19 +00:00
alexpeshkoff
e7663b6bc0 Use status interface instead plain status vector when working with exceptions.
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
alexpeshkoff
ce9df691b0 Misc 2015-03-23 09:06:10 +00:00
alexpeshkoff
0051477bd2 Fixed potential BOF - thanks to Claudio 2015-03-23 08:17:11 +00:00
mkubecek
bab02d6e2a fix default security database location 2015-03-22 14:27:30 +00:00
asfernandes
fc4cda85df Fix clang build. 2015-03-21 18:39:06 +00:00
alexpeshkoff
53099f1830 Oops - added forgotten file 2015-03-20 18:03:51 +00:00
alexpeshkoff
c4c9daf132 Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods. 2015-03-20 18:02:30 +00:00
robocop
939feab036 Misc. 2015-03-13 15:26:22 +00:00
alexpeshkoff
765b71d0e4 Perform non-atomic counter operations under locked mutex 2015-03-04 16:01:10 +00:00
alexpeshkoff
c4ad4f9aaf Most of methods of vector never throw 2015-02-27 16:01:04 +00:00
alexpeshkoff
4b08cccbf0 Dynamic buffer for status vector and dynamic strings in IStatus 2015-02-25 17:03:39 +00:00
alexpeshkoff
57a1243e97 Do not raise errors when cannot generate unique ID for file, just keep ID empty 2015-02-20 10:40:51 +00:00
asfernandes
47f64b0da4 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.

(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
dimitr
554d17352d Misc. 2015-02-18 12:54:41 +00:00
hvlad
24112e118e Attempt to implement thread cleanup for Windows (using DLL entry point).
It is used in dispatcher (fbclient.dll) only for now.
Fixed potential memory leak in StringsBuffer (it was possible to allocate few ThreadBuffer's for the same thread), see CORE-4683.
2015-02-18 12:44:32 +00:00
asfernandes
c861f0cd54 Revert my last change after it broke the Windows build. 2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
hvlad
d39e1f0a9f Correct accounting of mapped memory 2015-02-16 13:53:03 +00:00
asfernandes
9ece682387 Misc. 2015-02-14 18:55:00 +00:00
alexpeshkoff
24b3d5cbc1 One more attempt to fix windows build 2015-02-11 16:31:12 +00:00
alexpeshkoff
93eee6cc95 This should fix windows build 2015-02-11 15:30:33 +00:00
hvlad
20bae962d3 Fixed bug CORE-4688 : Recovery after stack overflow exception is not complete 2015-02-10 14:17:23 +00:00
alexpeshkoff
9a7c7a6c31 Fixed CORE-4685: Accessing DB in invalid manner when links (hard or symbolic) are used for it 2015-02-09 14:08:31 +00:00
egorpugin
27fea40d94 [build] [cmake] Add ICU setup section. Add clang ifdef. 2015-02-07 16:07:04 +00:00
smirnoffjr
1b0fc3387a Small fix for generic UNIX Mnt::get() implementation 2015-02-04 13:37:51 +00:00
dimitr
94f2b810d4 Misc improvements. 2015-02-04 12:53:58 +00:00
dimitr
881b326f0b Minor improvements to Arg::StatusVector. 2015-02-03 16:12:23 +00:00
alexpeshkoff
6d7af88734 WIP on CORE-3885: Firebird for Android, AI_V4MAPPED flag not supported, now server startup succeeds 2015-02-03 14:24:54 +00:00
dimitr
3986cb883c Fixed a mistake. 2015-02-03 11:03:33 +00:00
alexpeshkoff
7bcfa91654 WIP on CORE-3885: Firebird for Android, databases may be created, trivial requests run in embedded mode 2015-02-02 17:14:06 +00:00
alexpeshkoff
dba8dcd9e9 WIP on CORE-3885: Firebird for Android, ignore pseudo-error caused by Google bug 2015-02-02 15:25:45 +00:00
egorpugin
5bb8d48e3f [build] Fix OS X build: removed extra qualification on member Mnt(). 2015-01-31 15:04:14 +00:00
alexpeshkoff
f8921b668c WIP on CORE-3885: Firebird for Android, fix ICU load 2015-01-30 17:25:35 +00:00
alexpeshkoff
69cdd58f19 Work in progress on CORE-3885: Firebird for Android, build is complete 2015-01-27 10:46:48 +00:00
asfernandes
f9dff2cfdc Make methods const. 2015-01-25 20:27:18 +00:00
alexpeshkoff
be0c509588 Fixed static area corruption in ISC_expand_nfs, should fix CORE-4644: Get both "335545060 : Missing security context " and "335544344 : I/O error during "open" operation" for existing database under heavy concurrent DML 2015-01-22 12:50:20 +00:00
hvlad
a0cee158a0 Make shared memory header same size independent on OS.
Introduce shared memory header version.
2015-01-22 10:35:57 +00:00
alexpeshkoff
1bfe2d7cb4 Fixed CORE-4624: Firebird won't start under Docker 2015-01-22 10:32:20 +00:00
egorpugin
d397e68a48 [build] [cmake] Prepare sources for CMake building. Add clang preprocessor defs, ARM architecture defs, some Android-related defs. Add 'qsort_r' function search to configure.ac. 2015-01-21 11:11:04 +00:00
dimitr
4e7d2da77c 1) Make xnet://db connection strings useful with forward slashes
2) Unified port numbers / protocol names syntax (thus allowing custom ports in inet://host/db connection strings)
2015-01-20 18:59:18 +00:00
alexpeshkoff
0e0a37be81 Public header cleanup 2015-01-19 12:58:00 +00:00
asfernandes
2a857cb415 Misc. 2015-01-15 01:17:27 +00:00
asfernandes
f16c8c3179 Renamed "Utl" API to "Util". 2015-01-14 14:21:22 +00:00
hvlad
76df787334 By Alex - fix for bug CORE-4659 : Error "Missing security context for .....\SECURITY3.FDB" 2015-01-13 11:24:38 +00:00
asfernandes
b99311dd1e Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException). 2015-01-12 00:21:38 +00:00
asfernandes
bf310ca058 Correction. 2015-01-12 00:03:43 +00:00
alexpeshkoff
c0b4e085df Fixed CORE-4610: Add a tag name to diagnostics when trasliteration errors in Parameter Block values occur 2014-12-30 15:18:46 +00:00
alexpeshkoff
df0ecdac9a Implemented CORE-4607: Add support for having >1 UserManager in firebird.conf and use them from SQL 2014-12-24 14:50:03 +00:00
hvlad
2c809f06ec Fixed Windows build 2014-12-22 09:47:17 +00:00
asfernandes
dc0d56ed6d Misc. 2014-12-21 01:54:28 +00:00
alexpeshkoff
f641886ba3 Fixed CORE-3632: Crash after calling fork in a process, using embedded firebird library 2014-12-19 15:43:20 +00:00
asfernandes
d8a0ff5f4b Generate interfaces with I-prefix. 2014-12-19 15:24:44 +00:00
alexpeshkoff
8522a1aef4 getCount() in FB classes never throws exceptions 2014-12-18 16:23:03 +00:00
hvlad
0f0959ccf6 Patch for mingw by Alexey Pavlov : Mingw also have posix threads library so to resolve conflict we need guard using posix threads for Windows. 2014-12-18 10:56:53 +00:00
hvlad
b5d5e5a2b5 Patch for mingw by Alexey Pavlov : Mingw compilers don't support Win98 2014-12-18 10:48:16 +00:00
hvlad
ffbfa99690 Patch for mingw by Alexey Pavlov : Fix using function pointer.
See also CORE-4619
2014-12-18 10:38:54 +00:00
hvlad
581b757b4b Fix Windows build 2014-12-18 07:24:09 +00:00
alexpeshkoff
c14a1210b0 Work in progress on CORE-3632: make all file descriptors, opened by firebird, close on exec() 2014-12-17 14:31:02 +00:00
mapopa
f5ebc5873b Page url changed , use archive.org url 2014-12-16 05:02:48 +00:00
dimitr
3cdbfeaad2 Forgotten commit. 2014-12-02 20:37:16 +00:00
asfernandes
cebc7c36b3 Misc. 2014-11-30 21:09:39 +00:00
alexpeshkoff
6cb0fdb082 Load zlib dynamically to make it possible for the client to run without it
Added configure switch to turn off build with compression
Cleanup zlib streams to avoid memory leak
Use SHRLIB_EXT instead explicit "so"
2014-11-26 17:43:45 +00:00
hvlad
d5c08a9fd0 Move ConfigRoot from common to the yvalve. Add its methods to the public interface ConfigManager.
Now all plug-ins have the same root\install folders.
It should fix CORE-4581 and related issues.
MSVC10 and MSVC12 builds are updated, Posix and Darwin builds will follow.
2014-11-26 09:45:42 +00:00
alexpeshkoff
e65a5e3b3b Implemented CORE-733: Compress Data over the Network 2014-11-25 13:24:10 +00:00
hvlad
c057dd971f Add check if IPv6 is supported by OS.
Windows implementation is complete, while POSIX implementation should be reviewed and fixed if necessary.
2014-11-22 10:42:54 +00:00
mapopa
8f223d7b15 fix idpl license url 2014-11-17 20:26:01 +00:00
alexpeshkoff
23ef7257df Avoid pool from being initialized second time during cleanup 2014-11-16 17:00:56 +00:00
asfernandes
0973e76135 Misc. 2014-11-16 02:41:47 +00:00
hvlad
a70f97c2eb Support for MSVC12 (VS 2013) 2014-11-14 11:04:48 +00:00
mkubecek
ae4f286c1a Improvement CORE-3226: IPv6 support (8/9) add config directive for IPV6_V6ONLY socket option 2014-11-12 17:31:01 +00:00
mkubecek
39b8553530 Improvement CORE-3226: IPv6 support (1/9) allow square brackets around host in connection string 2014-11-12 17:24:09 +00:00
mapopa
02cec62864 add PowerPc64 big endian 2014-11-12 17:00:44 +00:00
mapopa
baae1690e2 Reserve implementation id for big endian ppc64 2014-11-12 16:55:37 +00:00
mapopa
c2ad0aa900 add PowerPc64el 2014-11-11 16:17:54 +00:00
mapopa
f2f2e66be6 add PowerPC64el implementation 2014-11-11 16:05:11 +00:00
mapopa
81e50a006d Spell fix in comment 2014-11-11 15:08:23 +00:00
asfernandes
49d1a73994 Get rid of upgradeInterface API method and some adjustments. To be continued. 2014-11-10 14:45:40 +00:00
alexpeshkoff
66a6cdd71e Fixed Mac port 2014-10-14 13:36:37 +00:00
hvlad
5ffbad8173 Fixed wrong item "unknown ISC error 0" in error messages 2014-10-14 07:31:48 +00:00
asfernandes
c642ddca82 Misc. 2014-10-12 02:25:02 +00:00
asfernandes
fcaeb05db1 Correction. 2014-10-12 02:24:08 +00:00
alexpeshkoff
84b8bf20de Fixed CORE-4573: Avoid need in fake -pas switch when using gsec in embedded mode 2014-10-08 12:19:23 +00:00
alexpeshkoff
153de0f271 Language independent API 2014-09-29 11:03:47 +00:00
hvlad
8ba9d33798 Implement improvement CORE-4556 : Allocate data pages in group of sequential ordered pages (extents)
Validation code will follow
2014-09-18 22:31:53 +00:00
mapopa
2760ce3d1f Apply patch from 2.5 branch related to #CORE-3400 http://sourceforge.net/p/firebird/mailman/message/27734396/ 2014-09-14 16:25:52 +00:00
alexpeshkoff
38fd4dba26 Fixed merge of IStatus into old status vector format - thanks to Pavel 2014-08-28 09:02:24 +00:00
dimitr
663e3a93b2 Misc. 2014-08-27 13:32:42 +00:00
alexpeshkoff
d513daa574 Divide IStatus information into 3 parts: errors, warnings and completion code.
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.

Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
dimitr
02e6c00da4 Quick fix for the Windows build. 2014-08-26 14:16:09 +00:00
alexpeshkoff
5714853583 Fixed non-linux posix builds 2014-08-20 10:07:19 +00:00
robocop
a623b39950 Misc. 2014-08-17 04:17:48 +00:00
dimitr
0fa3945f6a Corrections for the prior commit:Explicitly distinguish between thread handle and thread id. Return LWP as thread id on Linux. 2014-08-15 14:59:38 +00:00
dimitr
36af3d8cb2 Cleanup and small refactoring to avoid redundancy. 2014-08-15 14:19:02 +00:00
alexpeshkoff
5bb75f4fb1 Fixed parameters when using ITimer interface for SYSV-semaphores build 2014-07-30 13:14:31 +00:00
alexpeshkoff
532181a7f9 Renamed as suggested by Nickolay and Dmitry 2014-07-28 13:01:10 +00:00
asfernandes
5851f7e8d3 Warnings. 2014-07-27 23:33:50 +00:00
asfernandes
8bbd309e67 Improvement CORE-4484 - Description (COMMENT ON) for package procedures and functions, and its parameters. 2014-07-27 03:05:44 +00:00
alexpeshkoff
4bdc2a3e19 Replaced macro FB_ALIGN with function fbAlign, minor related cleanup 2014-07-24 06:41:38 +00:00
asfernandes
6488dfed7f Misc. 2014-07-18 01:52:24 +00:00
skidder
e2e901939c Fix GCC warnings 2014-07-17 21:17:15 +00:00
skidder
ae02639968 Fix GCC build broken with last commit 2014-07-17 19:17:11 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
asfernandes
fa0c3dd11c Misc. 2014-07-10 02:21:18 +00:00