mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:03:03 +01:00
Better syntax for CORE-4955 & docs
This commit is contained in:
parent
bcf2c0eb10
commit
42b98af12b
@ -475,3 +475,14 @@ isc_dpb_sql_role_name tag with required value into DPB, but CREATE DATABASE stat
|
||||
missed ROLE clause before 3.0.
|
||||
|
||||
ISQL now also takes into an account global role setting when creating databases.
|
||||
|
||||
|
||||
19) Added {PRESERVE | DELETE} FILE clause to DROP SHADOW statement.
|
||||
(Alex Peshkov)
|
||||
|
||||
In some cases it's desired to keep shadow file after dropping shadow (for example for
|
||||
backup purporse). In FB3 appropriate clause is added to DROP SHADOW. Full syntax is:
|
||||
|
||||
DROP SHADOW number [{PRESERVE | DELETE} FILE];
|
||||
|
||||
Default behavior is to delete file keeping backwards compatibility.
|
||||
|
@ -4074,8 +4074,8 @@ drop_clause
|
||||
%type <boolVal> opt_no_file_delete
|
||||
opt_no_file_delete
|
||||
: /* nothing */ { $$ = false; }
|
||||
| NO KW_FILE KW_DELETE { $$ = true; }
|
||||
| NO KW_DELETE KW_FILE { $$ = true; }
|
||||
| PRESERVE KW_FILE { $$ = true; }
|
||||
| KW_DELETE KW_FILE { $$ = false; }
|
||||
;
|
||||
|
||||
// these are the allowable datatypes
|
||||
|
Loading…
Reference in New Issue
Block a user