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

29951 Commits

Author SHA1 Message Date
robocop
b47556d394 increment build number 2008-04-29 11:23:22 +00:00
robocop
0a9c97a255 1.- Style.
2.- Cleanup.
3.- Mark a disastrous condition in Stream::allocSegment in DEBUG mode at least so it can be detected: potentially negative argument to
new char[<number>] if the caller of the function doesn't do what's expected by this function.
4.- Now that the weed JString was eradicated, rename Stream::getJString to getFBString and put an assertion to verify the initial assumption (in the worst case, it could be a buffer overrun).
5.- Fix a deallocation bug (probable heap corruption) in Stream::truncate because delete[] should be used instead of plain delete.

Generally speaking, the code inherited from Vulcan is so weak that expects the caller to know the internal logic of the callee to do the right thing to avoid crashing the callee. This is a general problem with the files in the "config" dir.
2008-04-29 11:23:06 +00:00
robocop
93f58d1671 increment build number 2008-04-29 11:10:54 +00:00
robocop
f075a729a5 1.- Style.
2.- Cleanup.
3.- Fix an invalid memory access when returning data member belonging to an object from the stack in
ConfObject::getConcatenatedValues. I didn't see a runtime error because I don't use the feature, but reading the code is enough.
2008-04-29 11:10:35 +00:00
robocop
db995b0d02 increment build number 2008-04-29 11:05:31 +00:00
robocop
5ee6bf66b6 1.- Style.
2.- Cleanup.
3.- Fix what I assume may cause astray behavior. Only an inept could create an enumeration in Lex.h like this
enum TokenType {
	END_OF_STREAM,
	PUNCT,
	NAME,
to be used in the data member tokenType but at the same time, create preprocessor macros like this
#define WHITE	1
#define PUNCT	2
to be stored and retrieved by
char charTableArray [256]
to calculate the character class (punctuation, spaces, etc) in the Lexer,
where the macro PUNCT (value 2) overrides the enum member PUNCT (value 1) and that inconsistent value is used in both tasks, causing PUNCT to be interpreted as tokenType being NAME (value 2 in the enum). Since this module has several bugs, maybe all the bugs cancel among themselves and all works as expected, but it would be pure luck.
2008-04-29 11:05:11 +00:00
alexpeshkoff
6ab931ebed increment build number 2008-04-29 09:57:58 +00:00
alexpeshkoff
1bd985f223 increment build number 2008-04-29 09:57:57 +00:00
alexpeshkoff
db8f4f1cce increment build number 2008-04-29 09:57:53 +00:00
alexpeshkoff
19a1fe2116 increment build number 2008-04-29 09:55:45 +00:00
alexpeshkoff
0ba2ab7ea7 Make fb_cancel_operation() public API call. Related cleanup. 2008-04-29 09:55:41 +00:00
alexpeshkoff
55a5904cac increment build number 2008-04-29 09:55:40 +00:00
alexpeshkoff
dd6086edc0 increment build number 2008-04-29 09:55:39 +00:00
alexpeshkoff
2954db5a99 increment build number 2008-04-29 09:55:30 +00:00
paulbeach
f31bf55e38 increment build number 2008-04-29 09:40:23 +00:00
alexpeshkoff
3bb16bbef9 increment build number 2008-04-29 08:15:44 +00:00
alexpeshkoff
1b20fba1e9 Fixed "-s" switch in posix CS 2008-04-29 08:15:36 +00:00
alexpeshkoff
e6569dd06b increment build number 2008-04-29 07:57:59 +00:00
alexpeshkoff
bf691d08c1 Cleanup - posix CS works with MT listener as expected. 2008-04-29 07:57:53 +00:00
fsg
64952fa2cd increment build number 2008-04-28 19:21:19 +00:00
hvlad
292b447238 increment build number 2008-04-28 09:35:15 +00:00
hvlad
b04aa77f13 Fixed bug CORE-1830 2008-04-28 09:35:10 +00:00
alexpeshkoff
efbdd3106d increment build number 2008-04-28 07:41:50 +00:00
fsg
e631a409a7 increment build number 2008-04-27 19:23:56 +00:00
fsg
2587337be6 increment build number 2008-04-27 19:23:15 +00:00
asfernandes
cd35f836d3 increment build number 2008-04-27 18:53:39 +00:00
asfernandes
b2abfa3d8b Compatibility with Valgrind 3.3 2008-04-27 18:53:33 +00:00
robocop
de2d6eb02e increment build number 2008-04-27 04:44:39 +00:00
asfernandes
efb083c560 increment build number 2008-04-27 02:39:52 +00:00
asfernandes
53a2090f65 Misc 2008-04-27 02:39:51 +00:00
asfernandes
13915998c3 increment build number 2008-04-27 02:39:47 +00:00
asfernandes
aa4ce69a7f increment build number 2008-04-26 23:20:43 +00:00
fsg
4cd70c1b8c increment build number 2008-04-26 19:38:39 +00:00
asfernandes
3762641975 increment build number 2008-04-26 15:58:22 +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
asfernandes
aeab665515 increment build number 2008-04-26 15:49:33 +00:00
robocop
1a56fb0fde increment build number 2008-04-26 14:50:30 +00:00
robocop
649c1733e9 Misc. 2008-04-26 14:50:27 +00:00
robocop
e1c02611c9 increment build number 2008-04-26 14:46:03 +00:00
robocop
e593a978b8 Fix the code in these almost forgotten files.
Close some B.O., fix the parameters (constness, type) and mark unused functions with our macro for that purpose.
2008-04-26 14:45:58 +00:00
robocop
ec03603707 increment build number 2008-04-26 14:35:24 +00:00
robocop
2a88090ed9 increment build number 2008-04-26 14:35:23 +00:00
robocop
53bf05282d Misc. 2008-04-26 14:35:12 +00:00
robocop
b23d31fbd8 increment build number 2008-04-26 14:34:21 +00:00
robocop
b95f9a963a increment build number 2008-04-26 14:33:21 +00:00
robocop
299803d438 increment build number 2008-04-26 10:36:47 +00:00
robocop
fd11574f6f increment build number 2008-04-26 10:36:46 +00:00
robocop
cc29cad2eb increment build number 2008-04-26 10:33:57 +00:00
robocop
a93fed02cf increment build number 2008-04-26 10:31:12 +00:00
robocop
ee9b4036ad increment build number 2008-04-26 10:31:10 +00:00
robocop
7d4533725b Misc. 2008-04-26 10:31:03 +00:00
robocop
4c379b8a1a increment build number 2008-04-26 10:29:55 +00:00
robocop
83d3ddd6cb Replace custom code by helper class ThreadStatusGuard. 2008-04-26 10:29:52 +00:00
robocop
a426a46295 increment build number 2008-04-26 10:29:49 +00:00
fsg
87b4118954 increment build number 2008-04-25 19:19:35 +00:00
alexpeshkoff
4b60d8d5d7 increment build number 2008-04-25 16:37:34 +00:00
alexpeshkoff
751f90e7bb increment build number 2008-04-25 16:37:33 +00:00
alexpeshkoff
a7ec61e555 increment build number 2008-04-25 16:36:26 +00:00
alexpeshkoff
7f3c43032a Deprecated fbmgr utility.
To be removed in 3.0.
2008-04-25 16:36:23 +00:00
alexpeshkoff
b1854af270 increment build number 2008-04-25 16:33:35 +00:00
alexpeshkoff
81e856251c Added switch "-daemon" to guardian.
Thios seems a good replacement of used since 2.0 fbmgr functionality.
2008-04-25 16:33:30 +00:00
alexpeshkoff
3da277879c increment build number 2008-04-25 13:40:46 +00:00
asfernandes
49a72a21ec increment build number 2008-04-25 11:01:11 +00:00
paulbeach
8fc7cdf1f2 increment build number 2008-04-25 10:14:56 +00:00
paulbeach
2600e01b89 Fix optimisation problem on MacOSX ppc build that results in a segfault on exit for all utilities
Re-define __ppc__ where necessary
2008-04-25 10:14:54 +00:00
paulbeach
c06edd91c0 increment build number 2008-04-25 10:14:50 +00:00
alexpeshkoff
79216d01f8 increment build number 2008-04-25 10:05:01 +00:00
paulbeach
a099700ac1 increment build number 2008-04-25 10:04:28 +00:00
paulbeach
200915e330 increment build number 2008-04-25 10:04:21 +00:00
paulbeach
b8ae68d534 increment build number 2008-04-25 09:42:22 +00:00
paulbeach
bc448cd3d1 increment build number 2008-04-25 09:42:21 +00:00
paulbeach
64df8dd761 Solaris 64bit AMD port 2008-04-25 09:42:19 +00:00
paulbeach
4591bde771 increment build number 2008-04-25 09:42:15 +00:00
paulbeach
d77ad7c7c2 increment build number 2008-04-25 09:42:10 +00:00
alexpeshkoff
251c9e6b10 increment build number 2008-04-25 09:30:31 +00:00
alexpeshkoff
dceac94a4a Fixed CORE-1868: AV in isc_dsql_free_statement() 2008-04-25 09:30:27 +00:00
hvlad
544ac78286 increment build number 2008-04-25 08:40:03 +00:00
hvlad
a622fe2bfe Fix MSVC build after JString removal 2008-04-25 08:40:00 +00:00
hvlad
ac8ca54483 increment build number 2008-04-25 08:39:20 +00:00
fsg
b00a137d1f increment build number 2008-04-24 18:56:20 +00:00
alexpeshkoff
fdd83da48b increment build number 2008-04-24 16:08:42 +00:00
alexpeshkoff
5c1dcfc16b increment build number 2008-04-24 16:08:40 +00:00
alexpeshkoff
d13a6cbdad increment build number 2008-04-24 16:06:25 +00:00
alexpeshkoff
e6ddce9bfe increment build number 2008-04-24 16:05:47 +00:00
alexpeshkoff
d4ffa306bf Fixed CORE-1864: SELECT operator does not work in ISQL 2008-04-24 16:05:39 +00:00
alexpeshkoff
ccee8e7ff8 increment build number 2008-04-24 16:05:37 +00:00
alexpeshkoff
6060c0c6c1 increment build number 2008-04-24 15:53:09 +00:00
alexpeshkoff
ba8e97d185 increment build number 2008-04-24 15:53:08 +00:00
alexpeshkoff
c0a472d65e 1. Replaced JString (and some plain char[] buffers) with Firebird::string.
2. Make memory allocations look (and wrok) in current firebird style.
3. Fixed vararg usage problem on amd64/linux in AdminException.
2008-04-24 15:49:43 +00:00
alexpeshkoff
b0309298b2 increment build number 2008-04-24 15:49:37 +00:00
alexpeshkoff
ef403fb1f5 increment build number 2008-04-24 15:44:59 +00:00
alexpeshkoff
051eae391f Added useful JString methods to Firebird::string 2008-04-24 15:44:54 +00:00
alexpeshkoff
5c4efdc6e3 increment build number 2008-04-24 15:11:49 +00:00
alexpeshkoff
6e04201fa5 Fixed AV: exception may be thrown when there is no attachment at all 2008-04-24 15:11:45 +00:00
robocop
455d2e0864 increment build number 2008-04-24 10:57:01 +00:00
robocop
b70fc21329 Collapse some lines of repetitive code. 2008-04-24 10:56:57 +00:00
robocop
38afbc41a9 increment build number 2008-04-24 10:50:35 +00:00
robocop
d3e036d7b9 Fix CORE-1862. 2008-04-24 10:50:22 +00:00
robocop
87654e0cc8 increment build number 2008-04-24 07:19:10 +00:00
robocop
f6140e2a20 Cleanup. 2008-04-24 07:18:56 +00:00
robocop
a56bc1f2f8 increment build number 2008-04-24 07:18:21 +00:00
robocop
2f7dea748c increment build number 2008-04-24 07:18:20 +00:00
robocop
6ea17fa81d Misc. 2008-04-24 07:18:15 +00:00
robocop
36c983c60e increment build number 2008-04-24 07:16:19 +00:00
robocop
2ce6a25c83 Style. 2008-04-24 07:16:12 +00:00
asfernandes
d45f8c97dc increment build number 2008-04-24 01:53:43 +00:00
asfernandes
e18ac3cb53 Misc 2008-04-24 01:53:40 +00:00
asfernandes
2038f50229 increment build number 2008-04-24 01:53:36 +00:00
asfernandes
176aa34523 increment build number 2008-04-24 01:53:35 +00:00
asfernandes
2533b11454 increment build number 2008-04-24 01:53:32 +00:00
fsg
d7aa414c78 increment build number 2008-04-23 19:10:04 +00:00
hvlad
fb70f5616b increment build number 2008-04-23 09:38:18 +00:00
hvlad
3c353209d2 Implement CORE-818 : Server needs to detect disconnects.
For INET only.
2008-04-23 09:38:15 +00:00
hvlad
88bef5eab6 increment build number 2008-04-23 09:38:14 +00:00
hvlad
9d89c63d16 increment build number 2008-04-23 09:38:13 +00:00
hvlad
e2fdb670ab increment build number 2008-04-23 09:38:08 +00:00
hvlad
3199fddd72 increment build number 2008-04-23 09:31:45 +00:00
hvlad
969a81f138 Lets cleanup status vector correctly. 2008-04-23 09:31:40 +00:00
alexpeshkoff
e7f1e914e2 increment build number 2008-04-23 08:40:42 +00:00
alexpeshkoff
036f078fed increment build number 2008-04-23 08:40:30 +00:00
dimitr
ee323dcaf0 increment build number 2008-04-23 08:06:32 +00:00
dimitr
5765e4efea increment build number 2008-04-23 08:06:31 +00:00
dimitr
68f3670087 Made indices on procedure and exception IDs unique.
Added new unique index on generator ID.
2008-04-23 08:06:28 +00:00
dimitr
d7973aa164 increment build number 2008-04-23 08:01:39 +00:00
dimitr
06f13e393c Misc. 2008-04-23 08:01:36 +00:00
dimitr
6e8686fa4d increment build number 2008-04-23 08:00:40 +00:00
dimitr
a355c60d02 1) Implemented CORE-793. More work is required to terminate idle CS processes, this will be done the next week.
2) Fixed the "lock conflict" error for the CS monitoring in v2.5.
2008-04-23 08:00:27 +00:00
asfernandes
f4e86a9d37 increment build number 2008-04-23 02:19:27 +00:00
asfernandes
cfb2b8ee91 Misc 2008-04-23 02:19:25 +00:00
asfernandes
ba958fcb87 increment build number 2008-04-23 02:19:21 +00:00
fsg
80607dc14c increment build number 2008-04-22 19:11:36 +00:00
asfernandes
5fa230376e increment build number 2008-04-22 15:32:39 +00:00
asfernandes
a599f8a49a Fixed problems of attachment lock in Windows - thanks to Vlad 2008-04-22 15:32:33 +00:00
robocop
a874c2efb2 increment build number 2008-04-22 13:01:23 +00:00
robocop
888c5d539f Cleanup. 2008-04-22 13:01:18 +00:00
robocop
9b6ca77304 increment build number 2008-04-22 11:34:34 +00:00
robocop
3934d8fb1f increment build number 2008-04-22 11:34:32 +00:00
robocop
c23e66cc10 Paranoid check. 2008-04-22 11:34:24 +00:00
robocop
ff82f5e858 increment build number 2008-04-22 11:32:50 +00:00
robocop
90394ca9c5 Misc. 2008-04-22 11:32:44 +00:00
robocop
9a228e381a increment build number 2008-04-22 11:28:24 +00:00
robocop
cd2e3a1862 Avoid const_cast. 2008-04-22 11:28:16 +00:00
robocop
a3e8480380 increment build number 2008-04-22 11:27:51 +00:00
robocop
ccaf157b4d Since all usages cast ext_filename to char*, I switched to it. 2008-04-22 11:27:42 +00:00
alexpeshkoff
e9e8fb39a8 increment build number 2008-04-22 09:26:59 +00:00
alexpeshkoff
52496594ff increment build number 2008-04-22 09:26:54 +00:00
fsg
38a854fa5b increment build number 2008-04-21 19:01:31 +00:00
fsg
f6ade02722 increment build number 2008-04-21 19:00:36 +00:00
alexpeshkoff
511e68fa9c increment build number 2008-04-21 16:29:08 +00:00
alexpeshkoff
b96cae73fb Use internal trusted authentication in services 2008-04-21 16:29:04 +00:00
alexpeshkoff
fad54a91ad increment build number 2008-04-21 16:18:47 +00:00
alexpeshkoff
9ff2935d79 Fixed CORE-1854: Value of CURRENT_USER may be not in upper case when using unix OS auth 2008-04-21 16:18:41 +00:00
robocop
c349e63e50 increment build number 2008-04-21 14:02:56 +00:00
robocop
f32d1ac819 Style. 2008-04-21 14:02:47 +00:00
robocop
aa268dfcc7 increment build number 2008-04-21 13:45:43 +00:00
robocop
4f18a793f0 Maybe it's just my imagination, but I see more B.O. 2008-04-21 13:45:37 +00:00
robocop
b41cd7d048 increment build number 2008-04-21 12:56:20 +00:00
robocop
f8a2702b69 Buffer overrun and null pointer exception courtesy of Jim.
:-(
2008-04-21 12:56:16 +00:00
robocop
161bb87587 increment build number 2008-04-21 12:14:31 +00:00
robocop
272ab7fb99 Misc. 2008-04-21 12:14:16 +00:00
robocop
a631525624 increment build number 2008-04-21 11:39:43 +00:00
robocop
e4986792c3 increment build number 2008-04-21 11:39:41 +00:00
robocop
f8dee95b8c Misc. 2008-04-21 11:39:35 +00:00
robocop
6c7f2e93a5 increment build number 2008-04-21 11:39:28 +00:00
robocop
3d23c12f0c increment build number 2008-04-21 11:37:35 +00:00
robocop
8ccc9eb5a6 Changed sw_use to sw_no_reserve and ua_use to ua_no_reserve to distinguish them from sw_user and ua_user. Also, the new name is clearer on the intended usage.
Disabled the replay log feature since Adriano deleted it in the server.
Also god rid of expand_filename() that was a B.O. function.
2008-04-21 11:37:23 +00:00
robocop
a658ce64a5 increment build number 2008-04-21 11:36:28 +00:00
robocop
14a0296b68 Changed sw_use to sw_no_reserve and ua_use to ua_no_reserve to distinguish them from sw_user and ua_user. Also, the new name is clearer on the intended usage.
Disabled the replay log feature since Adriano deleted it in the server.
2008-04-21 11:36:10 +00:00
alexpeshkoff
a34b706ffd increment build number 2008-04-21 09:53:32 +00:00
alexpeshkoff
8a1b11482f Fixed races during disconnect 2008-04-21 09:53:28 +00:00
dimitr
f2e1304e17 increment build number 2008-04-21 09:13:52 +00:00
dimitr
6e67797037 increment build number 2008-04-21 09:07:27 +00:00
dimitr
45cb0a2353 increment build number 2008-04-21 09:03:14 +00:00
asfernandes
833aba1d0c increment build number 2008-04-21 02:42:18 +00:00
asfernandes
083a3ccc36 increment build number 2008-04-21 02:28:45 +00:00
asfernandes
87bbcad64c increment build number 2008-04-20 23:03:40 +00:00
asfernandes
29490460b2 Misc 2008-04-20 23:03:35 +00:00
asfernandes
5d7597dc69 increment build number 2008-04-20 23:00:55 +00:00
asfernandes
122594c388 increment build number 2008-04-20 22:54:40 +00:00
asfernandes
c416ea1621 Lock the attachment handle during API calls 2008-04-20 22:54:36 +00:00
asfernandes
53dddcdf2b increment build number 2008-04-20 22:54:33 +00:00
asfernandes
375e15d18b increment build number 2008-04-20 22:54:29 +00:00
asfernandes
9a79df82cb increment build number 2008-04-20 22:54:23 +00:00
asfernandes
adbaa5bb3b increment build number 2008-04-20 19:47:37 +00:00
asfernandes
6f9383df16 increment build number 2008-04-20 19:16:36 +00:00
fsg
3a6365d88c increment build number 2008-04-20 18:59:20 +00:00
dimitr
24ec0122b0 increment build number 2008-04-20 14:35:26 +00:00
dimitr
46adac380c Misc. 2008-04-20 14:35:23 +00:00
dimitr
456e36da79 increment build number 2008-04-20 14:02:58 +00:00
dimitr
c74650aa5f Fixed CORE-1357. 2008-04-20 14:02:51 +00:00
dimitr
fe3c271644 increment build number 2008-04-20 13:57:07 +00:00
dimitr
d668d6c33b increment build number 2008-04-20 13:55:30 +00:00
robocop
b9b5658b2c increment build number 2008-04-20 11:46:08 +00:00
robocop
7333e03c17 More encapsulation, bring some order, fix some B.O. cases, etc. 2008-04-20 11:46:02 +00:00
robocop
0ba8a36d7d increment build number 2008-04-20 10:41:07 +00:00
robocop
4ba56c4468 increment build number 2008-04-20 10:41:05 +00:00
robocop
60802a9d77 Fix the most obvioius problems:
- style (few fixes only)
- constness
- total lack of encapsulation (all data members exposed in the interface).
2008-04-20 10:40:58 +00:00
robocop
67e68fd8ed increment build number 2008-04-20 10:40:51 +00:00
robocop
9261009846 increment build number 2008-04-20 10:40:41 +00:00
fsg
b66ffeda25 increment build number 2008-04-19 19:05:18 +00:00
alexpeshkoff
64d58c5a7c increment build number 2008-04-19 13:02:24 +00:00
alexpeshkoff
ede4082090 Fixed one more problem detected with valgrind.
Also do not write empty blobs to temp file.
2008-04-19 13:02:13 +00:00
alexpeshkoff
10de99b04c increment build number 2008-04-19 11:46:16 +00:00
alexpeshkoff
5dc978ae5d Added missing initializer 2008-04-19 11:46:09 +00:00
robocop
6757683cad increment build number 2008-04-19 11:33:51 +00:00
robocop
3a5712db9e Style. 2008-04-19 11:33:37 +00:00
robocop
9cc4fdfa1a increment build number 2008-04-19 11:11:21 +00:00
robocop
b95a7d3b28 increment build number 2008-04-19 11:11:19 +00:00
robocop
05271261e1 Style. 2008-04-19 11:11:10 +00:00
robocop
22dbbc1a08 increment build number 2008-04-19 11:10:42 +00:00
robocop
0c60a4cec6 increment build number 2008-04-19 11:10:14 +00:00
robocop
e8cc245a5d increment build number 2008-04-19 09:42:09 +00:00
robocop
496300beab increment build number 2008-04-19 09:42:08 +00:00
robocop
61662f5b5b Constness and style. 2008-04-19 09:42:01 +00:00
robocop
e9e0e1025f increment build number 2008-04-19 09:41:57 +00:00
robocop
47191cb329 increment build number 2008-04-19 09:40:30 +00:00
robocop
5d12ca3dca Constness. 2008-04-19 09:40:19 +00:00
fsg
49d4ce12d8 increment build number 2008-04-18 19:16:26 +00:00
dimitr
3993d1c826 increment build number 2008-04-18 18:34:48 +00:00
dimitr
ae4ad27667 Cleanup. 2008-04-18 18:34:43 +00:00
alexpeshkoff
cf5729f9be increment build number 2008-04-18 16:15:20 +00:00
alexpeshkoff
3334cf7fe1 Fixed a problem detected by valgrind - uninitialized data in temp file 2008-04-18 16:15:04 +00:00
robocop
b49efee01c increment build number 2008-04-18 14:30:55 +00:00
robocop
37ca104c1a Misc. 2008-04-18 14:30:45 +00:00
alexpeshkoff
08c98b0a1b increment build number 2008-04-18 10:52:41 +00:00
alexpeshkoff
742c1dce93 Linger should better be initialized 2008-04-18 10:52:29 +00:00
dimitr
987f2ed5b8 increment build number 2008-04-18 10:33:41 +00:00
dimitr
b198d3b09f DSQL now belongs to the engine, so its pools will be released automagically upon disconnect.
There's no need in such crappy anti-memory-leak hacks anymore.
2008-04-18 10:33:35 +00:00
robocop
b266f49d88 increment build number 2008-04-18 10:03:09 +00:00
robocop
5b0a5ded86 Style. 2008-04-18 10:03:04 +00:00
robocop
f7b3f4ec13 increment build number 2008-04-18 09:57:05 +00:00
robocop
6243bee9a1 increment build number 2008-04-18 09:50:29 +00:00
robocop
2f7d411479 Misc. 2008-04-18 09:50:26 +00:00
robocop
ba9e8481d0 increment build number 2008-04-18 09:48:57 +00:00
robocop
97543c6cb9 Generated iberor.h has slightly different layout. 2008-04-18 09:48:52 +00:00
alexpeshkoff
1f23119802 increment build number 2008-04-18 09:44:39 +00:00
alexpeshkoff
f0cb8afa8b cleanup 2008-04-18 09:44:36 +00:00
robocop
ed91de9083 increment build number 2008-04-18 06:00:53 +00:00
robocop
5896e1caec Tring to fix chaotic indentation (spaces v/s tabs). 2008-04-18 06:00:48 +00:00
asfernandes
92a15bdafc increment build number 2008-04-18 01:37:48 +00:00
asfernandes
d75951e8e5 Misc 2008-04-18 01:37:44 +00:00
asfernandes
ce60949c7a increment build number 2008-04-18 01:37:39 +00:00
asfernandes
3daaf92135 increment build number 2008-04-18 01:37:35 +00:00
fsg
cb850bb5c8 increment build number 2008-04-17 19:40:15 +00:00
alexpeshkoff
a2ab7d3dc1 increment build number 2008-04-17 17:09:13 +00:00
alexpeshkoff
d6d002143d comment 2008-04-17 17:09:10 +00:00
alexpeshkoff
1e7a2dd592 increment build number 2008-04-17 17:05:45 +00:00
alexpeshkoff
6c6fdd44fa Fixed memory leak in rem_port::asyncReceive() and optimized it's performance.
Get it ready for non-IP protocols.
2008-04-17 17:05:40 +00:00
alexpeshkoff
a5bb5a6517 increment build number 2008-04-17 16:25:27 +00:00
alexpeshkoff
3c35984950 fixed gcc compilation 2008-04-17 16:25:23 +00:00
dimitr
47873096a3 increment build number 2008-04-17 16:02:52 +00:00
dimitr
8a07d31e5f 1) Simplified the internal provider API a little.
2) Passed the original filename (possibly an alias) via DPB. This way it can be transmitted through the remote subsystem.

Hopefully, this should fix CORE-1105, CORE-1390 and CORE-1566 at once.
Although a better hope would be that it won't break anything else :-)
2008-04-17 16:02:46 +00:00
dimitr
a082f9fc3c increment build number 2008-04-17 14:54:59 +00:00
dimitr
98e46ee75f increment build number 2008-04-17 14:54:58 +00:00
dimitr
f85d5f64fd increment build number 2008-04-17 14:52:35 +00:00
dimitr
fbe69967f3 increment build number 2008-04-17 14:50:15 +00:00
alexpeshkoff
fd974fa2c7 increment build number 2008-04-17 14:32:26 +00:00
alexpeshkoff
fae184f617 Cleaned up support of 10-15 years old OSs without async IO 2008-04-17 14:32:22 +00:00
dimitr
47952895da increment build number 2008-04-17 14:31:46 +00:00
dimitr
d6572e59f7 increment build number 2008-04-17 14:22:10 +00:00
dimitr
e1d3bbcb61 1) Simplified the internal provider API a little.
2) Passed the original filename (possibly an alias) via DPB. This way it can be transmitted through the remote subsystem.

Hopefully, this should fix CORE-1105, CORE-1390 and CORE-1566 at once.
Although a better hope would be that it won't break anything else :-)
2008-04-17 14:22:04 +00:00
dimitr
0ab091dce4 increment build number 2008-04-17 14:05:47 +00:00
dimitr
c255169fe9 1) Simplified the internal provider API a little.
2) Passed the original filename (possibly an alias) via DPB. This way it can be transmitted through the remote subsystem.

Hopefully, this should fix CORE-1105, CORE-1390 and CORE-1566 at once.
Although a better hope would be that it won't break anything else :-)
2008-04-17 14:05:44 +00:00
alexpeshkoff
edf95dc91a increment build number 2008-04-17 13:50:17 +00:00
alexpeshkoff
ed638ceb03 Fixed CORE-1845: Some standard calls show server installation directory to regular users 2008-04-17 13:50:14 +00:00
alexpeshkoff
60ab57b738 increment build number 2008-04-17 13:13:10 +00:00
alexpeshkoff
a9fd3a9a6f Fixed CORE-1844: Valgrind often reports "Conditional jump or move depends on uninitialised value(s)" in check_status_vector() 2008-04-17 13:13:04 +00:00
alexpeshkoff
f8ec344ac9 increment build number 2008-04-17 12:53:51 +00:00
alexpeshkoff
7559d82dd9 Fixed CORE-1844: Valgrind often reports "Conditional jump or move depends on uninitialised value(s)" in check_status_vector() 2008-04-17 12:53:48 +00:00
hvlad
7f445cda8b increment build number 2008-04-17 11:07:00 +00:00
hvlad
2c370b3dc8 Use new EXEC STMT implemetation for all three BLR verb's. 2008-04-17 11:06:48 +00:00
alexpeshkoff
71b35aa68f increment build number 2008-04-17 10:57:44 +00:00
alexpeshkoff
f9a4fc9dd8 No use copying when src==dest (make valgrind happy) 2008-04-17 10:57:30 +00:00
hvlad
6e49a0f79a increment build number 2008-04-17 10:47:43 +00:00
hvlad
48f8d0ff80 Correct my mistake 2008-04-17 10:47:31 +00:00
dimitr
618c8a5f34 increment build number 2008-04-17 09:08:15 +00:00
dimitr
c9a454d8b2 increment build number 2008-04-17 09:07:31 +00:00
dimitr
4b1a722965 increment build number 2008-04-17 07:54:13 +00:00
dimitr
7fc85de737 Misc. 2008-04-17 07:54:10 +00:00
dimitr
4054bad810 increment build number 2008-04-17 07:52:55 +00:00
dimitr
94c5246dc8 Make Database::deletePool() consistent with MemoryPool::deletePool() regarding NULL pointers. 2008-04-17 07:52:52 +00:00
dimitr
0f09682d87 increment build number 2008-04-17 07:30:21 +00:00
dimitr
4a40b788da Correction. 2008-04-17 07:30:10 +00:00
hvlad
ba3ba43167 increment build number 2008-04-16 20:15:18 +00:00
fsg
e31ef9cd5e increment build number 2008-04-16 19:20:16 +00:00
asfernandes
fd1105a42b increment build number 2008-04-16 16:02:10 +00:00
asfernandes
28d5b99afc Misc 2008-04-16 16:02:01 +00:00
dimitr
33453746de increment build number 2008-04-16 15:40:55 +00:00
dimitr
71fb15593c Fixed CORE-1840. 2008-04-16 15:40:49 +00:00
asfernandes
3b4eeb7192 increment build number 2008-04-16 15:28:20 +00:00
asfernandes
a7a7e18220 Fixed the bug reported by Claudio - crash when getting plan of DDL requests 2008-04-16 15:28:16 +00:00
roman-simakov
bdad4bc57d increment build number 2008-04-16 15:17:12 +00:00
roman-simakov
4cf33c2d8f increment build number 2008-04-16 15:07:52 +00:00
hvlad
6f166f6642 increment build number 2008-04-16 14:20:11 +00:00
hvlad
b59d7731ec Ensure port can't be deleted ... addition 2008-04-16 14:19:58 +00:00
hvlad
9add458182 increment build number 2008-04-16 14:11:04 +00:00
hvlad
0d752b1996 increment build number 2008-04-16 13:35:55 +00:00
hvlad
6669a807f9 increment build number 2008-04-16 13:34:07 +00:00
hvlad
7c0e9004b7 increment build number 2008-04-16 13:27:27 +00:00
hvlad
3ac5a7138b increment build number 2008-04-16 13:24:24 +00:00
hvlad
80f1a4367d increment build number 2008-04-16 13:24:23 +00:00
hvlad
27c4f9451f increment build number 2008-04-16 13:23:11 +00:00
hvlad
556e50dfc2 increment build number 2008-04-16 13:08:55 +00:00
hvlad
23dad7416f Generate old blr codes (blr_exec_sql or blr_exec_into) if given EXEC STMT statement is compatible with old syntax. Per Adriano request. 2008-04-16 13:08:51 +00:00
hvlad
c733485676 increment build number 2008-04-16 12:48:31 +00:00
hvlad
cd4d7ec93d Ensure port can't be deleted by another thread while receiving data (usual socket disconnect event) during disconnect. Just hold one more reference to it. 2008-04-16 12:48:28 +00:00
hvlad
e7873fe2f6 increment build number 2008-04-16 12:27:54 +00:00
alexpeshkoff
adde1a2649 increment build number 2008-04-16 12:20:57 +00:00
alexpeshkoff
b57806deb0 increment build number 2008-04-16 12:11:34 +00:00
alexpeshkoff
f0a837e63f Fixed CORE-1839: AV when sorting by field, calculated using resursive CTE 2008-04-16 12:11:29 +00:00
hvlad
eba820918b increment build number 2008-04-16 11:46:56 +00:00
hvlad
e3a6060861 Fixed bug CORE-1838 : SET STATISTICS INDEX on index of GTT may wrongly change index id by maximum available number for database page size 2008-04-16 11:46:50 +00:00
robocop
40e8f08adf increment build number 2008-04-16 10:59:31 +00:00
robocop
e2a56ed383 Misc. 2008-04-16 10:59:21 +00:00
robocop
134b5d0d8a increment build number 2008-04-16 10:38:18 +00:00
robocop
4580126101 Do not use flags for values that are exclusive (can't be combined). 2008-04-16 10:38:08 +00:00
robocop
30659ae817 increment build number 2008-04-16 09:25:38 +00:00
robocop
6f31045e33 Misc. 2008-04-16 09:25:36 +00:00
robocop
00d4ecc158 increment build number 2008-04-16 09:25:32 +00:00
roman-simakov
7ffdfc3e78 increment build number 2008-04-16 09:16:47 +00:00
roman-simakov
dda2676ba5 1. Fixed unlocking header page while CCH_release. Thanks to Vlad.
2. Fixed writing page while nbackup merge state is stalled.
3. Fixed using dead dbb in AST handler while somebody is changing cached lock of the GlobalRWLock.
2008-04-16 09:16:45 +00:00
roman-simakov
c88b67cf27 increment build number 2008-04-16 08:46:15 +00:00
roman-simakov
a202daf6bb Replaced nbackup dirty pages locking with RAII classes 2008-04-16 08:46:13 +00:00
asfernandes
1b9d660bc2 increment build number 2008-04-16 02:09:15 +00:00
asfernandes
5a059b20c0 Misc 2008-04-16 02:09:14 +00:00
hvlad
8a7ca7c07b increment build number 2008-04-15 19:45:25 +00:00
hvlad
a8a0a39248 Fixed CORE-1837 : Procedure text is stored truncated in system tables if any variable have default value 2008-04-15 19:45:19 +00:00
fsg
00aeec7668 increment build number 2008-04-15 18:55:32 +00:00
asfernandes
d89ef296d2 increment build number 2008-04-15 15:55:55 +00:00
asfernandes
53f24220f6 Support for default collations in ISQL - SHOW DATABASE and metadata extraction 2008-04-15 15:55:51 +00:00
asfernandes
0232635f91 increment build number 2008-04-15 15:31:26 +00:00
asfernandes
e4db82781f Corrections 2008-04-15 15:31:21 +00:00
asfernandes
2a1586aba8 increment build number 2008-04-15 15:31:19 +00:00
asfernandes
20145ed0e2 increment build number 2008-04-15 15:19:25 +00:00
asfernandes
882e71fa81 Put nod_auto_trans in DSQL_pretty - noted by Claudio 2008-04-15 15:19:20 +00:00
alexpeshkoff
e4dc282069 increment build number 2008-04-15 14:15:04 +00:00
alexpeshkoff
b84d5a3797 increment build number 2008-04-15 14:15:02 +00:00
alexpeshkoff
f4f209cb6f Alan's patch for ARM 2008-04-15 14:14:57 +00:00
alexpeshkoff
fd38d38345 increment build number 2008-04-15 14:14:52 +00:00
alexpeshkoff
5a70e3eb55 increment build number 2008-04-15 14:14:44 +00:00
alexpeshkoff
364f7a6503 increment build number 2008-04-15 14:11:32 +00:00
alexpeshkoff
bdac5f2756 increment build number 2008-04-15 14:01:02 +00:00
alexpeshkoff
c80b38952b Avoid violating const rules - thanks to Claudio 2008-04-15 14:00:58 +00:00
robocop
5c55807de6 increment build number 2008-04-15 09:31:37 +00:00
robocop
b5b1027ad4 increment build number 2008-04-15 09:31:36 +00:00
robocop
5294fda616 Misc. 2008-04-15 09:31:35 +00:00
alexpeshkoff
b328ccfe85 increment build number 2008-04-15 08:53:58 +00:00
alexpeshkoff
9d67aa1220 New methods in RefPtr template 2008-04-15 08:53:54 +00:00
asfernandes
233257325c increment build number 2008-04-15 02:18:42 +00:00
asfernandes
77e97a47c0 Feature requests CORE-1737 and CORE-1803:
1) ALTER CHARACTER SET <charset> SET DEFAULT COLLATION <collation>
2) CREATE DATABASE ... [ DEFAULT CHARACTER SET <charset> [ COLLATION <collation> ] ]
2008-04-15 02:18:38 +00:00
asfernandes
ddb2937a81 increment build number 2008-04-15 02:18:36 +00:00
asfernandes
66052d5dee increment build number 2008-04-15 00:57:20 +00:00
asfernandes
79f8d2ceef Misc 2008-04-15 00:57:19 +00:00
fsg
bd294ed1ba increment build number 2008-04-14 19:10:25 +00:00
asfernandes
4157f9bd14 increment build number 2008-04-14 15:22:55 +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
asfernandes
ef55c6334e increment build number 2008-04-14 15:22:50 +00:00
robocop
7893ae3743 increment build number 2008-04-14 14:26:47 +00:00
robocop
caa5f285c4 Minor cleanup. 2008-04-14 14:26:44 +00:00
paulbeach
0cdfe56008 increment build number 2008-04-14 14:04:38 +00:00
paulbeach
f39b2c7546 increment build number 2008-04-14 14:04:33 +00:00
paulbeach
3135735734 increment build number 2008-04-14 14:04:30 +00:00
paul_reeves
12818ad662 increment build number 2008-04-14 14:01:12 +00:00
asfernandes
30dcd7bca1 increment build number 2008-04-14 13:35:16 +00:00
asfernandes
e97cccd79d Hope this fix a problem detected by valgrind 2008-04-14 13:35:15 +00:00
paulbeach
41f1351b6a increment build number 2008-04-14 13:32:55 +00:00
robocop
3d750c2bf1 Enable WEEK for dateAdd and dateDiff. 2008-04-14 13:21:05 +00:00
robocop
ce66b6051a increment build number 2008-04-14 13:21:04 +00:00
paulbeach
06cbd83721 increment build number 2008-04-14 13:17:58 +00:00
paulbeach
e9bdc242b7 increment build number 2008-04-14 13:17:50 +00:00
paulbeach
6bad84a059 increment build number 2008-04-14 13:17:42 +00:00
robocop
78059bb322 increment build number 2008-04-14 13:01:57 +00:00
robocop
73093a8889 Mark dead code. 2008-04-14 13:01:54 +00:00
paul_reeves
e265dee0bd increment build number 2008-04-14 12:23:19 +00:00
paul_reeves
b043dd7418 increment build number 2008-04-14 12:23:18 +00:00
paul_reeves
a3f58217d6 increment build number 2008-04-14 12:23:12 +00:00
paul_reeves
6362dff54e increment build number 2008-04-14 12:23:06 +00:00
paul_reeves
3ef8c7ef6a increment build number 2008-04-14 12:22:58 +00:00
paul_reeves
1d4d6b16d9 increment build number 2008-04-14 12:22:57 +00:00
paul_reeves
0d80450b62 increment build number 2008-04-14 12:22:52 +00:00
paul_reeves
60ee8a4044 increment build number 2008-04-14 12:22:51 +00:00
paul_reeves
ab2839d432 increment build number 2008-04-14 12:22:45 +00:00
paul_reeves
f9799f2635 increment build number 2008-04-14 12:22:39 +00:00
robocop
0e9dae23d1 increment build number 2008-04-14 11:09:20 +00:00
robocop
d54a9f7ef6 - Let BIN_AND, BIN_OR and BIN_XOR take two params as minimum.
- Implement BIN_NOT.
2008-04-14 11:09:16 +00:00
robocop
3864438bfc increment build number 2008-04-14 11:09:08 +00:00
paul_reeves
8d0ffeafcd increment build number 2008-04-14 10:03:03 +00:00
alexpeshkoff
d1a8365d2f increment build number 2008-04-14 09:45:58 +00:00
alexpeshkoff
bc974869c3 Implemented remote cancel operation call. 2008-04-14 09:45:54 +00:00
alexpeshkoff
a0260cfebe increment build number 2008-04-14 09:45:19 +00:00
alexpeshkoff
b0cc1c0481 Implemented remote cancel operation call. Switched to PROTOCOL_VERSION12. 2008-04-14 09:45:16 +00:00
alexpeshkoff
8dc43623f0 increment build number 2008-04-14 09:40:17 +00:00
paul_reeves
ccbe8e292a increment build number 2008-04-14 09:20:22 +00:00
paul_reeves
0fc38db072 increment build number 2008-04-14 09:20:20 +00:00
paul_reeves
598b0164b2 increment build number 2008-04-14 09:19:57 +00:00
paul_reeves
aaa92e5b0b increment build number 2008-04-14 09:19:53 +00:00
paul_reeves
594086f2b2 increment build number 2008-04-14 09:19:49 +00:00
paul_reeves
24891a9ebe increment build number 2008-04-14 09:19:48 +00:00
paul_reeves
9c753aa310 increment build number 2008-04-14 09:19:43 +00:00
paul_reeves
1edf6bdf93 increment build number 2008-04-14 09:19:38 +00:00
robocop
cffeb65a97 increment build number 2008-04-14 07:05:53 +00:00
robocop
876cb8c11c Better fix for the "unnamed field" bug. Thanks to Adriano for discovering a case that shouldn't be matched. 2008-04-14 07:05:49 +00:00
fsg
5f3b185830 increment build number 2008-04-13 19:08:34 +00:00
asfernandes
5b84ca15e6 increment build number 2008-04-13 14:53:52 +00:00
asfernandes
1c7cee202a Fix BLOBs when using -FIX_FSS_DATA NONE 2008-04-13 14:53:48 +00:00
asfernandes
e3c36b306b increment build number 2008-04-13 14:43:07 +00:00
asfernandes
06ffed6cb8 Fix Linux build 2008-04-13 14:43:04 +00:00
asfernandes
7329b52d2c increment build number 2008-04-13 14:38:42 +00:00
asfernandes
82c279fbda increment build number 2008-04-13 14:38:41 +00:00
asfernandes
aab534e66c 1) Misc 2) Remove temp. comment found by Claudio 2008-04-13 14:38:39 +00:00
asfernandes
91a12ead13 increment build number 2008-04-13 14:38:33 +00:00
asfernandes
20755c5650 increment build number 2008-04-13 14:38:29 +00:00
hvlad
37bef3cbea increment build number 2008-04-13 10:04:03 +00:00
hvlad
54d748c82d Corrections, noted by Claudio and Adriano : use Array::find, better handling of broken comments inside statement text, make getRemoteError cons, avoid problems with sqlTypeToDscType non threadsafe initialization. 2008-04-13 10:03:56 +00:00
robocop
195de7921e increment build number 2008-04-13 08:11:21 +00:00
robocop
1a882b4853 increment build number 2008-04-13 08:11:17 +00:00
robocop
28979f1d73 Fix EXECUTE STATEMENT regarding the constness of the interface. 2008-04-13 08:11:16 +00:00
robocop
e619a9ab64 increment build number 2008-04-13 06:40:35 +00:00
robocop
9c6ac5aacf increment build number 2008-04-13 06:40:33 +00:00
robocop
bf0db00991 Misc. 2008-04-13 06:40:26 +00:00
robocop
aaac49fc4c increment build number 2008-04-13 06:39:00 +00:00
robocop
78b9a98a9b increment build number 2008-04-13 06:38:52 +00:00
asfernandes
11a9d1a572 increment build number 2008-04-12 22:55:49 +00:00
asfernandes
7394d60551 Fixed CORE-1828 - Error with ABS in dialect 1 2008-04-12 22:55:39 +00:00
asfernandes
8c832a7559 increment build number 2008-04-12 22:27:11 +00:00
asfernandes
c1cedd08e5 Fix warnings 2008-04-12 22:27:03 +00:00
asfernandes
ba36059226 increment build number 2008-04-12 22:26:30 +00:00
asfernandes
0ca6d7c20f Use the collation defined in RDB$DEFAULT_COLLATE_NAME in strings constants 2008-04-12 22:26:24 +00:00
hvlad
a2c328e2ef increment build number 2008-04-12 21:20:38 +00:00
hvlad
d5aa346176 Make provider's registration not dependent from existance of EDS::Manager instance. Noted by Adriano. 2008-04-12 21:20:26 +00:00
hvlad
87e4fba5b5 increment build number 2008-04-12 21:20:14 +00:00
hvlad
ac9ab8fcb3 increment build number 2008-04-12 21:13:26 +00:00
hvlad
b849d470c3 increment build number 2008-04-12 21:12:40 +00:00
hvlad
f0899a7256 Make INTO clause of new EXECUTE STATEMENT consistent with other statements - move it at last position. By agreement in fb-devel. 2008-04-12 21:12:29 +00:00
fsg
9b2cbfd516 increment build number 2008-04-12 19:10:12 +00:00
asfernandes
e780be5533 increment build number 2008-04-12 16:07:51 +00:00
asfernandes
80baf91394 Small cleanup 2008-04-12 16:07:45 +00:00
asfernandes
7749e3586f increment build number 2008-04-12 15:48:23 +00:00
asfernandes
7954298ce8 Do not intermix CHECK_FOR_EXCEPTIONS with status_exception::raise - thanks to Claudio 2008-04-12 15:48:20 +00:00
asfernandes
61741e94f7 increment build number 2008-04-12 15:31:38 +00:00
asfernandes
8a1103cb6e Even in the internal filters we do not assign anything to ctl_status, so don't change how things should fail 2008-04-12 15:31:34 +00:00
robocop
f6bb5be68f increment build number 2008-04-12 13:40:51 +00:00
robocop
62a2cddd9d I consider useful to be able to add weeks or get differences in weeks without going back and forth with *7 or /7, but if others want to follow the standard literally and leave week only as week number in a year... 2008-04-12 13:40:48 +00:00
robocop
86748a39bb increment build number 2008-04-12 13:40:47 +00:00
robocop
b481354167 increment build number 2008-04-12 12:44:05 +00:00
robocop
363ba2aa23 increment build number 2008-04-12 12:27:11 +00:00
robocop
7a5c224438 - Enable week for dateAdd and dates or timestamps, since it's simply adding 7 days.
- Enable hour, minute, second and millisecond for dateAdd and dates.
The quantity added or substracted should account at least for one day to produce effect (IE adding 23 hours to a date doesn't increment it).
- Enable week for dateDiff and dates or timestamps.
- Enable hour, minute, second and millisecond for dateDiff and dates.

To be checked by Adriano.
2008-04-12 12:27:05 +00:00
robocop
0d17ebbfbe increment build number 2008-04-12 12:19:19 +00:00
robocop
fe41009642 Corrections, const style, etc.
To be reviewed by Vlad.
2008-04-12 12:19:15 +00:00
robocop
f61050b663 increment build number 2008-04-12 11:57:55 +00:00