asfernandes
0fa5b3fdc4
Do not return isc_no_cur as warning, as it's an error - thanks to Dmitry
2009-07-16 13:09:00 +00:00
asfernandes
284aa72ae9
Fix another similar problem of CORE-2552. Now successfull_completion has wrong in the fetch API, when that warning is posted.
...
Alex: please verify if ERR_warning could be removed. It's not used anymore.
2009-07-15 00:25:35 +00:00
asfernandes
adacf54d74
Misc
2009-07-14 01:18:17 +00:00
alexpeshkoff
fe4aec8a12
Fixed CORE-2550: Bus error when working with DB_KEY on bigendian machines. Introduced dtype_dbkey inside engine.
2009-07-09 14:04:42 +00:00
robocop
2e3ce0d23d
Misc.
2009-06-07 09:49:58 +00:00
alexpeshkoff
46527f2084
MT safe floating point exceptions control. Raise error in case of FP overflow according to SQL standard requirements.
2009-05-27 07:57:06 +00:00
asfernandes
158a05c78d
Misc
2009-05-10 15:23:31 +00:00
alexpeshkoff
4742f45669
Fixed CORE-2455: Server fails when doing DROP DATABASE right after error in statistical function
2009-05-07 16:48:48 +00:00
robocop
c23b36160b
Misc.
2009-05-02 14:56:43 +00:00
robocop
66b1227b22
Unused params, some formatting, cleanup.
2009-05-01 17:21:36 +00:00
alexpeshkoff
8c983fec26
Fixed alignment issues with on-stack vary strings
2009-04-29 14:00:32 +00:00
robocop
2d7cb94844
Unused params
...
Some BLR checks
2009-04-28 13:08:04 +00:00
robocop
888000e21e
Unused function params.
2009-04-26 10:24:44 +00:00
robocop
a730fbf074
Get rid of more typedefs.
2009-04-03 10:07:55 +00:00
asfernandes
9514e5f757
Fixed CORE-2355 - Incorrect handling of LOWER/UPPER when result string shrinks in terms of byte length
2009-03-07 17:39:05 +00:00
robocop
3689f15321
Style.
2009-01-20 08:33:59 +00:00
asfernandes
989d851fa3
Misc
2009-01-15 03:46:48 +00:00
robocop
77bd687168
Style.
2009-01-14 08:22:32 +00:00
robocop
21bb7f3d20
Style.
2009-01-03 09:14:29 +00:00
asfernandes
2e3ced29fc
Fixed CORE-2258 - Internal error when select upper(<blob>) from union
2008-12-25 15:05:06 +00:00
asfernandes
5311dd5a5e
Misc
2008-12-20 19:57:43 +00:00
robocop
95292d1731
Style.
2008-12-20 08:12:19 +00:00
robocop
0a94d6fee8
Style.
2008-12-18 10:57:12 +00:00
robocop
e4650d5027
Promote thread_data* as function argument. Only exception where both tdbb and dbb were left together as arguments is nbak.cpp's call to CCH_rollover_to_shadow to avoid any side effect in the changed code, but anyway, that function calls SDW_rollover_to_shadow that takes the dbb from the tdbb and not explicitly.
2008-12-14 09:28:25 +00:00
robocop
eb6ea18df4
Misc.
2008-12-01 09:21:31 +00:00
asfernandes
cf7ae27db5
Fixed CORE-1432 - Collation not propagated between record formats
2008-11-30 18:55:52 +00:00
asfernandes
3dcddd6ed5
Misc
2008-11-30 02:23:01 +00:00
asfernandes
f9e3032c93
Fixed CORE-1943 - GROUP BY RAND() returns infinite rows
2008-11-09 18:52:45 +00:00
asfernandes
d3e72ed046
Misc
2008-10-08 02:24:51 +00:00
robocop
586c3a6cde
CORE-1799: improve the almost useless "expression evaluation not supported" error message.
...
Did the JRD side except par.cpp because this part is covered by DSQL (only ESQL programs won't get the improved messages).
2008-10-03 05:41:16 +00:00
alexpeshkoff
f74ba61ba9
Misc - same header was repeated twice
2008-09-22 14:41:40 +00:00
robocop
26727ea6c8
Misc.
2008-09-09 09:05:49 +00:00
asfernandes
b550749a47
Fixed CORE-1246 - Incorrect column values with outer joins and derived tables
2008-09-07 19:44:48 +00:00
asfernandes
9150e6f4f2
This should fix regressions related to fixes of:
...
CORE-501 - Optimization problem with COALESCE
CORE-1343 - Bug with a simple case and a subquery
CORE-2041 - update or insert with gen_id() with wrong generator value
And should fix this one (snapshot build bug):
CORE-2051 - don't work subquery in COALESCE
2008-09-01 13:18:02 +00:00
asfernandes
848357d06b
Do not store pointer to string already destructed
2008-08-30 03:07:35 +00:00
alexpeshkoff
13a15d4bfe
1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
...
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
b910161f82
Fixed CORE-501 - Optimization problem with COALESCE
2008-08-20 01:54:45 +00:00
dimitr
585d8a3eec
Fixed CORE-2039: Domain-level CHECK constraints wrongly process NULL values.
2008-08-12 07:22:12 +00:00
asfernandes
607f55503d
Misc
2008-07-11 02:37:23 +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
asfernandes
cf7af2292d
Fixed CORE-1962 - Incorrect extraction of MILLISECONDs
2008-06-25 15:58:03 +00:00
asfernandes
1eef61d8e4
Fixed CORE-1859 - Arithmetic overflow or division by zero has occurred. in MAX function
2008-04-26 15:58:16 +00:00
robocop
b70fc21329
Collapse some lines of repetitive code.
2008-04-24 10:56:57 +00:00
robocop
37ca104c1a
Misc.
2008-04-18 14:30:45 +00:00
asfernandes
f66f7b28f5
1) Fix another possible invalid memory access in parse.y and the memcpy problem reported by valgrind
...
2) Misc
2008-04-14 15:22:52 +00:00
robocop
a808a2bda2
const and style.
2008-04-12 11:56:32 +00:00
robocop
752e3f1d43
Totally misc.
2008-04-06 08:07:00 +00:00
dimitr
d0a6ff7fe7
More changes targeted to a better error diagnostics.
2008-04-04 10:13:44 +00:00
dimitr
60fcb5886c
More details about arithmetical exceptions.
2008-04-01 12:04:08 +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
robocop
f9d26619eb
Avoid one more indentation level.
2008-03-18 13:02:52 +00:00
asfernandes
5debf97382
Correction
2008-02-10 17:58:07 +00:00
asfernandes
46c115411a
Fixed CORE-1254 - Problem with DISTINCT and insensitive collations
2008-02-09 15:19:21 +00:00
asfernandes
11b869588d
Misc
2008-02-08 01:25:41 +00:00
asfernandes
561f612c16
Fixed problem (invalid BLOB id) with LIST(DISTINCT)
2008-02-07 14:45:49 +00:00
asfernandes
e87406f058
Fixed problem (invalid BLOB id) with LIST, appeared after blob memory consumption optimization
2008-02-06 14:29:57 +00:00
dimitr
8f742ba52c
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 12:57:52 +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
e3128c2479
The merge continued.
2008-01-16 08:54:50 +00:00
alexpeshkoff
bd51630b00
Optimized code for domain-based variables (and procedure arguments)
2007-12-08 13:41:26 +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
7602a29b94
HPUX Port
2007-11-12 14:26:44 +00:00
asfernandes
a1c1df532c
Simple fix for CORE-1539 - select * from rdb$triggers where rdb$trigger_source like 'CHECK%'
2007-11-03 17:49:42 +00:00
alexpeshkoff
82d480d75e
Fixed CORE-1560: NULLIF crashes when first parameter is constant empty string
2007-11-02 14:43:11 +00:00
asfernandes
944108171e
Use const in SysFunction as suggested by Dmitry Kovalenko
2007-10-12 20:25:04 +00:00
asfernandes
63de95f1d9
Fixed CORE-1451 - Using RDB$DB_KEY in where section while selecting from a procedure crashes the server
2007-09-27 15:52:47 +00:00
hvlad
776188e1d9
Fixed bug CORE-1428 : Incorrect timestamp substraction in 3 dialect when result is negative number
2007-08-27 21:48:47 +00:00
robocop
715b05566e
Misc.
2007-08-01 09:00:20 +00:00
dimitr
cc0b9f9d4a
Fixed CORE-1389.
2007-07-31 13:06:11 +00:00
asfernandes
b5a23c12d1
Improvements:
...
1) CORE-1387 - Add MILLISECONDS handling to EXTRACT, DATEADD and DATEDIFF functions
2) CORE-663 - EXTRACT(WEEK FROM DATE)
2007-07-31 01:22:59 +00:00
asfernandes
e68d7a24f3
Fixed CORE-1347 - Unexpected "cannot transliterate" error
2007-07-05 15:39:01 +00:00
asfernandes
3e33eda40b
Fixed CORE-1334 - Joins with NULL RDB$DB_KEY crash the server
2007-07-01 23:13:09 +00:00
alexpeshkoff
e5f1e63836
Fixed CORE-1312: A remote attacker can check, if a file is present in the system, running firebird server
2007-06-08 10:24:57 +00:00
robocop
5f3d9bbd54
Misc.
2007-05-18 06:15:26 +00:00
asfernandes
7ddc994041
Fixed CORE-1267 - Small bug with default value for domains in PSQL
2007-05-18 01:50:26 +00:00
asfernandes
c97d57013e
Fixed CORE-1253 - LIST(DISTINCT) concatenate VARCHAR values as CHAR
2007-05-11 02:07:36 +00:00
hvlad
c4d77fe045
Fixed CORE-1248 : Incorrect timestamp arithmetic when one of operands is negative number
2007-05-07 13:23:22 +00:00
asfernandes
cfe0ad95cf
Fixed CORE-1227 - LIST() function seems not work if used twice or more in a query
2007-05-05 19:28:46 +00:00
dimitr
6ced0295a5
Misc.
2007-04-13 13:21:23 +00:00
asfernandes
166fc0b865
Misc
2007-04-13 01:37:44 +00:00
asfernandes
8c7076b67f
Port of Yaffil builtin functions
2007-04-12 15:56:34 +00:00
alexpeshkoff
9068d7787f
Frontported alignment and endianess fixes from 2.0
2007-03-25 16:09:00 +00:00
asfernandes
0b3e789230
Fixed CORE-1150 - Error conversion error from string " " using outer join on int64 and int fields
2007-03-02 15:22:48 +00:00
asfernandes
2100a06c84
Make MOV_move know how to move blobs.
...
This fixes CORE-1147: Blobs are not converted to string in UDF parameters.
2007-03-02 00:46:03 +00:00
asfernandes
2d26b3f5f8
Allow BLOBs in EXECUTE STATEMENT and possibly in others unkown cases
2007-02-27 02:36:20 +00:00
asfernandes
05e6ebd58c
Check constraints when reading variables/parameters only if it's the first read and it's wasn't assigned yet
2007-02-06 14:25:10 +00:00
dimitr
92a267a81b
Addressed issue spotted by Claudio.
2007-02-05 09:13:05 +00:00
dimitr
117b30c4dc
Fixed one more related issue for CORE-1112.
2007-01-29 03:03:43 +00:00
dimitr
bbd2aec3ab
Fixed both bugs mentioned in CORE-1112.
2007-01-29 03:00:09 +00:00
asfernandes
be9e3a8a84
1) Correction for input parameters
...
2) Correct message for constraint violation in CAST
3) Display parameter/variable number when there is no debug info
2007-01-17 23:59:23 +00:00
asfernandes
c359f0c080
Fixed a crash when validating NULL with a constraint
2007-01-17 14:21:50 +00:00
asfernandes
aca179f398
Full domain support and NOT NULL in PSQL
2007-01-17 01:19:01 +00:00
hvlad
65aad0d540
Fixed my mistake pointed by Dmitry
2007-01-06 11:06:22 +00:00
dimitr
5320dae4ce
Fixed CORE-1073.
2006-12-30 07:22:46 +00:00
hvlad
2e343c74ef
Implement improvement CORE-1069 : Optimize index scan when more than one index scanned and ANDed
2006-12-27 21:01:02 +00:00
alexpeshkoff
7802ca6662
removed old hack for AIX, no idea what it was for (frontport)
2006-11-30 09:23:55 +00:00
dimitr
543fc5e0d1
Enabled rescheduling points for classic. It allows to shutdown database or cancel operation timely for a heavy loaded attachment.
2006-10-31 15:59:23 +00:00