Patch list for RDM Embedded Version 10.0 10.0.7 24-Sep-2012 Issue Description ----- ------------------------------------------------------------- 2616 Area: tfsr The maximum number of users and files supported by the TFS were hard-wired. These values are now configurable through the tfs.ini file, by specifying parameters maxusers and maxfiles in the [configuration] section. 3062 Area: dbimp There were errors when importing a blob field using CSV dbimport 3084 Area: dbimp The dbimport utility would crash on a csv import if a record name in the import specification file was not in the database 3107 Area: runtime The ini file setting "maxcachepages" for setting the default cache pages value was not working 3108 Area: dbexp Dbexp gave a -904 S_NOMEMORY error when exporting utf8 content to xml 3145 Area: dbcluster dbcluster crashed on databases where deleted records were present in a data file containing a member record type of a set that was being optimized 3172 Area: xml Added support for XML character references, Latin-1 encoding, and to validate UTF-8 support 3176 Area: dbimport A utf-8 byte order marker (bom) in the xml input file would cause the xml import utility to crash 3187 Area: dbdefrag dbdefrag was not adjusting 8-byte DB_ADDR fields that refered to records that were moved during defragmentation. 3190 Area: dbimp dbimp did not report errors when a duplicate value was inserted into a unique key during import from an xml file 3210 Area: lmclear Terminating an application without closing the database could cause users to be locked out 3214 Area: dbimp Importing a base64 value into a char[1][1] field would cause dbimp to abort 3219 Area: runtime If a d_open calls failed before dio_init was processed then the dopen_cleanup call would cause a crash 3498 Area: mirroring Would receive the error message "slave reports -931 error applying database log file" when database log files used hex sequence number instead of decimal values 3921 Area: dbrepair dbrepair was miscalculating the number of members in list when the list was larger than 65535. Was using uint16_t instead of uint64_t 3965 Area: dbrepair Dbrepair would crash due to reading bad owner record data. Also fixed issue where key files were not getting rebuilt 3982 Area: runtime There were situations where a d_connect could return an erroneous S_FAULT error instead of S_SETCLASH 4085 Area: dbdefrag dbdefrag would corrupt the database files on a database with varchar (or varwchar) data if the owners of the vardata fields were relocated and the vardata files were not created with 'compact' 4103 Area: runtime Attempting to open a 8.1 database with RDMe 10.0 resulted in a crash 4276 Area: dbimp dbimport did not process the final line in a csv import text if there were no EOL character before the end of the file 4280 Area: dbimp dbimport now ignores empty csv import lines instead of displaying an error/warning 4305 Area: dbimp Specific error message is now generated if a dbimport specification file is missing the final 'END' or '}' token. Support was also added to dis-allow mismatched open/close types. 4469 Area: dal Database address variables were not handled correctly in dal 4475 Area: dbrepair dbrepair would return "set CRTSERIE_2_PROMO_PRO(62) error: member has null next-pointer but is not last member" when it found orphaned member sets. NOTE: The dbrepair_db database structure has changed - pre-existing instances of this database should be deleted! 4500 Area: ddlp Using the DDLP preprocessor option (-p) generated a 'FATAL ERROR : Parsing Error: no database name' message and did not create the database 4579 Area: dbrev dbrev corrupted set owners whose last member's database address changed. It stored the null database address in the last-member pointer instead of the correct address. 4845 Area: xml XML exported uint8_t and int8_t fields incorrectly on big- endian systems 4852 Area: datdump datdump incorrectly displayed a single char/unsigned char field as a string 4896 Area: dbrepair A loop in the member list for a set would cause dbrepair to get into an infinite loop 4926 Area: dbdefrag dbdefrag would corrupt the delete chain on a database with a deleted slot instead of clearing out the delete chain 4963 Area: dbrev Fixed multiple errors in dbrev 4993 Area: dbexp/dbimp Improved support in xml dbexp/dbimp for binary fields 5015 Area: dbswap Running dbswap on a database could corrupt the set and member tables 5021 Area: dbswap dbswap is now able to handle non-native endian database images 10.0.6 10-May-2011 Issue Description ----- ------------------------------------------------------------- 2614 Area: TFS TFS lock manager module should dynamically resize its request queue as required 2704 Area: examples added the timserver http exension example 2799 Area: TFS Read only transactions should be automatically ended when user disconnection is detected 2838 Area: prdbd prdbd does not display all information for file table 2846 Area: psp PSP_PROGRAM_MAINW macro introduced for the WinCE port should not be public 2848 Area: binaries dbdefrag only removes the deleted record slots at the end of each data file 2852 Area: binaries dbdefrag output to stdout one character too wide for 80 column display 2867 Area: tools ddlp doesn't parse varchar[min, max] correctly 2876 Area: ddl Modified ddlp and the runtime to accept schema with no records. 2878 Area: toold Specifying a struct field in a varchar file causes ddlp to core 2879 Area: tools Modified ddlp to write errors to stderr 2880 Area: ddlp invalid identifier can cause coredump 2881 Area: ddlp ddlp cores when system record is not in a file 2885 Area: binaries dbcheck spuriously reports loop in blob dchain 2887 Area: binaries dbdefrag should defragment blob files 2891 Area: binaries lmclear ignores -a parameter. 2907 Area: cache invalid cache page calculation 2920 Area: dio Order pages sequentially before writing to log file 2926 Area: checkpointer checkpointer doesn't open db files with proper flags 2943 Area: util dbimp crash 3026 Area: build Support for iOS Simulator 10.0.5 25-Mar-2011 Issue Description ----- ------------------------------------------------------------- 2491 Area: tfs Add the ability to avoid calling fsync on log and database files 2492 Area: dbcheck dbcheck now checks for loops in the blob chains in blob files 2598 Area: tfst When using the tfst, attempting to open a database without first calling d_tfsinit() and d_tfsrun() will cause a crash. 2637 Area: psp Memory leak 2692 Area: tfst, dbmirror When a slave is disconnected, the semaphore that prevents commits for finishing was getting cleared. 2777 Area: build Added support for WinCE (Windows Mobile 6.5) 2794 Area: Documentation Documentation for Windows CE / Windows Mobile added. 10.0.4 1-Dec-2010 Issue Description ----- ------------------------------------------------------------- 2385 Area: utilities dbdefrag did not reduce the sizes of database files after removing deleted record slots and key nodes. 2438 Area: binaries Checkpointer fails on VxWorks if TFS task priority is lower than Checkpointer task priority 2464 Area: psp On VxWorks log file detection was not working correctly. This problem was related to defect 2438. 2467 Area: dbimp values larger than INT_MAX are truncated when importing using dbimp 2470 Area: init file descriptors limited to 1024 2477 Area: psp Installing the tfserver as a service failed because of spaces in the path. 2479 Area: Build Error in makefile for Integrity on Linux host 2482 Area: runtime Improved performance with unicode string comparisons. 2484 Area: utilities dbdefrag failed with error -901 after processing the first data file in the database. 2486 Area: TFS In standalone configuration (TFSS) the initdb program and the d_initialize API did not truncate the database files when initializing a database. 10.0.3 27-Oct-2010 Issue Description ----- ------------------------------------------------------------- 2296 Area: dbmirror Do not rely on static initialization on VxWorks. 2327 Area: Build Added support for Green Hills Integrity 5.0.x 2341 Area: xml Support for XML import of unsigned integers added. 2430 Area: libraries On VxWorks, d_fillnew may incorrectly return S_DUPLICATE for a record containing character string unique key. 2436 Area: tools dbrev fails without cache parameter 2451 Area: psp Large file support was not enabled correctly on Unix/Linux 2456 Area: binaries Runtime library causes memory corruption accessing database with more than 1 billion values in a key. 10.0.2 30-Sep-2010 Issue Description ----- ------------------------------------------------------------- 2232 Area: Utility Add dbrepair utility. 2335 Area: build Added support for QNX Neutrino 6.5 on x86 2347 Area: tfs Cleaned up .log.rep files when no .log.arch file exists at startup. 2348 Area: dbrepsql Improve dbrepsql speed 2371 Area: tfst The 'sem' global variable was not getting reset to PSP_NO_SEM when everything was shut down. 2375 Area: binaries When a record was written to the database changes in single-character fields were not detected due to an error in the platform-specific string comparison function. 2381 Area: ddlp ddlp leaks resources on certain failures 2382 Area: runtime optional keys on db_addr fields do not sort correctly 10.0.1 9-Sep-2010 Issue Description ----- ------------------------------------------------------------- 2230 Area: mirroring Improved performance of synchronous mirroring. 2253 Area: dbmirror Improved mirroring performance on the slave. 2258 Area: http http_initURLArgs fails with null values 2261 Area: tfst Improved performance of log file cleanup 2264 Area: dbmirror Improved synchronous master mirroring performance by removing directory search 2271 Area: examples Made the market example schema more portable. 2274 Area: DDLP ddlp does not work with schemas where a record name is the same as a field name except for case 2275 Area: ddlp ddltable.c: add_field function must handle a NULL name if s_flag is set to TRUE 2284 Area: howto Added inmemory and hybrid inmemory examples 2287 Area: data flow updated schemaxlate for new dbd version 2289 Area: psp Increased the performance of reading/writing text files 2291 Area: ddlp Writing text files might get truncated 2293 Area: tfst, dbmirror, dbrep, dbrepsql Improved performance by applying the replication logs in a background thread. 2297 Area: dbrep Prevent a second replogThread from starting 2300 Area: runtime Add option for sorting strings with locale 2301 Area: runtime d_curkey does not set the position for the keys properly 2304 Area: psp psp_snprintf does print out floatingpoint numbers with missing digit in the exponent part 2308 Area: in-memory The max segment size was increased for 64bit OSes, to better support very large in-memory datbases. 2309 Area: dbcheck dbcheck reports erroneous blob errors on a dba4 db 2310 Area: dbcheck There is no reason to report every dchain or key error as the only resolution is to rebuild the delete chain or key file. 2314 Area: Installer Windows installers are now signed. 2325 Area: Packaging A def file was missing from some Windows source packages. 2328 Area: dio The 10.0 cache implemetation does not rely on SHORT prime numbers and therefore the 9.1 page limit no longer applies. 2332 Area: ddlp ddlp -x causes crash 2333 Area: MACROS RDME_ASSERT was not defined correctly on all platforms. 2334 Area: examples Updated examples to work with hosted builds. 2340 Area: in-mem Unix platforms get segbus error if an in-memory database file grows beyond 4-gigs 2343 Area: dbrep Clean up excess rep_tmplog file after a logify 2344 Area: psp Our implementation of stricmp and strnicmp for VxWorks did not stop on the NULL terminator 2345 Area: inmemory N/A 2349 Area: keypack keypack does not work with spanaway