alexpeshkoff
c7be70e321
Mark gsec as deprecated
2015-06-19 09:30:05 +00:00
alexpeshkoff
e8ba1dde1b
Fixed regression in gsec, reported privately by Adriano - error parameters are reported as garbage
2015-06-08 11:05:47 +00:00
alexpeshkoff
1b6632ac8b
Fixed CORE-4811: Make user names behave according to SQL identifiers rules
2015-06-03 13:57:18 +00:00
asfernandes
336456d140
Misc.
2015-03-28 00:36:04 +00:00
alexpeshkoff
16768b177d
Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry
2015-03-27 17:51:19 +00:00
alexpeshkoff
e7663b6bc0
Use status interface instead plain status vector when working with exceptions.
...
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
hvlad
93024a2aa0
Fixed regression in 32-bit builds: transaction numbers in sweep info (both trace event and firebird.log message) printed incorrectly
2015-02-22 10:49:56 +00:00
asfernandes
47f64b0da4
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54
Revert my last change after it broke the Windows build.
2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
asfernandes
9ece682387
Misc.
2015-02-14 18:55:00 +00:00
alexpeshkoff
89fe43a4a5
Use last chance to catch exceptions in utilities - sometimes it may be useful
2015-02-07 12:57:40 +00:00
egorpugin
e50c2a4708
[build] [cmake] Do not place boot targets into output directory.
2015-02-05 06:36:23 +00:00
hvlad
71a77fe82a
Correct use of CRT.
2015-01-28 17:12:57 +00:00
alexpeshkoff
af885a150f
Fixed a bug introduced by me when working on CORE-3658 3 years ago
2015-01-28 17:00:12 +00:00
egorpugin
7fbb9837ae
[build] [cmake] Fix crosscompiling for android on linux.
2015-01-26 19:20:48 +00:00
egorpugin
14163d7e3e
[build] [cmake] Initial CMake build system commit.
2015-01-21 11:21:51 +00:00
egorpugin
d397e68a48
[build] [cmake] Prepare sources for CMake building. Add clang preprocessor defs, ARM architecture defs, some Android-related defs. Add 'qsort_r' function search to configure.ac.
2015-01-21 11:11:04 +00:00
asfernandes
2a857cb415
Misc.
2015-01-15 01:17:27 +00:00
asfernandes
b99311dd1e
Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException).
2015-01-12 00:21:38 +00:00
alexpeshkoff
187f86b2e6
Fixed CORE-4662: Make services API pass SQL role to server. Also added switch -role to some utilities that missed it.
2015-01-08 14:03:54 +00:00
dimitr
29e238f78d
Type correctness (mostly signed->unsigned adjustments).
2014-12-29 21:15:54 +00:00
dimitr
bd3ce4e6fb
This commit is expected to fix CORE-4384: Problems when a table grows beyond 65535 pointer pages. Testing would be appreciated.
2014-12-29 17:40:47 +00:00
asfernandes
d8a0ff5f4b
Generate interfaces with I-prefix.
2014-12-19 15:24:44 +00:00
alexpeshkoff
c14a1210b0
Work in progress on CORE-3632: make all file descriptors, opened by firebird, close on exec()
2014-12-17 14:31:02 +00:00
alexpeshkoff
255b4ff855
Fixed CORE-4571: Can't select from table with ICU column when database (.FDB) is created on LINUX with icu 4.2.1 and then copied to WINDOWS
2014-12-16 14:39:04 +00:00
mapopa
a8b476f85e
Apply CORE-4595 fbguard lock file permission patch
2014-11-03 09:17:30 +00:00
asfernandes
0463754347
Misc.
2014-10-25 18:39:45 +00:00
alexpeshkoff
5ccc32e0ed
Better place for trace-related constants, thanks to Vlad
2014-09-30 15:04:14 +00:00
alexpeshkoff
f5645faaa0
Fixed windows build
2014-09-30 14:21:44 +00:00
alexpeshkoff
ba62ee9947
Make it build on windows, work in progress - boot build is working
2014-09-29 17:24:30 +00:00
alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
hvlad
8ba9d33798
Implement improvement CORE-4556 : Allocate data pages in group of sequential ordered pages (extents)
...
Validation code will follow
2014-09-18 22:31:53 +00:00
alexpeshkoff
d513daa574
Divide IStatus information into 3 parts: errors, warnings and completion code.
...
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.
Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
dimitr
36af3d8cb2
Cleanup and small refactoring to avoid redundancy.
2014-08-15 14:19:02 +00:00
alexpeshkoff
532181a7f9
Renamed as suggested by Nickolay and Dmitry
2014-07-28 13:01:10 +00:00
alexpeshkoff
4bdc2a3e19
Replaced macro FB_ALIGN with function fbAlign, minor related cleanup
2014-07-24 06:41:38 +00:00
skidder
e2e901939c
Fix GCC warnings
2014-07-17 21:17:15 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
asfernandes
c35228c0ee
Misc.
2014-07-05 18:36:54 +00:00
alexpeshkoff
a9721f18e0
Added first parameter IStatus* to a lot of functions in API interfaces
2014-07-02 12:57:12 +00:00
alexpeshkoff
568861d2d7
Cleanup - removed unused any more service time only switches trusted_user & trusted_role
2014-06-25 11:20:42 +00:00
alexpeshkoff
81c4800216
Postfix for CORE-4462: enabled use of filenames with spaces (as requested by Adriano)
2014-06-20 10:06:23 +00:00
dimitr
6aeb91f66b
Better naming.
2014-06-20 05:54:41 +00:00
asfernandes
08f3a00cb0
Misc.
2014-06-20 02:28:22 +00:00
alexpeshkoff
685b5f1369
Implemented CORE-4462 (Make it possible to restore compressed .nbk files without explicitly decompressing them) for POSIX systems
2014-06-17 10:27:59 +00:00
alexpeshkoff
4b000aba83
Postfix for CORE-4461: do not poison backup file with statistics
2014-06-17 09:53:09 +00:00
alexpeshkoff
71b8b63261
Fixed CORE-4461: nbackup prints error messages to stdout instead stderr
2014-06-16 13:49:38 +00:00
hvlad
1783a24834
Fixed a typo
2014-06-13 11:20:32 +00:00
hvlad
48074c1325
Implement improvement CORE-4451 : Allow output to trace explain plan form
...
New boolean setting was added into fbtrace.conf: explain_plan.
See also comments at fbtrace.conf nearby explain_plan.
2014-06-12 14:26:32 +00:00
asfernandes
7d720d16c4
Apply patch "Removed white space before bracket" by Jiri Cincura.
2014-05-28 14:59:38 +00:00
alexpeshkoff
befcba7105
Fixed issues related to encoding of switch value in gbak/nbackup - thanks to Adriano. Added support for -SKIP_DATA to services.
2014-05-21 13:11:43 +00:00
alexpeshkoff
9e3f5a9a56
Fixed CORE-4398: Provide ability to specify extra-long name of log when doing gbak to avoid "attempt to store 256 bytes in a clumplet" message
2014-05-07 10:21:49 +00:00
alexpeshkoff
a98e565571
Fixed CORE-4303: Possible races while Service destruction, related code cleanup
2014-04-25 10:59:34 +00:00
asfernandes
8608223f53
Misc.
2014-04-13 01:42:10 +00:00
robocop
de7ed79414
Fixing several issues with my previous commit:
...
Use increment [by], no step.
Enable again code in ini.epp because it's needed when restoring (but not when creating gens directly in a new db).
Gbak has code to fix system generators and we should allow it.
Nbackup cannot update the history generator when doing a backup.
Field name renamed to rdb$generator_increment.
2014-04-09 07:17:34 +00:00
alexpeshkoff
20e846369e
Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names)
2014-04-04 15:57:18 +00:00
asfernandes
b0d8a55c63
Misc.
2014-03-05 02:15:58 +00:00
robocop
9be0222bb6
Misc.
2014-03-04 14:25:49 +00:00
alexpeshkoff
86d9a11f6c
Mac port
2014-02-26 12:31:20 +00:00
robocop
caaf525d3c
Misc.
2014-02-25 06:13:30 +00:00
hvlad
65a1f44442
Improvement CORE-4345: Ability to trace stored functions execution
2014-02-19 23:16:47 +00:00
alexpeshkoff
26b090c93b
Added access to configuration interfaces from IMaster and support for getting configured directories
2014-02-12 11:20:55 +00:00
robocop
2810026363
Misc and warnings.
2013-12-29 00:35:50 +00:00
asfernandes
7bb6f550ee
Misc.
2013-12-25 23:36:56 +00:00
alexpeshkoff
d0a916138f
Fixed CORE-4298: fbsvcmgr doesn't recognise sts_record_versions and other sts switches
2013-12-19 13:48:17 +00:00
alexpeshkoff
64b4f89d43
Changed syntax of user definition operators according to discussion in devel
...
Added virtual table sec$user_attributes with parsed user's attributes
Implemented CORE-2004: Ability to alter user inactive/active
Implemented CORE-2063: Added CREATE OR ALTER USER operator
Implemented CORE-3931: Ability to set comment for the user
2013-12-17 14:20:25 +00:00
asfernandes
8e73b1cb28
Misc.
2013-12-14 23:59:55 +00:00
alexpeshkoff
40de1dabb0
Implemented CORE-4290: Extensible property support which can add properties (name-value pairs) to users
2013-12-06 17:10:10 +00:00
roman-simakov
366a58e3a7
Hope the last fix of nbackup host case insensitive cutting. Sorry.
2013-12-06 15:58:47 +00:00
roman-simakov
2c8a258ae5
Sorry. More correct fix for case insensitive mode.
2013-12-06 15:12:46 +00:00
roman-simakov
592c89dbea
Make comparing of host name case-insensitive
2013-12-06 14:58:07 +00:00
roman-simakov
57d68d8c54
Ignoring port for localhost in nbackup. Added check for localhost and error message if non localhost provided.
2013-12-05 10:15:17 +00:00
asfernandes
9c9dd72977
Misc.
2013-11-24 03:21:11 +00:00
alexpeshkoff
d6297bebd4
Fixed some gcc warnings
2013-11-19 13:19:11 +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
alexpeshkoff
120b10a78a
Implemented CORE-4263: Database linger
2013-11-14 16:16:24 +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
alexpeshkoff
b84835d590
Fixed CORE-4163: Configuration fbtrace.conf contains syntax errors (make trace use native order of config file keys)
2013-09-18 16:03:43 +00:00
alexpeshkoff
5806aeb714
Comment
2013-09-18 16:01:18 +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
alexpeshkoff
8999c92392
Make firebird use as default ICU present on the host
2013-07-29 13:00:23 +00:00
paul_reeves
71ac4c2f80
Fix for CORE-4020
...
Instantiate cpl applet methods with LPARAM instead of long.
2013-07-05 09:38:51 +00:00
alexpeshkoff
b813a35d33
Avoid adding incompatible info item to pure info requests
2013-06-24 08:36:46 +00:00
alexpeshkoff
b9a96911ca
Avoid extra atomic operations when assigning pointer to the object with pre-incremented counter (like returned from the function) to reference-counted pointer holder
2013-04-17 11:16:06 +00:00
dimitr
3031034302
Moved ThreadData into the namespace + small cleanup.
2013-04-13 15:07:51 +00:00
alexpeshkoff
8780552b94
Added support for changing configuration (client and embedded) from API
2013-04-04 13:17:57 +00:00
alexpeshkoff
e4356e4b46
Added operator include to config files
2013-03-27 11:45:02 +00:00
alexpeshkoff
63e6eb01b5
Make gsec take into an account settings from firebird.conf
2012-12-29 10:53:24 +00:00
alexpeshkoff
c7454a49a5
Work in progress (committed due to SF upgrade). Checked only on SS.
...
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
hvlad
4875c235a7
Fixed Windows build after recent Alex's changes
2012-11-03 10:55:16 +00:00
alexpeshkoff
4ca6e669fe
1. Fixed CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot.
...
2. Cleanup: avoid functional style in stuff exception.
2012-11-01 11:40:18 +00:00
alexpeshkoff
8a9c4e720c
misc
2012-10-03 09:19:37 +00:00
hvlad
6b15cd96ec
Missed include
2012-10-01 07:41:11 +00:00
hvlad
8f537e0d45
Fixed bug CORE-3934 : Value of log_sweep parameter in trace configuration is ignored by trace plugin (assumed always true)
2012-09-24 07:07:56 +00:00
dimitr
9f2a992078
Implemented:
...
CORE-2780: Include client library version and protocol version in mon$attachments
CORE-2187: Return the Hostname in mon$attachments
CORE-3779: Report OS user name in MON$ATTACHMENTS
+ some cleanup.
2012-09-12 07:45:51 +00:00
asfernandes
ba9f68d5d0
Misc.
2012-08-13 01:20:32 +00:00
hvlad
710205b599
Make consistent usage of CRT routines in windows builds (perror() not aware of Win32 errors).
...
Unify file IO API usage across POSIX\WIN32 platforms (use common read()\write() routines).
Avoid usage of (questionable) gbak code in other utility.
2012-08-12 21:10:01 +00:00
hvlad
9124f5e188
Front ported improvements
...
CORE-3656 : Support for sweep information in Trace API, and
CORE-2668 : Write note into log when automatic sweep is started
Also per-table stats is enabled at transaction level (see thread_db::bumpRelStats)
2012-08-02 08:55:21 +00:00
alexpeshkoff
3e80805d5d
Removed debugging code
2012-07-16 10:40:43 +00:00