Commit Graph

739 Commits

Author SHA1 Message Date
ahodgkinson
2e508596bc FTK change. Enabled use of fast checkum routines on all x86 platforms when building with gcc.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@757 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 20:36:41 +00:00
ahodgkinson
9e08e127e8 FTK changes. Added f_calcPacketChecksum() function and corresponding unit tests.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@756 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 20:24:40 +00:00
ahodgkinson
964b602d2f Added ftkFastCheckSumMMX for 32 and 64-bit Intel Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@755 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 19:48:07 +00:00
ahodgkinson
3175324999 FTK changes. Added f_getRandomByte() function and added a unit test for the block checksum routine.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@754 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 16:21:27 +00:00
ahodgkinson
65ec01a749 FTK change. Added native Linux atomic ops on PPC.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@753 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 23:12:02 +00:00
dsandersoremutah
1996f05292 Fixed some signatures for the GetMethodID function.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@752 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 22:35:40 +00:00
dsandersoremutah
204f3c3bb1 Added dbRebuild method to DbSystem class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@751 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 22:30:18 +00:00
dsandersoremutah
6e080deb8f Added more methods for the Db class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@750 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 20:55:27 +00:00
ahodgkinson
6a71caf32f FTK change. Added native atomic routines for Linux on SPARC processors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@749 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 18:43:28 +00:00
dsandersoremutah
7ec3c1754c Added more methods for the Db class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@748 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 16:46:55 +00:00
ahodgkinson
09151de0aa FTK change. Needed to use atomic "barrier" functions on OS X to ensure correct
behavior.


git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@747 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 16:14:17 +00:00
ahodgkinson
7f5cd5051e FTK changes. Added atomic inc-followed-by-dec test.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@746 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-07 19:17:19 +00:00
ahodgkinson
f600920656 FTK changes. Added simple atomic exchange unit test.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@745 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-07 19:12:45 +00:00
ahodgkinson
894499caf4 FTK changes. Added simple atomic increment and decrement unit test.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@744 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-07 18:52:57 +00:00
ahodgkinson
0860382e06 FTK changes. Added more asserts to check for correct list linkages.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@743 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-07 18:16:04 +00:00
dsandersoremutah
2fb1c3e02f Added more methods for the Db class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@742 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-04 22:59:07 +00:00
dsandersoremutah
4558a81c3c Added more methods for the Db class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@741 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-04 21:57:43 +00:00
dsandersoremutah
85eeae8885 Added a getThis() method.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@740 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-04 21:57:24 +00:00
dsandersoremutah
a9b442bd59 Added a bunch of new functions for the F_Db class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@739 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-04 21:57:01 +00:00
dsandersoremutah
ec4f8f7732 javah changed the header file.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@738 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-04 21:56:29 +00:00
dsandersoremutah
9e2fd98d8b Added a bunch of new functions for the F_Db class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@737 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-04 21:56:10 +00:00
dsandersoremutah
9b000235f8 javah generated a new header file.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@736 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-04 21:55:34 +00:00
ahodgkinson
f50f0158a5 FLAIM changes. Added ha_flaim files needed to use FLAIM as a MySQL storage engine.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@735 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-03 19:41:17 +00:00
ahodgkinson
2c4c834092 XFLAIM changes. Minor changes needed due to FTK updates.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@734 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-03 19:25:44 +00:00
ahodgkinson
19c68c08bc FLAIM Changes. Added support for HP-UX built with the native compiler (aCC). Added code to pre-extend the database file(s) when forcing a checkpoint.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@733 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-03 19:24:27 +00:00
ahodgkinson
828f7f8e65 FTK Changes. Added support for HP-UX built with the native compiler (aCC). Added extendFile() method to the file handle class -- this method will increase the size of a file in the most optimal way possible on the host platform.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@732 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-03 19:21:37 +00:00
ahodgkinson
a575399f58 Fixed Linux compiler warning.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@731 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-01 21:15:36 +00:00
ahodgkinson
27bc96c21f Initial support for direct and async I/O on AIX.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@730 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-01 21:11:45 +00:00
ahodgkinson
0e2ba5f0b3 Updated support for AIX.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@729 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-01 19:31:50 +00:00
ahodgkinson
5bb928b5e8 FTK change. According to the documentation posix_* routines do not set errno. Needed to make a couple of code changes to account for this.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@728 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-31 19:06:59 +00:00
ahodgkinson
04514f9da5 FTK/XFLAIM changes. Minor change to the makefile for Ubuntu/SPARC builds.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@727 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-31 15:53:40 +00:00
ahodgkinson
fa756958bc FLAIM change. Minor update to support building on Ubuntu/SPARC.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@726 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-31 15:33:47 +00:00
ahodgkinson
78fe7721a6 FTK change. Fixed compiler warning in release build.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@725 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 22:40:33 +00:00
ahodgkinson
a157ff5fb4 All projects changed to build with -xarch=v8plus when using the Workshop compiler on Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@724 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 22:24:38 +00:00
ahodgkinson
af49935bcb FTK changes. Optimized Solaris file extend operation.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@723 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 21:13:17 +00:00
ahodgkinson
70c4da8400 Optimized file extend operations on Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@722 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 20:46:55 +00:00
ahodgkinson
756f20e042 FTK change. Fixed NetWare compiler warning.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@721 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 18:59:39 +00:00
ahodgkinson
246df64278 FTK change. Various enhancements to F_BlockAlloc::freeBlock().
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@720 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 18:41:14 +00:00
ahodgkinson
b6d6c49428 FTK change. Fixed compile error on Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@719 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 17:32:19 +00:00
ahodgkinson
906729eced FTK change. Allocation of slabs will be done using valloc on various Unix platforms.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@718 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 17:24:28 +00:00
ahodgkinson
5f1f6c5941 FTK change. The hash mask used by the block allocator is now based on the page size or allocation granularity of the platform.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@717 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 17:23:47 +00:00
ahodgkinson
ebea841370 FTK change. Needed to use memalign calls on Linux and Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@716 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 17:00:18 +00:00
ahodgkinson
4397c4d578 XFLAIM change. Rebuild code wasn't handling block checksum errors correctly.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@715 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 16:41:57 +00:00
ahodgkinson
e79bf7ed64 XFLAIM change. Needed to link with advapi32.lib.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@714 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 16:41:22 +00:00
ahodgkinson
5995c95231 SQL change. Needed to link with advapi32.lib.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@713 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 16:41:02 +00:00
ahodgkinson
3c1660328f FLAIM changes. Implemented use of F_BlockAlloc for block cache allocations. Each cache block buffer can now be used for direct I/O. This significantly reduces the overhead associated with reading blocks from disk.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@712 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 16:40:23 +00:00
ahodgkinson
8b1a7c2328 FTK changes. Completed the block cache allocator and added support on Win XP/2003 systems to use SetFileValidData when extending files.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@711 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 16:36:46 +00:00
ahodgkinson
1ce12c0df0 FTK change. First draft of a page-aligned cache block allocator.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@710 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-25 23:06:04 +00:00
dsandersoremutah
a7e6b942f8 Latest round of changes for SQL query optimization.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@709 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-25 22:40:53 +00:00
ahodgkinson
33e39a5d44 XFLAIM change. Needed to pass "nodeps" option to rpmbuild when creating a source RPM.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@708 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-25 16:52:43 +00:00