8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 21:23:04 +01:00
Commit Graph

247 Commits

Author SHA1 Message Date
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
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