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

183 Commits

Author SHA1 Message Date
aafemt
ad88d1e805 Fix for Field-test item #1168910 2005-03-23 10:10:38 +00:00
skidder
56186e7f4d Calling clear_history like that breaks the builds. But even when build is fixed, call like that causes SIGSEGV due to editline history not being initalized when ISQL is used in non-interactive mode. Since clear_history doesn't free all the editline memory there is no big point in using it here anyways... 2005-03-09 06:53:03 +00:00
robocop
39c62a936d Totally misc. 2005-03-04 09:21:12 +00:00
robocop
ea866740f1 1.- Stop possible crash with long terminators. Pending other checks for the future.
2.- Complete Damyan Ivanov's patch to allow BAIL detect really most error conditions.
3.- Create two functions to handle part of the bulky processing of isql's built-in commands.
4.- Make SET SQLDA_DISPLAY work in release versions and derive functionality to two new functions.
5.- Change Borland's moronic usage of a FIFO implemented in a linked list to handle the needs of a LIFO, simplying code and avoiding the associated logic pain.
6.- Avoid several SQL> prompts when using the INPUT command interactively.
7.- Free several resources on exit. Stop some additional memory leaks.
8.- Signal we are processing the INPUT command only when the file can be opened.
9.- Put the cursor declaration inside the code protected for scrollable cursors, in case it's needed there, since isql doesn't do positioned updates.

Remember to report random behavior, crashes, segmentation faults, core dumps and BSOD's.
2005-03-04 09:17:34 +00:00
robocop
4be87294fa sqldaid and sqldabc are unused crap borrowed from IBM 15 years ago.
Don't show them as they contain garbage.
2005-02-07 09:00:33 +00:00
aafemt
d455bd79e4 LF already have been killed in readNextInputLine() 2005-01-26 10:37:53 +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
4012106884 Misc. 2004-12-25 09:44:03 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
aafemt
1bb898274b Fix extra EOLN in interactive mode without editline 2004-12-23 10:15:49 +00:00
robocop
ba7f94f470 Misc. 2004-12-17 05:57:04 +00:00
aafemt
59f854c331 Fix for AV on EOF in interactive mode 2004-12-16 12:45:30 +00:00
aafemt
52aaaacfad Parser must parse, not input routine 2004-12-16 10:23:58 +00:00
aafemt
491cfb9abd Redundant comment 2004-12-16 10:13:51 +00:00
robocop
bd491bec02 Restore output if copy_table fails. 2004-12-12 02:01:52 +00:00
alexpeshkoff
387e678cca applied Clumplet* classes to dpb where possible 2004-12-09 19:19:47 +00:00
robocop
0dd1aced53 Misc. 2004-12-09 02:50:47 +00:00
skidder
aa80ac9481 Fix POSIX build after Claudio cleanup 2004-12-09 01:53:31 +00:00
robocop
001c8257a2 1.- Get rid of the std::string from the STL.
2.- Add a couple of missing deallocations.
2004-12-07 00:38:03 +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
7f0624da56 Misc. 2004-12-03 07:22:49 +00:00
robocop
4076ff0a11 First attempt to fix the double charset reporting bug that our dear Blas left in isql more than half a year ago. 2004-12-01 08:25:25 +00:00
robocop
af6a16107a Misc. 2004-11-30 06:18:39 +00:00
robocop
71989bd496 Don't show system functions. 2004-11-30 06:08:56 +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
f8569104d6 Apply Adriano change with the following explanation:
Fix a bug that occur when a BLOB column is added after the start of the DML transaction.
2004-11-28 08:36:22 +00:00
robocop
e4ae004ca9 Completed (I hope) Damyan Ivanov's patch that didn't work with insertions, updates and deletions. 2004-11-28 07:05:42 +00:00
robocop
bb170bd3b6 isc_interpret is fb_interpret again.
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
robocop
f6ec71ded5 Allow the -m2 option to work. 2004-11-24 09:04:06 +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
cdeae35b31 Allow basic leaks reporting, fix a couple of leaks and delete obsolete comment. 2004-11-22 08:00:49 +00:00
hvlad
4fcd43a3d0 Allow isql to show large exception messages 2004-11-17 12:20:49 +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
1eb6693d0f When the XSQLDA is reallocated, set the version again (from my uncommitted FB1 fixes). 2004-11-07 10:20:27 +00:00
skidder
3e26513b38 fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit 2004-10-25 03:53:03 +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
3c8612ad7a Solve assertion in latest MSVC regarding isspace() with two helper functions. This is a mere reorganization of Adriano's fix. 2004-09-29 03:44:36 +00:00
skidder
02a0915156 Teach engine to work with larger record numbers - 64-bit internally, 40-bit externally 2004-09-28 06:28:38 +00:00
asfernandes
133f57e586 Fix a bug with international characters in ISQL causing assertions in VS2003 2004-09-26 02:57:40 +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
e6cb17cac6 Vulnerability reported by Daniel Urban.
First step: reorganize code.
Please do a full rebuild after retrieving those changes.
2004-09-22 01:59:39 +00:00
robocop
f0d309811f Corrections 2004-09-22 01:55:37 +00:00
dimitr
74a845706b Minor fixes. 2004-09-05 15:00:51 +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
84a00693d9 Misc 2004-08-30 10:07:49 +00:00