firebirds
1ba65f638b
nightly update
2013-11-25 00:59:34 +00:00
asfernandes
9c9dd72977
Misc.
2013-11-24 03:21:11 +00:00
firebirds
b43944cb7e
nightly update
2013-11-23 00:49:40 +00:00
alexpeshkoff
4a8fe5a0de
Implemented CORE-4273: Per-database control on access to database from remote stations
2013-11-22 15:21:11 +00:00
firebirds
6aaa37b787
nightly update
2013-11-22 01:08:33 +00:00
alexpeshkoff
c2efe1945a
Enable linger only in multiuser server mode. This should also fix windows build.
2013-11-21 07:31:30 +00:00
asfernandes
d543daf51a
Misc.
2013-11-21 01:17:08 +00:00
firebirds
05de852588
nightly update
2013-11-21 01:11:10 +00:00
firebirds
d9adc6d7c9
nightly update
2013-11-20 00:27:10 +00:00
alexpeshkoff
d6297bebd4
Fixed some gcc warnings
2013-11-19 13:19:11 +00:00
firebirds
1e64ec7163
nightly update
2013-11-19 00:31:27 +00:00
dimitr
5e9a5ef312
Attempted to fix a number of issues with badly working privileges after restore into ODS12.
2013-11-18 16:28:24 +00:00
dimitr
dfbc754180
Fixed CORE-4270: Error in case of subquery with windowed function + where <field> IN(select ...).
2013-11-18 15:33:44 +00:00
alexpeshkoff
82f1524800
Fixed some more warnings
2013-11-18 14:56:14 +00:00
alexpeshkoff
190ff0ad45
Fixed warning "deleting object of abstract class type" where possible
2013-11-18 13:28:47 +00:00
alexpeshkoff
726601a742
Fixed warning "struct declared inside parameter list"
2013-11-18 12:45:12 +00:00
alexpeshkoff
83db69c849
Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type.
2013-11-18 12:20:23 +00:00
firebirds
c7bfd949f7
nightly update
2013-11-18 00:34:03 +00:00
dimitr
8033131d18
Fixed possible server crash + minor refactoring.
2013-11-17 14:24:17 +00:00
firebirds
73dc69f655
nightly update
2013-11-17 00:38:33 +00:00
firebirds
0e8bd1cc0e
nightly update
2013-11-16 03:34:29 +00:00
dimitr
8143f9aa6b
Fixed CORE-4267: Server crashes while sweeping the database.
2013-11-15 15:40:31 +00:00
firebirds
2501bb77e6
nightly update
2013-11-15 01:27:05 +00:00
alexpeshkoff
120b10a78a
Implemented CORE-4263: Database linger
2013-11-14 16:16:24 +00:00
alexpeshkoff
5957e4a252
Fixed assertion (and possible deadlock)
2013-11-14 10:26:29 +00:00
firebirds
7bbe7ac313
nightly update
2013-11-14 00:27:17 +00:00
dimitr
b3e94683e5
Misc.
2013-11-13 16:08:15 +00:00
dimitr
5453b5c394
Attachments marked as shutdown may still be running (before they reach the rescheduling point), so they should not be accounted as already gone. This should also fix CORE-4236: Database shutdown is reported as successfully completed before all active connections are in fact interrupted.
2013-11-13 15:42:48 +00:00
dimitr
489480b774
Complementary patch for one of my prior commits (forced rollbacks should go through the TIP).
2013-11-13 15:39:32 +00:00
dimitr
fe23598a23
Separated shutdown (mostly for locks) from destruction.
2013-11-13 07:44:50 +00:00
firebirds
9d721140ef
nightly update
2013-11-13 01:01:28 +00:00
dimitr
0355720670
We're quite lucky this implicit conversion worked correctly. Fixed.
2013-11-12 16:56:05 +00:00
dimitr
b3e67aa0cd
Misc.
2013-11-12 16:53:39 +00:00
dimitr
13949c0550
Fixed the status vector being left dirty after the non-critical lock manager error.
...
This resolves CORE-4265: Unexpected lock conflict error may be raised while connecting to a heavily loaded database.
2013-11-12 16:52:32 +00:00
dimitr
5356088542
Misc.
2013-11-12 14:24:19 +00:00
firebirds
c14d7c3638
nightly update
2013-11-12 01:47:04 +00:00
hvlad
37344e12bf
Fixed bug CORE-4260 : Bugcheck 165 (cannot find tip page) happens if engine crashed right after CREATE DATABASE
2013-11-11 14:44:52 +00:00
firebirds
9fc9c60637
nightly update
2013-11-08 00:28:20 +00:00
dimitr
d0d26c6622
Fixed the underlying issue that made CORE-4255 possible.
2013-11-07 18:41:27 +00:00
hvlad
34b99e6f3a
Don't force flush for database which creation is not complete.
2013-11-07 10:32:35 +00:00
hvlad
424fb1d75f
Avoid hack in create_database when we have FW=ON at header page disk image and FW=OFF in memory structures and in fact database file is created in FW=OFF mode.
...
Instead of setting flag on header page when it is formatted for the first usage, explicitly set FW=ON after database creation is complete, if there was no isc_dpb_force_write in DPB.
2013-11-07 10:06:36 +00:00
firebirds
ad291a704a
nightly update
2013-11-07 01:06:18 +00:00
firebirds
074053a202
nightly update
2013-11-06 02:20:33 +00:00
firebirds
580ac46b26
nightly update
2013-11-02 00:26:49 +00:00
alexpeshkoff
ee748b192d
Make code (hopefully) better readable
2013-11-01 14:18:30 +00:00
firebirds
f6a187e1b7
nightly update
2013-11-01 00:30:33 +00:00
alexpeshkoff
bd65abc1aa
Cleanup
2013-10-31 15:10:26 +00:00
firebirds
50f6059d06
nightly update
2013-10-31 07:38:11 +00:00
alexpeshkoff
dd73db4494
Fixed CORE-4200: An uncommitted select of the pseudo table sec$users blocks new database connections
2013-10-30 12:11:40 +00:00
firebirds
b34e952700
nightly update
2013-10-30 00:44:45 +00:00
firebirds
eed8c030e6
nightly update
2013-10-29 00:28:28 +00:00
firebirds
14d0c26529
nightly update
2013-10-26 00:32:01 +00:00
asfernandes
2d15c34529
Fixed CORE-4247 - Delete "where current of" cursor fails for tables with newly added fields.
2013-10-24 14:47:45 +00:00
firebirds
ffefc3cf20
nightly update
2013-10-24 00:27:50 +00:00
firebirds
3317ab5c3a
nightly update
2013-10-20 00:35:36 +00:00
hvlad
88a470d22c
Fixed two more reasons for CORE-4235 : Deadlock is possible while accessing the monitoring tables under concurrent load.
2013-10-19 08:09:51 +00:00
firebirds
2cab4d4676
nightly update
2013-10-19 00:29:43 +00:00
firebirds
2872fc61da
nightly update
2013-10-18 02:27:13 +00:00
firebirds
b0009f39f2
nightly update
2013-10-17 00:30:08 +00:00
alexpeshkoff
5a054cca16
Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
...
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00
firebirds
61d5a49c93
nightly update
2013-10-16 00:27:45 +00:00
asfernandes
51b0d1aca4
Frontport fix for CORE-4244 - Problem with creation procedure which contain adding text in DOS864 charset.
2013-10-15 15:26:34 +00:00
firebirds
8c6b3538fd
nightly update
2013-10-14 00:28:48 +00:00
asfernandes
dc99961e8b
Misc.
2013-10-13 23:44:57 +00:00
firebirds
bf90f73410
nightly update
2013-10-05 00:48:12 +00:00
firebirds
f5bbe3701c
nightly update
2013-10-04 00:28:51 +00:00
hvlad
0babf2d372
Lets not return isc_att_shutdown error when some of the attachments in monitoring snapshot are gone while dump was creating
2013-10-02 12:39:19 +00:00
hvlad
b09e438e9d
Fixed typo's in few validation messages
2013-10-02 08:19:40 +00:00
firebirds
87aa20d995
nightly update
2013-10-02 01:11:54 +00:00
firebirds
2b351e1c80
nightly update
2013-10-01 00:30:29 +00:00
hvlad
1614813c97
Additional fix for bug CORE-2648 : Nbackup's delta file ignored Forced Writes database setting
2013-09-29 09:09:10 +00:00
firebirds
7fb3b08c46
nightly update
2013-09-27 00:26:30 +00:00
firebirds
00b513b8e5
nightly update
2013-09-26 00:27:12 +00:00
asfernandes
0b51caa5f4
Fixed CORE-4145 - Memory leak when preparing Execute Block which uses domains.
2013-09-25 15:49:43 +00:00
firebirds
8504a1895f
nightly update
2013-09-25 00:27:35 +00:00
alexpeshkoff
18d66a33b4
Cleanup - avoid unneeded generate's argument in SortedArray and Hash
2013-09-24 08:46:10 +00:00
dimitr
c235774864
Attempted to fix CORE-4235: Deadlock is possible while accessing the monitoring tables under concurrent load.
...
Refactored the list of reference counted attachments to be useful in other cases.
Some minor adjustments in the monitoring code.
2013-09-22 16:10:06 +00:00
dimitr
ddcbc3928c
Unconditionally flush the page cache to disk if FLUSH_ALL / FLUSH_FINI modes are used and FW=OFF. This puts a little bit more consistency and favors explicit flushes over implicit ones (e.g. when database is detached and its file is closed).
2013-09-22 15:35:36 +00:00
firebirds
1f2baaca03
nightly update
2013-09-22 00:30:52 +00:00
dimitr
e5d1202048
Somewhat hackery fix for CORE-4201: Computed field returns null value inside BI trigger.
...
A better solution requires major changes and will be investigated in trunk later.
2013-09-20 08:28:41 +00:00
dimitr
ffbc33c270
Fixed CORE-4229: Bi-directional cursor is not positioned by the first call of FETCH LAST.
2013-09-20 07:06:08 +00:00
firebirds
89ff61f84f
nightly update
2013-09-20 00:29:19 +00:00
hvlad
5254e36a2c
Correction for fix for bug CORE-4134 : Race condition when auto-sweep is started
...
The patch wrongly disabled manual sweep to run when database is shutdown.
Auto sweep is still disabled to run on such database.
2013-09-18 18:38:36 +00:00
hvlad
b9f34c1b46
Fixed bug CORE-4225 : Server crashes when attempting to trace activity on database having a db-level trigger
2013-09-18 13:48:22 +00:00
dimitr
3821ec9d41
Implemented CORE-4218 (database owner in MON$DATABASE) and CORE-4222 (auth method in MON$ATTACHMENTS).
2013-09-18 09:37:13 +00:00
firebirds
46f93fa73c
nightly update
2013-09-17 01:01:35 +00:00
hvlad
8ee66e0bb0
Fixed bug CORE-4216 : Memory leak with TRIGGER ON TRANSACTION COMMIT
2013-09-16 09:17:56 +00:00
firebirds
ecf2413331
nightly update
2013-09-15 00:32:13 +00:00
alexpeshkoff
7c243418a9
Cleanup - removed unused (always NULL) field tra_sibling from transaction class in engine
2013-09-13 12:21:51 +00:00
hvlad
1267bfb3f6
Fix to please GCC
2013-09-13 08:15:17 +00:00
firebirds
67f6cbc51d
nightly update
2013-09-13 00:29:14 +00:00
hvlad
db70a7742d
Fixed bug CORE-3921 : "record disappeared (186), file: vio.cpp line: 408"
2013-09-12 19:08:59 +00:00
hvlad
cfa78a3137
Improvement CORE-4215 : Execution of SET STATISTICS INDEX statement could block or slow execution of concurrent attachments
2013-09-11 15:39:55 +00:00
firebirds
1e9b670878
nightly update
2013-09-11 00:28:17 +00:00
hvlad
cf4e7ecc0d
Fixed bug CORE-4212 : Dropping FK on GTT crashes server
2013-09-10 14:30:42 +00:00
firebirds
bc04c0bf99
nightly update
2013-09-10 00:30:56 +00:00
alexpeshkoff
a3abde8118
Fixed CORE-4211: Embedded engine hangs for 5 seconds when closing
2013-09-09 11:03:46 +00:00
alexpeshkoff
edd2f6945b
Fixed CORE-4185: related issues with crypt thread start/stop
2013-09-09 10:32:18 +00:00
firebirds
99fcf79f97
nightly update
2013-09-07 00:53:07 +00:00
alexpeshkoff
40bacdd743
Fixed CORE-4185: FB craches with "invalid lock id (NNNNN)"
2013-09-06 13:09:07 +00:00
firebirds
1b2a11f741
nightly update
2013-09-06 00:28:01 +00:00
dimitr
660f861917
Provided support for both old and new debug info formats. It eliminates the annoying "bad debug info format" warning during restore as well as allows the migrated debug info to be useful without recreation of the PSQL objects.
2013-09-05 07:38:56 +00:00
firebirds
857fc05199
nightly update
2013-09-05 00:28:15 +00:00
dimitr
c9cc5294da
Avoid rescheduling if we're kindly asked to stop immediately.
2013-09-04 17:52:13 +00:00
dimitr
c367d1f958
Cleanup and use the explicit rollback via TIP for all kinds of forced disconnections.
2013-09-04 17:46:09 +00:00
dimitr
3c315f584b
Totally misc.
2013-09-04 15:05:00 +00:00
firebirds
685886beb6
nightly update
2013-09-04 01:05:25 +00:00
firebirds
915c6d7e7f
nightly update
2013-09-03 00:33:50 +00:00
alexpeshkoff
d2b757507c
Rollback bad fix for CORE-4185
2013-09-02 13:21:37 +00:00
firebirds
3159f54c8c
nightly update
2013-08-31 01:21:47 +00:00
firebirds
7147cae5f7
nightly update
2013-08-30 00:30:04 +00:00
firebirds
e345de75d1
nightly update
2013-08-28 00:27:32 +00:00
firebirds
7daa55baef
nightly update
2013-08-27 00:31:14 +00:00
dimitr
ce70c3c980
Misc.
2013-08-26 09:50:23 +00:00
alexpeshkoff
ee0be488a4
Fixed CORE-4185: message "Invalid lock ID" happened due to incorrect lock kind
2013-08-26 06:28:07 +00:00
firebirds
8eafabbe9f
nightly update
2013-08-25 01:31:10 +00:00
firebirds
91f131c2e6
nightly update
2013-08-24 00:29:25 +00:00
firebirds
91318d7e34
nightly update
2013-08-23 00:35:24 +00:00
alexpeshkoff
89d2d8bbd3
Fixed assertion in classic mode
2013-08-21 11:56:27 +00:00
dimitr
a4ec331d3d
On second thought, I'm removing the artifical message size limit.
2013-08-21 09:17:10 +00:00
dimitr
4f094c7fd8
Removed the record size limit for aggregates/unions.
2013-08-21 09:14:09 +00:00
dimitr
c1cbd97163
Increased the sort record size limit to 1MB. I've kept this limit due to the possible performance implications, but it can be extended/removed any time.
2013-08-21 09:11:57 +00:00
dimitr
99b1b17f27
Minor refactoring and support for records longer than 64KB (not really actual, but just in case).
2013-08-21 07:41:39 +00:00
dimitr
8586171695
Core support for records longer than 64KB. Not exposed to the external world yet.
2013-08-21 07:40:31 +00:00
dimitr
111f71db83
Misc.
2013-08-21 07:19:43 +00:00
dimitr
8df0ca0194
Misc.
2013-08-21 07:18:26 +00:00
firebirds
78e38a42f0
nightly update
2013-08-21 01:01:49 +00:00
dimitr
ea7423210a
Code simplification.
2013-08-20 06:11:12 +00:00
firebirds
ba46dc445b
nightly update
2013-08-20 00:31:11 +00:00
dimitr
597a562514
Minor optimization.
2013-08-19 18:51:55 +00:00
dimitr
01b81b1edb
Code simplification and some corrections.
2013-08-19 18:50:28 +00:00
dimitr
a12e7b6eaa
Cleanup.
2013-08-19 17:29:44 +00:00
alexpeshkoff
1eace34614
CORE-3944 - fixed a bug in my previous commit, noticed by Adriano
2013-08-19 08:17:37 +00:00
firebirds
298d3f6844
nightly update
2013-08-19 00:31:38 +00:00
asfernandes
a66366bc82
Misc.
2013-08-18 18:53:41 +00:00
dimitr
6b5ee63711
Fixed the optimizer regression causing different from FB2 plans being generated + some cleanup.
2013-08-18 15:32:53 +00:00
firebirds
02ebfe1117
nightly update
2013-08-17 00:27:29 +00:00
alexpeshkoff
a8f8465366
Postfix for CORE-3935 & CORE-3944: helps avoid segfaults/deadlocks when shutting down firebird
2013-08-16 12:44:10 +00:00
alexpeshkoff
70a5c5db43
Always lock dbb_sync before accessing something in setLockAttachment()
2013-08-16 12:41:49 +00:00
firebirds
299a3e4552
nightly update
2013-08-16 00:27:27 +00:00
dimitr
d2fa09942e
Fixed incorrect accounting re. number of fetches.
2013-08-15 11:54:56 +00:00
firebirds
f94bf3d32d
nightly update
2013-08-15 00:27:09 +00:00
dimitr
bd1f732e7c
Attempted to fix unexpectedly big (> 2^32) page numbers in the validation output + some related adjustments.
2013-08-14 09:27:24 +00:00
asfernandes
a9c1e054b0
Fix assertion.
2013-08-14 02:20:00 +00:00
firebirds
dd5f9360db
nightly update
2013-08-14 00:41:05 +00:00
firebirds
ba389cbea8
nightly update
2013-08-12 00:36:15 +00:00
dimitr
a18788a0cf
Fixed CORE-4176: Monitoring tables return incomplete information in SC/CS configurations.
2013-08-09 15:51:13 +00:00
dimitr
a1362f9506
Fixed CORE-4173: Setting generator value twice in single transaction will set it to zero.
2013-08-09 05:04:23 +00:00
firebirds
6eafaeeb2a
nightly update
2013-08-09 00:26:52 +00:00
hvlad
82b574fbfd
Restore scan-resistance feature of the page cache.
...
Refactor common code a bit.
2013-08-08 08:41:12 +00:00