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

225 Commits

Author SHA1 Message Date
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
robocop
8c381ef54b Better fixes related to field-test bug #1173988, first part.
Also, a new, more accurate message has been added to the restoration process.
2005-05-03 04:09:26 +00:00
robocop
382d5b3432 Fix for first part of field test bug #1173988.
Also, fix for misleading message, use -R switch tal must be use -REP switch.
2005-04-29 05:36:19 +00:00
robocop
1c83cfaaad Cleanup. No need to test if sizeof() is bigger than zero. 2005-04-18 03:25:56 +00:00
robocop
d0115322ac Misc. 2005-04-18 03:24:34 +00:00
dimitr
fdda592e98 Fixed bug when a computed column of blob/array type zeroes the first column of the table being restored.
In short words, some data were lost during restore.
2005-04-13 11:46:14 +00:00
hvlad
f09ef16560 1. New switch for gbak -RECREATE_DATABASE [OVERWRITE].
Simple RECREATE_DATABASE is equal to CREATE_DATABASE,
    RECREATE_DATABASE OVERWRITE is equal to REPLACE_DATABASE.
2. gbak uses isc_dpb_overwrite to create database over existing files
3. engine overwrite existing files only if asked explicitly by
    user by setting isc_dpb_overwrite to 1
4. fixed unregistered bug - when gbak uses service manager and passed
    command line contains invalid switch. Service reports error and
    finish but not call Service::svc_started therefore response is not
    send and gbak is stalled forever
2005-04-09 18:44:50 +00:00
dimitr
e2f0e554e6 More correct fix for restore. 2005-01-20 11:29:15 +00:00
robocop
1718ae5a45 Misc. 2004-12-26 04:09:06 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
alexpeshkoff
f0787d47d7 fixed bug in my last commit, noticed by Claudio 2004-12-13 12:06:55 +00:00
robocop
fddf92395e Misc. 2004-12-10 22:54:16 +00:00
alexpeshkoff
387e678cca applied Clumplet* classes to dpb where possible 2004-12-09 19:19:47 +00:00
robocop
0dd1aced53 Misc. 2004-12-09 02:50:47 +00:00
skidder
d16f031af7 Fix for another problem with backing up stream blobs - zero-length stream blob may have non-zero segment count 2004-12-02 00:42:43 +00:00
robocop
c18561f19c Misc. 2004-12-01 08:16:13 +00:00
skidder
e1cf1f66e6 Cure regressions introduced by Ann's cleanup in Firebird 1.0 2004-12-01 00:02:52 +00:00
skidder
252fae8d3b Second attempt to fix backing up of stream blobs.
This time it should work with XNET and INET too.
Rollback earlier engine fix which now seems incorrect to me.
2004-11-30 20:17:39 +00:00
skidder
0955e56ed8 Do not store system functions in backup files 2004-11-29 20:27:34 +00:00
robocop
bb170bd3b6 isc_interpret is fb_interpret again.
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
robocop
037c7270c4 fb-checkins shows that I didn't commit the correct version of the file. 2004-11-10 08:16:35 +00:00
robocop
2a212c1372 Avoid backup corruption with too long file names. 2004-11-10 04:33:37 +00:00
robocop
a7498d91e6 Treat string literals and string constants with more respect. 2004-11-08 03:14:17 +00:00
asfernandes
fc45553027 Update very obsolete error message 2004-11-02 02:41:33 +00:00
robocop
bc4b0d127f Constant is the max size of the string, not the max length. 2004-10-30 07:05:41 +00:00
robocop
26669885c6 Implement rdb$description in rdb$generators.
Gbak should be able to backup and restore the new field(s).
Following Borland's practice when adding fields, I raised the backup number to 7. I should have done that when enhancing rdb$roles.
2004-10-30 05:58:48 +00:00
robocop
59114e7e4c Fix possible buffer overrun. 2004-10-30 05:41:25 +00:00
skidder
3e26513b38 fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit 2004-10-25 03:53:03 +00:00
robocop
ab4dd5d2a2 reinterpret_cast downgraded to static_cast 2004-10-18 07:17:48 +00:00
robocop
4cf152ec65 Misc. 2004-10-07 09:19:25 +00:00
robocop
78c5931171 Fix a problem caused by cleanup changing #define to pointer to literal string.
Due to sizeof being involved, gbak could misinterpret a file as been a valid part of a multi-file backup.
2004-10-07 08:25:48 +00:00
robocop
77814b6cf5 Unused crud 2004-10-07 08:23:53 +00:00
robocop
3529bbf70c Put an assertion, just in case. 2004-09-26 11:19:31 +00:00
robocop
362f95df8a Got rid of some casts that were driving me nuts on each compilation 2004-09-22 08:54:42 +00:00
robocop
e6cb17cac6 Vulnerability reported by Daniel Urban.
First step: reorganize code.
Please do a full rebuild after retrieving those changes.
2004-09-22 01:59:39 +00:00
robocop
174e17be8b Redundant cast 2004-09-20 08:39:51 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
robocop
97406b9afd Gbak should backup/restore the new field rdb$description in rdb$roles, depending on ODS. 2004-08-30 10:07:00 +00:00
robocop
0b86ae4ae8 Got rid of some silly back and forth cast: to call MVOL_init_read or MVOL_init_write, callers forced char* vars to UCHAR*, but then those MVOL functions internally forced those params again to char*.
Fixed some indentation in loops, too.
2004-08-29 06:53:31 +00:00
robocop
cd22792829 misc 2004-08-29 06:47:59 +00:00
brodsom
4b7731ee0e Assert on non initialized variable 2004-08-26 19:09:07 +00:00
robocop
614f908558 Delete useless line and avoid memory leak after talking to Dmitry Yemanov. 2004-08-21 09:16:26 +00:00
robocop
a2e14cfe22 Totally misc changes 2004-07-06 05:54:13 +00:00
brodsom
76a2f98d90 -Put thread functions into thread class
-Comment SVC_PUTSPECIFIC_DATA
2004-07-03 02:33:46 +00:00
brodsom
7168edca86 Put thread functions into thread class 2004-07-03 00:13:46 +00:00
robocop
949830d0c6 1.- const correctness
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
skidder
8f0cf89afb Correct problems with single-user maintenance mode (note it is used for GBAK restore process now) 2004-06-12 01:06:05 +00:00
alexpeshkoff
1591a54e5e Thread cleanup:
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
robocop
1332d98618 Literal strings should be treated as const char* 2004-06-05 09:37:18 +00:00
brodsom
a799e5f44b -Use C++ struct declaration style. 2004-05-24 17:22:35 +00:00