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

106 Commits

Author SHA1 Message Date
asfernandes
c8a6620661 Fixed CORE-2615 - Silent truncation when using utf8 parameters and utf8 client character set encoding 2009-09-04 15:20:48 +00:00
asfernandes
9971e377bc Fix error message for string truncation 2009-03-30 15:20:24 +00:00
asfernandes
79e89d573d Misc 2009-01-03 19:02:04 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
robocop
6a772451f3 Strange warning: looks like the result of USHORT/UCHAR is being promoted to int and this causes a signed/unsigned wng. 2008-12-31 04:11:24 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
alexpeshkoff
2200a681f8 fixed some gcc warning 2008-11-28 18:49:07 +00:00
alexpeshkoff
f3d7b7cee8 Inline optimization as suggested by Claudio 2008-07-28 12:39:03 +00:00
robocop
284e77d57f Minor cleanup after Alex' changes. 2008-07-12 08:06:26 +00:00
robocop
1492df2080 Minor cleanup after Alex' changes. 2008-07-12 08:06:19 +00:00
alexpeshkoff
7c8427bc35 Separated CVT functions to common and jrd parts.
This made possible to avoid ugly CVT_move export.

Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
dimitr
d0a6ff7fe7 More changes targeted to a better error diagnostics. 2008-04-04 10:13:44 +00:00
dimitr
3b3bdc9b27 More details about arithmetical exceptions. 2008-04-01 12:35:14 +00:00
robocop
cc72b37c9a Introduce more specific errors for date-time operations. 2008-03-28 13:21:59 +00:00
dimitr
b87b5032ef Changes in the TimeStamp class by Dmitry Kovalenko. 2008-03-26 10:21:04 +00:00
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