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
robocop
e12fa4b174
isql: collapse a lot of copy/paste into a single function.
2009-12-05 12:39:46 +00:00
robocop
f0c2759919
CORE-800: Easy metadata extract improvements
2009-12-05 05:24:59 +00:00
robocop
139b2652df
Comments.
2009-12-04 08:30:26 +00:00
robocop
6d1781b15b
CORE-2788.
2009-12-04 08:01:28 +00:00
robocop
1386adcf90
Style.
2009-11-16 08:06:31 +00:00
robocop
7ad9fb86bd
Misc.
2009-11-14 10:47:10 +00:00
robocop
3d93cbdd52
Add support for explicit difference file name in scripts.
2009-11-14 10:31:47 +00:00
asfernandes
cefe295ad9
Misc
2009-11-14 01:20:33 +00:00
robocop
f1277daa43
Align comments.
2009-11-13 10:41:06 +00:00
robocop
aa1edc2039
More package support: corrections.
2009-11-13 09:23:00 +00:00
robocop
79931e1285
Continue package support in isql.
2009-11-13 08:37:04 +00:00
asfernandes
0b2a994c27
Misc
2009-11-13 01:36:09 +00:00
robocop
8654501b8b
Correction to package-dependent code.
2009-11-12 11:37:37 +00:00
robocop
7ee3db1d37
Fix Mark's rowcount feature to detect errors properly and add the due messages to the db.
2009-11-12 07:41:31 +00:00
robocop
33ca7e6a77
Package support. Work in progress.
2009-11-12 07:17:01 +00:00
asfernandes
f2cd6b7ec2
Misc
2009-11-12 01:38:48 +00:00
robocop
402ccbd6bc
CORE-2741 and a special case of the ancient CORE-932
2009-11-09 10:43:16 +00:00
robocop
6540f5cf4a
Adriano says we shouldn't assume argv[argc] is null.
2009-11-09 06:18:34 +00:00
robocop
22af8f184d
I'm only preventing isql from hanging. This is just a bit of CORE-2735.
2009-11-07 09:22:03 +00:00
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
dimitr
a737954583
Wipe out the SCROLLABLE_CURSORS code + minor cleanup.
2009-10-31 06:28:40 +00:00
robocop
6b997b901f
Misc.
2009-10-30 10:59:52 +00:00
asfernandes
42e378d376
Do not convert filenames to absolute form for display. That breaks tests made with ISQL. (CORE-2575)
2009-10-24 15:28:25 +00:00
asfernandes
71d8df8e14
Improvement CORE-2575 - Make ISQL "input" command open relative filenames based on the directory of last opened (and not closed) input file
2009-10-23 00:16:59 +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
robocop
a7f88b2316
Misc.
2009-09-10 06:13:02 +00:00
hvlad
f8c417adb3
Improvement CORE-2619 : Make memory and other statistics to work with 64-bit values.
...
Part (b) add perf64 API into client and use perf64 API in utilities
2009-09-09 10:28:26 +00:00
robocop
dc9e7e7a4a
Paul Beach confirmed this Darwin code is no longer necessary.
2009-08-01 05:37:08 +00:00
asfernandes
f59fda5175
GCC warning
2009-07-25 18:43:10 +00:00
asfernandes
6377356940
Misc
2009-07-23 00:56:28 +00:00
asfernandes
029e9ff6aa
Fixed CORE-915 - ISQL extract procedures body with double line break
2009-07-20 15:46:46 +00:00
robocop
96177e8f0a
Style.
2009-07-18 12:39:15 +00:00
robocop
cfb9403481
Warnings.
2009-07-17 09:06:03 +00:00
robocop
244a57ed1f
Misc.
2009-07-17 09:03:14 +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
aafemt
24f53abd20
Fix for my previous commit
2009-06-23 11:59:20 +00:00
robocop
a958da87f5
Style.
2009-06-21 05:46:51 +00:00
aafemt
89e77c3e07
Fix parsing of constructions like /*/ and /**/*
2009-06-19 11:17:07 +00:00
asfernandes
bdb85455af
Put apples and oranges in different baskets
2009-06-19 02:03:57 +00:00