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

145 Commits

Author SHA1 Message Date
alexpeshkoff
ee6c433597 Mutexes cleanup:
1. Make all firebird mutexes recursive.
2. Enable exceptions to be thrown by mutexes and process them in code where needed.
3. Catch and ignore exceptions in various MutexGuard dtors.
2008-02-05 08:21:18 +00:00
alexpeshkoff
7853bb0496 Avoid code dup and fix unprotected by mutex access to attachment - thanks to Claudio 2008-02-04 14:10:08 +00:00
asfernandes
b39ac40c9d Misc 2008-02-03 02:32:39 +00:00
alexpeshkoff
6ff29770f0 Lock mutex in detach - thanks to Claudio 2008-02-02 18:20:24 +00:00
asfernandes
6e88cb9598 Misc 2008-02-01 17:33:14 +00:00
alexpeshkoff
508a499b34 MT-safety changes in yValve 2008-01-31 12:02:41 +00:00
dimitr
43594ed53a Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 13:17:19 +00:00
asfernandes
aea2bcb354 Misc 2008-01-23 19:03:16 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
ae692fc319 The merge continued. 2008-01-16 10:17:51 +00:00
hvlad
2b47bbe55b Revert files back after wrong commit 2007-11-19 00:21:18 +00:00
hvlad
86f1141328 Execute statement with support of external data source 2007-11-18 22:59:20 +00:00
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