alexpeshkoff
ec99aff55f
Implemented CORE-3594: Include expected and actual string length into error message
2012-06-06 11:06:31 +00:00
robocop
70d5ebdfdf
- Got rid of the fixed array that kept the stream count in the first element and 255 streams after it.
...
- Changed streams from UCHAR to ULONG as Dmitry wanted
- Got rid of some redundant flags to indicate BLR level
- Misc changes (for example, converted to test for DBB_read_only in Database to a function)
- BLR v6 is left commented (waiting for a better solution to appear, if any exists)
- This change is not going to raise the engine limits until a solution is found to express more than 255 streams in BLR.
2012-04-12 09:02:13 +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
asfernandes
c7ea4a1f6b
Fixed CORE-3373 - It is possible to store string with lenght 31 chars into column varchar(25).
2011-06-06 02:58:08 +00:00
alexpeshkoff
c8293cd935
Fixed CORE-3259: Deadlock and sefgault when processing ctrl-C in user code
2010-11-25 12:22:39 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
asfernandes
4763533669
Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
...
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
asfernandes
15635cb8d5
Pass a real tdbb instead of a bogus NULL
2009-11-30 15:18:57 +00:00
asfernandes
eb4a893487
Lookup internal charsets without database lookup. This is necessary to validate length of UTF-8 strings if we change the metadata charset.
2009-11-28 18:08:31 +00:00
asfernandes
d38d8dccbd
Some changes aiming a future replacement of the metadata character set
2009-11-28 16:39:54 +00:00
robocop
579a456329
Style.
2009-11-25 08:38:52 +00:00
robocop
9af5ae7f8d
Style.
2009-11-23 05:24:29 +00:00
uid32383
eca4ecba76
Comments.
2009-11-22 03:56:20 +00:00
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