robocop
888000e21e
Unused function params.
2009-04-26 10:24:44 +00:00
asfernandes
f6f364da49
Trim trailling spaces
2009-04-04 16:39:31 +00:00
robocop
a730fbf074
Get rid of more typedefs.
2009-04-03 10:07:55 +00:00
roman-simakov
837716d21b
Restored forgotten change. Thanks to Adriano.
2009-03-18 09:21:45 +00:00
roman-simakov
1a4949891b
Refactored NBackup subsystem.
...
1) Fixed CORE-1696 - "Deadlock in LM by using nbackup utility" with priority rating of lock requesting for LCK_backup_database and LCK_bdb.
2) A lot of stability fixes were made.
3) The key thing is using new GlobalRWLock for removing LCK_set_owner_handle function and speed up performance.
4) The code is still ready for using both in shared cache architecture and in claster architecture.
2009-03-17 07:39:55 +00:00
dimitr
1b3927b026
1) Globally named per-database shmem regions.
...
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +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
3689f15321
Style.
2009-01-20 08:33:59 +00:00
robocop
2c2fee86da
Style.
2009-01-14 11:10:48 +00:00
robocop
582cdf185b
Style.
2009-01-14 09:19:00 +00:00
robocop
6406e45337
Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.)
2009-01-02 06:36:12 +00:00
robocop
95292d1731
Style.
2008-12-20 08:12:19 +00:00
robocop
0a94d6fee8
Style.
2008-12-18 10:57:12 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
asfernandes
b550749a47
Fixed CORE-1246 - Incorrect column values with outer joins and derived tables
2008-09-07 19:44:48 +00:00
alexpeshkoff
796a2e4b23
Fixed CORE-2064: AV when process is closing under high load
2008-09-04 09:58:20 +00:00
alexpeshkoff
13a15d4bfe
1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
...
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
dimitr
17520b6531
Corrections for the new embedded implementation.
...
Removed some embedded specifics that shouldn't be necessary once the required changes are committed.
Please note that the lock table is still per-instance, so multi-process usage is still unsafe. To be fixed later.
2008-07-14 18:14:30 +00:00
alexpeshkoff
f2196c0c52
misc gcc warning
2008-07-07 13:03:39 +00:00
alexpeshkoff
9d873d8e7a
Do not skip win32 errors on non-win32 systems - print as "unknown Win32"
2008-07-07 12:45:41 +00:00
hvlad
66fd7d5488
Make blr_exec_stmt extensible in the future.
...
Sorry, recompile of stored objects using new EXECUTE STATEMENT is necessary. Hope the last time ;)
2008-06-10 22:43:30 +00:00
aafemt
a16dfd7c75
Return deprecated stubs to public interface
2008-06-10 07:52:42 +00:00
robocop
5cd11867ec
Get rid of (ALLOC/FREE)_LIB_MEMORY macro as requested by Dmitry.
2008-05-22 09:38:21 +00:00
robocop
e44a99f339
Style and minor cleanup.
2008-05-10 03:44:57 +00:00
asfernandes
6e59d736df
1) Fix Linux build
...
2) Misc
2008-04-11 01:38:50 +00:00
hvlad
fe3f8c184b
New EXECUTE STATEMENT with support of external data source implementation
2008-04-09 20:18:47 +00:00
dimitr
7c47e5f81e
Synchronization.
2008-04-04 19:42:21 +00:00
dimitr
b96d7e9a2d
Treat 22000 as a generic sqlstate.
2008-04-03 08:13:45 +00:00
dimitr
b87b5032ef
Changes in the TimeStamp class by Dmitry Kovalenko.
2008-03-26 10:21:04 +00:00
dimitr
f5659c0b70
1) Major cleanup of the old-style blk and allocator-based blk_type.
...
2) Added synchronization for the JRD locks.
2008-03-19 16:19:56 +00:00
dimitr
c8135d7dc2
Fixed the bug in the binary search algorithm.
2008-03-17 17:59:37 +00:00
dimitr
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
dimitr
153a5b997f
Don't print SQLSTATE by fb_interpret().
2008-03-12 08:44:41 +00:00
asfernandes
74d8711856
Misc
2008-03-08 21:20:26 +00:00
robocop
609025b0a2
Return zero when isc_portable_integer or gds__vax_integer receive invalid parameters.
2008-03-07 09:28:01 +00:00
dimitr
bc9f7470cb
Cleanup/refactoring.
2008-03-04 13:15:28 +00:00
alexpeshkoff
58f8675e57
1. Make use of gds__log_status() more consustent (no Database: line in log when database is not specified).
...
2. A bit better logic when error happens during provider shutdown.
2008-03-03 13:59:09 +00:00
robocop
c93824d967
Paranoid checks.
2008-02-29 07:10:07 +00:00
asfernandes
312a391d78
Misc
2008-02-26 02:23:28 +00:00
dimitr
23157f5b85
Misc.
2008-02-24 15:27:41 +00:00
dimitr
c1f75dcdf8
Ported SQLSTATE from Vulcan.
...
Part II: handling of isc_arg_sql_state.
2008-02-24 15:02:04 +00:00
dimitr
ec513fd5cb
Ported SQLSTATE from Vulcan.
...
Part I: core changes.
2008-02-24 14:07:01 +00:00
asfernandes
6dd361603f
Misc
2008-02-04 17:01:36 +00:00
alexpeshkoff
148200b353
protected cleanup liknked list with mutex
2008-02-04 14:53:39 +00:00
dimitr
a38b327886
Cleanup. Get rid of the JrdMemoryPool.
2008-01-29 10:11:52 +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
alexpeshkoff
f51bf716f9
rolled back my bad attempt to fix CORE 1671
2008-01-17 16:07:56 +00:00
dimitr
e08c5da397
The merge continued.
2008-01-16 09:07:24 +00:00
alexpeshkoff
a29b6d536b
Fixed CORE-1671: atexit() calls in client libraries cause segfaults if the libraries are used in dlopen()ed modules
2008-01-06 14:07:11 +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
robocop
399af026df
Misc.
2007-10-25 03:59:23 +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
asfernandes
6a0e5e1ae0
Fixed BLR filter for exceptions with strings (EXCEPTION e 'string')
2007-05-11 15:14:31 +00:00
hvlad
a9bf017e5c
Fixed bug CORE-1223 : Wrong message in firebird.log on Open SuSe Linux 10.2 : Open file limit increased from 1024 to 0. Thanks to Ioannidis Dimitrios for help
2007-04-23 11:01:25 +00:00
alexpeshkoff
d63491e3c5
Finished gcc-warnings cleanup
2007-04-11 16:05:40 +00:00
alexpeshkoff
6e735f7c53
Misc + gcc warning hunting
2007-04-09 16:15:29 +00:00
asfernandes
6360286eb8
Misc
2007-04-06 16:19:33 +00:00
alexpeshkoff
edfa819bf7
restored functionality of -e family of switches, broken somewhere in 1.5
2007-04-05 12:47:20 +00:00
robocop
6b4ec2b1d4
Corrections from Adriano.
2007-04-01 13:02:46 +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
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