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

1863 Commits

Author SHA1 Message Date
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