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

668 Commits

Author SHA1 Message Date
robocop
b87075fe4a CORE-4817. 2015-06-18 22:30:53 +00:00
dimitr
466a19a4d0 Yet another fix for CORE-4839. 2015-06-14 11:35:35 +00:00
dimitr
3e9d5db107 This should fix CORE-4839: SHOW GRANTS does not display info about exceptions which were granted to user. 2015-06-14 08:32:31 +00:00
asfernandes
e9ccc80f8c Misc. 2015-06-13 19:00:28 +00:00
alexpeshkoff
8db437eebf Enhance metadata display - show charset only for fields where it makes sense 2015-06-10 13:10:11 +00:00
alexpeshkoff
8d645cd760 Fixed regression, caused by fix for CORE-4811 - error parsing pagesize=N without spaces 2015-06-10 12:27:20 +00:00
alexpeshkoff
6d9e9dc360 Make ISQL display character set when sqlda_display is on 2015-06-03 18:01:35 +00:00
alexpeshkoff
1b6632ac8b Fixed CORE-4811: Make user names behave according to SQL identifiers rules 2015-06-03 13:57:18 +00:00
dimitr
2a1ba62ee0 Fixed bad handling of zero-length segments coming from internally filtered blobs. In particular, this fixes ISQL crash in bugs.core_4380. 2015-05-05 12:40:18 +00:00
robocop
ed1e4b5b7d Misc. 2015-03-31 02:10:38 +00:00
alexpeshkoff
8ddc441ff3 Fixed CORE-4719: Message "Statement failed, SQLSTATE = 00000 + unknown ISC error 0" appears when issuing REVOKE ALL ON ALL FROM <existing_user> 2015-03-29 15:07:26 +00:00
alexpeshkoff
c4c9daf132 Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods. 2015-03-20 18:02:30 +00:00
egorpugin
11cbc139d8 [build] [cmake] Add some iOS ifdefs. Hide wrong include dir during crosscompiling. 2015-03-19 11:34:04 +00:00
robocop
939feab036 Misc. 2015-03-13 15:26:22 +00:00
alexpeshkoff
c586171957 Fixed BOF, cleanup misc 2015-03-11 13:37:48 +00:00
asfernandes
8d2d45a36b Fixed CORE-4706 - ISQL pads blob columns wrongly when the column alias has more than 17 characters. 2015-03-10 16:05:13 +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
dimitr
6271ba0476 Removed debugging option. 2015-01-27 10:33:10 +00:00
dimitr
cc8cc680a3 Core (engine-level) support for scrollable DSQL cursors. Fixed the IResultSet API to match the JDBC spec. Renamed FB_EOF to FB_NO_DATA. Refactored some DSQL internals. 2015-01-27 10:29:30 +00:00
asfernandes
2a857cb415 Misc. 2015-01-15 01:17:27 +00:00
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