aafemt
f5838a4262
Not elegant fix for treating too big statements as an error
2006-04-27 10:57:11 +00:00
robocop
4505c223f0
Correction.
2006-04-11 08:21:23 +00:00
robocop
62ae60c818
Adriano reported a problem with SHOW GENERATORS skipping the required object because an old db had NULL in the sysflag column. Using his proposed fix, committed only to the HEAD.
2006-04-11 07:30:58 +00:00
robocop
a90a72232c
Adjust isql to the full words stated in the IB5 docs for the command line options.
2006-04-08 00:03:50 +00:00
alexpeshkoff
543932292f
fixed regression in switch
2006-04-06 14:43:01 +00:00
robocop
c5f2284b15
Style.
2006-04-06 08:18:53 +00:00
mkubecek
4a94466a5a
Fix of isql command line parser: check for repeated switches or database name.
2006-03-28 04:31:35 +00:00
robocop
2484232f23
- Misc.
...
- Style
- Avoiding one indentation level.
2006-03-26 05:58:29 +00:00
asfernandes
3329d9fc07
Correction
2006-03-26 03:34:14 +00:00
mkubecek
332dce9203
Fix of isql command line parser: allow only abbreviations of standard switch names, check integer arguments to be integers.
2006-03-25 23:41:36 +00:00
robocop
6bd28bca87
Misc.
2006-03-25 07:01:34 +00:00
robocop
3ed50872b2
Give isql a more useful help when receiving incorrect command line arguments, in sync with other utilities. Courtesy of Michal Kubecek.
...
Example: isql -?
2006-03-16 09:07:37 +00:00
robocop
c5c56a0043
Fix misleading error message reported by Michal Kubecek.
2006-02-24 09:21:16 +00:00
hvlad
73dcebc962
Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h"
2006-02-03 13:13:27 +00:00
alexpeshkoff
d1ee840d60
fixed gcc warning(s)
2006-01-16 16:49:15 +00:00
robocop
1ca7a582f9
EXPRESSION_INDICES code is considered stable and therefore there's no need to keep it protected by macros. Please do a full rebuild.
2006-01-14 07:00:44 +00:00
alexpeshkoff
32ef4f5b67
fixed compilation after changes in exception
2006-01-07 16:58:23 +00:00
robocop
f902dd1311
Parse the server version output (that can be large with redirection) correctly when isql -z is used.
2005-12-30 06:57:06 +00:00
alexpeshkoff
9fa49f5077
make server-version output a bit more readable
2005-12-29 09:32:41 +00:00
alexpeshkoff
4447d705c8
fixed bugs in server version reporting
2005-12-29 08:06:11 +00:00
dimitr
0a19363d98
Fixed stack buffer overrun.
2005-12-27 09:42:40 +00:00
alexpeshkoff
2d259e3978
Fixed buffer overrun in case of bad data returned by isc_database_info()
2005-12-26 16:10:59 +00:00
robocop
39b9a7fb22
Avoid the intermediate buffer.
2005-12-03 07:01:16 +00:00
alexpeshkoff
62a24d46e4
1. Moved data structures, written to database file, into ods.h.
...
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
robocop
c6a7afcb8a
Fix for problems with triggers v/s checks (some triggers not extracted, other automatically generated triggers belonging to CHECK, view's CHECK OPTION and CASCADE being extracted).
2005-11-27 06:42:16 +00:00
robocop
e7fa075880
Let isql yell always, irregardless of the switches.
2005-11-08 23:57:23 +00:00
robocop
c6e7a41878
Fix display alignment problem with CHAR type and small binary fields.
2005-10-08 07:02:54 +00:00
robocop
4337f38101
Update isql accordingly to my previous Fix SF Bug #1292007
...
Move more hardcoded error strings to the msg database.
2005-10-06 07:02:04 +00:00
robocop
c974a600e3
SHOW command should also show procedure parameters defaults.
2005-09-30 08:43:03 +00:00
robocop
95ce9df850
Update isql to extract procedure parameters defaults in a script as a tribute to Vlad.
...
Note: Vlad is still alive.
2005-09-30 07:52:22 +00:00
robocop
9af8440596
Better check for isql ignoring implicit rdb$<number> domains.
2005-09-24 05:09:43 +00:00
robocop
d7f1979164
Fix premature EOF while reading a script file when using the SHELL command inside it, found by Paul Reeves. Trying to find a compromise between MS requirements for system() call and its bad side effects on our isql.
2005-09-03 05:54:27 +00:00
robocop
0285583c9f
Fix display bug found by Adriano, caused by missing %s and try to make isql output more consistent. QA Tools that check for strict result may complain.
2005-07-08 04:10:27 +00:00
asfernandes
8fe0408bb3
Make SQLDA_DISPLAY display input SQLDA parameters of INSERTs, UPDATEs and DELETEs
2005-06-23 15:12:53 +00:00
robocop
2870acfc87
Fix blob dumping routines in jrd and report errors in isql.
2005-06-16 05:13:35 +00:00
robocop
545cb77032
If an error happens when we are trying to retrieve the first record, we need to print a newline or the error msg will appear padding the column headers.
2005-06-12 23:47:04 +00:00
robocop
f3593f8977
Cater for the longest possible identifiers, quoted.
2005-06-12 01:36:03 +00:00
robocop
c547304496
- Renamed function input to newinput to be in sync with newoutput.
...
- Implemented PASSTHROUGH command only for the debug build. Use with care.
2005-06-11 00:32:06 +00:00
robocop
56deb9afcd
Mixed case generator names caused problems in show_generators.
...
Noticed by Adriano.
2005-06-06 08:32:55 +00:00
robocop
729238ae80
I didn't test a case, but I'm pretty sure that long quoted identifiers could lead to a buffer overrun while extracting grants here.
2005-05-26 08:26:05 +00:00
robocop
d677f7ba8b
Fix SF Bug #1208932 reported by Ivan Prenosil an hour ago approx.
2005-05-26 07:35:45 +00:00
robocop
35dc1e343c
- Cleanup.
...
- A bit better handling of SHOW EXCEPTION.
2005-05-26 06:45:25 +00:00
robocop
f6d654cf13
Lower the clutter.
2005-05-24 04:42:01 +00:00
robocop
e449e24d0b
Escape single quotes in comment's text and double quotes in identifiers that have metadata comments not when we are doing SHOW COMMENT[S] but only when we are extracting a script, as Martijn suggested.
2005-05-20 08:34:19 +00:00
robocop
1ac3a5d9b7
- Implement the SHOW COMMENT(S) command.
...
- Integrate it into metadata extraction, too.
- A couple of minor improvements to isql.
See explanation in show_comments() function.
2005-05-19 08:03:10 +00:00
dimitr
00e8d18464
Implemented metadata extract for expression indices.
2005-05-18 15:53:41 +00:00
kkuznetsov
a066a949fb
Renamed ERR to ps_ERR in the enum processing_state {...} to fix compile error on Solaris
2005-05-14 14:50:41 +00:00
robocop
df8b6d12e4
Apply Miroslav Penchev fix for ISQL_disconnect_database overwriting the Quiet flag permanently.
2005-05-12 07:00:54 +00:00
robocop
3c361f66ba
Simplify array bounds printing for canonic case.
2005-05-12 05:32:25 +00:00
robocop
3fd1859bd1
Workaround for SF Bug #450404 . (Isql can't guess what the user intended.)
2005-05-02 07:11:39 +00:00