robocop
e5338ba1ed
Only strcmp and strncmp have common names across all plartforms. Cater for differences in strcasecmp/stricmp and strncasecmp/strnicmp.
2006-03-25 07:08:00 +00:00
alexpeshkoff
baa8ede6a8
better support for OS error code in system_call_failed
2006-03-15 17:29:11 +00:00
robocop
f9f26ed891
Sync after Dmitry's changes.
2006-03-08 03:12:01 +00:00
asfernandes
b08ba57248
Move ISC_STATUS_LENGTH and ISC_STATUS_ARRAY to public
2006-03-07 03:11:16 +00:00
robocop
044c5841ad
Misc.
2006-02-10 03:28:43 +00:00
kkuznetsov
528f5a4524
Minor fixes big thanks to Alex and Dmitry
2006-02-09 11:00:36 +00:00
kkuznetsov
079d1a2121
Add 2 aligment fixes templates
2006-02-06 08:13:39 +00:00
robocop
fed6653b17
Sync after Vlad's changes.
2006-02-04 04:20:22 +00:00
hvlad
71b04d901c
New error message
2006-02-03 17:45:46 +00:00
dimitr
8b20d04a8a
1) An attempt to fix the endianess/alignment issues in the b-tree code.
...
2) Some adjustments in the pointers management.
2006-01-26 10:45:02 +00:00
robocop
8e7da59fa6
Sync after Dmitry Yemanov's changes.
2006-01-26 07:21:26 +00:00
robocop
7939c5f3d8
Avoid a crash.
2006-01-08 01:11:06 +00:00
alexpeshkoff
64ac449789
avoid vararg constructors in status_exception
2006-01-07 16:50:13 +00:00
robocop
6a3b45e1da
Misc.
2005-12-27 08:10:00 +00:00
dimitr
430197c4bd
Continued fixing public headers.
2005-12-26 10:31:06 +00:00
robocop
0d4025691a
Make sure gmtime_r is marked as missing in Win32.
2005-12-23 23:32:40 +00:00
robocop
2b2e2d5dd0
Const correctness and the like.
2005-12-23 01:42:40 +00:00
robocop
0253028a5d
This alternative constructor shouldn't be public, but MSVC6 doesn't obey the private clause if there's another constructor made public. Maybe no compiler does.
2005-12-22 06:22:23 +00:00
aafemt
7470059c2a
Move type declarations to appropriate header
2005-12-17 12:55:52 +00:00
dimitr
da625272db
More error messages.
2005-12-12 13:56:56 +00:00
dimitr
a909203774
Added new error messages.
2005-12-12 10:51:02 +00:00
dimitr
df8b67d67d
Fixed 64bit builds.
2005-12-05 13:42:24 +00:00
dimitr
52abeceb5e
Changed location of some defines in order to avoid internals inside ibase.h.
2005-12-05 11:31:45 +00:00
dimitr
96d92682e5
Damn, I'm much sorry.
2005-11-25 05:54:53 +00:00
dimitr
12946de11d
Restored the XCPCODE reporting to be compatible with 1.5.
...
A temporary solution.
2005-10-22 11:09:36 +00:00
dimitr
da3106e9e4
Added new error message.
2005-10-21 09:37:55 +00:00
robocop
860b2f1b9b
Try to please the team leader before it's too late.
...
:-)
We have definitely serious problems with firebird.msg mismatches.
2005-10-20 04:09:40 +00:00
asfernandes
306d4d5f46
Regenerate files
2005-10-13 19:09:04 +00:00
robocop
6ec02b200e
Moved another hardcoded error string to the msg database.
2005-10-07 08:52:51 +00:00
robocop
7d304b0fbb
Fix SF Bug #1292007
...
Move some hardcoded error texts to the msg database.
2005-10-06 06:08:10 +00:00
robocop
b69db887fd
Totally misc.
2005-09-22 07:09:57 +00:00
kkuznetsov
38beb75685
Adding ability to build CS server with threaded services (can be controled throught configure platform varyable
...
service_thread_CS):
1)Add new define STD_UTIL
Build tested Solaris x86 and Linux x86
2005-09-21 08:31:35 +00:00
robocop
aab2d20725
- Get rid of DBB_v3 in DSQL and put a message just in case we find ODS<=7 (impossible in theory, since FB wouldn't open such db).
...
- Put mnemonics for two hardcoded error msgs I hijacked from DYN years ago. Now they are defined for the SQLERR facility.
2005-09-10 07:15:24 +00:00
dimitr
e2b0b80eaf
Fixed the win32 build.
2005-08-19 10:08:46 +00:00
kkuznetsov
97fed5be82
Disabled service threads at boot time for all platform except of WIN_NT
2005-08-19 06:56:08 +00:00
robocop
95cf97005b
Solve Dmitry's compatibility concerns about my solution for SF Bug #494981 . Remember to rebuild the messages db from the scripts in src/msgs.
2005-08-14 06:56:24 +00:00
dimitr
7a343b8162
Moved the Services API into the engine on threadable platforms.
2005-08-10 14:47:42 +00:00
robocop
34f1f5e2c2
Fixed misplaced error messages in gfix. For example, if you do
...
gfix - housekeeping
you were getting "dialect number required".
2005-07-31 01:06:20 +00:00
dimitr
ff06b5f9af
Added new error message.
2005-07-24 18:45:13 +00:00
dimitr
668907912f
Changed the ODS encoding, messaging and protection rules.
2005-06-26 16:11:59 +00:00
asfernandes
890494ac7c
1) Fixed SF #1016040 Missing external libraries causes engine exception
...
2) Use better error messages
2005-06-14 03:16:54 +00:00
robocop
a867f700d0
Substring evolved and the error message was never updated. Now I've done two messages, although I think we need three in the long term.
2005-06-12 23:45:15 +00:00
hvlad
ac03b22901
Regenerated error codes
2005-06-11 21:26:05 +00:00
robocop
3a8cd43a05
Please Dmitry and try to report the line/column of an incomplete statement.
2005-06-11 00:20:22 +00:00
dimitr
d9294d7938
Added new error message.
2005-06-06 13:37:31 +00:00
robocop
b8d1f00f94
- Corrections and changes to Adriano's commit, subject to his inspection.
...
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30:03 +00:00
asfernandes
0f67560006
Make "configure --with-editline" work
2005-05-29 15:27:08 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
robocop
7813fe3402
Fix SF Bug #494981 .
...
If we can print the name of the exception, we do.
2005-05-22 06:13:54 +00:00
robocop
382d5b3432
Fix for first part of field test bug #1173988 .
...
Also, fix for misleading message, use -R switch tal must be use -REP switch.
2005-04-29 05:36:19 +00:00
robocop
f9815af4ea
Updating messages and history after Dmitry's changes.
2005-04-28 05:27:47 +00:00
alexpeshkoff
f4cd5a154f
Changed name to security2.fdb
2005-02-24 12:24:38 +00:00
kkuznetsov
d1a41d7eb2
SOLARIS cleanup
2005-02-17 12:51:13 +00:00
dimitr
5dd85db2ea
Changes and cleanup regarding XNET vs old-style IPC.
2005-01-16 10:21:54 +00:00
robocop
8b573aa0da
Change the license with Mark's permission.
2005-01-12 04:22:32 +00:00
skidder
37739c2c57
Add check for overly long identifiers when pasing BLR. This helps with savepoints problem reported by Vlad and other similar issues as well
2004-12-22 18:34:52 +00:00
robocop
24742873ad
fb_string.h is moved to common/classes.
2004-12-17 05:41:47 +00:00
robocop
244621058d
Change the license with Mike's permission.
2004-12-12 01:55:57 +00:00
robocop
56d557e5b1
Changing the license with permission from Mark, Mike and John.
2004-12-10 20:50:53 +00:00
robocop
950216de4e
Misc.
2004-12-08 05:58:41 +00:00
robocop
516427dae0
Changing the license on John's files after asking him for permission.
2004-12-06 09:58:27 +00:00
alexpeshkoff
ff9eb6f04b
misc
2004-12-05 11:56:38 +00:00
alexpeshkoff
c33cc40ecb
new method in string
2004-11-24 18:23:16 +00:00
robocop
d6535351a2
Misc: style.
2004-11-24 09:22:07 +00:00
skidder
9507cf9714
Context variables support
2004-11-22 20:22:03 +00:00
hvlad
6db033a401
Added new isc_stack_trace error code for PL-SQL stack trace
2004-11-18 13:50:54 +00:00
dimitr
499688434f
1) Reworked error reporting
...
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 15:23:27 +00:00
dimitr
c1cab92cab
1) Reworked error reporting
...
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 14:50:33 +00:00
alexpeshkoff
bb32770a76
restored STL's copy_from - it's useless for us, but safe
2004-11-16 11:38:40 +00:00
alexpeshkoff
ea9e900ab3
cleanup of methods, storing data in plain char*
2004-11-14 18:05:13 +00:00
skidder
dde4d7b557
Commit change adding method used by ClumpletReader/ClumpletWriter
2004-11-11 21:46:25 +00:00
alexpeshkoff
270959b361
security fix
...
added method to save string data into char[] buffer safe
2004-11-07 14:23:36 +00:00
skidder
933063c7ce
Slightly adjust Dmitry's Firebird::TimeStamp class to make it more useful, change is coordiated with Dmitry. Use thread-safe localtime_r routine when it is available
2004-11-04 19:14:20 +00:00
skidder
e2a45653b3
regenerated msgs.h
2004-11-04 18:59:56 +00:00
robocop
41c68bdd70
Implement rdb$description in rdb$generators. What a chore.
2004-10-30 05:23:31 +00:00
robocop
2b3c98520d
Added new message. To be used later (pending changes).
2004-10-25 10:31:59 +00:00
skidder
f01b34ae8e
Regenerated ids.h
2004-10-25 02:56:43 +00:00
skidder
71c2c14bb9
Implement vprintf routine in Firebird::string class
2004-10-09 00:43:04 +00:00
skidder
e075d9f71a
Add comment for a couple ugly aspects of exception handling (they need to be fixed, eventually)
2004-10-08 15:05:44 +00:00
robocop
373b5e27de
Fixed a bug in fatal_exception's constructor that causes fill_status to write garbage in the status vector.
...
Overload what() for the same class. It helps gpre to quit on failures (gpre changes still not posted).
2004-10-07 09:27:34 +00:00
robocop
ac4aa367b9
recalculate_length(),
...
copy_to(), safe copy to a char array,
constness,
style.
2004-10-07 08:35:25 +00:00
alexpeshkoff
07cc528371
Fixed a number of errors in Firebird::string
2004-09-23 07:03:14 +00:00
alexpeshkoff
724dfcd19c
Slightly optimized strings comparison.
2004-09-17 15:02:02 +00:00
skidder
fc0c02d2dc
Add notion of ODS type to wrong_ods error message
2004-09-01 01:08:35 +00:00
skidder
56a42f9765
Use slightly more clear messages during FK violations. Patch submitted by Adriano dos Santos Fernandes
2004-08-31 22:29:59 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
dimitr
4309b20a5e
Added two new error messages.
2004-08-02 19:43:54 +00:00
skidder
b980507ad2
Valgrind support
2004-07-30 22:38:08 +00:00
robocop
b5c374a300
Style
2004-07-09 05:22:46 +00:00
aafemt
bf2ce7ed98
Suppress warning
2004-07-07 10:08:40 +00:00
skidder
407e819789
Fix small inconsistency in string class
2004-07-04 00:00:17 +00:00
skidder
3b062b90b6
Little string class cleanups
2004-06-29 23:31:12 +00:00
skidder
bb175ca5f2
Add forgotten (by me) length checks
2004-06-29 12:41:22 +00:00
skidder
ad6ffddae2
Minor bugfixing/cleanup of string class. I hope this change doesn't break anything, but Alex should look at it
2004-06-26 22:23:19 +00:00
skidder
b5f6dc93df
Disable thread priority scheduler for now because it causes too many random failures during QMDB testing
2004-06-25 01:44:13 +00:00
brodsom
1aa7b9452c
Looking for extra ; at namespace declaration end
2004-06-13 23:45:02 +00:00
brodsom
bf8f359a13
Remove wrong semicolon
2004-06-13 03:09:29 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
alexpeshkoff
9a34ce553c
make bool (isEmpty/hasData) checks for string and stack safe
2004-05-27 16:26:52 +00:00
alexpeshkoff
f25e81f257
restored build of linux classis server's superclient
2004-05-26 16:13:22 +00:00
alexpeshkoff
99dd6b8a03
optimize string performance with the price of 4 additional bytes per string
2004-05-26 16:10:56 +00:00
brodsom
49673436d0
Style
2004-05-23 23:28:26 +00:00
brodsom
372c3de67d
-Replace & remove unneeded threading macro in jrd.h
...
-Move more threading selection to firebird.h
-Replace POSIX_THREADS with USE_POSIX_THREADS
2004-05-22 02:11:56 +00:00
robocop
441817bd82
1.- Misc changes
...
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
skidder
277788de7a
NetBSD port from James K. Lowden
2004-05-20 23:05:02 +00:00
skidder
35b7115d3d
Small 64-bitness fixes
2004-05-20 21:58:15 +00:00
brodsom
6da5532d1b
Style
2004-05-18 23:27:06 +00:00
brodsom
d868de978c
Define macros for ifdefs without value
2004-05-18 21:55:27 +00:00
brodsom
84bfc45134
Macro cleaning
2004-05-15 01:23:26 +00:00
brodsom
141fe5aae7
-Removing c++ comments from public headers
2004-05-14 16:23:41 +00:00
brodsom
121603b35d
-Fix last C++ ISO error (now FB can be built with -pedantic -Wno-long-long)
2004-05-14 14:29:34 +00:00
kkuznetsov
234fdb0e43
Add check for caddr_t to fix compile error on Solaris munmap,
...
some more warnings to prefix solx86gcc, comment historycal pragmas
2004-05-13 14:05:00 +00:00
brodsom
8699aec9c9
-Avoid shadow warning
2004-05-12 19:23:17 +00:00
brodsom
3918a1abba
Removing codes.h
2004-05-10 08:17:15 +00:00
brodsom
4d1085d1bb
Removing codes.h
2004-05-10 08:05:29 +00:00
robocop
802f244ec1
Misc changes
2004-05-09 05:48:33 +00:00
brodsom
62a4b10c22
-Replace define with const
...
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
eku
3dd652eea7
Remainings of ib_stdio
2004-05-03 11:31:57 +00:00
skidder
e9f8ef102e
Fixes needed to make GCC 3.4 happy
2004-05-03 04:25:06 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
ba44794c1e
-Remainings of ib_stdio (Pointed by Claudio)
2004-05-01 14:18:28 +00:00
brodsom
0daa189563
Removing ib_stdio.h
2004-04-28 22:36:29 +00:00
brodsom
c5fb4697cb
Remove unused header
2004-04-27 15:53:25 +00:00
brodsom
afa030b5a2
Update generated header with the actual content
2004-04-23 01:53:17 +00:00
skidder
8bb5ed0e96
Fix problem with 64-bit SS NPTL builds
2004-04-20 05:57:31 +00:00
robocop
59b235cea3
Small corrections
2004-04-10 00:25:22 +00:00
skidder
d1e22bee87
Use llrint() on platforms where it is available
2004-04-09 00:23:58 +00:00
alexpeshkoff
eedaf79c49
added some functionality to string
2004-03-31 18:07:34 +00:00
robocop
68c038d132
More cleanup. Get rid of obsolete files, too.
2004-03-30 08:34:14 +00:00
skidder
f26d84f76b
1. POSIX build libraries export only public API. 2. Unify exports for PROD_BUILD and DEV_BUILD. 3. Support for context memory pools. 4. Memory manager has lower memory overhead exceptionally on 64 bit targets
2004-03-25 23:12:50 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
f58c769c37
Cleanup. In geeky words:
...
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
alexpeshkoff
67f1740fea
Various cleanup to make engine compile and work after mentioned earlier changes.
...
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
alexpeshkoff
7457f71e0f
1) a bit more correct memory allocation debugging
...
2) use AutoStorage to allocate string data
2004-03-14 13:22:16 +00:00
skidder
7fb0574dbd
Please GCC in pool_alloc_rpt template declaration
2004-03-13 08:29:48 +00:00
skidder
1c870a7426
Fix issues in my code spotted by Claudio
2004-03-12 20:19:41 +00:00
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
alexpeshkoff
d261af4111
don't start variables names with underscore - _syscall caused problems with MSVC6
2004-03-01 16:50:26 +00:00
skidder
dc7aab8f9c
Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed
2004-03-01 03:35:23 +00:00
alexpeshkoff
87cf963814
make our class behave MemoryPools friendly
2004-02-28 19:44:04 +00:00
skidder
2c4fe73bd4
Implement new shutdown modes (single-user and full shutdown). Tested on Linux/AMD64 CS and SS
2004-02-25 01:50:40 +00:00
alexpeshkoff
efb64b2aab
Added native firebird::string class.
2004-02-08 17:08:34 +00:00
skidder
db54b0ff4b
Use better macros to detect 64-bit posix. They are non-standard, anyway
2004-01-29 05:56:52 +00:00
skidder
0365f32247
Temporary hack to return Win32 to buildable state. No Win64 port is possible before ULONG name clash is resolved
2004-01-27 18:19:42 +00:00
skidder
67929d482c
Return 32-bit ports to buildable state. Declare SLONG and ISC_LONG as plain integers everywhere
2004-01-26 16:32:54 +00:00
robocop
b441cd9aef
Cleanup
2004-01-13 09:52:19 +00:00
skidder
6973b067ea
Do more AMD64 fixes. libfbstatic builds and can do some basic stuff now
2004-01-12 06:58:27 +00:00
skidder
b7d4438fe7
Disable NATIVE_QUAD on true 64-bit platforms. dtype_quad (enabled by this define) duplicates dtype_int64 and doesn't work. Thus NATIVE_QUAD along with quad* are candidates for cleanup
2004-01-12 05:40:01 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00