8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 13:23:02 +01:00
Commit Graph

88 Commits

Author SHA1 Message Date
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
6bd28bca87 Misc. 2006-03-25 07:01:34 +00:00
robocop
c5c56a0043 Fix misleading error message reported by Michal Kubecek. 2006-02-24 09:21:16 +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
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
dimitr
0a19363d98 Fixed stack buffer overrun. 2005-12-27 09:42:40 +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
c974a600e3 SHOW command should also show procedure parameters defaults. 2005-09-30 08:43:03 +00:00
robocop
f3593f8977 Cater for the longest possible identifiers, quoted. 2005-06-12 01:36:03 +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
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
26c5ac04b0 This is my first attempt in four years to fix the nonsense code I wrote for grants extraction in FB1. 2005-04-04 08:33:43 +00:00
robocop
4fbf25e341 Fix chaotic output. 2005-04-03 06:58:40 +00:00
robocop
c5c02ed2e9 1.- Replacing raw call to gds__msg_format by ISQL_msg_get; the routine was there for years and almost unused.
2.- UDFs are still created by sys_flag being NULL, so show_functions() should acknowledge that fact.
3.- Implement naive code to show an approximate script-related line number when a failure happens. (Unlike my private FB1's isql, it doesn't rely on strings subject to localization.)
4.- With SET PLANONLY ON, PLAN was activated, but with SET PLAN OFF, PLANONLY wasn't deactivated.
5.- Include isc_info_sql_stmt_get_segment among statements that are like SELECT.
6.- Solve a bad interaction between PLANONLY and SQLDA_DISPLAY, where the first being activated didn't allow to see the output XSQLDA.
7.- More error detection.
2005-03-31 07:50:32 +00:00
robocop
29690221e1 1.- Some small buffers with predefined lengths don't need to be allocated dynamically.
2.- ISQL_get_index_segments shouldn't overflow in extreme cases. Better print an indication that the extraction wasn't completed (ellipsis).
3.- Fix bug with EXTRACT_list table that was printing ); if it didn't find the required table. This in turn caused bugs in other functions.
4.- STDERROUT is used in all places with second argument set to true. Simplify it.
5.- Delete the code previously commented for WAL.
6.- Fix add_row and copy_table. These features were requested to be made available in release mode at v1 time by Paul Beach. They should now be able to cope with quoted identifiers, too.
7.- Complement usage of readNextInputLine when called directly to avoid reading garbage or causing memory errors.
8.- Fix several strings that should have been declared with MAXPATHLEN since the first moment.
9.- Misc bug fixes and B.O. closed.
2005-03-26 05:33:55 +00:00
robocop
1361f698e1 Show system UDF's. According to Ann, she seems to remember that
"there hasn't been a missing RDB$SYSTEM_FLAG since V2 except
objects created with direct system table inserts."
but if there are problems, I will have to do two loops.
2005-01-04 05:42:26 +00:00
robocop
308bdd3de1 Misc. 2004-12-07 00:33:16 +00:00
robocop
467277c241 Misc and solve a couple of missing deallocations. 2004-12-04 08:30:43 +00:00
robocop
9834b16376 Close the blob before returning an error. 2004-12-03 07:23:22 +00:00
robocop
71989bd496 Don't show system functions. 2004-11-30 06:08:56 +00:00
robocop
c4cbb25f92 Misc. 2004-11-23 11:03:48 +00:00
robocop
5a33aeef91 Misc: extra semicolons do not help. :-) 2004-11-07 10:38:13 +00:00
robocop
31ba754981 After talking to Ann, decided to disable several items:
- obsolete items like WAL and JOURNAL (cleaned in the past)
- crud from attempts never finished like the shared cache manager for Classic
- DSQL nodes that aren't used. This allowed freeing some keywords.
The functionality was disabled by commenting the code. No code has been deleted.
2004-10-03 04:49:04 +00:00
robocop
840bf14b36 If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes). 2004-09-26 01:49:52 +00:00
robocop
f0d309811f Corrections 2004-09-22 01:55:37 +00:00
robocop
1c7aa47ec1 Showing role's description is dependent on the ODS 2004-08-31 06:26:27 +00:00
robocop
5ffd45799e When a role hasn't been granted, tell that. Do not hide the role (wasted two minutes to discover it wasn't gbak problem). Also, show the role's description. 2004-08-30 10:10:14 +00:00
robocop
e3b269d2a4 Show ODS as part of SHOW DATABASE command. 2004-08-27 05:03:13 +00:00
robocop
949830d0c6 1.- const correctness
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
robocop
7b51928503 Style 2004-05-29 04:55:23 +00:00
brodsom
e34284aecf -Join isql globals in one struct (and remove some macros) and put not globals in the corresponding source.
-Use C++ struct declaration style.
2004-05-24 17:16:02 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
brodsom
473abc461b Replace macro with inline-comments (Claudio found gpre have some issues with the ifdefs) 2004-05-10 00:18:34 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
a549091c94 - Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
2c0ab256cf Removing duplicated definitions between
ibase.h and blob_filter.h
ibase.h and constants.h
2004-04-29 17:48:39 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
brodsom
9d24d7d9e3 -Fix #910430
-Clean some #define
-Use parametrized language (pointed by Claudio)
2004-04-26 07:54:22 +00:00
skidder
fa3f0c3b0a Return ISQL to buildable state after Blas' cleanup 2004-04-24 21:43:35 +00:00
brodsom
d077c22bd8 -Remove unneeded headers 2004-04-24 14:38:27 +00:00
brodsom
7cecfdcb7e -Fix bug #223126 (Misplaced collation when extracting metadadata with isql)
-Fix bug #223513 (Ambiguity between tables and views)
-Fix bug #518349 (isql show mangles relationship)
-Remove V33 stuff
2004-04-23 18:39:04 +00:00