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

32906 Commits

Author SHA1 Message Date
dimitr
90d1477258 increment build number 2008-04-30 17:45:52 +00:00
dimitr
6fbb76c115 Fixed the crash reported privately by Bill Oliver. 2008-04-30 17:45:46 +00:00
alexpeshkoff
78bc58f1e8 increment build number 2008-04-30 17:27:26 +00:00
alexpeshkoff
93b7bef215 increment build number 2008-04-30 17:26:59 +00:00
asfernandes
2d3881c806 increment build number 2008-04-30 15:50:19 +00:00
asfernandes
21464e2901 increment build number 2008-04-30 15:50:13 +00:00
asfernandes
9de812df7c increment build number 2008-04-30 15:50:12 +00:00
asfernandes
3107048170 increment build number 2008-04-30 15:48:01 +00:00
asfernandes
a74ef4c9b5 increment build number 2008-04-30 01:48:14 +00:00
asfernandes
f10505e82b Misc 2008-04-30 01:48:11 +00:00
asfernandes
1679cfdd17 Fix POSIX build 2008-04-30 01:47:10 +00:00
asfernandes
99287be47f increment build number 2008-04-30 01:47:08 +00:00
asfernandes
a41c769f74 increment build number 2008-04-30 01:42:11 +00:00
asfernandes
8d04f25fb3 Misc 2008-04-30 01:42:09 +00:00
asfernandes
c89459bb3c increment build number 2008-04-30 01:42:04 +00:00
fsg
ee044d3519 increment build number 2008-04-29 19:39:37 +00:00
fsg
b48be5dc35 nightly update 2008-04-29 19:39:17 +00:00
hvlad
6ee4242552 Fixed bug CORE-1841 : If some VIEW used derived tables and long table names\aliases, It is possible to overflow RDB$VIEW_RELATIONS.RDB$CONTEXT_NAME.
Attention : ODS changed !
2008-04-29 16:39:17 +00:00
hvlad
71eb6ee952 increment build number 2008-04-29 16:39:11 +00:00
alexpeshkoff
42bdb39c2d increment build number 2008-04-29 14:11:39 +00:00
alexpeshkoff
8b91245085 increment build number 2008-04-29 13:27:14 +00:00
robocop
b3335a69b5 increment build number 2008-04-29 12:37:09 +00:00
robocop
a7d9e7f25c DirectoryList wasn't used, so I'm deleting it.
Fortunately, because it has half-finished functionality.
2008-04-29 12:37:02 +00:00
robocop
58f1e2ebf0 increment build number 2008-04-29 12:36:59 +00:00
hvlad
60b971897b increment build number 2008-04-29 12:24:15 +00:00
hvlad
2d7379aa3b Fixed broken restore via service API 2008-04-29 12:24:07 +00:00
robocop
fcc41d428c increment build number 2008-04-29 12:21:31 +00:00
robocop
4cbdb23710 Fix IntlManager.cpp to sync with "config" cleanup.
Notice that whereas JString had a const char* operator for automatic or forced conversion, Firebird::string doesn't have one. Worse, the layout of FBString has a static buffer of size 32 but can allocate a dynamic buffer for larger requirements and therefore, casting FBString to char* or const char* will most likely produce wrong behavior or crash. Thereforer, I removed the places with such explicit cast. Alex, please watch if there are more problems of this type in IntlManager.cpp, the "config" dir or the "vulcan" dir.
2008-04-29 12:21:17 +00:00
robocop
16dbb17061 increment build number 2008-04-29 12:01:36 +00:00
robocop
39e02e49fb 1.- Style.
2.- Cleanup.
3.- Put enumerations and plain structures in their due classes, checked constness, commented or deleted unused crap (watch stupid macros in header files that pollute all the files where such headers are included), etc.

There's a lot of pending work to do. Still trying to convert to decent C++ this barbarian code probably written by Genghis Khan or Attila the Hun.
2008-04-29 12:01:24 +00:00
robocop
e9737dd290 increment build number 2008-04-29 11:33:20 +00:00
robocop
9953529694 1.- Style.
2.- Cleanup.
3.- Put a compilation warning on DirectoryList::matchFileName because the function's purpose only can be guessed: it returns true unconditionally. Maybe it was expected to tell us if a file name matched a directory name or querying the operating system to know whether the file existed inside the given directory name. Anyway, since it does nothing useful, DirectoryList::validateFilename is suspicious, too, since it uses the former in a loop.
2008-04-29 11:33:11 +00:00
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
9e0c4160da Make fb_cancel_operation() public API call. 2008-04-29 09:57:55 +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