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

108 Commits

Author SHA1 Message Date
robocop
dc007572fb Add getExactTimestampUTC and put some indications. Alex will fix my stub code.
It seems gmtime doesn't work as expected at least with VC6.
2005-12-23 23:08:09 +00:00
robocop
10e313d5bb Declare UDF lower as "LOWER" in ib_udf2.sql and go on with life. 2005-10-04 05:15:09 +00:00
aafemt
cb4abdfd3c Plain C don't know namespaces 2005-06-10 10:35:07 +00:00
robocop
3aaa840483 Misc. 2005-05-22 03:11:41 +00:00
robocop
bb31662854 Solve bug with AddMonth when facing January.
Include little IsLeapYear function.
2005-03-26 05:01:01 +00:00
robocop
39fbdce193 Totally misc. 2005-01-01 01:54:30 +00:00
robocop
4117b22257 Misc. 2004-12-07 01:40:48 +00:00
robocop
6521e12aaf Slavomir Skopalik contributed IB_UDF_frac. 2004-12-07 00:29:40 +00:00
fsg
84f6c9c02b Renamed old rand udf to srand
added new rand function without seed
FSG
2004-11-03 14:16:57 +00:00
skidder
1f57ee9f83 Fix POSIX build. It is difficult to teach make to pick up .cpp file when .c file with the same name is present. Thus we delete ib_udf.c. 2004-11-02 07:13:53 +00:00
skidder
06b32c56d9 Fix MSVC7 build 2004-11-02 06:23:59 +00:00
robocop
b67464ddff Alternative addDay2 function (same usage, more orthodox handling).
Same can be done for other Add<part> functions.
2004-10-28 04:47:32 +00:00
robocop
b3dda49b1a Alternative addDay2 function (same usage, more orthodox handling).
Same can be done for other Add<part> functions.
2004-10-28 04:36:24 +00:00
robocop
a80a37cd1b Make fbudf more civilized:
- Functions that use an output argument shouldn't return anything.
- Signal null output blob if the engine understands it.
- Make input parameter const except in some cases where the library plays with input params using internal engine knowledge (not recommended for general usage).
2004-10-04 08:47:41 +00:00
robocop
aa894d7399 Put comment on deprecated functions. 2004-09-29 06:42:29 +00:00
robocop
5e6a04b6d7 Fix problem reported by "jssahdra" in fb-support. Numeric overflow caused resulting timestamp to go backwards instead of forward. 2004-09-29 06:41:46 +00:00
robocop
2563ddf9f6 Comment added 2004-09-23 04:53:03 +00:00
robocop
434bbadd44 Learning to spell my own surname.
:-)
2004-09-23 04:51:52 +00:00
robocop
8939aea4f0 Change in UDF handling to benefit ib_udf:
- The old ib_udf.sql works as always with ib_udf.c
- You can use ib_udf.cpp with the old ib_udf.sql, but it won't detect NULL
- You must use ib_udf2.sql ONLY with ib_udf.cpp and will have complete functionality
- You can point your build schema to use ib_udf.cpp instead of ib_udf.c
- The changes are backward compatible, except for the detection of NULL that needs the new DDL declarations.
2004-09-20 08:49:58 +00:00
skidder
306cacdece Extent default length for UDF arguments slightly 2004-08-30 15:58:17 +00:00
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +00:00
robocop
b12c1b705b Use the vary struct as the engine does to know the length of a varchar
Style
2004-05-31 02:37:32 +00:00
robocop
441817bd82 1.- Misc changes
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
brodsom
b30a0b8799 Macro cleaning 2004-05-12 00:02:37 +00:00
brodsom
8b5d33b5ea Fix warning 2004-05-05 21:49:50 +00:00
skidder
f157a68aee Make ib_util.h a valid C++ header 2004-05-05 04:47:43 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
brodsom
89e8f89f86 Extern "C" cleaning 2003-11-06 03:03:36 +00:00
eku
da0d0f068f Cleanup usage of gettimeofday. 2003-10-31 11:33:45 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
robocop
cfb982a0fe Fix script for SF bug #819224 => Change the comment, too. 2003-10-09 03:54:26 +00:00
robocop
8a25af8cac Fix script for SF bug #819224 2003-10-09 03:38:28 +00:00
stryqx
674fa73b6a style 2003-10-07 10:43:20 +00:00
stryqx
bd8c3bf757 Fix build with gcc 3.3 2003-10-07 10:33:51 +00:00
robocop
484c6ec372 Cleanup, const correctness, variables in scope, etc.
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
skidder
8fb57b8f47 Fix bugs in ib_udf functions rtrim, ltrim and log. Found and fixed by Paul Vinkenoog 2003-08-01 20:08:38 +00:00
brodsom
6df257f479 Moving fortran, pascal etc helpers to lang_helpers 2003-07-10 23:29:52 +00:00
brodsom
f02ef90cdc Move WIN32_LEAN_AND_MEAN to autoconfig_msvc.h. 2003-02-25 12:55:20 +00:00
brodsom
e4b24a1d1a Restore inlines 2003-02-24 23:55:36 +00:00
brodsom
46b759d9d2 Move old borland make files to builds directory 2003-02-19 13:12:38 +00:00
brodsom
8bdf295e25 Change build system to move warning control to only one header for each compiler 2003-02-16 11:39:22 +00:00
brodsom
6652d5a5bf Remove __BORLANDC__ define 2003-02-14 02:50:10 +00:00
brodsom
45efaaa7e0 Remove inline keyword. 2003-02-13 22:49:16 +00:00
dimitr
dafac1bacd Committed contribution by Juan Guerrero (?). Functions LPAD and RPAD added to IB_UDF library. 2003-02-04 17:27:38 +00:00
dimitr
fb3701280c Updated fbudf files. 2003-01-24 12:05:25 +00:00
skidder
d24487802c Make standard UDF libraries functions involving memory allocation work on Linux 2003-01-02 16:02:43 +00:00
kkuznetsov
c57e2fe7c7 Fix compile errors on Solaris IA 2002-11-28 15:44:31 +00:00
stryqx
d43525804c Rename truncate to fbtruncate to avoid conflict with standard C/C++ library. 2002-10-12 04:12:47 +00:00
eku
ef2ff91438 Autoconf cleanup:
o use predefined macros to test for sys/wait.h, time.h and sys/time.h
 o search strcasecmp in libresolv only if strcasecmp and stricmp are not in libc
 o use predefined macro AC_SYS_LARGEFILE to determine 64Bit I/O
 o determine the alignment of long and double (ALIGNMENT,DOUBLE_ALIGN),
   still need to write a test for FB_ALIGN!
2002-09-18 12:50:13 +00:00
dimitr
869af73a68 Minor build changes in the UDF libraries. 2002-09-03 17:23:16 +00:00
eku
a51db40856 Needs include file common.h to compile. 2002-08-28 07:11:15 +00:00
eku
076de37a9f Huge 'gettimeofday' cleanup:
o check for the availability in configure
 o check for the number of arguments in configure
 o synchronised config.h.in and MSVC pendant

NOTE: If you have problems on your system, don't change the source.
      Extend the tests in configure.in!!!
2002-08-14 11:14:01 +00:00
skywalker
a354d5a15f put testreflect into dev build only 2002-06-29 17:20:31 +00:00
skywalker
bd1ef4742c porting changes made to fb1. 2002-06-29 16:38:29 +00:00
skywalker
6eaa5d6ef9 Ported code changes from fb1 2002-06-29 16:35:19 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00
skywalker
4c4bc9a95c Global changes for new Makefile and firebird2 compile on linux 2001-07-29 23:43:24 +00:00
tamlin
9a776a604e First steps towards a C++ conversion. 2001-05-23 13:26:42 +00:00