8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 17:23:03 +01:00
Commit Graph

274 Commits

Author SHA1 Message Date
robocop
ae1dd3098c We just need one field to identify a new ODS version. 2006-08-30 04:50:53 +00:00
asfernandes
18b57e55b5 Misc 2006-08-27 02:48:51 +00:00
asfernandes
73b8ff849e Backup the new fields added - thanks to Claudio 2006-08-26 02:59:49 +00:00
aafemt
c662ea7d9e Warnings 2006-08-17 12:08:49 +00:00
robocop
1f2dc4259d Fix possible buffer overrun when restoring a db. 2006-08-01 07:42:30 +00:00
asfernandes
818d55d5a8 Misc 2006-07-30 19:49:39 +00:00
robocop
16fdc76d44 Fix wrong gbak verbose messages due to Borland's copy/paste (example: function instead of procedure).
Initialize more sysflags to zero instead of NULL.
2006-07-29 06:01:29 +00:00
robocop
1c967977a4 More backwards compatibility.
Store sysflag always. Cases that I missed before.
2006-07-28 08:29:05 +00:00
asfernandes
ccbaf55533 Misc 2006-07-28 01:44:36 +00:00
alexpeshkoff
028ab3c597 fixed AV related with SVC_TRMNTR in services 2006-07-27 14:24:09 +00:00
robocop
5efaa068bc Misc. 2006-07-27 09:27:43 +00:00
robocop
965a66c164 Fix gbak to correct the wrong idea that by looking at the backup level you can guess the target server version where the db restoration will take place. Now it's possible to use FB2.1's gbak to restore on FB2.1, FB2.0, FB1.5, FB1, IB6, IB5 and IB4. Spurious tags for the current backup level are detected. Missing fields for the target ODS are discarded.
Need to fix some historically wrong messages and store always the sysflag (missed three cases last year).
2006-07-27 09:16:03 +00:00
robocop
fd70603eb1 Checking capabilities when restoring. Work in progress. 2006-07-25 05:25:06 +00:00
robocop
10f3f6b7e2 We just need one field that may activate a particular flag (ods level) in the capabilities. 2006-07-25 05:10:41 +00:00
asfernandes
9d3a071b68 Misc 2006-07-21 12:43:19 +00:00
robocop
64f6eb42a1 Misc. 2006-07-21 01:35:17 +00:00
asfernandes
2689003a91 Misc 2006-07-18 18:02:54 +00:00
dimitr
3c6b6e5584 Fixed typo. 2006-07-18 13:29:51 +00:00
dimitr
c4b5942c74 Allow backup/restore of the new fields. 2006-07-18 11:17:03 +00:00
robocop
db5f743685 Misc. 2006-06-16 08:13:20 +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
ebe0a75026 Simplification. 2006-05-04 00:02:58 +00:00
alexpeshkoff
1a5505065d ported fixes from 2.0 release 2006-04-16 12:58:29 +00:00
asfernandes
45446afa71 Remove obsolete comment 2006-04-05 16:24:08 +00:00
alexpeshkoff
85c5ad885f return error in case of unexpected status_exception 2006-03-15 17:27:53 +00:00
robocop
1cd4ee5f0c Get rid of unused handle. 2006-03-15 04:21:47 +00:00
hvlad
f6aa933c78 Update statistics for system indices after restore 2006-03-13 14:39:19 +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
hvlad
73dcebc962 Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h" 2006-02-03 13:13:27 +00:00
robocop
8f1a076123 Skip system objects: exceptions, blob filters and procedures. 2006-01-29 03:23:34 +00:00
alexpeshkoff
ca70704563 fixed gcc warning(s) 2006-01-16 15:39:55 +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
robocop
2a499fb72d Totally misc. 2006-01-13 22:25:05 +00:00
dimitr
a5a8041e26 1) Fixed stdin/stdout redirection in win32 gsplit
2) Make the code more GCC4 friendly
2006-01-13 07:36:30 +00:00
dimitr
7e6dedd0bc Correction. 2006-01-10 08:31:29 +00:00
dimitr
8e37fbe3ac Minor cleanup + solved one of the GCC4 compile issues. 2006-01-09 19:57:32 +00:00
alexpeshkoff
70045882f5 let use services to backup security database 2005-12-05 11:45:39 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
asfernandes
710fce2c2d 1) Make "total" to Claudio taste :-)
2) Fix error found by Vlad
2005-11-17 11:32:38 +00:00
dimitr
cf1162c563 Avoid buffer overruns when restoring corrupted data (always check for the declared length).
Look at remote/xdr.cpp for example.

TODO: print a warning during backup in this case.
2005-11-15 08:48:16 +00:00
asfernandes
2e697c6b94 Fix problem of empty arguments passing garbage in SPB 2005-11-11 00:43:20 +00:00
robocop
614939d186 Gbak must write always the system flag when creating objects.
This is the first step before we are able to make rdb$system_flag field mandatory in the future.
2005-11-04 05:20:56 +00:00
asfernandes
98150e31c9 Fixed problem of GBAK adding a garbage byte to SPB, when called with -SE. Reproducable with:
gbak -C -SE service_mgr c:\t.fbk localhost:c:\t.fdb
2005-10-29 14:57:28 +00:00
alexpeshkoff
34a9df7e8f fixed restore of database with broken foreign keys 2005-09-14 05:58:04 +00:00
dimitr
efb3268658 Fixed wrong defines, thanks to Claudio. 2005-08-13 08:19:22 +00:00
dimitr
7a343b8162 Moved the Services API into the engine on threadable platforms. 2005-08-10 14:47:42 +00:00
dimitr
59cfb104ff Let's report we're creating an index before we do so, not after. 2005-06-03 08:40:21 +00:00
asfernandes
0b53d89e57 Removed unsense code noticed by Claudio 2005-05-29 14:38:52 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
hvlad
af740ca41a 1. Fixed bug #908319 2. Fixed inability to restore into nonexisting file with -se switch used 2005-05-14 13:45:01 +00:00