robocop
b441cd9aef
Cleanup
2004-01-13 09:52:19 +00:00
skidder
6973b067ea
Do more AMD64 fixes. libfbstatic builds and can do some basic stuff now
2004-01-12 06:58:27 +00:00
robocop
06a4df3708
A requiem for JOURNAL and WAL.
...
Instructions in the list.
2004-01-06 10:33:18 +00:00
robocop
fd93837ec3
Cleanup:
...
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3
General cleanup
2003-12-22 10:00:59 +00:00
robocop
d020ea5ca1
ping-pong cleanup: change one place and you have to change several others
2003-12-11 10:33:30 +00:00
robocop
b02c629735
Cleanup
...
Some name changes
Try to fix SINIX-Z problems with send() prototype
2003-12-05 10:35:47 +00:00
robocop
84062732d8
More cleanup
2003-12-03 08:19:24 +00:00
robocop
9fafc348bf
const correctness
...
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
aafemt
5f041977c2
'struct' cleanup
2003-11-26 11:15:32 +00:00
skidder
2ff3ad36cd
Fix problem with long stream blobs
2003-11-17 18:09:51 +00:00
brodsom
6e8e00c191
-Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes
2003-11-16 01:44:51 +00:00
brodsom
c5253ae8a5
-Replace gds__ constants with isc_ contants
...
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
robocop
f55c6f6f8c
const correctness and cleanup
2003-11-10 09:16:38 +00:00
dimitr
63809c18b8
1) Make view fields unconditionally updatable
...
2) Make views updatable only directly or via the triggers
3) Cleanup
2003-11-09 09:51:02 +00:00
brodsom
4285bc623c
Removing gdsold.h and gds.h
2003-11-08 16:40:17 +00:00
robocop
db77ffa605
const correctness, variables in scope, cleanup, etc.
2003-11-07 08:06:35 +00:00
brodsom
89e8f89f86
Extern "C" cleaning
2003-11-06 03:03:36 +00:00
robocop
35396625f5
const correctness
...
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
robocop
e4d4116b7d
Fix logic bug in SEH->try/catch
...
Thanks to Mike
2003-11-02 06:10:26 +00:00
robocop
cda707bd36
const correctness and other related changes
2003-11-01 10:26:43 +00:00
robocop
9ead7a37b4
const correctness
...
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
brodsom
9b1df738ac
Remove unneeded MINGW ifdef
2003-10-29 00:31:51 +00:00
brodsom
9757af1c66
Macro cleaning
2003-10-09 02:02:42 +00:00
robocop
480c1ee968
const correctness
2003-10-08 08:42:48 +00:00
stryqx
4cbf0f0926
Define clock correctly, rather than casting it.
...
Pointed out by Claudio.
2003-10-07 11:02:25 +00:00
stryqx
674fa73b6a
style
2003-10-07 10:43:20 +00:00
stryqx
110204da24
Fix build with gcc 3.3
2003-10-07 10:12:54 +00:00
brodsom
2aeb693d06
extern cleaning
...
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
alexpeshkoff
c92d1cf192
Ported today fixes to HEAD.
2003-10-01 15:27:00 +00:00
skidder
235db035ce
Ok, i'm joining Firebird destruction team with my cleanup:
...
1. Bring trace DSQL, DYN and BLR trace logging up-to-date
2. Remove redundant CSB pointer dereferences in BLR parser and request compiler
3. Convert RIGHT JOIN to LEFT JOIN early during BLR parsing
4. Check BLR syntax for unititalized contexts usage
5. Some type-safety and const-correctness fixes
2003-09-28 21:36:05 +00:00
robocop
484c6ec372
Cleanup, const correctness, variables in scope, etc.
...
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
brodsom
9d5721473a
Removing SHLIB_DEFS
2003-09-22 17:56:35 +00:00
dimitr
e46c26b779
const correctness, bool, formatting, etc.
2003-09-21 07:57:12 +00:00
alexpeshkoff
62558e73c5
Fixed problems with security.fdb access, introduced in RC6 - front-port to HEAD
2003-09-15 09:04:03 +00:00
brodsom
8c0cc95124
Fix indents
2003-09-13 12:03:11 +00:00
brodsom
7fb0cd648d
-Replace NULL_TDBB, NULL_DBB with NULL
2003-09-01 11:08:30 +00:00
brodsom
8624a7c209
-Use NULL instead 0 for null pointers
...
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
6a2ef35fda
-Remove NULL_PTR
...
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:16:03 +00:00
dimitr
61a1c1ebb6
Added attachment timestamp (to support future extentions)
2003-08-26 07:20:33 +00:00
skidder
1c394c6d4b
Fix up server-side database aliases
...
- expand Windows SS local connection strings on the client side unless they
specify database aliases (return to backward-compatible behavior)
- use aliases for database creation
- do security checks after database file name expansion
- forbid usage of relative paths in aliases
- do not stick to 8.3 filenames on Windows as it causes problems
2003-08-17 19:56:53 +00:00
aafemt
9dbf56310a
sdl is UCHAR again
2003-08-15 10:23:46 +00:00
skidder
bdbeb38959
Avoid storing and using pointers allocated from one request pool
...
in other requests. Make request access lists use view ID, not pointer
to view structure. This changes solve the crash reported by
Evgeny Kilin when altering complex recursive procedure->trigger chains.
2003-08-14 20:45:36 +00:00
robocop
9f0aeccb2c
Fix warning
2003-08-12 09:55:37 +00:00
brodsom
daf2d5ff2c
-Fix cast warnings
...
-Fix signed/unsigned comparison warnings
-Fix format warnings
-Add MinGW 3.0 rc header
2003-08-09 21:15:32 +00:00
skidder
0e8e48e237
Fix stack corruption when aliases are used
2003-08-07 19:13:18 +00:00
skidder
143f8d2443
Implementation of fast physical incremental backup
2003-08-06 16:30:49 +00:00
aafemt
b672867147
sdl is a plain char again. Some cleanup around it
2003-07-24 10:21:42 +00:00
brodsom
49a86dde7d
Move physical io to os specific
2003-07-14 10:35:49 +00:00
alexpeshkoff
fa3c980179
fixed diagnostic in EXECUTE STATEMENT & DirectoryList
2003-06-16 15:43:00 +00:00
dimitr
8c821d7cdb
Fixed minor memory leak in CREATE/ATTACH DATABASE.
2003-06-05 08:38:21 +00:00
skidder
b79a5aa971
Fix metadata cache problem that prevented restore of some databases
2003-06-01 16:22:47 +00:00
skidder
7904fcd7ee
Cleanup
2003-05-09 16:05:24 +00:00
aafemt
e5146fd644
Introduce of ISC_STATUS_ARRAY
2003-04-16 10:18:51 +00:00
alexpeshkoff
c6c159cbef
Any database, mentioned in aliases.conf, may be accessed
...
regardless of DatabaseAccess parameter in firebird.conf.
2003-04-12 10:04:28 +00:00
aafemt
19bb54f2a8
STATUS -> ISC_STATUS
2003-04-10 06:49:16 +00:00
alexpeshkoff
7b899d99f0
New style of files access configuration
2003-04-06 15:01:30 +00:00
alexpeshkoff
ec88146136
Code cleanup
2003-04-06 09:08:58 +00:00
brodsom
34fc42b8db
- USHORT dpb_sql_dialect can't be < 0
...
- databases_mutex is only used when v4_threading is defined and superserver not.
2003-04-01 23:22:05 +00:00
alexpeshkoff
b7dfc17d4a
Added DatabasesDirs parameter to firebird.conf.
...
Databases may be accessed only in trees, listed there.
For compatibility reasons, default = /
Also filename type cleanup in gds_attach & gds_create
2003-03-31 17:43:02 +00:00
brodsom
01141efa30
Use V4_THREADING explicitly instead and remove empty defined macros. This change try to make clear V4_THREADING use.
2003-03-24 13:35:37 +00:00
dimitr
56ec5465d9
After some research, I've disabled the automatic ODS upgrade due to lack of reliability.
2003-03-23 09:05:35 +00:00
brodsom
458eaa2b65
Use the same ifdef for function declarations and definitions. (found with gcc never defined warnings)
2003-03-01 18:04:21 +00:00
dimitr
43e4a78b48
Fixed bug with EXECUTE STATEMENT and autocommit transactions.
2003-02-26 11:57:36 +00:00
brodsom
89702f3e88
Restore inlines
2003-02-25 00:05:06 +00:00
eku
796a4e4e31
Fixed more issues with pwd.h.
2003-02-19 06:14:39 +00:00
aafemt
76937f58c8
Occasionally Windows also has unistd.h
2003-02-18 05:22:45 +00:00
dimitr
769fc81705
Corrections.
2003-02-16 18:07:53 +00:00
brodsom
3cb91fce80
Remove PIPE and STACK defines (PIPE_SERVER, PIPE_CLIENT, PIPE_LIBRARY, PIPE_SERVER_YVALUE, PIPE_BRIDGE_TO_V3, V3, V3_PATH, ALTPIPE)(STACK_EFFICIENT, STACK_REDUCTION)
2003-02-14 02:24:44 +00:00
brodsom
45efaaa7e0
Remove inline keyword.
2003-02-13 22:49:16 +00:00
dimitr
67749f906b
Fixed exception handling.
2003-02-13 13:33:57 +00:00
eku
a7f18b2e31
Removed "register" variables from the source code. It's up to the compiler
...
to hold variables in CPU registers.
2003-02-10 13:28:35 +00:00
dimitr
d5ccaeba4c
Fixed POSIX builds (at least I hope so).
2003-02-10 07:38:31 +00:00
dimitr
c11ec94f4f
Enabled generic support for the database encryption. The key part of the feature is still protected by the macro. Proven to work on win32.
2003-02-09 10:05:07 +00:00
brodsom
bc6d7593a1
Remove JPN_ defines
2003-02-08 00:31:29 +00:00
dimitr
e7289b02b2
1. Re-designed PWD interface.
...
2. Implemented cached isc4 connection.
3. Cleanup.
2003-02-03 13:34:16 +00:00
brodsom
c3a89aa171
- Move default attachment character set to header
...
- Mode default database character set to header
- Add isc_dpb_set_db_charset to use in create_database and apply it
2003-01-23 03:33:53 +00:00
skidder
884c38d6c4
Memory manager changes - added memory usage stats, empty extents are now deallocated
2003-01-18 21:45:24 +00:00
dimitr
fd2f852e49
Cleanup.
2003-01-18 19:39:12 +00:00
dimitr
92346cd0be
Some changes related to aliases.
2003-01-18 16:31:23 +00:00
skidder
ba5e11b15c
Integrate new memory manager into the engine
2003-01-16 17:47:10 +00:00
alexpeshkoff
4047237a50
Added config file parameters, controlling threads' priorities scheduler
2003-01-12 15:33:00 +00:00
dimitr
85acecde86
Moved temporary hack from jrd.cpp to dls.cpp.
2002-12-13 11:09:25 +00:00
skidder
547fbc6e91
Temporary hack to make engine work until new configuration manager be able to handle directories stuff
2002-12-11 16:31:18 +00:00
dimitr
d6d6ec46c2
More usage of the new config stuff.
2002-12-06 21:12:59 +00:00
eku
eed374c06a
Autoconf:
...
o added tests for nttab.h sys/mntent.h sys/mnttab.h
o added tests for getcwd getwd setmntent getmntent
o ISC_PREFIX renamed to FB_PREFIX
o major code cleanup in src/jrd/isc_file.cpp
Removed platform-specific files from posix/Makefile.in.firebird.
2002-11-18 13:23:00 +00:00
skywalker
10649ce6c2
Change ISC_check_if_remote call since the check for nfs options disabled
...
is done now in isc_file.cpp
2002-11-18 07:58:13 +00:00
hippoman
4a76e9e4fe
change TRA,REQ,TRG,REL,CTX or PRC, to module local names.
2002-11-17 00:13:59 +00:00
dimitr
5f61e44ddc
Global names change:
...
FBOK=>FB_SUCCESS
FAILURE=>FB_FAILURE
xxx_FBOK=>xxx_SUCCESS
2002-11-14 08:33:08 +00:00
kkuznetsov
6887f405ab
Renaming all occurences of SUCCESS to FBOK
2002-11-13 15:01:21 +00:00
hippoman
25c1dbd367
* Changed NOD struct name to JRD_NOD.
2002-11-11 19:42:47 +00:00
alexpeshkoff
1c7bf4b0ab
Increase time interval, given to thread with high priority in JRD_reschedule
2002-11-11 18:28:35 +00:00
dimitr
bb320e2d43
Cleanup.
2002-11-11 10:03:35 +00:00
dimitr
6e4281babb
Force everybody to use new config manager.
2002-11-06 15:13:02 +00:00
seanleyne
0b82f4aa07
Removed obsolete "Netware" port
2002-10-30 06:40:58 +00:00
tamlin
ca36c9cfa9
Compile without warnings on MSVC6.
2002-10-24 11:16:59 +00:00
eku
0c1b55dd08
Code cleanup:
...
Since we already have the define ISC_STATUS_LENGTH for the the length of
the status vector, we should use it! Replaced 'status[20]' with
'status[ISC_STATUS_LENGTH]'.
Replaced the different symbolic names for the maximum length of a path
(MAX_PATH, MAX_PATH_LENGTH, MAXPATHLEN) with one uniq symbol MAXPATHLEN.
2002-10-24 09:01:44 +00:00
dimitr
31fa363fc1
Fixed one more 2PC related bug.
2002-10-18 14:40:35 +00:00
eku
3033cff1bf
Merged the support for databases on raw devices from FB1 into FB2.
...
Added switch '--enable-raw-devices' to configure to enable this feature
(default=off). Currently only supported on UNIX platforms.
2002-10-01 05:48:00 +00:00
skidder
0518ca14a3
Fix several mostly DDL-related coredumps and locking failures
2002-09-27 22:59:24 +00:00
bellardo
0eaf588b49
renamed header files jrd/math.h and jrd/time.h to jrd/jrd_math.h and
...
jrd/jrd_time.h.
2002-09-27 00:20:12 +00:00
skidder
040bd8e499
Fixed some memory leaks
2002-09-26 18:13:02 +00:00
eku
0189c970f0
Fixed compiler warnings.
2002-09-26 09:26:40 +00:00
skidder
6d64014e57
Changed engine to store source file name/line number information for EVERY allocation when DEBUG_GDS_ALLOC is defined. All allocation should be done using FB_NEW or FB_NEW_RPT macros instead of keyword new since now
2002-09-25 17:12:16 +00:00
bellardo
938ebf794b
Added support for a single, generic "plugins" directory. Where possible, this
...
new plugins directory should be used for engine modules. Note the old separate
directories intl and UDF still exist and have the same usage as before.
2002-09-24 00:27:23 +00:00
bellardo
684c2efbf7
Fixed an infinite recursion problem with the new compilation delayed triggers.
2002-09-23 17:18:22 +00:00
bellardo
dfe98160bd
Fixed an order of operations error in the first dbb destructor implementation.
2002-09-22 19:08:33 +00:00
bellardo
33e0d91f8a
Patch a rather large dbb memory leak created during the c++ porting.
2002-09-22 17:25:46 +00:00
skidder
b374caac68
Deferred user trigger compilation added. Solves some, but not all DDL issues and speeds things up
2002-09-19 16:02:58 +00:00
eku
da93f6697f
Autoconf enhancements:
...
o autoconf v2.53 and later is now required to generate configure
(sorry, but it makes many tasks easier)
o improved tests for mmap, socklen_t and offt_64
o added tests for atexit, on_exit, (v)fork, set(p)grp, setpgid and flock
o added test for the keyword 'volatile'
o fixed errors in configure.in
o updated config.h.in and autoconfig_msvc.h (the latter may be incorrect)
o replaced VOLATILE by volatile
o removed SETPGRP and ATEXIT
o replaced NO_FLOCK by HAVE_FLOCK
o SIG_FPTR cleanup
o vfork cleanup
2002-09-11 11:30:50 +00:00
dimitr
e0d36f375f
fbserver instead of ibserver.
2002-09-08 07:56:54 +00:00
eku
f359a95a52
Added / replaced ifdef's around unistd.h with the define HAVE_UNISTD_H
...
generated by autoconf.
2002-08-26 12:18:16 +00:00
dimitr
e110ba6559
Merging changes from fb1.
2002-07-02 09:49:19 +00:00
dimitr
d35325d2c3
Fixed an ugly error I made in the server-side aliases management
2002-06-16 14:15:51 +00:00
tamlin
3907124c57
const correctness
2002-06-12 07:03:02 +00:00
dimitr
4ce2e3fd41
Server-side database aliases (main changes).
2002-06-05 09:49:33 +00:00
dimitr
de656a4487
Server-side database aliases (main changes).
2002-06-04 12:57:05 +00:00
bellardo
773836f1b1
Finished removal of setjmp/longjmp code, and fixed a handful of FB1->FB2
...
porting bugs.
2002-04-04 07:10:40 +00:00
tamlin
e48b2468d7
MemoryPool work
2001-12-28 05:16:31 +00:00
tamlin
80f7fb6dd4
New C++ memory pool
2001-12-24 02:51:06 +00:00
skywalker
570289f7b6
Changes to read /etc/firebird.conf file
2001-08-21 09:41:00 +00:00
skywalker
365a7fe19c
Changes to compile fb2 under autoconf includes some structural changes
2001-07-29 17:42:23 +00:00
bellardo
747d13c0d5
Changes to bring FB2 to c++ on *nix.
2001-07-12 05:46:06 +00:00
awharrison
baa3485651
read only databases are supported unconditionally in fb2
2001-07-10 17:35:13 +00:00
tamlin
9a776a604e
First steps towards a C++ conversion.
2001-05-23 13:26:42 +00:00