8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 20:03:03 +01:00
Commit Graph

646 Commits

Author SHA1 Message Date
asfernandes
f16c8c3179 Renamed "Utl" API to "Util". 2015-01-14 14:21:22 +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
05c1c943e3 Skip system attachmnets in SHOW USERS 2014-12-26 15:04:46 +00:00
alexpeshkoff
b7621d6f9d Fixed CORE-4651: CREATE DATABASE fails for the user having RDB$ADMIN rights in security database 2014-12-26 14:10:39 +00:00
asfernandes
d8a0ff5f4b Generate interfaces with I-prefix. 2014-12-19 15:24:44 +00:00
dimitr
9f235c228c Simplified code and attempted a second-time solution for CORE-4259. 2014-12-18 17:54:53 +00:00
alexpeshkoff
5a896e2bd4 Fixed CORE-4503: ISQL command SHOW USERS display only me 2014-12-01 09:45:12 +00:00
alexpeshkoff
4adbed70eb Fixed CORE-4578: INPUT file not properly closed 2014-10-16 15:16:12 +00:00
asfernandes
dddfb50e19 Misc. 2014-10-12 18:47:08 +00:00
asfernandes
aec3fb17f8 Fix padding of UNICODE_FSS - complement to CORE-3431 (UTF-8) fix.
Hope this does not cause a lot of ISQL-based tests to fail.
2014-10-03 16:20:31 +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
alexpeshkoff
2a293c2691 Implemented CORE-4538: Access rights for CREATE DATABASE operator 2014-09-02 16:55:14 +00:00
roman-simakov
6703f3aed2 Fixed CORE-4522 - DDL permission do not protect
against removal BLOB filters. Owner was added to RDB$FILTERS. ODS is changed.
Fixed bug when one DDL privilege could be shown several times.
Removed unneccesary check of locksmith in alter database.
2014-08-28 12:19:46 +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
asfernandes
5ffc936053 Misc. 2014-08-06 02:12:01 +00:00
asfernandes
409a27841b Improvement CORE-4487 - Maintain package body after ALTER/RECREATE PACKAGE. 2014-07-31 16:30:12 +00:00
asfernandes
8bbd309e67 Improvement CORE-4484 - Description (COMMENT ON) for package procedures and functions, and its parameters. 2014-07-27 03:05:44 +00:00
roman-simakov
0aa31b33b2 Removed SHADOW permissions since they handled by ALTER DATABASE permission
Added show of DDL permissions in isql
2014-07-22 08:31:45 +00:00
asfernandes
86487fda92 Misc. 2014-07-20 02:19:06 +00:00
asfernandes
6488dfed7f Misc. 2014-07-18 01:52:24 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
asfernandes
6af94ab408 Get rid of warnings and two set of constants chasing the same "number space". 2014-07-06 18:47:17 +00:00
fsg
e7ea80b645 rename constants used by extract.epp to avoid future naming conflicts 2014-07-04 14:43:40 +00:00
alexpeshkoff
a9721f18e0 Added first parameter IStatus* to a lot of functions in API interfaces 2014-07-02 12:57:12 +00:00
fsg
d9b465b824 corrections as suggested by Adriano and Claudio 2014-07-02 07:59:31 +00:00
asfernandes
3233fca7f5 Misc. 2014-07-02 02:22:40 +00:00
fsg
4ee9286131 some more enhancements to isqls extract utility
split extraction of functions and procedures in two parts (header and body)
2014-06-26 16:14:21 +00:00
alexpeshkoff
26319333e3 Renamed mapping-related tables as was discussed in devel 2014-06-26 09:37:55 +00:00
fsg
2d025fe99b extract domain definitions before functions, they may need them 2014-06-26 07:32:01 +00:00
fsg
28a9f167ff fixed extract of return parameter of external UDF's 2014-06-26 07:09:16 +00:00
fsg
af44f86e59 let isql ignore packaged functions when extracting external UDF's 2014-06-21 14:07:47 +00:00
asfernandes
8162336592 Fixed CORE-4415 - Useless extraction of generic DDL trigger. 2014-05-06 18:10:07 +00:00
robocop
51b9c701ba 1.- Prevent special chars from disabling isql. 2.- Do not take offsets from null pointers. 2014-05-04 06:46:39 +00:00
robocop
e853009f49 Group some global vars in isql (relative to the SET command). 2014-05-04 05:40:55 +00:00
robocop
1bb6f45b89 Misc. 2014-05-01 05:29:19 +00:00
alexpeshkoff
9bd0939f09 Implemented CORE-1377: Add an ability to change role without reconnecting to database 2014-04-30 15:12:12 +00:00
asfernandes
913c435667 Misc. 2014-04-19 21:36:55 +00:00
mapopa
1dd025a587 cleanup comments 2014-04-18 15:45:58 +00:00
mapopa
38dbb12df5 cleanup comments 2014-04-18 15:40:34 +00:00
alexpeshkoff
8c39e4563c Enhanced diagnostics in authentication mapping 2014-04-18 15:33:11 +00:00
mapopa
2c3d7d8981 remove unused constants 2014-04-18 14:43:06 +00:00
mapopa
df118f7cf8 cleanup WAL was removed 2014-04-18 14:32:03 +00:00
mapopa
d4c1bcbca2 cleanup Not found, probably in some lost GUI-related file 2014-04-18 11:44:51 +00:00
alexpeshkoff
5bfe0dfa97 Fixed some errors in mapping code, reported by Vlad privately, when using serverwide auth plugin 2014-04-15 12:18:28 +00:00
asfernandes
9ea4e7957b Correction. 2014-04-14 15:46:18 +00:00
asfernandes
8608223f53 Misc. 2014-04-13 01:42:10 +00:00
alexpeshkoff
82a3a54896 Fixed mapping errors reported by Claudio & Treeve 2014-04-10 16:43:10 +00:00
robocop
d26b039d0e Let's see if this time I got the formatting well done. 2014-04-10 01:36:15 +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
robocop
cadd8accc4 Implemented STEP for generators/sequences and took the opportunity to make the blrOp param const. Please rebuild the databases. 2014-04-09 02:28:38 +00:00
robocop
c90d9d4547 Misc. 2014-04-05 01:44:32 +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
dd8b61bdae Fixed CORE-4380 - ISQL truncates blob when reading an empty segment. 2014-03-31 16:17:23 +00:00
asfernandes
a94ccac632 Revert the behavior of SHOW command without a database connection. It makes sense for SHOW SQL DIALECT. 2014-03-19 16:19:32 +00:00
asfernandes
c5ed1e0334 Misc. 2014-03-16 18:41:42 +00:00
asfernandes
d785b0a3fb Fixed problem with SHOW GENERATOR after SET GENERATOR became DDL. 2014-03-14 15:41:15 +00:00
robocop
3e52925a0d Include rdb$linger in SHOW DATABASE and-x (extract database). 2014-03-11 07:53:01 +00:00
robocop
13129284e3 The new API requires checking for null pointer before, not after the call. Maybe there are other places that need adjustment. 2014-03-11 07:47:34 +00:00
robocop
2645c2ea80 Gpre was generating code to connect isql to the build db (yachts) instead of the runtime db. 2014-03-11 06:22:52 +00:00
robocop
626270ff82 isql embedded hangs when trying to quit after an error (thanks Vlad for solution). 2014-03-11 06:08:27 +00:00
robocop
f76267b069 Misc. 2014-03-07 20:34:00 +00:00
robocop
caaf525d3c Misc. 2014-02-25 06:13:30 +00:00
robocop
b1c8cb93fb I don't know why this var was reintroduced, but I don't need it to build FB3. 2014-02-22 07:03:45 +00:00
asfernandes
cb3f15792e Warnings. 2014-02-21 15:47:05 +00:00
asfernandes
a52e0ad4c4 Fixed alignment issue. 2014-02-02 01:07:03 +00:00
asfernandes
787f3fd8aa Misc. 2014-02-02 01:02:57 +00:00
alexpeshkoff
b3c65c98b9 Renamed it once more 2014-01-27 16:47:43 +00:00
alexpeshkoff
ede5ddeaa5 Misc formattingsrc/common/classes/fb_tls.h 2014-01-23 12:26:03 +00:00
alexpeshkoff
9f0f251599 Fixed CORE-4321: Regression: ISQL does not destroy the SQL statement 2014-01-22 11:21:51 +00:00
alexpeshkoff
00971c3941 Changes in IUtl, suggested by Adriano & Dmitry 2014-01-20 14:36:08 +00:00
alexpeshkoff
078827c8e0 Fixed possible alignment issue 2014-01-20 13:08:56 +00:00
asfernandes
8e932b1809 Misc. and fixes. 2014-01-17 15:05:19 +00:00
alexpeshkoff
75d2767224 Misc postfixes for ISQL, thanks to Adriano 2014-01-17 14:09:19 +00:00
asfernandes
f3e7be12ba Misc. 2014-01-16 14:52:18 +00:00
alexpeshkoff
d7afd6b300 Print 3 digits in times + fix for windows 2014-01-16 13:44:19 +00:00
alexpeshkoff
1f19455043 Fixed posix build 2014-01-16 13:07:01 +00:00
alexpeshkoff
949defe5e6 Implemented CORE-4317: Make ISQL use new object API with 32-bit length for object sizes (messages, SQL statements, etc.)
Implementation also includes changes in GPRE, but this utility is not complete - only commands, used in ISQL,
are working in code generator for new API.
New interface IUtl is added - it performs tasks, related with database objects (attachment, transaction, etc.),
but not requiring routing in YValve, i.e. client only tasks.
2014-01-15 13:02:08 +00:00
asfernandes
0ec5daac05 Misc. 2014-01-06 00:51:37 +00:00
robocop
2810026363 Misc and warnings. 2013-12-29 00:35:50 +00:00
alexpeshkoff
d6297bebd4 Fixed some gcc warnings 2013-11-19 13:19:11 +00:00
fsg
bb544146a0 Don't call setlocale if it is not needed for editline, fxes CORE-4259 2013-11-16 11:48:48 +00:00
asfernandes
e9d92b3f40 1) Fixed some bugs with show/extract related to packages.
2) Cleanup related to multiple ODS, now using possible non-existent fields in older ODS which will return NULL.
2013-10-17 15:42:43 +00:00
asfernandes
dc99961e8b Misc. 2013-10-13 23:44:57 +00:00
fsg
66a9deb737 No need to include locale.h twice and don't try to call setlocale if it isn't available. 2013-09-14 15:22:37 +00:00
asfernandes
4789ba1672 Improvement CORE-4199 - Add optional START WITH clause to identity columns. 2013-09-04 15:54:19 +00:00
asfernandes
4097497416 Fixed CORE-4205 - ISQL -x does not output the START WITH clause of generators/sequences. 2013-09-04 15:39:30 +00:00
fsg
985e98a59e enable UTF8 support for the new editline version and isql 2013-08-27 17:04:00 +00:00
dimitr
92d2f6aa09 Improved the ISQL output for the SHOW GRANT command. 2013-08-21 13:51:50 +00:00
dimitr
fdf928dcb7 Increased the plan buffer size in ISQL to accomodate the detailed plan output. 2013-08-05 11:59:28 +00:00
dimitr
52ca5e0835 Fixed CORE-4149: New permission types are not displayed by ISQL. 2013-07-29 08:17:11 +00:00
dimitr
2b72d89701 Follow the alphabetical order of options. 2013-07-29 04:40:18 +00:00
asfernandes
2485ccfa12 Improvement CORE-4148 - Increase ISQL buffer size from 64 KB to 10 MB, as the engine. 2013-07-28 01:10:35 +00:00
asfernandes
cf05882c42 Warning. 2013-07-03 15:24:34 +00:00
asfernandes
c004120f44 Fixed CORE-4137 - Wrong metadata output script generate by isql / CHARACTER SETISO8859_1 sintaxe error. 2013-07-03 02:13:41 +00:00
asfernandes
21b23ef28d Misc. 2013-06-28 02:03:10 +00:00
dimitr
6e818b3241 Added support for the explained plan. 2013-06-26 06:57:38 +00:00
dimitr
68aaaf6af5 Added support for the explained plan. 2013-06-26 06:49:17 +00:00
dimitr
681695e10d Fixed CORE-3963: isql doesn't know the difference between UDF's and psql-functions. 2013-06-26 06:21:40 +00:00
dimitr
b94f613566 Fixed CORE-4122: Metadata export with isql (option -ex) does not export functions properly. 2013-06-25 08:58:46 +00:00