asfernandes
02bc92474f
Correct some logic errors found by Claudio
2008-02-29 15:21:37 +00:00
asfernandes
4b58bb06f1
Feature CORE-1760 - Support hex numeric and string literals
2008-02-27 16:00:31 +00:00
robocop
4c3381ef6b
Style, constness and macro cleanup.
2008-02-03 10:41:44 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
db7d3ecd4c
The merge continued.
2008-01-16 08:31:31 +00:00
asfernandes
41faeba3cc
Misc
2007-12-05 00:03:15 +00:00
alexpeshkoff
eea9070f48
Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster
2007-12-03 15:46:39 +00:00
paulbeach
c823619e92
HPUX Port
2007-11-12 15:18:49 +00:00
paulbeach
7602a29b94
HPUX Port
2007-11-12 14:26:44 +00:00
asfernandes
ea8b2d0369
Fixed CORE-1509 - Conversion from double to varchar insert trailing spaces
2007-10-12 16:18:08 +00:00
asfernandes
a86bf294f9
Fixed CORE-1120 - Conversion from string to number is not standard compliant
2007-02-03 01:21:29 +00:00
asfernandes
1d422a8330
1) Refactor intl_classes.h and intl.cpp
...
2) Make conversions from CharSet1->UTF16->CharSet2 job of CsConvert class
2006-10-10 19:40:33 +00:00
asfernandes
e19c81c212
Misc
2006-09-02 02:44:50 +00:00
robocop
e410bd6867
Misc.
2006-09-01 08:40:09 +00:00
dimitr
4d6df6d2e6
1) Replace API encode/decode routines with TimeStamp methods
...
2) Encapsulate range checks inside TimeStamp class
3) Fixed CORE-347
2006-07-21 08:15:48 +00:00
asfernandes
165af8b37e
Misc
2006-06-27 01:33:07 +00:00
aafemt
73a09c27b3
Don't check time if there is no time
2006-06-26 10:19:02 +00:00
robocop
7b14d954ef
Solve three of the multiple problems converting strings to date/time:
...
- we demand time portions to have at least hours and minutes
- we don't allow each time portion to have more than two significant positions (not counting blanks) except the subseconds part that has four
- we don't allow garbage after the significant information, other than spaces, tabs, nulls and one dot.
2006-06-16 06:31:06 +00:00
robocop
5cdb49cde9
Misc and try to be consistent to use the padding char.
...
More to come.
2006-06-15 08:39:13 +00:00
robocop
6474e64dbd
Better play safe with int.
2006-02-23 07:36:41 +00:00
robocop
6906efb5c5
Try to put the correct pad character.
2006-02-23 07:30:42 +00:00
robocop
1f84bac700
Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc.
2006-02-23 05:08:26 +00:00
robocop
97122ee389
Replace jrd_time.h by our timestamp.h, but I left timestamp.h's #includes commented where it *seemed* not necessary.
2006-02-03 08:39:36 +00:00
dimitr
1293d9fd97
Fixed bug related to expression indices vs. collates, reported by Ivan.
2006-01-15 16:04:39 +00:00
asfernandes
890494ac7c
1) Fixed SF #1016040 Missing external libraries causes engine exception
...
2) Use better error messages
2005-06-14 03:16:54 +00:00
asfernandes
5884b4ffe6
Revert Claudio's change that cause crash when parameters are used
2005-06-09 00:01:01 +00:00
robocop
b8d1f00f94
- Corrections and changes to Adriano's commit, subject to his inspection.
...
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30:03 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
robocop
950216de4e
Misc.
2004-12-08 05:58:41 +00:00
robocop
d6535351a2
Misc: style.
2004-11-24 09:22:07 +00:00
alexpeshkoff
cdbcbe1921
fixed debug build
2004-11-14 16:37:46 +00:00
dimitr
2a4b4051fa
Restored missing asserts.
2004-11-12 05:32:13 +00:00
robocop
e5be73b048
Misc: extra semicolons do not help. :-)
2004-11-07 10:47:20 +00:00
skidder
933063c7ce
Slightly adjust Dmitry's Firebird::TimeStamp class to make it more useful, change is coordiated with Dmitry. Use thread-safe localtime_r routine when it is available
2004-11-04 19:14:20 +00:00
dimitr
5040f83365
Changed TimeStamp class a bit, as suggested by Claudio.
2004-11-01 08:29:16 +00:00
robocop
386e18c2bc
Scope.
2004-11-01 04:35:17 +00:00
robocop
1f6c4aa111
Misc.
2004-10-31 09:28:39 +00:00
dimitr
feb6b7e006
Replaced non-centralized datetime management with a new class.
2004-10-30 19:41:54 +00:00
robocop
524c1b8882
Misc.
2004-10-30 05:12:52 +00:00
dimitr
c80af8bd52
Let's include milliseconds in 'NOW'.
2004-10-27 11:46:34 +00:00
alexpeshkoff
c3db4aaa97
added (and used in sources) template to change and restore default pool
2004-08-30 18:11:08 +00:00
robocop
507f53d9bd
Style and misc
2004-07-22 07:15:10 +00:00
hvlad
47a12b9a3d
Fix for lost least significant bits of value when rounding floating-point value to int \ int64 value
2004-07-21 06:33:57 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
brodsom
64c1dee04e
-Use C++ struct declaration style.
2004-05-24 17:31:47 +00:00
brodsom
372c3de67d
-Replace & remove unneeded threading macro in jrd.h
...
-Move more threading selection to firebird.h
-Replace POSIX_THREADS with USE_POSIX_THREADS
2004-05-22 02:11:56 +00:00
robocop
f6a7a6844e
Reading fb-checkins I realized some bad merges mine.
2004-05-21 07:28:17 +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
68cb86b274
- Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
...
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
b30a0b8799
Macro cleaning
2004-05-12 00:02:37 +00:00