8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 14:43:04 +01:00
Commit Graph

72 Commits

Author SHA1 Message Date
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
brodsom
a379252b85 Use ifdef for obsolete code instead a loooong comment and avoid nested comment warnings 2004-04-21 00:18:48 +00:00
robocop
6d4c0ab908 Three changes to isql:
Fix isql bug #910430.
Add SET HEADING ON/OFF option
Add -M2 command-line option to send output of statistics and plans to the same file than the rest of the output.
Those items do not appear when using HELP SET inside isql or with isql -? from the command line.
2004-04-11 04:04:18 +00:00
robocop
59b235cea3 Small corrections 2004-04-10 00:25:22 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
robocop
775d776190 isql: more cleanup and restore the ability to have nested INPUT commands or run INPUT commands from the interactive session without quitting it. 2003-11-30 06:41:29 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
robocop
9e7ca15236 Fix cleanup bug reported by Tomas Skoda 2003-11-10 09:47:28 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
robocop
c931a674c2 Cleanup.
Hopefully harmless
It should fix the issue introduced with constness in gds__interprete for current applications.
2003-09-29 12:43:14 +00:00
aafemt
c1296d83e3 'struct' cleanup 2003-09-17 10:49:29 +00:00