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

59 Commits

Author SHA1 Message Date
asfernandes
4171c16988 Some things discussed with Dmitry and Claudio - rename the new function to fb_print_blr, use ULONG parameter for blr_length and return int 2009-08-03 15:52:48 +00:00
asfernandes
4759973045 Fixed CORE-2576 - Server may crash parsing wrong or truncated BLR
Full rebuild required - CMP_compile2 prototype changed
2009-08-02 04:10:07 +00:00
alexpeshkoff
70e7e9c397 cleanup 2009-06-10 09:48:16 +00:00
robocop
d2526be6af Rename function as agreed with Alex and Dmitry. 2009-06-10 08:39:55 +00:00
alexpeshkoff
f21a2bf4be Make initialization distributed - each subsystem does what it needs when needs, removed gds.cpp:init() 2009-06-09 10:08:12 +00:00
paulbeach
718d5dc5c1 *** empty log message *** 2009-01-21 15:40:27 +00:00
paulbeach
41bd7e32d9 Frontport and solve symbol issue for MacOSX - not needed 2009-01-21 13:25:43 +00:00
paulbeach
13274ac5a9 Frontport and solve symbol issue for MacOSX 2009-01-21 13:04:36 +00:00
robocop
2c2fee86da Style. 2009-01-14 11:10:48 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
dimitr
a38b327886 Cleanup. Get rid of the JrdMemoryPool. 2008-01-29 10:11:52 +00:00
dimitr
e08c5da397 The merge continued. 2008-01-16 09:07:24 +00:00
asfernandes
9a1eb5891b Misc 2007-05-23 15:29:53 +00:00
asfernandes
c67afcb4ee Improvement CORE-1277 - Automatic transliteration of text blobs 2007-05-22 02:14:20 +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
mkubecek
647e3f07df removed unused constant 2006-06-28 22:03:42 +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
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
bb170bd3b6 isc_interpret is fb_interpret again.
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
skidder
3e26513b38 fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit 2004-10-25 03:53:03 +00:00
robocop
e6cb17cac6 Vulnerability reported by Daniel Urban.
First step: reorganize code.
Please do a full rebuild after retrieving those changes.
2004-09-22 01:59:39 +00:00
skidder
f4e7ebdd3b Implement rudimentary framework to track lifetimes of active BLOBs.
This solves the following issues:
1) Outrageous memory consumption when blobs are converted from strings during request processing
2) Materialization doesn't cause invalidation of BLOB IDs too early.
Original behaviour caused errors with updatable views or procedures receiving BLOB arguments.
2004-06-22 20:13:10 +00:00
alexpeshkoff
1591a54e5e Thread cleanup:
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
brodsom
ce7a5ced08 -Macro cleaning 2004-05-06 22:11:24 +00:00
skidder
f26d84f76b 1. POSIX build libraries export only public API. 2. Unify exports for PROD_BUILD and DEV_BUILD. 3. Support for context memory pools. 4. Memory manager has lower memory overhead exceptionally on 64 bit targets 2004-03-25 23:12:50 +00:00
skidder
7cbf8d0e29 64-bit port fixes 2004-01-12 05:08:27 +00:00
brodsom
6e8e00c191 -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:44:51 +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
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +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
brodsom
3be589ddd4 -Warning removal
-Style
2003-10-20 18:34:19 +00:00
robocop
8182b6cba2 const correctness and other tasks 2003-10-16 08:51:06 +00:00
robocop
480c1ee968 const correctness 2003-10-08 08:42:48 +00:00
brodsom
2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +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
skidder
235db035ce Ok, i'm joining Firebird destruction team with my cleanup:
1. Bring trace DSQL, DYN and BLR trace logging up-to-date
2. Remove redundant CSB pointer dereferences in BLR parser and request compiler
3. Convert RIGHT JOIN to LEFT JOIN early during BLR parsing
4. Check BLR syntax for unititalized contexts usage
5. Some type-safety and const-correctness fixes
2003-09-28 21:36:05 +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
brodsom
a86a19246d -Remove GDS_VAL and GDS_REF (Final commit) 2003-09-12 23:37:06 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
dimitr
ef9fb69fa9 1) Cleanup
2) Some changes for the embedded server
2003-07-05 12:13:17 +00:00
skidder
ce1dca4ea4 1. Cleanup
2. Rework temporary files management. In particular:
- fix security hole on all POSIX platforms except FREEBSD/OPENBSD related to mktemp usage (possible DoS attacks or privileges elevation) via switching to mkstemp
- fix problem with only 27 unique filenames generated on Win32 (which could cause unpredictable behavior in SS builds)
- pass appropriate flags to CreateFile on Win32 to indicate that files are temporary (this may improve performance a little)
2003-05-09 16:18:32 +00:00
alexpeshkoff
4a544f46a8 Changed gds__log parameter to be const 2003-04-19 16:39:30 +00:00
aafemt
19bb54f2a8 STATUS -> ISC_STATUS 2003-04-10 06:49:16 +00:00
alexpeshkoff
86e6b77b50 1. Fixed potential buffer overflow in gds__prefix* family of functions.
2. Changed second parameter declaration to be const.
2003-04-06 11:40:29 +00:00
dimitr
b096a2593d CONST -> const 2003-02-13 10:11:35 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
nmcc
bb53a90315 Use system system anon mmap on Solaris where supported ie: >= Solaris8
otherwise use orginal FB1 version.
2002-12-30 15:46:46 +00:00