8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-01 20:40:38 +01:00
Commit Graph

58 Commits

Author SHA1 Message Date
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
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
f800fd59a7 I find hard to work with functions that span 800 or more lines. Therefore, I modularized process_statement. I took the opportunity to get rid of some local variables and fix performance info printing. 2005-04-02 03:51:43 +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
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
7f0624da56 Misc. 2004-12-03 07:22:49 +00:00
robocop
af6a16107a Misc. 2004-11-30 06:18:39 +00:00
skidder
51a992b959 Do not include system functions in database metadata script generated by ISQL 2004-11-30 03:22:50 +00:00
robocop
6f376126bc Applying Damyan Ivanov's isql patch.
Document it in the interactive help isql -?
Document also the m2 option (merge diagnostics).
2004-11-24 08:58:11 +00:00
robocop
c4cbb25f92 Misc. 2004-11-23 11:03:48 +00:00
robocop
628b088d2c Treat string literals and string constants with more respect. 2004-11-10 04:26:45 +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
brodsom
da46a55b16 -Correction (Found by Claudio) 2004-07-21 10:34:27 +00:00
robocop
1332d98618 Literal strings should be treated as const char* 2004-06-05 09:37:18 +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
473abc461b Replace macro with inline-comments (Claudio found gpre have some issues with the ifdefs) 2004-05-10 00:18:34 +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
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
aafemt
34df983c67 Fix for procedure params extract. Global variables must die!! 2004-03-25 07:33:36 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +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
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
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
brodsom
b88516b5c0 extern C cleaning 2003-09-10 17:48:24 +00:00
robocop
cdfac33f91 const correctness, bool, etc. 2003-09-09 11:03:37 +00:00
brodsom
4d78970ab3 -Replacing BOOLEAN, FALSE and TRUE.
-Code style cleaning
2003-09-05 11:25:53 +00:00
brodsom
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
106b3a07f5 -Remove NULL_PTR macro
-Remove unneeded casts
2003-08-26 23:12:42 +00:00
dimitr
8f66b72b0e CONST -> const 2003-02-13 09:42:18 +00:00
brodsom
5e63f2cecc Remove GUI_TOOLS define 2003-02-11 20:17:56 +00:00