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

308 Commits

Author SHA1 Message Date
robocop
1332d98618 Literal strings should be treated as const char* 2004-06-05 09:37:18 +00:00
brodsom
91deadf1c9 new switch to be used in gstat (service & util) test 2004-06-01 16:22:34 +00:00
skidder
ad75d9fb4b Fix gstat crash recently added by Blas 2004-05-31 21:39:11 +00:00
brodsom
2f425888c2 Removing unused dba_full (After Ann advice) 2004-05-28 01:31:27 +00:00
brodsom
dd5d8aba0a -Replace stuff macros with either common stuff inlines or class inline functions 2004-05-24 11:03:54 +00:00
brodsom
75a0483d75 -Comment some common.h unused macros
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +00:00
brodsom
fab9083a8f Fix wrong commit (Found by Claudio) 2004-05-23 22:53:27 +00:00
brodsom
b76651a3ef -Convert *_thread_data macros to inlines. 2004-05-21 15:23:29 +00:00
robocop
441817bd82 1.- Misc changes
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
brodsom
68cb86b274 - Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
afc2164523 Style 2004-05-19 15:21:15 +00:00
brodsom
59f342d2f8 Correction 2004-05-19 15:19:03 +00:00
brodsom
606dee7a14 Correction 2004-05-18 00:45:46 +00:00
brodsom
3a6a75ca60 Use common srq 2004-05-17 15:02:52 +00:00
brodsom
36d6d40469 Macro cleaning 2004-05-17 10:22:34 +00:00
brodsom
05d56d278e Macro cleaning 2004-05-17 00:52:26 +00:00
brodsom
7f19bca859 Macro cleaning 2004-05-17 00:28:58 +00:00
brodsom
aa88f67e75 Macro cleaning 2004-05-17 00:21:46 +00:00
brodsom
b485996fa8 Macro cleaning 2004-05-13 23:20:50 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
brodsom
2f675febb2 llio is not used actually 2004-05-07 07:47:02 +00:00
brodsom
6ef7b56623 Lost commit ("SUNOS4" was defined previously in file_params.h whenever "sun" is defined) 2004-05-06 15:01:29 +00:00
alexpeshkoff
c99677f193 fixed const conversion bug 2004-05-06 08:38:50 +00:00
brodsom
60d9d085a0 Macro cleaning 2004-05-03 21:43:56 +00:00
brodsom
8cdddb8752 Move misc/print.cpp to utilities/print_event.cpp 2004-05-03 19:13:44 +00:00
skidder
e9f8ef102e Fixes needed to make GCC 3.4 happy 2004-05-03 04:25:06 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
ba44794c1e -Remainings of ib_stdio (Pointed by Claudio) 2004-05-01 14:18:28 +00:00
brodsom
a549091c94 - Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
paul_reeves
06e6a28f13 Fix comparison typo so that we no longer overwrite newer versions of gds32.dll in <sys>. 2004-04-21 10:30:14 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
aafemt
4b99822fc9 Right headers include sequence 2004-03-24 11:06:22 +00:00
alexpeshkoff
94d2f698e2 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
*** posix build fixes ***
2004-03-20 15:45:12 +00:00
alexpeshkoff
7007d6f2a4 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
958f9e31aa Cleanup
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
skidder
13ffaf9771 Zero-terminate buffer 2004-03-16 06:16:48 +00:00
skidder
129680c42b Fix possible buffer overrun 2004-03-16 06:11:56 +00:00
skidder
26d8f03344 Fix MSVC7 build 2004-03-16 05:54:15 +00:00
alexpeshkoff
67f1740fea Various cleanup to make engine compile and work after mentioned earlier changes.
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
skidder
2851f76d35 Fix warnings 2004-03-14 05:51:54 +00:00
skidder
8ae9ed829b Fix POSIX build issue resulting from my cleanup. Strange, but Win32 build was fine here 2004-03-13 22:17:55 +00:00
skidder
1c870a7426 Fix issues in my code spotted by Claudio 2004-03-12 20:19:41 +00:00
robocop
2ab1f94dd2 Cleanup
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
skidder
b6e5ccd413 Clean up.
1. gds__alloc doesn't throw
2. Add NOMEM handlers to a couple places
3. kill HAVE_*SNPRINTF conditionals
2004-03-09 00:17:07 +00:00
arnobrinkman
9efc5a488b some optimization in index-stuff 2004-03-07 21:50:53 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
389b19f729 Fix problem with gstat used over Services API in SS builds introduced during my EH cleanup. Noted by Arno Brinkman 2004-03-04 21:38:04 +00:00
skidder
25b969d1b7 Fix MSVC build 2004-03-01 04:57:43 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
skidder
2c4fe73bd4 Implement new shutdown modes (single-user and full shutdown). Tested on Linux/AMD64 CS and SS 2004-02-25 01:50:40 +00:00
robocop
2fa67d46bc Cleanup
Reduce reinterpret and C casts
Fix isql so it can show all predefined blob types in readable form.
2004-02-24 05:34:44 +00:00
robocop
5c3c8abd9a Big cleanup.
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
skidder
95dbd89ae9 Fix POSIX SS build 2004-02-19 01:41:38 +00:00
aafemt
5f29346356 Now it is buildable 2004-02-11 11:16:46 +00:00
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
robocop
b441cd9aef Cleanup 2004-01-13 09:52:19 +00:00
dimitr
45636b8c6f Removed handle leaks in the service manager. 2004-01-07 10:23:46 +00:00
robocop
e15bca3577 Typo in comment 2004-01-06 10:54:52 +00:00
robocop
06a4df3708 A requiem for JOURNAL and WAL.
Instructions in the list.
2004-01-06 10:33:18 +00:00
epocman
a75b48c6a8 Win32 HEAD porting of 1.5 branch RC8 latest updates, to keep HEAD in synch with about to be released 1.5.
Please someone check and adjust MSVC7 compile, cause I only have MSVC6.
2004-01-03 12:20:08 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
skidder
e0012c92f4 Correction 2003-12-30 02:48:21 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
skidder
db6eff1976 Linux-related Services API fixes. All Services API work on Linux CS now. 2003-12-14 22:29:47 +00:00
skidder
4e30dadd8b Enable gfix/gstat services API on classic builds. Rollback Blas' changes in this area 2003-12-14 04:44:58 +00:00
dimitr
16cae87b63 Make gstat to work with database aliases. 2003-12-13 14:43:18 +00:00
robocop
d020ea5ca1 ping-pong cleanup: change one place and you have to change several others 2003-12-11 10:33:30 +00:00
robocop
b02c629735 Cleanup
Some name changes
Try to fix SINIX-Z problems with send() prototype
2003-12-05 10:35:47 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
arnobrinkman
710037031f Enhanced Index Structure.
1) NULLs on top when sorting on ASC index, DESC stays the same.
2) Support for larger index lengths, can be up to 1/4 page size.
3) Store record-number on non-leafpages for faster lookup in many duplicates.
4) Jump-nodes for faster key-lookup in index on larger page-sizes.
5) Segment selectivity calculation added.
2003-12-01 02:37:25 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
88a2611ed1 -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 16:17:38 +00:00
brodsom
535d1fde37 -Make dba_full compile 2003-11-16 15:42:31 +00:00
brodsom
27cbcdd73e -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 12:57:23 +00:00
brodsom
9b7994233c -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:52:44 +00:00
brodsom
c5253ae8a5 -Replace gds__ constants with isc_ contants
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
robocop
f55c6f6f8c const correctness and cleanup 2003-11-10 09:16:38 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
epocman
fa98c3822f Minor synch details with 1.5 branch. Absolutely no interface nor functional changes, except correction of remote service name which was incorrect in HEAD branch. 2003-11-07 11:12:59 +00:00
brodsom
77472d28d9 Warning fixes 2003-11-06 17:57:22 +00:00
robocop
35396625f5 const correctness
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
brodsom
ff070a16a8 Replacing assert with fb_assert 2003-11-03 23:59:24 +00:00
robocop
cda707bd36 const correctness and other related changes 2003-11-01 10:26:43 +00:00
skidder
8a3ccb032c Return engine to buildable state on Linux after Alex bugfix 2003-10-30 22:18:52 +00:00
alexpeshkoff
1479423722 Forward - port:
Fixed non-registered bug - buggy application might add user with name,
containing non-printable characters, which couldn't be modified/deleted
using standard tools like gsec.
2003-10-30 16:46:08 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
robocop
d338f9c373 Style; vars in scope 2003-10-20 10:35:38 +00:00
epocman
8552c104b5 Win32 HKLM and service name change as per recent discussion in fbdevel. Added more complete cleanup of registry keys when 'instreg remove'. 2003-10-12 11:48:33 +00:00
epocman
df60ff7b60 Win32 - Syncing with the recent FB 1.5 branch installation changes. 2003-10-08 09:42:23 +00:00
dimitr
4217ca2c49 Corrected gstat version info output. 2003-10-03 12:34:54 +00:00
brodsom
8dce5790c6 extern cleaning
removing underscores in macros
2003-10-03 01:01:40 +00:00
aafemt
76eac2d80d Move MSVC-related hack of vsnprintf to MSVC header because it crashed MinGW build 2003-10-02 10:17:40 +00:00
robocop
c931a674c2 Cleanup.
Hopefully harmless
It should fix the issue introduced with constness in gds__interprete for current applications.
2003-09-29 12:43:14 +00:00
robocop
484c6ec372 Cleanup, const correctness, variables in scope, etc.
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
arnobrinkman
3e3c789053 Remove IGNORE_NULL_IDX_KEY define 2003-09-17 09:53:47 +00:00
robocop
fe6f929d54 Too trivial change 2003-09-16 08:34:08 +00:00
brodsom
5e1b673b5a -Although not compiled fix unused warning (Thanks to Claudio) 2003-09-16 08:18:22 +00:00