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

317 Commits

Author SHA1 Message Date
asfernandes
4171c16988 Some things discussed with Dmitry and Claudio - rename the new function to fb_print_blr, use ULONG parameter for blr_length and return int 2009-08-03 15:52:48 +00:00
asfernandes
4759973045 Fixed CORE-2576 - Server may crash parsing wrong or truncated BLR
Full rebuild required - CMP_compile2 prototype changed
2009-08-02 04:10:07 +00:00
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
robocop
33bc8670c2 Misc and constants. 2009-07-19 13:31:05 +00:00
robocop
cfb9403481 Warnings. 2009-07-17 09:06:03 +00:00
robocop
8b2682d0ed Misc. 2009-07-17 08:57:13 +00:00
robocop
67c4d03965 Style. 2009-06-28 11:59:30 +00:00
robocop
f10e1b72eb Style. 2009-06-27 06:23:36 +00:00
asfernandes
5dda9c1677 Misc 2009-06-27 03:03:56 +00:00
robocop
7b1b9b6f9f Style. 2009-06-25 10:13:54 +00:00
asfernandes
26c1892310 Misc 2009-06-20 18:46:59 +00:00
robocop
ab2141b5e6 Misc. 2009-06-19 13:00:53 +00:00
robocop
ad28b571ed - Use our common code to deal with NaN and Infinity.
- Get rid of the custom hack to show same number of digits in the exponent for FP numbers in any platform.
2009-06-17 12:23:41 +00:00
asfernandes
486962d8c1 Put TempFile in Firebird namespace 2009-06-06 18:39:29 +00:00
asfernandes
158a05c78d Misc 2009-05-10 15:23:31 +00:00
robocop
85307e8215 Cleanup. 2009-05-07 11:32:24 +00:00
asfernandes
10328dff3b Misc 2009-05-06 02:02:37 +00:00
robocop
d02c711694 Style and misc. 2009-05-05 11:45:58 +00:00
asfernandes
38a2912669 Misc 2009-05-03 21:57:13 +00:00
robocop
d285808243 Detecting values that aren't finite quantities (same fix as in isql). 2009-05-03 14:21:50 +00:00
robocop
8edd8a7cd9 Style and misc. 2009-05-03 14:19:35 +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
robocop
4490f77b06 More unused params. 2009-04-28 13:48:18 +00:00
robocop
4df2839ac2 Misc. 2009-04-22 11:47:19 +00:00
alexpeshkoff
77498cac9b Fixed some warnings 2009-04-03 10:49:07 +00:00
robocop
fab6a3a6cf Get rid of superflous parentheses. 2009-02-28 11:57:40 +00:00
robocop
096d8e78e6 Trying to be more consistent in the detection of headers (HAVE_* macros). 2009-02-08 11:38:00 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33: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
asfernandes
989d851fa3 Misc 2009-01-15 03:46:48 +00:00
robocop
46d7ff6550 Style. 2009-01-14 12:19:43 +00:00
asfernandes
eed6013f7c Misc 2009-01-11 00:40:46 +00:00
robocop
560bb8f5e8 Style. 2009-01-10 10:51:02 +00:00
alexpeshkoff
7757c6b8cb Solaris port 2009-01-04 17:46:16 +00:00
robocop
11e4274b59 Fix logic error in qli message introduced with the conversion to C++ many years ago. 2009-01-02 06:46:37 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
asfernandes
650eed1d8a Misc 2008-12-20 23:47:25 +00:00
alexpeshkoff
8d93bfd032 Fixed CORE-2247: Message and descriptor buffers are not aligned properly in QLI 2008-12-18 14:51:48 +00:00
asfernandes
f4071de0a2 Misc 2008-12-11 01:07:15 +00:00
asfernandes
91e33a91df Misc 2008-12-11 01:05:23 +00:00
robocop
b52ffb6815 Misc. 2008-12-09 08:37:48 +00:00
robocop
ed0546aae5 Style and minor cleanup. 2008-12-09 07:24: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
asfernandes
744e83f240 Misc 2008-12-03 01:05:53 +00:00
robocop
9fd54e45cc Misc. 2008-12-01 09:51:02 +00:00
alexpeshkoff
9431183e42 Implemented CORE-1667: Reading password from file/stdin 2008-11-30 17:11:56 +00:00
alexpeshkoff
2200a681f8 fixed some gcc warning 2008-11-28 18:49:07 +00:00
hvlad
b37e24cf14 Added phase of preliminary confirmation for fb_shutdown process 2008-11-25 10:16:53 +00:00
alexpeshkoff
d8ea120ded AIX port - use FB_ prefix for alignment constants 2008-11-05 11:26:23 +00:00
robocop
3501396254 Get rid of longjmp and setjmp in qli. Due to uninitialized vars, I doubt they were working as expected, anyway. 2008-09-05 10:26:52 +00:00
alexpeshkoff
ff7cfc717e Implemented Adriano's suggestion concerning fb_shutdown_callback() - added new parameter 2008-05-22 08:59:45 +00:00
asfernandes
3d8ad6c414 Correction 2008-05-19 12:10:43 +00:00
asfernandes
a5b53f36ed Correction 2008-05-18 01:59:29 +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
alexpeshkoff
0ba2ab7ea7 Make fb_cancel_operation() public API call. Related cleanup. 2008-04-29 09:55:41 +00:00
robocop
90394ca9c5 Misc. 2008-04-22 11:32:44 +00:00
dimitr
e50478c6b6 Misc. 2008-03-26 10:03:48 +00:00
alexpeshkoff
ed25245303 Applied shutdown changes, discussed in fb-devel a week ago. 2008-03-17 16:49:47 +00:00
alexpeshkoff
d8d8f6c60a Fixed AV when QLI started. I wonder how could it ever work at all? 2008-03-12 12:33:21 +00:00
robocop
82b4aeb939 Cleanup, minimize casts and a bit better error reporting. 2008-03-10 09:08:12 +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
d5a3ea4a2c Style 2008-02-02 17:07:19 +00:00
dimitr
871967363c Started the merge. More tomorrow. 2008-01-15 20:15:58 +00:00
robocop
c2d32e4825 Cleanup from Bill Oliver. 2007-10-27 06:09:00 +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
asfernandes
58c7f356d4 Misc 2007-04-12 02:20:36 +00:00
alexpeshkoff
d63491e3c5 Finished gcc-warnings cleanup 2007-04-11 16:05:40 +00:00
robocop
22decb76f7 Misc. 2007-04-10 10:04:00 +00:00
asfernandes
03f0a55b10 Misc 2007-04-06 18:02:17 +00:00
robocop
345b422633 Inject UserBlob into QLI (not in all places). 2007-04-06 10:10:10 +00:00
robocop
6b4ec2b1d4 Corrections from Adriano. 2007-04-01 13:02:46 +00:00
asfernandes
33c3fd3799 Misc 2007-04-01 00:35:59 +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
63a80b0db6 Misc. 2007-02-23 05:55:37 +00:00
robocop
1053a35548 Some code changes (no functional change expected). 2007-02-22 09:58:56 +00:00
paulbeach
65279c6b97 Fix crash in QLI using the following SQL command. insert into relationx select * from relationy 2007-02-21 10:51:14 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
aafemt
e6151fd57f Warnings 2006-09-01 10:51:57 +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
5a4862f17f Misc 2006-07-02 22:42:12 +00:00
robocop
2fbc33febb We had to bring new force to the project (Michal Kubecek) to remember us that fopen() returns NULL on failure. After his fix, I found more cases that we overlooked for years. 2006-07-01 08:53:50 +00:00
robocop
541fe6c579 It seems that all of Jim's hand-made parsers have had the same bug for 20 years in compilers that treat the "char" type as signed byte internally: they get random character attributes because they apply negative indices (obviously out of bounds) to the array of char attributes for any char value greater than 127. And all of them do their work in slightly but almost equal way... tell me about code redundance! This without losing time fixing unused stuff like jrd/jlx.c. 2006-06-08 05:15:37 +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
robocop
ae51945b18 Misc. 2006-05-20 03:31:05 +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
hvlad
73dcebc962 Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h" 2006-02-03 13:13:27 +00:00
robocop
9dae55a311 Beware of PC_ENGINE in qli: it's used to protect code meant to be marked with EXPRESSION_INDICES instead, therefore probably all places should be enabled unconditionally. At least with one change (this one) it now shows expression indices correctly. 2006-01-26 08:00:41 +00:00
robocop
0d2479158b Misc. 2006-01-17 07:52:14 +00:00
alexpeshkoff
d1ee840d60 fixed gcc warning(s) 2006-01-16 16:49:15 +00:00
alexpeshkoff
17fe0fbbec ported fix from vulcan 2006-01-16 16:46:40 +00:00
alexpeshkoff
729969be72 ported fix from vulcan 2006-01-16 10:01:27 +00:00
dimitr
1293d9fd97 Fixed bug related to expression indices vs. collates, reported by Ivan. 2006-01-15 16:04:39 +00:00
robocop
b67b0219ab Change from getenv to readenv. This is still getenv in Linux/UNIX but GetEnvironmentVariable in Windows. 2006-01-14 04:48:59 +00:00
robocop
1e6d89ebfc Comment excessive dependencies on license.h. 2006-01-07 00:31:37 +00:00