robocop
afc138e9bc
Generators page cleanup, as requested by Ann Harrison.
2009-11-18 11:54:21 +00:00
alexpeshkoff
8bfa0a37a2
Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed
2009-11-13 18:29:06 +00:00
asfernandes
ed0e0daeb3
- External Engines implementation.
...
- Plugins API.
- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.
- Fixed CORE-2699 - Common table expression context could be used with parameters.
- Introduce ODS 12.0.
- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
alexpeshkoff
23b4e0767e
Port to Renesas SH (linux) by Nobuhiro Iwamatsu
2009-10-07 13:29:17 +00:00
alexpeshkoff
2ca82515cd
Impovement CORE-2625: Port to s390 (32-bit), patch from Damyan Ivanov
2009-09-18 13:08:47 +00:00
dimitr
cc46e2cdac
Grammar.
2009-08-30 10:08:19 +00:00
asfernandes
f4bfb5dbb3
Style of new/changed code; usage of static; misc
2009-08-30 03:04:34 +00:00
skidder
2b9fa8cf4e
Support for filesystem cache size management needed to work with large databases on modern Windows hosts (64-bit - starting with XP, 32-bit - starting with Vista)
2009-08-29 19:55:23 +00:00
dimitr
380dd31c10
Used the new feature for DELETE FROM MON$ATTACHMENTS.
2009-08-25 11:17:35 +00:00
robocop
53f7f2c21d
Get rid of obsolete function.
2009-08-23 12:36:01 +00:00
robocop
50248f0578
Misc.
2009-08-23 11:04:36 +00:00
robocop
55a61db547
Style.
2009-08-23 07:31:48 +00:00
asfernandes
50102f6f4c
Misc
2009-08-23 01:27:46 +00:00
robocop
97c384d984
Comments.
2009-08-22 12:16:47 +00:00
alexpeshkoff
7456868d0a
Frontported correction to my fix for CORE-2572
2009-08-13 09:07:51 +00:00
asfernandes
db522f8d7e
Misc
2009-07-25 18:43:25 +00:00
alexpeshkoff
be9afc2abc
Fixed CORE-2572: Locks of type LCK_page_space processed incorrectly
2009-07-24 13:01:13 +00:00
alexpeshkoff
c8485edf9e
Applied Dan's patch to start port for s390 - primarily to reserve CLASS and IMPLEMENTATION
2009-07-21 13:39:58 +00:00
robocop
b4a695a031
Misc.
2009-06-08 12:15:19 +00:00
robocop
2e3ce0d23d
Misc.
2009-06-07 09:49:58 +00:00
robocop
7f97db264b
Cleanup.
2009-05-10 10:26:38 +00:00
alexpeshkoff
4da21c1e29
Solaris port
2009-04-10 10:29:13 +00:00
asfernandes
f6f364da49
Trim trailling spaces
2009-04-04 16:39:31 +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
asfernandes
647bc06ce1
Misc
2009-01-09 01:50:54 +00:00
robocop
b627ad2a39
Style.
2009-01-07 09:30:57 +00:00
hvlad
22389453af
Fixed bug CORE-2266 : Nbackup database locking not working correctly
2009-01-06 21:30:24 +00:00
asfernandes
79e89d573d
Misc
2009-01-03 19:02:04 +00:00
robocop
21bb7f3d20
Style.
2009-01-03 09:14:29 +00:00
robocop
2fadc0e456
Style.
2008-12-22 09:00:05 +00:00
robocop
e63b46bb9c
There's no need to check whether a pointer is null before applying delete or delete[].
2008-12-21 03:50:29 +00:00
robocop
9161be9116
Style.
2008-12-18 11:29:10 +00:00
robocop
511c7eb7d8
Promote thread_data* as function argument.
2008-12-14 10:19:27 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
alexpeshkoff
7cbe2a3a67
1. AIX port
...
2. Misc VIO_DEBUG fixes.
2008-12-03 15:17:58 +00:00
hvlad
36e1866a1d
Few fixes to correctly close brocken external connection.
...
Ability to stop execution of external query when :
- engine is shutted down
- database is shutted down
- local statement is cancelled
- local connection is cancelled
2008-11-27 23:06:48 +00:00
hvlad
a3d266ba83
Fixed bug CORE-2018 : Only one client can access a readonly database
2008-10-14 09:10:36 +00:00
asfernandes
96194d08ba
Misc
2008-08-31 01:10:41 +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
609f466ad3
1) Fixed the layering, as dbb_lock shouldn't belong to PIO.
...
2) Passed tdbb to some engine routines that were dealing with TLS.
3) Got rid of fil_length and some minor cleanup.
2008-07-09 08:40:31 +00:00
alexpeshkoff
a2e416210b
Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
...
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
robocop
f6ee54f721
Nothing Earth shattering: just trying to fix the indentation.
2008-06-13 11:28:34 +00:00
asfernandes
d30d6410ea
Misc
2008-06-13 01:42:58 +00:00
paulbeach
d597247854
Support 64bit Darwin PPC
2008-06-09 12:02:59 +00:00
asfernandes
d5e481ba10
Linux IA-64 port
2008-05-22 15:02:59 +00:00
dimitr
090fc2ac6c
Misc.
2008-05-09 10:16:00 +00:00
dimitr
7edcee435b
1) Turn on FW on all platforms by default.
...
2) Cleanup/misc.
2008-05-07 05:18:09 +00:00
dimitr
0a9e8c8382
Implemented CORE-1751. The changes include:
...
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
paulbeach
2600e01b89
Fix optimisation problem on MacOSX ppc build that results in a segfault on exit for all utilities
...
Re-define __ppc__ where necessary
2008-04-25 10:14:54 +00:00
paulbeach
64df8dd761
Solaris 64bit AMD port
2008-04-25 09:42:19 +00:00
dimitr
a355c60d02
1) Implemented CORE-793. More work is required to terminate idle CS processes, this will be done the next week.
...
2) Fixed the "lock conflict" error for the CS monitoring in v2.5.
2008-04-23 08:00:27 +00:00
asfernandes
d75951e8e5
Misc
2008-04-18 01:37:44 +00:00
alexpeshkoff
f4f209cb6f
Alan's patch for ARM
2008-04-15 14:14:57 +00:00
hvlad
d8dce81b86
Create temporary page space on first reference of temporary page space ID. This allows to use temporary page space for blobs storage even if no GTT was referenced.
2008-04-09 17:21:23 +00:00
alexpeshkoff
b237f4ebd8
Cleanup - avoid use of SUPERCLIENT macro in files, used by utilities
...
(and in some other places too).
2008-04-08 14:18:24 +00:00
hvlad
ccc38677a9
Make pip_header.reserved works in ODS 11.2 too
2008-04-02 08:46:56 +00:00
asfernandes
b5f62a63b0
Misc
2008-03-30 20:43:36 +00:00
dimitr
b87b5032ef
Changes in the TimeStamp class by Dmitry Kovalenko.
2008-03-26 10:21:04 +00:00
asfernandes
262dbadc4f
Misc
2008-03-15 17:55:27 +00:00
hvlad
f82d517b09
Fixed bug CORE-1790 : PAG_page_count returns 3 for just created database.
...
pip->pip_header.reserved is valid only for OSD 11.1, not for 11.2
2008-03-13 19:14:45 +00:00
alexpeshkoff
19b903f0c5
fixed posix build
2008-02-14 11:52:59 +00:00
paulbeach
dddab69190
Minor modifications for MacOS 64bit builds
2008-02-06 14:59:08 +00:00
robocop
4c3381ef6b
Style, constness and macro cleanup.
2008-02-03 10:41:44 +00:00
dimitr
a38b327886
Cleanup. Get rid of the JrdMemoryPool.
2008-01-29 10:11:52 +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
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
61b51855a8
Misc
2008-01-20 23:51:21 +00:00
asfernandes
654200fda3
Corrections
2008-01-18 17:39:07 +00:00
paulbeach
79a649377d
Welcome to 64bit MacOS builds
2008-01-18 14:12:26 +00:00
asfernandes
ce4bbd30f5
Misc
2008-01-17 14:38:25 +00:00
alexpeshkoff
f24e56e618
Applied Damyan's patch - MIPS linux port
2008-01-17 12:36:08 +00:00
dimitr
6992f2a638
The merge continued.
2008-01-16 09:41:31 +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
hvlad
0182b158d0
Remove not needed code.
2007-11-27 16:21:25 +00:00
asfernandes
54b36766c0
Misc
2007-11-17 00:38:16 +00:00
alexpeshkoff
a1f3f10493
1. Renamed info parameter.
...
2. Clearly separated PIP logic and IO, as was requested by Vlad.
2007-11-12 17:24:22 +00:00
paulbeach
c823619e92
HPUX Port
2007-11-12 15:18:49 +00:00
hvlad
9f569c1e78
Fixed bug CORE-1577 : Forced Writes setting is not applied to the secondary database files
2007-11-08 15:40:34 +00:00
asfernandes
4161dc725c
Misc
2007-10-10 02:06:20 +00:00
robocop
67565fc75b
- Changed some lengths to USHORT.
...
- Took care of some exotic B.O.
- Replaced custom loops by either memcpy or memmove as required.
2007-10-07 02:06:31 +00:00
hvlad
45e0e690a6
Correction in calculations of how many pages needs to be initialized with zeros. Don't initialize more pages than amount of bits left on PIP
2007-10-01 18:22:10 +00:00
dimitr
0e6c8c9abe
Moved the engine checkout/checkin logic from CCH to PIO. This allows to avoid hacks like usage of SCH_check_thread_enter().
2007-09-25 11:47:39 +00:00
robocop
0519215923
Fix CORE-1470.
2007-09-20 10:04:43 +00:00
hvlad
77434f49d6
Fixed compilation on non WIN_NT platforms
2007-09-19 12:08:50 +00:00
asfernandes
96a6ad5863
Misc
2007-09-19 01:46:45 +00:00
hvlad
44c11dfe77
Implement improvement CORE-1469 : Improve performance of database file growth after CORE-1228 was fixed
...
General and WinNT code parts
2007-09-18 15:26:19 +00:00
hvlad
ebb55209c0
Fixed bug CORE-1468 : Database corruption possible when database file extension and read\write activity is performed simultaneously
2007-09-18 14:50:51 +00:00
asfernandes
6beb5e28bd
Misc
2007-07-26 01:23:18 +00:00
hvlad
6cd3900a9f
Implement CORE-1381 : Allow Firebird to not use filesystem cache for database files
...
Implementation in unix.cpp is experimental and commented out (calls of posix_fadvice) until testing
Cleanup in winnt.cpp : removed fil_force_write_desc
2007-07-25 18:44:54 +00:00
dimitr
ca53627351
Const safety.
2007-07-02 10:28:50 +00:00
hvlad
42fedd1c0e
PIO_act_alloc and PIO_max_alloc moved into PageSpace static metods
2007-05-22 11:52:23 +00:00
dimitr
8dd6b78150
A better fix for the previous issue. This time it doesn't crash on DROP DATABASE :-)
2007-05-21 07:42:53 +00:00
dimitr
a7d062fe91
We don't need to try to close the file twice. With my recent commit, this causes an AV in PIO_close().
2007-05-17 18:40:47 +00:00
robocop
0b60796db5
Replace custom loop with memset.
2007-05-16 08:23:41 +00:00
robocop
52f1b15e0c
Misc.
2007-05-02 06:57:18 +00:00
hvlad
929bc1eb41
Correct page pre-allocation logic
2007-04-27 08:56:58 +00:00
asfernandes
c722690150
Misc
2007-04-27 02:28:57 +00:00
hvlad
8bca2dc7b0
Track page_inv_page::pip_min when new pages are allocated. This improve performance a bit
2007-04-25 21:14:47 +00:00
hvlad
29ab1ca027
Implement CORE-1229 : Teach Firebird to allocate disk space by more than one page at a time
2007-04-25 21:08:57 +00:00
hvlad
31af74fbf6
Fixed bug CORE-1228 : Database often became corrupted after an out of disk space condition
2007-04-25 20:45:03 +00:00