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

183 Commits

Author SHA1 Message Date
dimitr
2c3e6417ef Fixed CORE-1467. 2007-09-17 15:48:31 +00:00
hvlad
0e50c9f41e Fixed CORE-1196 : Long SQL statements break TCP/IP connection 2007-07-10 10:11:00 +00:00
asfernandes
e705b335f8 Fix non-ASCII object names in:
1) aliases in PLANs
2) EXECUTE PROCEDURE
3) SELECTs inside procedures/triggers
2007-05-26 22:08:13 +00:00
alexpeshkoff
3279aacc05 fixed bug, noticed by Dmitry 2007-04-28 06:17:44 +00:00
hvlad
dd6aa67920 Fixed bug CORE-1218 : isc_dsql_info (isc_info_sql_stmt_type) not set isc_info_end at the end of the passed user's buffer 2007-04-20 11:18:51 +00:00
alexpeshkoff
6e735f7c53 Misc + gcc warning hunting 2007-04-09 16:15:29 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
asfernandes
90337587ff Misc 2007-02-08 00:03:36 +00:00
alexpeshkoff
84f12b7150 Style changes, suggested by Claudio 2007-02-06 09:48:50 +00:00
alexpeshkoff
f0dc6c2931 Fixed gcc compilation 2007-02-02 12:48:53 +00:00
robocop
3442fef412 I had to be explicit to overcome the dreaded "internal compiler error". Greetings to William Gates III. 2007-02-02 10:51:31 +00:00
alexpeshkoff
8b5a602040 Restored compilability of why.cpp with SCROLLABLE_CURSORS defined
(according to Claudio request)
2007-01-31 12:51:35 +00:00
hvlad
e513391dc2 Restore broken logic of isc_dsql_prepare, bugfix in isc_dsql_describe_bind 2007-01-27 15:38:32 +00:00
asfernandes
91830b75a5 Removed unused variable 2007-01-27 15:04:56 +00:00
asfernandes
c3d64106e0 Misc 2007-01-26 01:24:48 +00:00
alexpeshkoff
d66281291f 1. Make classic server close shutdown normally when killed by signals 2 & 15.
2. Don't leave running instances of fb_inet_server after database shutdown.
3. To make all this possible - reworked Y-Valve in general.
2007-01-20 14:45:45 +00:00
asfernandes
f30ee6b63e Use debug informations in EXECUTE BLOCK 2007-01-20 14:18:18 +00:00
asfernandes
1c3d3c7c22 Fixed another problem reported by "dlh" in fb-devel 2006-10-30 15:23:32 +00:00
robocop
28c3d29886 ApiGuide.pdf says a maximum of 16 databases is allowed for a multi-db transaction. However, Ann agrees that a modern new, sensible limit is 256 databases for start_transaction and start_multiple.
Fixed a buffer overrun in jrd.cpp related to this.
2006-10-14 01:29:36 +00:00
robocop
8e7e781e5f Partial commit with some cleanup and more constants. 2006-10-10 06:41:36 +00:00
aafemt
e6151fd57f Warnings 2006-09-01 10:51:57 +00:00
dimitr
c68587fe66 1. Virtual tables
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
asfernandes
a86cf35ad4 Synchronization of DSQL metadata cache objects in classic-server 2006-07-10 03:12:10 +00:00
asfernandes
87347a0cba Use PathUtils::dir_sep instead of hardcoded '/' 2006-06-29 19:29:24 +00:00
asfernandes
f586ce8262 Misc 2006-06-29 01:29:53 +00:00
asfernandes
1b91c08390 Fix B.O. in y-valve 2006-06-28 22:50:45 +00:00
alexpeshkoff
66d17aabef 1. Exception handlers in attach/create database.
2. Make it compilable with gcc4.
2006-06-22 09:42:54 +00:00
robocop
e77a46b011 Misc. 2006-05-20 03:55:54 +00:00
asfernandes
292ad66e96 Misc 2006-05-20 01:53:51 +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
asfernandes
df37723a48 Misc 2006-05-02 01:32:41 +00:00
hvlad
f94b8bd641 Merge B1_5_Remote_LazyPort branch into HEAD 2006-05-01 22:23:31 +00:00
dimitr
8e07223ebf Threading cleanup. More to follow. 2006-04-30 16:28:30 +00:00
robocop
8f1cf8f2cb Commit correct signature for events-related calls. 2006-03-10 08:23:40 +00:00
dimitr
8a2082c2ea Fixed SF #1435997. 2006-03-07 09:23:44 +00:00
alexpeshkoff
fa9bc55ae6 don't let printf() damage sockets in debug build 2006-03-03 16:08:19 +00:00
robocop
10cb928ddc More cleanup. 2006-02-23 06:52:25 +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
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
alexpeshkoff
32f7848c15 removed marker file related code 2005-09-12 11:14:59 +00:00
asfernandes
0b1eb55d62 Fixed SF field-test #1249187 - 2.0a3: String literals dest. for large CHAR fields truncated 2005-08-21 15:52:30 +00:00
aafemt
59dc0a7c37 Cleanup 2005-06-27 10:24:51 +00:00
aafemt
7e85a1d5e2 Plain C for public API routine 2005-06-16 12:08:17 +00:00
dimitr
3082d3b369 Let's perform the initial alias lookup at the Y-valve.
This solves aliases usage in XNET and other local loopbacks.
2005-06-06 06:42:22 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
alexpeshkoff
387e678cca applied Clumplet* classes to dpb where possible 2004-12-09 19:19:47 +00:00
robocop
f4bb2af064 Delete the crud. 2004-11-30 06:08:26 +00:00
alexpeshkoff
49aab40955 1. rewritten flu.cpp using modern firebird classes library
2. fixed diagnostic about missing/unusable UDF module
2004-11-29 11:15:09 +00:00
robocop
f208c58149 Find a better way to handle ISC_lookup_entrypoint calls than to throw away constness. 2004-11-08 05:13:16 +00:00
alexpeshkoff
73c3fc3e51 1.fixed problem with double-opened databases on LanMan mounted disk.
might cause database corruption.
2.more active use of Firebird::string in isc_file.cpp
2004-11-07 14:43:29 +00:00
robocop
6c1eb42e7f Getting rid of IPSERV. 2004-10-09 01:38:29 +00:00
robocop
25f115b66e Closing several possible buffer overruns.
Alex is expected to overwrite my changes in isc_file.cpp.
2004-10-08 04:48:02 +00:00
robocop
ed17cfafbf Style:
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +00:00
robocop
8021b1db19 Redundant cast 2004-09-26 07:45:19 +00:00
robocop
7dcb66a250 When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
hvlad
799d2d9e39 Don't rollback prepared 2PC sub-transaction 2004-09-24 15:48:20 +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
kkuznetsov
b5ebd1a662 Minor corrections after prototype changes 2004-06-07 06:50:38 +00:00
kkuznetsov
a594b29c57 Fixed some more different prototypes of the same functions 2004-06-04 14:36:45 +00:00
brodsom
64c1dee04e -Use C++ struct declaration style. 2004-05-24 17:31:47 +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
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
d2f011cfdb Macro cleaning 2004-05-18 16:48:26 +00:00
brodsom
b76a60e8b7 Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build) 2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20 Macro cleaning (THREAD_*) 2004-05-15 00:58:46 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
brodsom
f1af4b5b1b -To solve the inf.h and ibase.h duplicated definitions
1.-Create new inf_pub.h and include it into ibase.h
2.-Replace inf.h with inf_pub.h where included
-Replace defines with consts
2004-05-07 10:48:06 +00:00
brodsom
62a4b10c22 -Replace define with const
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
skidder
8a4cb13eb2 Care about quirks of Windows platform 2004-05-03 01:53:24 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
5cf9fdfc90 Removing ib_stdio.h 2004-04-28 22:43:34 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +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
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
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
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
alexpeshkoff
f14c4f972c fixed memory leak in Execute Statement 2004-02-28 19:32:46 +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
aafemt
97a1ecd770 Parameter's type consistency 2004-02-03 11:25:29 +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
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
robocop
fd93837ec3 Cleanup:
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
fsg
25a0180642 First changes to get it compiled under linux again.
FSG
2003-12-27 17:59:59 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
aafemt
5f041977c2 'struct' cleanup 2003-11-26 11:15:32 +00:00
robocop
a94dbd85fd const correctness and other minor items 2003-11-18 07:58:35 +00:00
brodsom
88a2611ed1 -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 16:17:38 +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
brodsom
35ea85a115 -Removing gdsold.h and gds.h
-Replace gds__ functions with isc_ functions for internal use
2003-11-09 15:38:31 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
brodsom
146b6f2001 Extern function cleaning 2003-11-07 13:25:53 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +00:00
brodsom
89e8f89f86 Extern "C" cleaning 2003-11-06 03:03:36 +00:00