robocop
08a33d50cc
Unfortunately several of these are intertwined:
...
CORE-462 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 Utilities need a more coherent way to show help and version
CORE-2541 Too many hardcoded messages in nbackup
CORE-2542 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 nbackup may hide the real cause of failure
CORE-2545 Lack of several validations in gbak
CORE-2547 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
asfernandes
f3a3c8a7c6
Fix problems found by Claudio
2009-10-23 14:22:15 +00:00
asfernandes
dc5edd5aed
Misc
2009-10-23 00:42:40 +00:00
asfernandes
ed0e0daeb3
- External Engines implementation.
...
- Plugins API.
- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.
- Fixed CORE-2699 - Common table expression context could be used with parameters.
- Introduce ODS 12.0.
- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
alexpeshkoff
fbda7f245e
Fixed CORE-2439: Add FIX_FSS_DATA and FIX_FSS_METADATA into the server
2009-10-05 10:26:59 +00:00
asfernandes
dbed23fafc
Misc
2009-10-03 00:52:23 +00:00
alexpeshkoff
dbbea09f2b
Fixed CORE-2657: Ability to get any permissions (including SYSDBA) working with services
2009-10-02 16:44:00 +00:00
alexpeshkoff
9629eafccd
Use per-thread circular strings buffers instead common and per-attachment combination
2009-09-01 09:20:24 +00:00
robocop
5347ea818e
Misc.
2009-08-05 06:35:57 +00:00
asfernandes
2cb136d9b8
Misc
2009-08-05 02:12:46 +00:00
robocop
895fa9fa55
Start from our minimum accepted page size instead of the legacy value.
2009-08-04 12:59:09 +00:00
asfernandes
4171c16988
Some things discussed with Dmitry and Claudio - rename the new function to fb_print_blr, use ULONG parameter for blr_length and return int
2009-08-03 15:52:48 +00:00
asfernandes
4759973045
Fixed CORE-2576 - Server may crash parsing wrong or truncated BLR
...
Full rebuild required - CMP_compile2 prototype changed
2009-08-02 04:10:07 +00:00
robocop
8b2682d0ed
Misc.
2009-07-17 08:57:13 +00:00
alexpeshkoff
b053182f60
Fixed gbak logic when using -TRUSTED switch - thanks to Claudio
2009-07-10 07:52:56 +00:00
robocop
f537ae9a25
booleans.
2009-07-08 01:15:01 +00:00
robocop
ba89580753
CORE 2540: Utilities need a more coherent way to show help and version
...
Now all utilities react to -z for version and -? for help (qli was left for another time)
CORE-2541: Too many hardcoded messages in nbackup (done partially)
2009-07-07 10:25:50 +00:00
robocop
f10e1b72eb
Style.
2009-06-27 06:23:36 +00:00
robocop
510e9aeca7
Some paranoid checks.
2009-06-25 11:34:29 +00:00
robocop
9d17ba5a42
Debug check.
2009-06-25 10:50:11 +00:00
robocop
913ded5189
in_sw_tab_t data member in_sw_state is bool.
2009-06-07 10:13:57 +00:00
asfernandes
f8eb935eb7
Misc
2009-06-06 18:13:57 +00:00
robocop
c6106603df
Misc.
2009-06-05 10:24:39 +00:00
dimitr
931ab84255
Fixed a bug in one of my recent commits.
2009-06-04 06:16:30 +00:00
robocop
51d3c9b756
Let's use more typical #ifdef to test macros instead o #if.
2009-05-29 11:27:41 +00:00
asfernandes
c991e7d5cf
Misc
2009-05-15 00:51:21 +00:00
robocop
11c7773ff5
Misc.
2009-05-14 10:47:38 +00:00
dimitr
83f78f5756
Fixed CORE-2461: Deadlock error terminates the restore process while restoring privileges.
2009-05-13 07:36:53 +00:00
dimitr
ebd0bcfc91
Rolled back fix for CORE-2440: Restoring DB with computed index on computed field provides wrong index and wrong select results.
...
1) It doesn't solve the reported issue when a database is restored *without* the -verbose switch.
2) It breaks restore for any database that has user-defined plans embedded into procedures/triggers and the restore is performed *with* the -verbose switch.
The ticket is reopened in a hope for a better solution to be found.
2009-05-08 07:44:41 +00:00
asfernandes
10328dff3b
Misc
2009-05-06 02:02:37 +00:00
hvlad
98aafa7471
Fixed bug CORE-2440 : Restoring DB with computed index on computed field provides wrong index and wrong select results
2009-05-04 11:47:18 +00:00
robocop
66b1227b22
Unused params, some formatting, cleanup.
2009-05-01 17:21:36 +00:00
robocop
888000e21e
Unused function params.
2009-04-26 10:24:44 +00:00
asfernandes
c986de33a2
Misc
2009-04-22 01:58:40 +00:00
robocop
6780b8c31e
Comments.
2009-04-17 14:10:11 +00:00
robocop
1452ca21c1
Misc.
2009-04-15 06:40:17 +00:00
alexpeshkoff
77498cac9b
Fixed some warnings
2009-04-03 10:49:07 +00:00
robocop
fab6a3a6cf
Get rid of superflous parentheses.
2009-02-28 11:57:40 +00:00
robocop
096d8e78e6
Trying to be more consistent in the detection of headers (HAVE_* macros).
2009-02-08 11:38:00 +00:00
asfernandes
75c0d0f353
Misc
2009-02-05 01:08:13 +00:00
robocop
6559d18d12
Cleaning the dust that has accumulated over years.
2009-02-03 10:50:53 +00:00
alexpeshkoff
b922c0b0fb
use MIN instead min
2009-02-02 15:14:48 +00:00
robocop
562f5faa05
Misc.
2009-02-02 10:39:49 +00:00
robocop
297055ab15
Proposed solution for CORE-2245 in HEAD:
...
- create recovery routine for corrupt backups from FB2.0 and FB2.1.
- create new function to store text with length between 256 and 64K bytes.
- other related adjustments.
2009-02-02 10:24:51 +00:00
robocop
4e167d6fa6
Style.
2009-01-08 09:26:06 +00:00
asfernandes
91a4550d23
Misc
2009-01-06 17:46:08 +00:00
robocop
fda9c3bc75
Style.
2009-01-05 08:22:58 +00:00
asfernandes
5a874025d3
Correction
2009-01-03 20:44:39 +00:00
asfernandes
79e89d573d
Misc
2009-01-03 19:02:04 +00:00
robocop
750485cc8a
Some platforms have problems promoting char to int inside the ctype functions (the value becomes negative). If someone has better idea than this fix, please commit it.
2009-01-03 10:00:58 +00:00
robocop
21bb7f3d20
Style.
2009-01-03 09:14:29 +00:00
asfernandes
c8cbbe0b13
Fixed the Linux build
2009-01-03 01:34:44 +00:00
robocop
2c6dcd5f38
Booleans.
2009-01-02 09:48:57 +00:00
robocop
6406e45337
Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.)
2009-01-02 06:36:12 +00:00
asfernandes
a177d28d60
Misc
2008-12-31 20:22:10 +00:00
robocop
7aa0ac1cd4
Shut up compiler warnings (unreferenced vars, uninitialized vars, etc).
2008-12-31 09:36:57 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
robocop
e9be920cc0
Shut up some compiler warnings (some warnings should be enabled again in autoconfig_msvc.h IMHO because hiding our possible mistakes won't help us).
2008-12-30 10:52:52 +00:00
asfernandes
582d837778
Remove trailing spaces from epp files - I had forgot them
2008-12-20 23:50:22 +00:00
hvlad
7c026e2a64
Restore ability to specify few starting chars (i.e. not full word) of optional switch OVERWRITE in gbak (it was accidentally brocken before 2.5 alpha1)
2008-12-19 12:43:30 +00:00
alexpeshkoff
eda7114225
Fixed CORE-2223: Multiple bugs in gbak when working with ACLs
2008-12-05 15:06:21 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb
Remove trailing spaces (.h files)
2008-12-05 00:56:15 +00:00
robocop
9f52942ab0
Style.
2008-12-02 07:09:49 +00:00
robocop
eb6ea18df4
Misc.
2008-12-01 09:21:31 +00:00
asfernandes
a5ff7ca091
Misc
2008-12-01 01:26:27 +00:00
alexpeshkoff
9431183e42
Implemented CORE-1667: Reading password from file/stdin
2008-11-30 17:11:56 +00:00
asfernandes
a2fbf5a3f1
Fixed CORE-2214 - Incorrect restore of security classes
2008-11-28 14:20:05 +00:00
asfernandes
5ab801f09d
Misc
2008-11-26 00:45:20 +00:00
alexpeshkoff
000f7b3d3e
added support to enter password from terminal
2008-11-25 14:27:12 +00:00
alexpeshkoff
17ae73b5d7
This is the first attempt to fix CORE-1667 (Reading password from file/stdin).
...
Please take a look at it and comment, before adding support to other utilities.
Main problems seen:
- Name of a switch (now -@PASSWORD, may be -PASSFILE is better?)
- How to provide support for stdin?
2008-11-24 17:22:44 +00:00
alexpeshkoff
e1210d2e9e
fixed missing return value from bool function
2008-11-24 17:05:22 +00:00
alexpeshkoff
9ca7135efa
fixed gcc warning
2008-11-24 17:04:29 +00:00
alexpeshkoff
ff40a4e199
Implemented CORE-2197: added support for -nodbtriggers switch in gbak into services API
2008-11-17 16:29:14 +00:00
alexpeshkoff
d8ea120ded
AIX port - use FB_ prefix for alignment constants
2008-11-05 11:26:23 +00:00
alexpeshkoff
a3c947ea76
Renamed Service's methods according to Claudio's request to reflect data movement direction
2008-09-11 11:51:25 +00:00
alexpeshkoff
de1cc4f41a
Fixed broken by me this week use of status vector in services - thanks to D.Kovalenko
2008-09-05 11:41:00 +00:00
asfernandes
077f8360a0
Misc
2008-07-31 00:45:43 +00:00
hvlad
0991d326c7
It is good idea to set NULL flag for nullable fields if backup have no value for its ;)
2008-07-25 08:43:09 +00:00
robocop
b8ea332022
Misc.
2008-06-05 11:02:42 +00:00
robocop
07c087094d
Mostly remove useless parentheses.
2008-06-03 06:14:59 +00:00
asfernandes
84603f1169
Misc
2008-05-25 01:39:16 +00:00
robocop
a84cc0ec05
Cleanup.
2008-05-23 13:27:47 +00:00
robocop
73994d24c8
CORE-1911: Make the inline gbak help print its options again.
2008-05-23 13:19:20 +00:00
robocop
6a439b2866
Solved CORE-1911 in a simple albeit not very clever way.
...
svc.cpp only needs to read the gbak switches table, but burp.cpp needs to toggle the in_sw_state field, hence I made the global instance a constant and copied it to a local array inside burp.cpp's "gbak" function.
2008-05-23 13:05:35 +00:00
alexpeshkoff
796e02d2a5
1. Cleanup - use constants ISC_USER/ISC_PASSWORD instead of always repeated string constants.
...
2. Let services uses environment and OS auth when run embedded.
2008-05-19 13:58:37 +00:00
alexpeshkoff
990c259373
Fixed CORE-1843: gbak with service manager don't allow path with space
2008-05-16 14:08:45 +00:00
alexpeshkoff
27a97e2a6a
1. Modified syntax of ALTER ROLE command according to Dmitry's request.
...
2. Avoid any use of predefined NT group name "Domain Admins".
3. Fixed DYN code generation for USER operations.
***** WARNING *****
After this commit all previous backups of 2.5 databases with turned on
admins mapping become unrestorable. ODS is not changed.
2008-05-14 11:24:45 +00:00
dimitr
b09a10965a
Misc.
2008-05-07 05:33:48 +00:00
dimitr
c40d188bf5
1) Turn on FW on all platforms by default.
...
2) Cleanup/misc.
2008-05-07 05:23:48 +00:00
alexpeshkoff
7ff8e4d2be
Fixed CORE-1879: Server uses wrong authentication method
2008-05-04 13:38:02 +00:00
asfernandes
1679cfdd17
Fix POSIX build
2008-04-30 01:47:10 +00:00
hvlad
6ee4242552
Fixed bug CORE-1841 : If some VIEW used derived tables and long table names\aliases, It is possible to overflow RDB$VIEW_RELATIONS.RDB$CONTEXT_NAME.
...
Attention : ODS changed !
2008-04-29 16:39:17 +00:00
hvlad
2d7379aa3b
Fixed broken restore via service API
2008-04-29 12:24:07 +00:00
robocop
272ab7fb99
Misc.
2008-04-21 12:14:16 +00:00
asfernandes
1c7cee202a
Fix BLOBs when using -FIX_FSS_DATA NONE
2008-04-13 14:53:48 +00:00
asfernandes
aab534e66c
1) Misc 2) Remove temp. comment found by Claudio
2008-04-13 14:38:39 +00:00
asfernandes
28bf8b4f6c
Improvement CORE-789 - Collation backup of RDB$DEFAULT_COLLATE_NAME
2008-04-11 15:35:14 +00:00
asfernandes
a9413397a7
Feature CORE-1831 - Creation of GBAK restore switches FIX_FSS_DATA and FIX_FSS_METADATA
2008-04-11 12:57:52 +00:00
alexpeshkoff
e3d7732078
Fix for CORE-1805: do not let svc_status blink during utility operation, instead copy it at service exit time
2008-04-07 10:52:34 +00:00