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
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
robocop
c0b8b68777
Misc.
2013-05-21 21:53:39 +00:00
mapopa
7c61a0bad9
MUISQL (QA Test bed Multiuser environment) target is not builded anymore from Firebird 1.x ages
2013-03-28 12:46:05 +00:00
asfernandes
3b543a9eae
Misc.
2013-03-10 00:55:43 +00:00
dimitr
07a4c27b66
Fixed Windows build. Thanks to Dmitry Kovalenko.
2013-03-07 05:34:36 +00:00
alexpeshkoff
62f06e6c77
Postfix for CORE-3990
2013-03-01 13:50:37 +00:00
alexpeshkoff
cfbe804aa4
Fixed CORE-3990: Fix broken EDIT in isql
2013-03-01 11:55:59 +00:00
dimitr
3dd0507b96
Wiped out the code that never worked due to the missing support for native quads.
2012-11-01 01:36:27 +00:00
asfernandes
1dcad0fe90
Misc.
2012-06-03 03:00:24 +00:00
mkubecek
1f6eaf18e5
isql: fix buffer overflow when 'set width' sets bigger width
...
than column's natural size
2012-05-29 20:19:58 +00:00
mkubecek
7d64b76c14
isql: fix output if charset is different from locale
2012-05-29 20:14:54 +00:00
mkubecek
69da2285d0
Fix broken isql history with libedit 3.0
2012-05-23 09:12:16 +00:00
asfernandes
580172419b
Misc.
2012-04-23 00:48:28 +00:00
hvlad
c036c65e7b
Fixed bug CORE-3810 : isql: zero divide + coredump when use "-pag 0" command switch & set heading on inside .sql script
2012-04-07 18:25:44 +00:00
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00
asfernandes
ba36a29f9d
1) Refactored legacy (UDF) function creation.
...
2) Extend ISQL' SHOW FUNCTION to take packages and parameter's datatype of non-legacy functions into account.
2011-11-08 14:54:48 +00:00
alexpeshkoff
af4d1d87d6
Posix-only fix for CORE-3600: temp files fb_query_xxxx remains after ISQL has been closed
2011-10-05 09:59:34 +00:00
asfernandes
a566f5d725
Fixed CORE-3431 - ISQL pads UTF-8 data incorrectly.
2011-04-05 21:30:27 +00:00
asfernandes
dfe830af7c
Added EVENT_TYPE and OBJECT_TYPE to DDL_TRIGGER context. Improvement suggested by Thomas Steinmaurer.
2011-02-20 01:08:48 +00:00
asfernandes
c9ec26c0c3
Feature CORE-726 - Boolean data type
2010-12-18 02:17:06 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
hvlad
e8ea25098f
Fixed bug CORE-2837 : Asynchronous query cancellation (via Ctrl+C) is not worked
2010-02-01 14:34:48 +00:00
robocop
f9f8bde6e8
For now, isql is not prepared to deal with the new function types (packaged, BLR-based) until the code is enhanced. Besides, traditional UDFs should appear early in a script whereas BLR functions may depend on other objects, so they should appear later.
2010-01-29 10:54:11 +00:00
robocop
cd28279f13
More for CORE-2735: isql looks into packages, too for ODS12, as Adriano said.
2010-01-29 04:28:55 +00:00
robocop
1399401720
CORE-2735: isql hangs when trying to show a view based on a procedure.
2010-01-28 08:16:45 +00:00
robocop
302f149de1
CORE-2831: isql shouldn't display db and user name when extracting a script.
2010-01-28 07:59:44 +00:00
asfernandes
9c1bab1793
Feature CORE-1385 Identity columns - in its basic form
2010-01-13 19:14:15 +00:00
robocop
92c5daa384
Probably this completes Dmitry Sibiryakov's fix.
2010-01-05 04:08:46 +00:00
robocop
c9ce3b2345
Misc.
2010-01-05 04:07:55 +00:00
aafemt
270a3d4717
Fix BOF on truncation of reference action
2010-01-04 21:53:24 +00:00
asfernandes
0057047932
Misc
2009-12-30 00:50:39 +00:00
robocop
be0a0be938
Misc.
2009-12-29 11:32:57 +00:00
robocop
ecbd9b406c
Nicer fix for isql v/s v3 schemas.
2009-12-29 09:07:08 +00:00
robocop
c6931dba93
Prevent isql from creating a db when we want to create a schema or worse, that it drops a db when we want to drop a schema. Of course, in the new ODS 12. Probably the change should be backported to avoid disasters with FB2.5 isql working with FB3.0 server.
2009-12-28 11:59:36 +00:00
robocop
6ef6202f89
Change this confusing ROWCOUNT feature to MAXROWS (there's also COUNT) but the old name is accepted for compatibility with FB2.5.
2009-12-28 11:54:51 +00:00
asfernandes
ab25c33244
Make packaged functions work
2009-12-28 01:06:40 +00:00
asfernandes
9aea621d65
READ BLOB command has one input parameter...
2009-12-19 21:13:47 +00:00
robocop
b2798cbd87
Misc.
2009-12-16 08:07:36 +00:00
asfernandes
a035a92ce2
Misc
2009-12-06 02:40:03 +00:00
asfernandes
03db7c025f
Extract and show DDL triggers types
2009-12-05 15:08:18 +00:00
robocop
50f72024f6
CORE-2792: Bad extraction syntax for procedure's parameter based on table's field
2009-12-05 12:51:12 +00:00