asfernandes
379ebc9ab6
Misc
2007-07-01 02:40:15 +00:00
asfernandes
a0ec42d087
Correction
2007-06-28 15:30:10 +00:00
asfernandes
410b2809a1
Fixed CORE-1332 - Put the connection charset in sqlscale of blobs when appropriate
2007-06-28 15:27:28 +00:00
alexpeshkoff
458351cace
Fixed display of warnings in DDL statements
2007-04-28 13:57:42 +00:00
alexpeshkoff
8274d3213d
Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible
2007-04-25 14:10:47 +00:00
alexpeshkoff
d63491e3c5
Finished gcc-warnings cleanup
2007-04-11 16:05:40 +00:00
robocop
4391bbdcd4
Tweaks to UserBlob to support backup/restore.
2007-04-04 08:46:31 +00:00
dimitr
809c1c727c
Correction.
2007-03-31 12:49:49 +00:00
mkubecek
30091104f6
fixed new[]() vs. delete[]() collision in GCC4 build
2007-03-31 12:14:24 +00:00
robocop
33959bebf3
Handle blob in user side with a class and optimize blob handling for bulk insertion in isql.
2007-03-28 07:14:18 +00:00
robocop
e71a03261c
This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash.
2007-03-28 04:20:36 +00:00
robocop
789edc74d5
Corrections.
2007-03-01 11:40:26 +00:00
asfernandes
cd56397a51
Misc
2007-02-25 21:25:33 +00:00
asfernandes
dc5eabedce
Minimize usage of DDL transaction when AUTO_DDL is false:
...
- it easy makes database with transaction triggers unusable because the read_commited no_rec_version of DDL transaction.
2007-02-25 14:28:14 +00:00
robocop
f83b2c407d
Commit undocumented, primitive facility to deal with prepared statements and feed data to them. I need it to play with the messages.sql file.
...
Did other misc changes.
2007-02-25 12:03:18 +00:00
robocop
374bab0387
Misc.
2007-02-06 09:51:38 +00:00
robocop
b106f0bffc
Adriano found a case where I didn't check for a premature, unexpected null terminator.
...
I found another case, too.
2006-12-31 09:19:46 +00:00
robocop
d695023827
Did the wrong commit for CORE-932. Sorry.
2006-12-29 10:05:52 +00:00
robocop
05d3ea8086
Trying to fix CORE-932.
...
Helen's pet bug.
create database /* */ /* */ <newline> /**/ -- <newline> <db_name>
show database should tell you <db_name> instead of the first irrelevant crap after the DATABASE keyword.
2006-12-29 08:52:12 +00:00
robocop
fa14062473
Fix CORE-1002
2006-12-28 06:11:28 +00:00
asfernandes
bdc929a0bd
Fixed again (now for MSVCExpress) the problem with international characters crashing ISQL
2006-12-09 00:19:10 +00:00
alexpeshkoff
1a4652f01a
Trusted authentication for windows
2006-12-08 18:38:15 +00:00
alexpeshkoff
fc6c274dcb
Misc
2006-11-30 14:46:26 +00:00
asfernandes
d168869475
Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS
2006-11-24 00:25:13 +00:00
asfernandes
0939d86a57
Some suggestions from Claudio
2006-11-11 00:52:31 +00:00
asfernandes
570b6cd4b4
1) CORE-645 and CORE-745: Database triggers
...
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
asfernandes
1b1830adb9
Misc
2006-09-17 02:31:45 +00:00
mkubecek
c05e35bfd5
use fb_utils::stricmp() to fix POSIX builds
2006-09-16 13:12:44 +00:00
asfernandes
fe2367d643
Misc
2006-09-08 21:13:30 +00:00
robocop
59f4ba9363
Explain why server version cannot be retrieved.
2006-09-08 07:26:24 +00:00
robocop
7e94e15d6f
Implement SHOW SECCLASS command, mostly for core developers' needs.
2006-09-08 05:07:37 +00:00
robocop
0acf16eef8
Misc.
2006-09-07 07:56:25 +00:00
asfernandes
7b4c1c02d5
Display changes suggested by Claudio
2006-09-03 19:27:45 +00:00
asfernandes
8e08d2c25c
Extend SHOW SYSTEM to accept parameters TABLES, FUNCTIONS and COLLATIONS
2006-08-31 16:52:48 +00:00
robocop
56d19d8f53
Centralize detection of those pesky implicit domains.
...
There may be more cases that can use the new function.
2006-08-31 08:01:24 +00:00
asfernandes
e808d69001
Correction - thanks to Claudio
2006-08-29 15:39:00 +00:00
asfernandes
18b57e55b5
Misc
2006-08-27 02:48:51 +00:00
asfernandes
ccdbe63a63
Corrections - thanks to Claudio
2006-08-26 15:46:09 +00:00
asfernandes
6ca9286373
Display system collations in isql SHOW COLLATIONS
2006-08-22 02:27:07 +00:00
asfernandes
b7af27215e
Allow usage of domains in PSQL (with TYPE OF syntax)
2006-08-19 02:52:39 +00:00
asfernandes
0d408405f8
Misc
2006-08-12 16:30:07 +00:00
asfernandes
565f994229
Get the blob charset of XSQLVAR only when relname is empty - thanks to Claudio
2006-08-11 12:31:21 +00:00
asfernandes
d3a7d1b21b
Put blob charset in XSQLVAR::sqlscale
2006-08-08 11:23:47 +00:00
asfernandes
6c707c12a1
Misc
2006-08-08 02:42:10 +00:00
asfernandes
e538061c38
Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations
2006-08-07 16:39:21 +00:00
asfernandes
6d2555a82b
Fix problem of not-nullable blobs being not printed
2006-08-02 12:50:23 +00:00
asfernandes
ccbaf55533
Misc
2006-07-28 01:44:36 +00:00
robocop
6e20b6506d
Misc: announce system functions only when we find them.
2006-07-27 09:28:28 +00:00
dimitr
6b6ba903e4
Forward declaration of enums is not allowed in the C++ language, even although being supported by MSVC.
...
This commit should fix GCC compilation problems.
2006-07-21 07:53:18 +00:00
dimitr
a09dc97d6b
Corrections, thanks to Claudio.
2006-07-20 06:19:25 +00:00
asfernandes
f2c8abb2e7
Correction
2006-07-18 16:01:59 +00:00
dimitr
e7daad878b
Cleanup of some older remainings...
2006-07-18 10:18:41 +00:00
asfernandes
cbe9acb76b
Misc
2006-07-16 20:38:17 +00:00
robocop
4ca73444e5
- Fix message requesting a unique index to request a UK or PK constraint to be able to create a FK: indexes manually created aren't honored.
...
- Commit (without external or self documentation) a debugging features in isql to show dependencies with cryptic. not suite for end users output:
SHOW DEPENendenc[y | ies] obj_name
2006-07-14 06:57:19 +00:00
robocop
acd1d6dcbc
Expand Michal Kubecek's idea to the SHOW command so the object types have more flexibility in their abbreviations. Example: SHOW EXCEP[TIONS] will do with every correct abbrev between 5 and 10 characters.
2006-07-11 07:13:46 +00:00
asfernandes
34a6dd6b9f
Correction
2006-07-01 22:48:42 +00:00
asfernandes
2dc17eeb5e
Misc
2006-07-01 02:21:22 +00:00
mkubecek
6c67b600ca
use TempFile to create temporary files
2006-06-30 19:09:24 +00:00
mkubecek
23ce7eda59
fixed check of fopen() failure
2006-06-30 15:45:03 +00:00
asfernandes
4919fc38c1
Small correction thanks to Claudio
2006-06-28 18:33:31 +00:00
asfernandes
ad4113e863
Implementation of feature-request (CORE-704) Ctrl+C to cancel queries - thanks to Michal Kubecek
2006-06-26 18:24:07 +00:00
mkubecek
a4221daa38
missing Firebird::PathName to C string conversion
2006-06-25 13:21:56 +00:00
asfernandes
b944e7bdc6
Correction
2006-06-15 22:34:49 +00:00
robocop
0914c3a9dd
People using other compilers shouldn't be bothered with workarounds for one compiler, while possible. We already have workarounds for gcc, SunOS4 headers, HP/UX compiler, SCO compiler, Apollo compiler... why adding more for everyone?
2006-06-15 04:56:24 +00:00
asfernandes
6704275f76
Make compilable in MSVC6
2006-06-06 15:42:50 +00:00
alexpeshkoff
ded5cc2c49
cleanup
2006-06-06 10:34:32 +00:00
dimitr
8d1c1ed8c4
Dropped SMALL_FILE_NAMES related constants.
2006-06-02 04:23:41 +00:00
dimitr
3937771826
More complete fix.
2006-06-01 05:56:55 +00:00
dimitr
96b99def48
Fixed issues reported by Michal.
2006-06-01 05:12:38 +00:00
dimitr
7cc12e8489
1) Reworked memory management in SORT. Now we're pools aware there.
...
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00
hvlad
701f2cbda4
Global temporary tables implementation
2006-05-21 22:07:35 +00:00
alexpeshkoff
b056a118b5
1. Avoid use of STL
...
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
robocop
ebe0a75026
Simplification.
2006-05-04 00:02:58 +00:00
aafemt
46c3ee5090
Fix for my previous commit. Thanks to Adriano
2006-04-28 04:12:09 +00:00
aafemt
f5838a4262
Not elegant fix for treating too big statements as an error
2006-04-27 10:57:11 +00:00
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
a90a72232c
Adjust isql to the full words stated in the IB5 docs for the command line options.
2006-04-08 00:03:50 +00:00
alexpeshkoff
543932292f
fixed regression in switch
2006-04-06 14:43:01 +00:00
robocop
c5f2284b15
Style.
2006-04-06 08:18:53 +00:00
mkubecek
4a94466a5a
Fix of isql command line parser: check for repeated switches or database name.
2006-03-28 04:31:35 +00:00
robocop
2484232f23
- Misc.
...
- Style
- Avoiding one indentation level.
2006-03-26 05:58:29 +00:00
asfernandes
3329d9fc07
Correction
2006-03-26 03:34:14 +00:00
mkubecek
332dce9203
Fix of isql command line parser: allow only abbreviations of standard switch names, check integer arguments to be integers.
2006-03-25 23:41:36 +00:00
robocop
6bd28bca87
Misc.
2006-03-25 07:01:34 +00:00
robocop
3ed50872b2
Give isql a more useful help when receiving incorrect command line arguments, in sync with other utilities. Courtesy of Michal Kubecek.
...
Example: isql -?
2006-03-16 09:07:37 +00:00
robocop
c5c56a0043
Fix misleading error message reported by Michal Kubecek.
2006-02-24 09:21:16 +00:00
hvlad
73dcebc962
Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h"
2006-02-03 13:13:27 +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
alexpeshkoff
32ef4f5b67
fixed compilation after changes in exception
2006-01-07 16:58:23 +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
alexpeshkoff
9fa49f5077
make server-version output a bit more readable
2005-12-29 09:32:41 +00:00
alexpeshkoff
4447d705c8
fixed bugs in server version reporting
2005-12-29 08:06:11 +00:00
dimitr
0a19363d98
Fixed stack buffer overrun.
2005-12-27 09:42:40 +00:00
alexpeshkoff
2d259e3978
Fixed buffer overrun in case of bad data returned by isc_database_info()
2005-12-26 16:10:59 +00:00
robocop
39b9a7fb22
Avoid the intermediate buffer.
2005-12-03 07:01:16 +00:00
alexpeshkoff
62a24d46e4
1. Moved data structures, written to database file, into ods.h.
...
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +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
e7fa075880
Let isql yell always, irregardless of the switches.
2005-11-08 23:57:23 +00:00