robocop
f10e1b72eb
Style.
2009-06-27 06:23:36 +00:00
aafemt
24f53abd20
Fix for my previous commit
2009-06-23 11:59:20 +00:00
robocop
a958da87f5
Style.
2009-06-21 05:46:51 +00:00
aafemt
89e77c3e07
Fix parsing of constructions like /*/ and /**/*
2009-06-19 11:17:07 +00:00
asfernandes
bdb85455af
Put apples and oranges in different baskets
2009-06-19 02:03:57 +00:00
robocop
83a1e271d7
Use our common code to deal with NaN and Infinity.
2009-06-17 12:22:27 +00:00
robocop
1faf0f05ba
Fix CORE-2370: SQL Plan greater than 2048 characters is not printed at all in ISQL.
...
This is the client side fix. Server-side fixes will follow.
We should be careful to not upset FB2.1 and before.
2009-06-14 12:28:41 +00:00
robocop
7e7f889768
After asking Alex, he confirms that calling fb_shutdown_callback in isql is for everything except WIN_NT (make code equivalent to previous versions).
2009-06-09 09:48:20 +00:00
robocop
d69d80f56d
Improvement CORE-1171: make floating point's exponential format the same across platforms.
2009-06-09 09:44:28 +00:00
robocop
a1c6c037d8
Misc.
2009-06-09 09:02:31 +00:00
robocop
5e1d8f9b78
Misc.
2009-06-07 10:17:28 +00:00
asfernandes
486962d8c1
Put TempFile in Firebird namespace
2009-06-06 18:39:29 +00:00
robocop
51d3c9b756
Let's use more typical #ifdef to test macros instead o #if.
2009-05-29 11:27:41 +00:00
asfernandes
38a2912669
Misc
2009-05-03 21:57:13 +00:00
robocop
65c9cb6b1e
Use named constants to represent field lengths. In the future it will have to be split between logical length (characters) and physical fields (bytes, for the internal buffers).
2009-05-03 14:08:39 +00:00
robocop
e5b226f7a7
More unused params; style.
2009-05-02 13:00:09 +00:00
robocop
66b1227b22
Unused params, some formatting, cleanup.
2009-05-01 17:21:36 +00:00
alexpeshkoff
8c983fec26
Fixed alignment issues with on-stack vary strings
2009-04-29 14:00:32 +00:00
asfernandes
1c20adb8fc
Misc
2009-04-29 01:52:49 +00:00
robocop
92eee0fac3
Solve the display problem in Windows where
...
select cot(0) + 1 from rdb$database;
produces 1.#INF00000000000
Now it says Infinity but only Windows and Solaris are covered.
2009-04-28 17:15:00 +00:00
robocop
441560c29a
Misc and style.
2009-04-28 14:16:35 +00:00
robocop
896a849e7e
Misc.
2009-04-28 13:11:23 +00:00
asfernandes
debd9eb20d
Fixed CORE-2407 - isql -ex PAGE_SIZE missing in CREATE DATABASE
2009-04-08 16:06:20 +00:00
asfernandes
8c458e45d7
Fixed CORE-2408 - isql -ex puts default values of sp parameters before the NOT NULL and COLLATE flags
2009-04-08 15:43:06 +00:00
asfernandes
283509ad8d
Misc
2009-03-01 15:42:23 +00:00
robocop
49f23ff20c
Little cleanup.
2009-02-28 12:34:48 +00:00
robocop
096d8e78e6
Trying to be more consistent in the detection of headers (HAVE_* macros).
2009-02-08 11:38:00 +00:00
asfernandes
891845836d
CORE-2298 - Add support for "some_col = ? or ? IS NULL" conditions
2009-02-05 14:29:28 +00:00
asfernandes
ced3b0010e
Rollback CORE-2298
2009-01-29 20:36:29 +00:00
asfernandes
9784181a33
Improvement CORE-2298 - Add support for "some_col = ? or ? IS NULL" conditions
2009-01-28 21:37:45 +00:00
asfernandes
f532f6975e
Misc
2009-01-21 15:42:45 +00:00
robocop
e5f2fd24c1
Style.
2009-01-21 04:02:59 +00:00
robocop
3a03e0515c
Style: aligning the opening and ending braces in switch() statements and in large blocks of code.
2009-01-18 11:36:08 +00:00
alexpeshkoff
662434dcbe
fixed gcc warning
2009-01-13 15:56:17 +00:00
alexpeshkoff
7757c6b8cb
Solaris port
2009-01-04 17:46:16 +00:00
asfernandes
a177d28d60
Misc
2008-12-31 20:22:10 +00:00
robocop
7aa0ac1cd4
Shut up compiler warnings (unreferenced vars, uninitialized vars, etc).
2008-12-31 09:36:57 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
alexpeshkoff
755f52124b
Solaris port
2008-12-30 17:58:30 +00:00
robocop
e9be920cc0
Shut up some compiler warnings (some warnings should be enabled again in autoconfig_msvc.h IMHO because hiding our possible mistakes won't help us).
2008-12-30 10:52:52 +00:00
asfernandes
582d837778
Remove trailing spaces from epp files - I had forgot them
2008-12-20 23:50:22 +00:00
asfernandes
5311dd5a5e
Misc
2008-12-20 19:57:43 +00:00
asfernandes
aa1cfb66f2
Correction
2008-12-20 15:17:43 +00:00
robocop
95292d1731
Style.
2008-12-20 08:12:19 +00:00
skywalker
6b3dd235f1
Added isql command SET ROWCOUNT <n> it is a local isql command that
...
limits the number of rows returned in processing. It is a feature
of a number of other databases, but in our case its main use is for
convenience for running the TPC-X tests,
2008-12-18 22:19:32 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb
Remove trailing spaces (.h files)
2008-12-05 00:56:15 +00:00
robocop
9f52942ab0
Style.
2008-12-02 07:09:49 +00:00
alexpeshkoff
1c2ab35c8c
CORE-1667 - fixed message text
2008-12-01 15:46:31 +00:00
asfernandes
a5ff7ca091
Misc
2008-12-01 01:26:27 +00:00
alexpeshkoff
9431183e42
Implemented CORE-1667: Reading password from file/stdin
2008-11-30 17:11:56 +00:00
hvlad
b37e24cf14
Added phase of preliminary confirmation for fb_shutdown process
2008-11-25 10:16:53 +00:00
paulbeach
0e926ab154
Modifications to enable a build on Darwin
2008-10-22 13:15:00 +00:00
asfernandes
d30d6410ea
Misc
2008-06-13 01:42:58 +00:00
alexpeshkoff
cdbe8183ee
Fixed grants display - thanks to Claudio
2008-06-11 12:41:36 +00:00
robocop
46df47034c
Misc.
2008-06-10 12:28:26 +00:00
alexpeshkoff
5f0278b14e
Added GRANTED BY clause to GRANT and REVOKE commands.
...
Fixed CORE-1869: Roles granting/revoking logic differs between 2.0 and 2.1.
2008-06-10 10:55:48 +00:00
alexpeshkoff
a5733f3873
Avoid extra newline when no charsets are defined
2008-06-05 07:14:54 +00:00
alexpeshkoff
ff7cfc717e
Implemented Adriano's suggestion concerning fb_shutdown_callback() - added new parameter
2008-05-22 08:59:45 +00:00
asfernandes
c9202a3767
Misc
2008-05-18 02:02:50 +00:00
alexpeshkoff
86cd8cb6b3
1. Added parameter 'shutdown reason' to fb_shutdown() API call. It's passed to shutdown
...
callback function, and helps to take correct action in it. This fixes CORE-1827: Win32
Embedded Server should pass control to application before calling exit(3).
2. Removed unneeded any more flag in isql and qli, used earlier to distinguish between
kinds of shutdown.
2008-05-16 11:31:57 +00:00
robocop
1cdd4e4126
Clean the sources from VC6 hacks.
2008-05-14 05:17:53 +00:00
asfernandes
ee7a3f5930
Misc
2008-05-13 01:29:38 +00:00
alexpeshkoff
6c93cc3086
Disable ctrl-C processing when running internal SQL statements (API calls) and cleanup
2008-05-12 13:37:30 +00:00
asfernandes
a8cf0131c0
Fixed CORE-1891 - SHOW VIEW shows non-sense information for view fields with expressions
2008-05-09 17:35:38 +00:00
dimitr
9071049788
Let's avoid crashing when no information is returned in the ouput buffer.
2008-04-30 17:48:50 +00:00
alexpeshkoff
0ba2ab7ea7
Make fb_cancel_operation() public API call. Related cleanup.
2008-04-29 09:55:41 +00:00
robocop
d3e036d7b9
Fix CORE-1862.
2008-04-24 10:50:22 +00:00
alexpeshkoff
f9a4fc9dd8
No use copying when src==dest (make valgrind happy)
2008-04-17 10:57:30 +00:00
asfernandes
53f24220f6
Support for default collations in ISQL - SHOW DATABASE and metadata extraction
2008-04-15 15:55:51 +00:00
robocop
e1da13440d
Do not crash on -pag 0
...
Instead, interpret it as SET HEADING OFF
2008-03-28 13:31:12 +00:00
alexpeshkoff
ed25245303
Applied shutdown changes, discussed in fb-devel a week ago.
2008-03-17 16:49:47 +00:00
robocop
d293e5f0d1
Misc.
2008-03-13 11:02:56 +00:00
dimitr
62b48b3bd3
Fixed my own bug. Thanks to Claudio.
2008-03-12 11:02:43 +00:00
dimitr
29694be08d
Change the ISQL output to show SQLSTATE instead of SQLCODE.
2008-03-12 10:18:02 +00:00
dimitr
836ea2c649
Ooops. Fixed my own mistake.
2008-03-11 12:25:15 +00:00
dimitr
570bc2a748
Fixed CORE-1782.
2008-03-11 12:24:01 +00:00
robocop
c6d8b0f46f
Style.
2008-03-05 08:39:26 +00:00
alexpeshkoff
7dacbbbd74
Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
...
Related cleanup.
2008-03-03 17:47:09 +00:00
alexpeshkoff
00c63c1f8d
1. Make signals handling in yValve MT safe.
...
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
robocop
4cbc8d6a2f
Misc.
2008-02-21 13:11:32 +00:00
dimitr
87ef685b67
Fixed CORE-1749.
2008-02-20 10:42:46 +00:00
dimitr
e6c3d9e0de
Fixed crash in ISQL at cleanup time.
2008-02-13 11:53:41 +00:00
alexpeshkoff
02c9c058be
Better fixes for isql problems, thanks to Claudio
2008-01-25 16:48:16 +00:00
alexpeshkoff
80159ff3c5
Fixed assertion in TCS:C_SQL_JOIN_46
2008-01-25 11:28:50 +00:00
alexpeshkoff
43ac380b43
Do not extract system roles
2008-01-25 09:53:17 +00:00
dimitr
59096b3a13
The merge continued.
2008-01-16 07:23:29 +00:00
asfernandes
61a614c878
Misc
2007-10-06 19:08:50 +00:00
robocop
f4c34be345
Fix CORE-1496.
...
In addition, the SHOW command shouldn't mangle object names when requested to display grant-related information (show grants).
2007-10-05 10:25:11 +00:00
robocop
83192cd8c9
Presenting the SHOW USERS command in society (documenting it when user types HELP or ?)
...
:-)
2007-10-04 09:29:04 +00:00
robocop
78e090ec4a
Still trying to adjust isql to fix CORE-1261 completely: now it needs to understand that
...
RDB$PRIMARY<n> are implicit index names and shouldn't be part of a script.
2007-10-04 09:20:04 +00:00
robocop
16b18a9378
Fix CORE-1493.
2007-10-04 09:15:01 +00:00
alexpeshkoff
eb3f6f59df
Fixed CORE-1485: AV when loading messages in msg.fdb
2007-09-28 11:31:46 +00:00
asfernandes
96a6ad5863
Misc
2007-09-19 01:46:45 +00:00
robocop
b495af9497
Adjust the SHOW command for CORE-1261
...
Here, we don't need to follow the syntax as it's only informative.
2007-09-18 06:01:07 +00:00
robocop
b261c3dd72
Change for fix in CORE-1261: the index name can't be omitted in our current syntax if the USING clause appears. Example:
...
CREATE TABLE T (A INTEGER,
CONSTRAINT Z UNIQUE (A) USING DESCENDING INDEX Z);
(The constraint and the index use the same name, but the descending clause forces the using clause and then the index name is mandatory.)
2007-09-18 06:00:18 +00:00
asfernandes
a8355d8e8f
Misc
2007-09-16 16:15:19 +00:00
robocop
eb51d83899
Fix CORE-1261
...
First part: change extract.epp that's for scripts
The counterpart in show.epp (not critical) will be updated later.
2007-09-16 11:16:29 +00:00
robocop
344559bc7b
Post undocumented SHOW USERS command for testing, with permission from Dmitry.
2007-09-16 09:05:21 +00:00
robocop
e256254154
Fix CORE-1465
2007-09-16 09:02:53 +00:00