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

109 Commits

Author SHA1 Message Date
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
asfernandes
21b23ef28d Misc. 2013-06-28 02:03:10 +00:00
mapopa
92380e1156 place parentheses around the '&&' expression to silence the warning 2013-06-21 09:47:23 +00:00
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
6b88a478c3 Avoid presence of a lot of unneeded stuff like exceptions and pools in fbudf. This also fixes segfault when library is unloaded. 2012-01-25 13:49:08 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
asfernandes
9bf9ca4ef7 Misc 2010-10-09 01:50:18 +00:00
paulbeach
78ca999d4a Fix for UDFs on Darwin 2010-10-05 12:43:24 +00:00
paulbeach
780dea6db1 Oops! 2010-10-04 13:21: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
a0df016988 Totally misc. 2010-02-12 10:18:39 +00:00
alexpeshkoff
c6f40a239f Make libib_util usable with old server versions 2009-12-16 13:10:12 +00:00
robocop
139b2652df Comments. 2009-12-04 08:30:26 +00:00
alexpeshkoff
5ae3502555 Linux intel compiler port 2009-10-02 16:19:31 +00:00
asfernandes
09b6e1b26b Misc 2009-08-09 22:21:31 +00:00
robocop
757beb29b1 Style (anyway irrelevant since this library contains now only superseded functions except frac). 2009-08-08 06:36:02 +00:00
alexpeshkoff
7f99828baa Fixed a bug in my recent commit 2009-06-09 10:31:31 +00:00
alexpeshkoff
1502f7d4e0 Declare exported functions correctly - thanks to Paul Beach 2009-06-09 08:40:36 +00:00
robocop
51d3c9b756 Let's use more typical #ifdef to test macros instead o #if. 2009-05-29 11:27:41 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
robocop
4ffeaea47a Expose frac() in ib_udf but only as udf_frac to not clash with a possible native implementation. 2009-03-05 06:38:43 +00:00
asfernandes
f532f6975e Misc 2009-01-21 15:42:45 +00:00
robocop
bc2e065baa Fix CORE-2281 and CORE-2282. 2009-01-21 09:58:04 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
asfernandes
8f9b451ce9 Rework of ib_util changes. Dynamically load it in the engine and inform callback functions to alloc and free memory. Allocate memory from the default pool. 2008-07-12 21:23:42 +00:00
asfernandes
52367772ab Call free after release the mutex - thanks to Nikolay 2008-07-02 00:24:14 +00:00
asfernandes
6f889ba0a4 1) Fixed an error in the POSIX build after usage of GlobalPtr
2) Some things observed by Claudio
2008-06-15 16:20:55 +00:00
dimitr
5e0f852254 Misc. 2008-06-15 05:23:16 +00:00
asfernandes
af1d955da6 Improvement CORE-1937 - Detect (instead of crash) FREE_IT UDFs that return pointer not allocated by ib_util_malloc 2008-06-14 22:16:40 +00:00
robocop
5ebd69a9b3 No need to provide parameters with default values. 2008-03-28 13:26:56 +00:00
dimitr
b87b5032ef Changes in the TimeStamp class by Dmitry Kovalenko. 2008-03-26 10:21:04 +00:00
alexpeshkoff
6e42c542ea Builtin functions - same changes in legacy file 2007-06-01 13:16:43 +00:00
alexpeshkoff
08c251854b All this functions became builtin in fb2.1 2007-06-01 12:08:01 +00:00
alexpeshkoff
d63491e3c5 Finished gcc-warnings cleanup 2007-04-11 16:05:40 +00:00
robocop
7274dc89c1 Totally misc. 2007-02-20 08:40:38 +00:00
asfernandes
48d51e53c2 Misc 2006-10-02 02:39:45 +00:00
robocop
74dd3542ba Fix comment. 2006-09-28 06:27:27 +00:00
alexpeshkoff
bf3b16eb9d commited patch of Gerard Patel 2006-08-21 08:23:02 +00:00
dimitr
38e557a3d0 Fixed MSVC8 build once more :-) 2006-07-25 08:58:39 +00:00
robocop
74461a8a64 CORE-858
Misc, related to the other data type changes.
2006-07-21 06:57:44 +00:00
robocop
92ea43a721 CORE-858
In version 1.15, I fixed a bug but introduced a worse one. It went unnoticed for more than two years, but fbudf has memory problem when dealing with varchars due to a silly change in the vary struct definition.
I think these h and cpp can be copied safely from the HEAD to FB2.0.
2006-07-21 06:55:37 +00:00
robocop
4e754ec8e4 Migrate fbudf to platform-neutral integral types. 2006-06-03 05:24:33 +00:00
robocop
c4870f6d2b Migrate ib_udf to platform-neutral integral types. 2006-06-03 04:53:06 +00:00
asfernandes
da8bc2343c Misc 2006-06-01 01:46:21 +00:00
dimitr
16aa4ad332 VS8.0 has two implementations of div(). Let's explicitly use the int-aware one. 2006-05-31 15:08:31 +00:00
robocop
38b063b3de I misread the logic: it's true (not false) that tells Timestamp to not call the operating system to get the current time. Thanks to D. Sibiryakov. 2006-02-04 02:40:20 +00:00
robocop
7a3f8e5cb2 fbudf wasn't really thread safe (despite the Mutex) when dealing with the non-reentrant functions localtime and gmtime because we need to copy the contents of the result pointer to a local variable before releasing the Mutex. 2006-02-02 00:39:02 +00:00
robocop
0c28df8cf2 Declare independence day from client library for fbudf . For builds other than MSVC6, the following has to be done:
- add to fbudf project the files timestamp.cpp and timestamp.h
- for the same project, define FBUDF_EXPORTS as preprocessor macro
- for the firebird2 workspace/solution/make/etc get rid of the dependency of fbudf on fbclient. Build files that I indentified that need fixes are:
builds\posix\Makefile.in.client.fbudf
builds\posix\Makefile.in.embed.fbudf
builds\win32\msvc7\fbudf.vcproj
builds\win32\msvc7\Firebird2.sln
MacOs build files ignore fbudf completely.
This change eliminates the problem with the client library having different names depending on the build type (SS, CS, embedded).
2006-02-02 00:28:03 +00:00