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

231 Commits

Author SHA1 Message Date
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
asfernandes
b772cc15de Eliminate warning 2008-01-16 14:26:28 +00:00
dimitr
48e81dd58a The merge is being fixed. 2008-01-16 12:22:11 +00:00
dimitr
d1e8f67a5d The merge continued. 2008-01-16 09:29:37 +00:00
alexpeshkoff
eea9070f48 Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster 2007-12-03 15:46:39 +00:00
alexpeshkoff
cc1c031fe4 Rolled back latest commit - it breaks gdef's logic, when field_id starts with 1, not 0 2007-10-31 13:59:09 +00:00
asfernandes
1706ea36d3 Backport patch to make references (at BLR level) to non-existent system fields return NULL - to simplify ODS differences handling 2007-10-14 01:32:24 +00:00
robocop
fa1538a1ae Minor changes in MetaName usage. 2007-08-26 09:05:29 +00:00
asfernandes
a568843ccd Fixed CORE-1395 - Few problems with domains's check constraints 2007-08-04 02:11:07 +00:00
dimitr
e8f33e1fd4 Fixed CORE-1344. 2007-07-04 16:07:55 +00:00
asfernandes
b7a1aea1c9 Fixed problem of not storing dependencies for database triggers - reported privately by Dmitry 2007-04-03 15:41:00 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
hvlad
b3dcfede36 Close external table's file when relation is not used by the engine.
This is simplest fix for bug CORE-132 (Restore fails on external table) and CORE-961(Free external tables)
2007-03-19 21:34:52 +00:00
asfernandes
cec7eaa8b6 Some changes based on Claudio's comments 2007-01-21 15:35:35 +00:00
asfernandes
f30ee6b63e Use debug informations in EXECUTE BLOCK 2007-01-20 14:18:18 +00:00
asfernandes
aca179f398 Full domain support and NOT NULL in PSQL 2007-01-17 01:19:01 +00:00
asfernandes
0939d86a57 Some suggestions from Claudio 2006-11-11 00:52:31 +00:00
asfernandes
11838b0601 Misc 2006-11-06 01:07:31 +00:00
asfernandes
570b6cd4b4 1) CORE-645 and CORE-745: Database triggers
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
robocop
fb0cd24854 Put two recent hardcoded messages into the msg db. 2006-11-05 04:01:30 +00:00
asfernandes
a02716c63f Misc 2006-11-04 02:47:33 +00:00
hvlad
f48f2af25b Few corrections pointed by Claudio 2006-11-03 09:42:42 +00:00
asfernandes
88a9a84a01 Misc 2006-10-31 14:23:31 +00:00
hvlad
58d381edd7 1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +00:00
aafemt
e6151fd57f Warnings 2006-09-01 10:51:57 +00:00
asfernandes
dc2f6ed0d9 Correction 2006-09-01 01:40:22 +00:00
robocop
56d19d8f53 Centralize detection of those pesky implicit domains.
There may be more cases that can use the new function.
2006-08-31 08:01:24 +00:00
robocop
7fced64a88 Misc. 2006-08-30 04:54:44 +00:00
asfernandes
7d4af708ab Don't store dependencies on auto-generated domains of procedure parameters.
TYPE OF parameters is already catched by the BLR parser.
2006-08-29 12:16:49 +00:00
asfernandes
b7af27215e Allow usage of domains in PSQL (with TYPE OF syntax) 2006-08-19 02:52:39 +00:00
robocop
471d052e82 Misc. 2006-08-13 06:46:16 +00:00
asfernandes
e538061c38 Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations 2006-08-07 16:39:21 +00:00
dimitr
afc71df176 Fixed CORE-866. 2006-07-23 11:01:20 +00:00
dimitr
93b8e4a6e5 More format overflow checks. 2006-07-20 09:11:44 +00:00
dimitr
6992f3b904 Reject attempts to select from executable procedures. 2006-07-19 14:50:33 +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
50cae9632b Misc 2006-07-12 01:38:41 +00:00
robocop
4c0b816568 CORE-847
Deleting dependencies for fields that WERE computed.
2006-07-11 04:57:28 +00:00
robocop
5a796f0b4e Misc. 2006-07-09 05:08:23 +00:00
dimitr
9642e605b6 The callers check for "< 0" but we never could return a negative value. -1 has been converted to 65535 before returning. 2006-06-06 17:00:55 +00:00
dimitr
b116dd382c Fixed bug reported by Adriano. 2006-06-01 04:45:48 +00:00
dimitr
0b7e4c9812 Misc. 2006-05-31 12:04:55 +00:00
robocop
3fa49e994b Style and typo correction. 2006-05-26 05:19:48 +00:00
robocop
7040d668fd Misc. 2006-05-25 08:40:23 +00:00
hvlad
614443f90d Refactor common code and constants 2006-05-24 20:43:07 +00:00
dimitr
211645e3dc Getting rid of the old allocator routines. 2006-05-23 10:17:00 +00:00
asfernandes
92cd427bbd Misc 2006-05-23 03:37: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
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00