Commit Graph

659 Commits

Author SHA1 Message Date
ahodgkinson
6f0bdb05c5 FLAIM changes. Changes to use FTK notify lists and the FDB hWaitSem.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@677 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-19 18:27:22 +00:00
ahodgkinson
9600908d36 FTK changes. Added support for notify lists and reader/writer locks.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@676 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-19 18:25:47 +00:00
ahodgkinson
dbee121675 FTK change. Moved include of dlfcn.h closer to the top of the file (so it is included before it is first needed).
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@675 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-19 16:21:22 +00:00
ahodgkinson
dae150e693 SQL changes. Updated everything so that it builds on Windows and uses the new FTK interfaces.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@674 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-17 20:35:20 +00:00
ahodgkinson
e18750d9eb XFLAIM change. Needed to pass uiFileOpenFlags and uiFileCreateFlags into various calls.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@673 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-14 22:32:05 +00:00
ahodgkinson
b8a3f28938 FLAIM change. Fixed misaligned I/O operations.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@672 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-14 22:30:57 +00:00
ahodgkinson
95bb5a0a88 FTK change. Added flag to prevent misaligned I/O operations to occur when a file has been opened in directio mode. This will allow us to find and fix sub-optimal I/O operations.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@671 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-14 22:30:23 +00:00
ahodgkinson
cbc0f955f5 XFLAIM change. Updates to take advantage of slab manager optimizations.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@670 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 22:47:12 +00:00
ahodgkinson
92f5cb4e4b FLAIM change. Fixed memory leak and crash in checkdb utility.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@669 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 22:45:23 +00:00
ahodgkinson
e9ebd6b246 FTK change. Fixed Solaris compile error.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@668 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 21:31:17 +00:00
ahodgkinson
f6479b00d6 FTK change. Need to force a flush when a write extends a file without calling extendFile.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@667 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 21:18:46 +00:00
ahodgkinson
b88f31b616 FTK change. Disabled stack walk in debug mode.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@666 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 21:17:35 +00:00
ahodgkinson
e40de1a521 FLAIM change. Modified RFL truncation size.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@665 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 21:17:04 +00:00
ahodgkinson
71018ac9b5 FLAIM change. Added missing "break" in FlmConfig.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@664 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 21:16:23 +00:00
ahodgkinson
8405755fc8 Fixed Linux compile errors and made changes to pass new paramter to F_SlabManager::resize().
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@663 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 18:44:55 +00:00
ahodgkinson
65ba56e830 Added bPreallocate flag to IF_SlabManager::resize().
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@662 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 18:43:22 +00:00
ahodgkinson
ad14af3a6e FLAIM changes. RFL was truncating the log smaller than the minimum file extend size. This was resulting in a lot of overhead because we would subsequently extend the RFL file when writing.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@661 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 17:43:42 +00:00
ahodgkinson
db572b3b69 FLAIM changes. Fixes to take advantage of slab manager optimizations.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@660 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 17:42:18 +00:00
ahodgkinson
29bb6df069 FLAIM changes. Made non-DIO the default on Unix platforms. Fixed various cache re-size issues.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@659 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 17:41:18 +00:00
ahodgkinson
141c112397 Slab manager improvements to reduce mutex contention. File I/O optimizations for Unix and Windows.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@658 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 17:39:57 +00:00
ahodgkinson
e9d563b53d Fixed issue in XFLAIM. Background threads must be disabled in the destination database when rebuilding.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@657 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-12 15:40:41 +00:00
ahodgkinson
cabd3b05da Fixed problem with f_freeAlignedBuffer on OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@656 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-12 02:01:24 +00:00
ahodgkinson
f721085a15 Reverted to calling fsync on Mac OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@655 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 22:24:43 +00:00
ahodgkinson
da163680f2 Added more asserts to rfl.cpp.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@654 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 21:12:41 +00:00
ahodgkinson
04c8a75de2 Enhanced Unix code for auto-extending files.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@653 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 21:12:04 +00:00
ahodgkinson
f9f8ade96b Fixed Linux compile errors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@652 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 19:46:17 +00:00
ahodgkinson
eacf9625d9 Added support for auto-extending files when writing to minimize filesystem metadata logging.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@651 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 19:40:14 +00:00
ahodgkinson
a6a00bc447 Fixed issue where we weren't reading enough from the base 64 stream when encoding a key for storage in the database.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@650 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 18:06:54 +00:00
dsandersoremutah
af6b797b31 Changed how super file handle is set up - for direct io mode.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@649 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 16:25:17 +00:00
dsandersoremutah
de4599d0b7 Added FLMAPI to thread functions.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@648 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 16:12:38 +00:00
ahodgkinson
ee7d174864 Fixed Linux compile warning.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@647 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 04:17:44 +00:00
ahodgkinson
057af14af9 waitToComplete() method needed to support OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@646 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 03:01:27 +00:00
ahodgkinson
a53f8acaf8 Improved async i/o error handling. Disabled file system caching on OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@645 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 03:00:54 +00:00
ahodgkinson
82f98d78a8 Added support for allocating aligned buffers on Unix platforms that don't provide the memalign() function.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@644 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 03:00:03 +00:00
ahodgkinson
c44e49e82c Added option in FLAIM to disable direct I/O on Linux and Unix platforms. Re-architected the FTK I/O layer and cleaned up the async interfaces.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@643 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-10 23:38:53 +00:00
dsandersoremutah
91816d4c49 Started adding support for SELECT statement.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@642 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-10 23:10:01 +00:00
ahodgkinson
0b1c41a805 Added code to round up to the next 512 byte boundary when writing the log header.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@641 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 23:56:36 +00:00
ahodgkinson
765dbd42f2 Removed extra f_yieldCPU calls from scache.cpp
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@640 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 23:55:21 +00:00
ahodgkinson
adc5cbe2e8 Fixed issues when using GNU make 3.78.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@639 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 20:49:14 +00:00
ahodgkinson
3dc23e1bcd Added support for f_yieldCPU() on Unix platforms.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@638 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 20:47:42 +00:00
ahodgkinson
25871146ba Updated FTK makefile to detect the Sun Studio compiler.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@637 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 19:03:29 +00:00
ahodgkinson
4f9dbe409c Initial support for Solaris 7 and the Sun Forte.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@636 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 18:22:41 +00:00
dsandersoremutah
3e8e003050 Added code for evaluating query expressions against a row.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@635 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 15:47:13 +00:00
dsandersoremutah
30bd367a3d Modifications to add support for more SQL statements.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@634 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-05 15:25:36 +00:00
dsandersoremutah
d60f9efd0c Added default new operators to the F_Object class - ones without file and line number.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@633 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-05 14:42:47 +00:00
dsandersoremutah
45a68cbae2 Fixed getUTF8String to allow a quote to be represented with two double or single quotes in succession.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@632 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-30 22:06:46 +00:00
dsandersoremutah
56656f9bdf Added various functions to F_Db class to support SQL statements.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@631 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-30 21:50:36 +00:00
dsandersoremutah
9103a48ad7 Changed dbRemove to dropDatabase.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@630 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-30 21:50:11 +00:00
dsandersoremutah
8d140c2c04 Modified to use new parsing functions for parsing SQL statements.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@629 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-30 21:49:54 +00:00
dsandersoremutah
7d57a9eae6 Renamed openDb to openDatabase. Added processOpenDatabase.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@628 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-30 21:49:34 +00:00