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
brodsom
fa35eabfc1
Move triplicated macros to common header
2004-05-02 22:40:22 +00:00
brodsom
5cf9fdfc90
Removing ib_stdio.h
2004-04-28 22:43:34 +00:00
alexpeshkoff
1e6c7b18e9
fixed problem with loop in includes
2004-03-22 11:38:23 +00:00
dimitr
869b69bed4
Fixed server crash when too big/small system year is set up.
2004-03-21 09:47:39 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
2ab1f94dd2
Cleanup
...
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
robocop
5c3c8abd9a
Big cleanup.
...
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3
General cleanup
2003-12-22 10:00:59 +00:00
brodsom
c5253ae8a5
-Replace gds__ constants with isc_ contants
...
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
robocop
35396625f5
const correctness
...
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
skidder
7b99b8a57b
Basic INTL cleanup.
...
- Rework (mostly undo) John's changes
- Some function type safety
- Make INTL OO layer very thin (this should slightly improve performance)
2003-11-03 17:14:45 +00:00
aafemt
900fa62a1d
'struct' cleanup
2003-10-20 10:53:52 +00:00
robocop
8182b6cba2
const correctness and other tasks
2003-10-16 08:51:06 +00:00
robocop
480c1ee968
const correctness
2003-10-08 08:42:48 +00:00
robocop
d104179bb7
const correctness, vars in scope, etc.
2003-10-05 07:04:56 +00:00