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

1539 Commits

Author SHA1 Message Date
alexpeshkoff
33b4336028 Enhancements of IMetadataBuilder 2013-02-21 14:59:24 +00:00
asfernandes
1d1f81bdc9 Replaced ICoerceMetadata with IMetadataBuilder and add a builder creator method in IMaster.
This change is to make applications who define they own message format (without metadata inspection and coercion) to easily create its IMessageMetadata.
2013-02-20 19:41:01 +00:00
alexpeshkoff
ede0465023 Assertion suggested by Dmitry Kovaalenko 2013-02-20 13:17:32 +00:00
alexpeshkoff
ba9413b26a Add IStatement::getFlags() to help user make a solution what to do with SQL statement 2013-02-19 11:20:49 +00:00
alexpeshkoff
7ab231a713 A number of fixes related with ICoerceMetadata interface - thanks to Adriano 2013-02-18 11:06:52 +00:00
asfernandes
ddc4d4eac3 Misc. 2013-02-17 23:06:40 +00:00
alexpeshkoff
fc12495d0e Modified IStatement interface in our API:
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
   therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
dimitr
bf716e4e3f Cleanup. 2013-02-09 05:47:19 +00:00
asfernandes
d394515355 Misc. 2013-01-31 00:33:23 +00:00
dimitr
0c2a0fead7 This trivial optimization saves a few percents of performance when reading/writing DBKEYs from/to compatible local variables. 2013-01-24 09:30:38 +00:00
alexpeshkoff
f1ac4750f6 warning 2013-01-15 11:39:41 +00:00
hvlad
44b00c81e7 VC10 still have no support for __func__ 2012-12-20 10:42:36 +00:00
asfernandes
9b72aa53bc Misc. 2012-12-19 00:56:57 +00:00
alexpeshkoff
b3f9759960 Take locks in AST before building tdbb
Fixed assertion in CCH_exclusive_attachment 
Rolled back my changes required to let cancelOperation() enter engine after shutdown
Better locks' history in SyncObject
2012-12-18 13:54:18 +00:00
dimitr
d85bbd6c87 Fixed (mostly) the Windows build. 2012-12-15 08:07:39 +00:00
alexpeshkoff
c7454a49a5 Work in progress (committed due to SF upgrade). Checked only on SS.
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
dimitr
bc1edae943 Added the initialization timestamp to shmem regions. Modified the lock print output to report this timestamp. This is useful to know as all the counters inside the lock table are incremental and a baseline is required to make any time-based estimations. 2012-12-06 08:13:45 +00:00
asfernandes
9727c2685b Misc. 2012-12-02 01:45:18 +00:00
dimitr
21ac7882da Misc. 2012-11-20 17:12:25 +00:00
dimitr
afe6692c18 Misc. 2012-11-20 16:34:54 +00:00
dimitr
2f7643a689 Better sync with Firebird::Array. 2012-11-20 16:32:20 +00:00
alexpeshkoff
123d5b0a40 Misc 2012-11-12 08:51:41 +00:00
alexpeshkoff
dcd019400a Frontported forgotten change from 2.5 2012-11-05 08:20:57 +00:00
asfernandes
6a0a6f2d13 Misc. 2012-11-05 01:14:04 +00:00
hvlad
4875c235a7 Fixed Windows build after recent Alex's changes 2012-11-03 10:55:16 +00:00
alexpeshkoff
57e5936d44 Avoid use of namespace Jrd in common file isc_sync 2012-11-02 16:27:12 +00:00
alexpeshkoff
c5278dea9b Removed debugging 2012-11-02 15:39:37 +00:00
alexpeshkoff
4ca6e669fe 1. Fixed CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot.
2. Cleanup: avoid functional style in stuff exception.
2012-11-01 11:40:18 +00:00
dimitr
b37c76561c Wiped out the code that never worked due to the missing support for native quads. 2012-11-01 01:45:01 +00:00
dimitr
3dd0507b96 Wiped out the code that never worked due to the missing support for native quads. 2012-11-01 01:36:27 +00:00
asfernandes
8ce4b582f4 Fixed CORE-3946 - UNICODE collations does not work with ICU 49. 2012-10-11 15:58:57 +00:00
hvlad
41c3f6f2a5 Fix compilation 2012-10-08 21:52:31 +00:00
asfernandes
e339e46732 Fixed CORE-3947 - Wrong results when the column with collation using option (NUMERIC-SORT=1) is in where clause. 2012-10-05 19:02:32 +00:00
alexpeshkoff
51014eba78 Front-ported fix for CORE-3740: SELECT using IN list with >413 elements causes crash 2012-08-29 13:20:24 +00:00
dimitr
7869eb9bbd Fixed the server crash in Stack::assign(). 2012-08-13 16:50:57 +00:00
robocop
f601bbdb8b Misc. 2012-08-08 02:20:30 +00:00
mkubecek
2257f7d6ed Do not prepend DatabaseAccess paths to connection strings. 2012-07-24 07:54:48 +00:00
dimitr
19eaa2f355 Wiped out the legacy compatibility option. 2012-07-11 12:54:08 +00:00
asfernandes
b31f4d9b94 Frontport UUID fixes (CORE-3238 and CORE-3887). 2012-07-11 01:56:37 +00:00
alexpeshkoff
dbe4674d1c Fixed for posix CORE-3875: GBak does not check correctly parameters and backups random database with -B ":" 2012-06-27 11:53:08 +00:00
alexpeshkoff
d54b20443b No need in entry for this type of plugins in conf file - plugin name is taken from SQL command or DB header 2012-06-25 13:02:51 +00:00
alexpeshkoff
b91c68bb30 Cross-build support + android port: work in progress, currently can build fbclient for android 2012-06-22 11:39:24 +00:00
alexpeshkoff
477e14a820 Implemented CORE-2666: Make it possible to use API to do remote backups/restores 2012-06-20 11:47:30 +00:00
dimitr
2b91f6fcbc Removed the faulty debug break and reworked the code a bit to be more useful. 2012-06-18 16:51:30 +00:00
alexpeshkoff
ec99aff55f Implemented CORE-3594: Include expected and actual string length into error message 2012-06-06 11:06:31 +00:00
alexpeshkoff
2a01e4bcf9 Implemented CORE-3861: Make it possible to encrypt database
Also some cleanups, the most important are:                                                                                                                   
- meaningful ctor on Jrd::Lock, helping to avoid code dup                                                                                                     
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
robocop
844b15bd13 Misc and style. 2012-05-20 10:00:52 +00:00
asfernandes
a2b389f1db Getting rid of dsql_nod. 2012-04-25 01:42:47 +00:00
asfernandes
580172419b Misc. 2012-04-23 00:48:28 +00:00
alexpeshkoff
be7c05022c Fixed 32-bit posix build 2012-04-21 05:16:16 +00:00