8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-29 18:43:03 +01:00
Commit Graph

217 Commits

Author SHA1 Message Date
robocop
87c9f2bcc4 Apply solution for CORE-1129. Thanks to Bill Oliver.
I didn't change install_reg, install_svc and fbcpl's fbdialog.
2007-02-15 10:35:09 +00:00
robocop
6559c68da7 Misc. 2007-02-15 10:20:07 +00:00
dimitr
c6c688180a Restored the legacy entrypoint as suggested by Claudio many months ago.
It's imported by pre-v2.1 utilities.
2007-02-14 11:38:11 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
robocop
d009be834f Misc. 2007-02-09 08:34:16 +00:00
asfernandes
cec7eaa8b6 Some changes based on Claudio's comments 2007-01-21 15:35:35 +00:00
robocop
8a06c80028 Simplification and indentation. 2007-01-21 07:46:41 +00:00
asfernandes
aca179f398 Full domain support and NOT NULL in PSQL 2007-01-17 01:19:01 +00:00
dimitr
928f30097f Misc. 2007-01-07 12:45:50 +00:00
dimitr
8bb4e03a7b Misc. 2006-12-30 11:35:22 +00:00
robocop
d2e510c013 Avoid crashes due to mismatch in msg file (helps mostly while developing). 2006-10-17 06:23:53 +00:00
asfernandes
55ec30965d REPLACE statement 2006-09-03 01:09:23 +00:00
asfernandes
b7af27215e Allow usage of domains in PSQL (with TYPE OF syntax) 2006-08-19 02:52:39 +00:00
hvlad
8f55191456 Make blr_blob2 handling in blr printer consistent with other data types 2006-07-31 18:32:48 +00:00
dimitr
e0e0b602be Updated the BLR printer to handle all FB2 features. 2006-07-31 08:07:21 +00:00
hvlad
ed5d2fe9aa Fixed error noted by Adriano 2006-07-31 06:33:30 +00:00
asfernandes
273da882bc Misc 2006-07-31 01:46:52 +00:00
hvlad
75a9c90ad7 Blr printer was not aware of blr_blob2 2006-07-30 20:00:21 +00:00
hvlad
fac53c8177 Added blr_src_info. Error call stack now contains not only
procedures\triggers names but line\column numbers also.
Thanks to Eugeney Putilin for idea
2006-07-04 14:44:43 +00:00
robocop
991de0b29e Make LC_MESSAGES env var work as expected (get only filename) for an alternative messages file held in the INTL dir. 2006-06-08 05:02:34 +00:00
dimitr
7cc12e8489 1) Reworked memory management in SORT. Now we're pools aware there.
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00
hvlad
701f2cbda4 Global temporary tables implementation 2006-05-21 22:07:35 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
dimitr
afa0f666b8 Threading cleanup. More to follow. 2006-05-01 04:12:30 +00:00
robocop
c07aa9d25f Stop complainers related to the argument types of fb_interpret. 2006-04-06 06:32:47 +00:00
robocop
7bf526c096 Misc. 2006-03-08 03:10:48 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
robocop
3389149564 The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
Tenth step: some code was tagged PC_ENGINE but was for SCROLLABLE_CURSORS instead, hence restore it. Also, clean unused data members, obsolete BLR verbs and the like.
2006-02-07 08:08:49 +00:00
robocop
38b063b3de I misread the logic: it's true (not false) that tells Timestamp to not call the operating system to get the current time. Thanks to D. Sibiryakov. 2006-02-04 02:40:20 +00:00
robocop
97122ee389 Replace jrd_time.h by our timestamp.h, but I left timestamp.h's #includes commented where it *seemed* not necessary. 2006-02-03 08:39:36 +00:00
robocop
8b99699398 Do not lose time getting the accurate timestamp from the operating system if we are going to override it imediately with the user supplied value in isc_encode_date and isc_encode_timestamp. Also, this avoids an exception escaping from the API functions if the system call fails. 2006-02-02 00:03:29 +00:00
robocop
b67b0219ab Change from getenv to readenv. This is still getenv in Linux/UNIX but GetEnvironmentVariable in Windows. 2006-01-14 04:48:59 +00:00
dimitr
cf3ed06d9c Fixed POSIX builds. 2005-12-28 10:07:54 +00:00
robocop
a44464d73c Do not use the harcoded c:\Program Files path while possible: it doesn't have to live in the C: partition and it's localized in non-English Windows versions. 2005-12-25 07:43:04 +00:00
robocop
9202047a0f Solve chicken and egg problem: when we can't locate the config file, we throw an exception but if we try to trap and decode the failure in another place, it tries to know the location of the messages file (to interpret the status vector), which in turn requires to locate the config file. Therefore, we crash mysteriously. 2005-12-25 04:42:13 +00:00
robocop
82ebc3ab64 Fix the non-VMS version of gds__validate_lib_path:
We shouldn't modify the result from getenv().
Also, fix some null terminator issues.
2005-12-23 23:11:57 +00:00
robocop
f00fc0ff56 1.- Make "vec" type safe and get rid of several code contortions. Fix some small bugs meanwhile.
2.- Put inside PC_ENGINE several data members that belong to that feature.
3.- Put inside PC_ENGINE the code that does cleanup on those unused data members.
2005-12-02 07:35:34 +00:00
dimitr
29f2f43359 Fixed the bug I introduced with my GDS changes. 2005-11-29 11:36:06 +00:00
dimitr
905a2e46f8 Fixed builtin lookups for error messages and SQLCODEs.
IMPORTANT!!! You have to rebuild the tree from scratch!
2005-11-24 11:53:55 +00:00
dimitr
2382db581e Reworked the BLR printer to use Firebird::string as its buffer. 2005-11-24 08:34:16 +00:00
dimitr
c236dc4a73 1. Fixed memory corruption in filters.cpp
2. Increased internal buffer in gds.cpp to avoid overflows
3. Made this buffer dynamically allocated to avoid stack corruptions
4. Minor cleanup
2005-11-23 20:18:19 +00:00
robocop
3d53c1b75b Let's hope this fixes the incompatibilities between safe_interpret and the old gds_interprete. 2005-09-24 05:09:05 +00:00
alexpeshkoff
d15f6b11fc avoid unpredictable behaviour of gds__log() on posix in signal handlers 2005-08-29 14:57:43 +00:00
skidder
9f04361ab1 Oops, committed some debugging code which was not supposed to be exposed to public :-) 2005-07-21 00:44:14 +00:00
skidder
286c14843b Global handles need to be closed or we have the leak during client/engine DLL unload.
The cleanest solution would be to port FileObject from BV3 branch here and use it,
but this hack will do either.
2005-07-21 00:42:51 +00:00
skidder
699c914cbf little debug logging improvements 2005-07-19 23:27:38 +00:00
asfernandes
354a158736 Misc. 2005-06-06 20:44:10 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
alexpeshkoff
63c5cebdcf fixed embedded build 2005-05-16 11:08:14 +00:00
alexpeshkoff
74c88a4e97 fixed a couple of buffer overflows in gds__prefix*() functions family 2005-05-14 10:45:40 +00:00