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

243 Commits

Author SHA1 Message Date
skidder
c64f31b712 Fix some warnings from GCC/Linux build. Some of them were subtle errors 2004-03-12 07:00:52 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
robocop
2fa67d46bc Cleanup
Reduce reinterpret and C casts
Fix isql so it can show all predefined blob types in readable form.
2004-02-24 05:34:44 +00:00
alexpeshkoff
5314c1f8e1 Forward porting 2004-02-05 06:58:04 +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
de9c495e2b Misc change, style 2004-01-04 04:43:11 +00:00
fsg
e3ba8c5f42 Some changes to get it compiled under linux.
Use const declarations for BLANK etc. in isql.h again.
FSG
2004-01-03 14:12:45 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
fsg
0a4f7ad482 oops, it wasn't intended to commit isql.epp, so roll it back
FSG
2003-12-27 18:50:01 +00:00
fsg
25a0180642 First changes to get it compiled under linux again.
FSG
2003-12-27 17:59:59 +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
brodsom
7844cc7cd4 Fix scope change that breaks posix build 2003-12-02 02:47:34 +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
a94dbd85fd const correctness and other minor items 2003-11-18 07:58:35 +00:00
brodsom
453ff20031 -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 11:43:41 +00:00
brodsom
6e8e00c191 -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:44:51 +00:00
brodsom
c5253ae8a5 -Replace gds__ constants with isc_ contants
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +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
brodsom
500b806d7a Fix output format bug (win32) 2003-11-06 23:25:38 +00:00
robocop
35396625f5 const correctness
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
brodsom
f17bdcebc0 Fix for bug 781610 (-- comments in isql) 2003-11-04 03:49:22 +00:00
brodsom
1dec717bcd Correct bug in isql (Noticed by Arno) 2003-11-04 01:35:49 +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
brodsom
5a967335ad Fix bugs in isql (needed by fbtcs)
-Detection of redirected input.
-Avoid \n\n\r output in echo mode on win32.
-Fix echo mode prompt output and make it work the same on win32 and linux.
2003-10-23 23:06:39 +00:00
robocop
8182b6cba2 const correctness and other tasks 2003-10-16 08:51:06 +00:00
brodsom
8a7d7d294e extern cleaning 2003-10-02 19:20:55 +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
robocop
484c6ec372 Cleanup, const correctness, variables in scope, etc.
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
arnobrinkman
65761dd0b3 Change wrong used constant (Suggested by Claudio V.) 2003-09-17 23:42:47 +00:00
aafemt
c1296d83e3 'struct' cleanup 2003-09-17 10:49:29 +00:00
arnobrinkman
822ee0552a Apply patch from Fred Polizo Jr.
- Display correct OCTETS for varying length characters.
2003-09-16 23:22:25 +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
382cd1c45e Code cleaning 2003-09-08 01:45:09 +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
602c201989 -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
brodsom
106b3a07f5 -Remove NULL_PTR macro
-Remove unneeded casts
2003-08-26 23:12:42 +00:00
brodsom
4a99ce0436 -Fix for MSVC6 format bug found in TCS DSQL_DOMAIN_12 and 13 2003-08-20 19:47:07 +00:00
skidder
5ffbcb4e62 Apply patch by Peter Jacobi to display OCTETS strings in hex correctly 2003-08-19 21:34:22 +00:00
brodsom
7009b693e0 -Fix a format warning (due to a coding error) 2003-08-09 23:38:27 +00:00
brodsom
4e4c8a921b Add an option to isql to set character set from command line, needed to connect with a command line specified database with non default charset. 2003-07-16 18:48:57 +00:00
brodsom
8feff51688 Remove depends (unused and unmaintained) 2003-07-08 23:38:30 +00:00
dimitr
30a1b1730b Fixed ISQL temp file bug. 2003-07-06 08:14:44 +00:00
dimitr
2739ecb101 no message 2003-07-06 07:05:22 +00:00
dimitr
3fac72d57c Uniform tempfile naming. 2003-07-06 07:04:03 +00:00
dimitr
cacafd204f Applied the patch by Tomas Skoda. 2003-06-24 10:33:04 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
aafemt
b3436b5cd7 STATUS -> ISC_STATUS 2003-04-10 06:32:58 +00:00
brodsom
fc2b5f3845 Isql warning fixes 2003-04-08 10:38:59 +00:00
brodsom
2f11697351 - Remove unneeded macro
- Move alpha_months from header to isql.epp
2003-04-03 09:26:18 +00:00
tamlin
7d6234f77b Fix integer overflow bug + initialize some variables. 2003-03-07 21:30:39 +00:00
brodsom
c7d6889883 Put vars and functions inside the same ifdef for which is used (NOT_USED_OR_REPLACED for unused) 2003-03-04 00:09:33 +00:00
brodsom
0ea65e2b4a Change gds_assert to fb_assert (gds_assert is a synonym for fb_assert) 2003-02-28 15:17:50 +00:00
dimitr
dfb8f80dc3 Fixed problem with ISQL and character code 0xFF. 2003-02-22 17:13:07 +00:00
brodsom
3b486dfb95 Move def files to builds directory 2003-02-19 13:07:13 +00:00
brodsom
6652d5a5bf Remove __BORLANDC__ define 2003-02-14 02:50:10 +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
brodsom
3c4e4c8a92 Remove UNUSED_FOR_ISQL define. 2003-02-10 23:46:42 +00:00
brodsom
98f163e8ee More mangled preprocessor directives 2003-02-07 10:29:52 +00:00
dimitr
2e77a94ef5 Added support of universal triggers to ISQL (metadata extraction). 2003-02-04 15:36:46 +00:00
alexpeshkoff
4a42a15867 Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *) 2002-12-16 16:06:15 +00:00
eku
5b8ffd81c2 Removed unused variables. 2002-12-10 11:53:53 +00:00
eku
34e9391a97 Use the new macro FB_NELEM to calculate the number of elements in an array. 2002-12-02 09:45:52 +00:00
eku
616c134010 Editline cleanup:
o removed obsolete readline tests
 o renamed readline into editline
 o editline is not enabled by default, enabled with '--with-editline'
2002-11-13 07:07:58 +00:00
eku
507b9c86c8 Do not redefine MAXPATHLEN. Always use the value supplied by the operating
system (header files).
2002-11-06 07:08:49 +00:00
seanleyne
b3ad604669 Removed support for obsolete "PC_PLATFORM" define 2002-10-31 05:06:02 +00:00
eku
0c1b55dd08 Code cleanup:
Since we already have the define ISC_STATUS_LENGTH for the the length of
the status vector, we should use it! Replaced 'status[20]' with
'status[ISC_STATUS_LENGTH]'.

Replaced the different symbolic names for the maximum length of a path
(MAX_PATH, MAX_PATH_LENGTH, MAXPATHLEN) with one uniq symbol MAXPATHLEN.
2002-10-24 09:01:44 +00:00
skywalker
f35570a03b A few makefile dependancies fixed.
Started work on upgrading rpm build scripts
Fix makefiles for super build
Exchange editline for readline in isql
2002-10-07 01:29:13 +00:00
bellardo
50b1d04993 Cleaned up include directives after renaming math.h to jrd_math.h. 2002-09-27 01:29:51 +00:00
bellardo
0eaf588b49 renamed header files jrd/math.h and jrd/time.h to jrd/jrd_math.h and
jrd/jrd_time.h.
2002-09-27 00:20:12 +00:00
eku
0189c970f0 Fixed compiler warnings. 2002-09-26 09:26:40 +00:00
eku
ef2ff91438 Autoconf cleanup:
o use predefined macros to test for sys/wait.h, time.h and sys/time.h
 o search strcasecmp in libresolv only if strcasecmp and stricmp are not in libc
 o use predefined macro AC_SYS_LARGEFILE to determine 64Bit I/O
 o determine the alignment of long and double (ALIGNMENT,DOUBLE_ALIGN),
   still need to write a test for FB_ALIGN!
2002-09-18 12:50:13 +00:00
dimitr
7922269845 1. BIGINT is now the only keyword for the 64-bit exact numerics and it's available
in dialect 3 only.
2. BREAK statement has been disabled in triggers (like EXIT) because of the known
   BLR limitations. I hope it can be safely used in stored procedures though, hence
   I'd prefer to have it officially documented.
3. More complete implementation of the GROUP BY clause. You can group by internal
   functions and have ability to use more complex grouping conditions than before.
   By Arno Brinkman.
4. Allowed declaring and defining local variables at the same time.
   By Claudio Valderrama.
   Syntax: declare [variable] <var_name> <var_type> [{= | default} <default_value>]
5. Allowed ordinals to be used in the GROUP BY clause (like ORDER BY).
   By Arno Brinkman.
   Example: select extract(month from order_date), sum(order_sum) from orders group by 1
6. The first approach to the ALTER VIEW statement. Only high-level implementation so far.
   A lot of work in dfw.epp, metd.epp, etc. still required.
   By Dmitry Yemanov.
2002-08-11 08:04:54 +00:00
skywalker
d89b1a0842 Changes to make fb2 compile super version for linux 2002-07-29 15:37:59 +00:00
dimitr
7f604e8818 Fixed a few more porting errors. 2002-07-11 14:25:19 +00:00
dimitr
cc99e9f8d1 Fixed a few more porting errors. 2002-07-09 14:41:37 +00:00
skywalker
350b251820 Changes to get compiling on linux (post fb1 changes). 2002-07-05 15:00:26 +00:00
skywalker
2e398fc37f Merge changes from fb1. 2002-06-29 13:39:11 +00:00
seanleyne
8e93b8a859 Code cleanup, removed old Win3.1 port from routines I missed the first time 2002-02-24 16:39:31 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00
bellardo
afa2aadf0f Changes to make FB2 compile on Darwin. Mostly build system related, but
also added a missing typecast in isql.epp.
2001-10-17 22:48:01 +00:00
bellardo
e182582bef Added missing paren. 2001-10-17 21:53:38 +00:00
skywalker
c1bcc741ab Changed to make install work better.
Fix build of shared library so global objects have thier constructors called
Added readline to isql
Added version numbers to libgds.so.2.0.0
Change install location and version to be driven from ./configure file
2001-08-27 15:29:18 +00:00
skywalker
4c4bc9a95c Global changes for new Makefile and firebird2 compile on linux 2001-07-29 23:43:24 +00:00
bellardo
6681f4852e More changes to convert FB2 to c++. This time is files that have been renamed
and some conflict resolutions on files edited by more than one person at once.
2001-07-12 06:32:05 +00:00
bellardo
747d13c0d5 Changes to bring FB2 to c++ on *nix. 2001-07-12 05:46:06 +00:00
tamlin
9a776a604e First steps towards a C++ conversion. 2001-05-23 13:26:42 +00:00