Commit Graph

729 Commits

Author SHA1 Message Date
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
ahodgkinson
2dad3b3c41 FLAIM changes. Fixed NetWare compiler warnings.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@707 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-25 15:08:03 +00:00
ahodgkinson
30b1f8fcc8 FLAIM changes. Fixed Solaris compiler warnings in gigatest.cpp.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@706 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-24 20:53:57 +00:00
ahodgkinson
14e8b21d77 FLAIM change. Added option to gigatest to enable/disable direct I/O.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@705 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-24 20:33:22 +00:00
ahodgkinson
2d21c8f900 FLAIM changes. Added gigatest utility.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@704 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-24 19:58:34 +00:00
dsandersoremutah
5792e69d3e Event functions were grouped incorrectly for doxygen
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@703 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-24 18:52:19 +00:00
dsandersoremutah
fbdd3c1ded Query retrieval functions were grouped incorrectly for doxygen.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@702 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-24 17:47:18 +00:00
dsandersoremutah
ab5e1705de Various fixes to get it to compile again. Still needs work.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@701 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-20 23:06:59 +00:00
dsandersoremutah
18d4af31ab Changed setupKeys to allow multiple predicates to be passed in so we can use multiple components of a compound index.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@700 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-20 23:06:30 +00:00
dsandersoremutah
295fafa019 Member variable was misnamed.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@699 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-20 23:05:53 +00:00
dsandersoremutah
3d9ff1fc07 Fixed up uiCost to be ui64Cost. Added setupIndexScan method.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@698 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-20 23:05:33 +00:00