summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Maria - WL#3134 Key cache to Page cache conversionunknown2006-11-167-99/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving the test_pagecache_ tests from mysys to unittest/mysys. Means fixing includes to work with the new directory, some Makefile.am editing, replacing memset() with bfill(). test_page_cache_*.c renamed to mf_pagecache_*-t.c (-t is the standard suffix for tests in the mytap protocol). Also added plan() and exit_status() calls to tests. Sanja, I put some TODOs for you at the start of mf_pagecache_*.c unittest/mysys/test_file.h: Rename: mysys/test_file.h -> unittest/mysys/test_file.h mysys/Makefile.am: pagecache test files move to top/unittest/mysys mysys/mf_pagecache.c: my_bit.h needed to compile. unittest/mysys/Makefile.am: INCLUDES is a better place for includes than AM_CPPFLAGS (the latter get overriden by prog_CPPFLAGS, which is not desirable here). Adding pagecache's test programs (moved from mysys); test_pagecache_* has been renamed to mf_pagecache*-t (-t is the required suffix for test executables in the mytap framework). unittest/mysys/mf_pagecache_consist.c: fixing includes to work with the new directory. The test must return an exit code informing if any part failed. TODOs for Sanja. unittest/mysys/mf_pagecache_single.c: fixing includes to work with new directory. adding a plan() to account for the number of tests. Adding exit_status() to tell how many tests failed. memset() was giving a compilation warning (implicit declaration etc), properly due to me removing stdio.h etc, so I replaced it with bfill(). TODOs for Sanja. unittest/mysys/test_file.c: moved from mysys (piece of the page cache tests) and includes fixed.
* fixed typounknown2006-11-151-0/+0
| | | | | storage/maria/CMakeLists.txt: Rename: storage/maria/_MakeLists.txt -> storage/maria/CMakeLists.txt
* Merge desktop.sanja.is.com.ua:/home/bell/mysql/bk/mysql-mariaunknown2006-11-144-75/+169
|\ | | | | | | | | | | | | into desktop.sanja.is.com.ua:/home/bell/mysql/bk/work-maria-pagecache
| * postreview fixesunknown2006-11-133-75/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed bug in the pagecache which lead to assertion in multithread test include/pagecache.h: post review fixes: - comments fixed - types fixed - keyword 'extern' added to all interface functions mysys/mf_pagecache.c: postreview fixes: - comments fixed and added - types fixed - typo fixed Added write locking flag set when we took a block from LRU and going to free it (to prevent locking/using it for write) mysys/test_pagecache_consist.c: pagecache size reduced (to be able reproduce problems found by Guilhem) typo in the comment fixed
| * This is not supposed to be pushed, it is just to check of source of mac os ↵unknown2006-10-151-0/+0
| | | | | | | | | | | | | | problems storage/maria/_MakeLists.txt: Rename: storage/maria/CMakeLists.txt -> storage/maria/_MakeLists.txt
* | make it possible to use the tree on caseinsensitive file systemsunknown2006-11-141-26/+0
| | | | | | | | | | BitKeeper/deleted/.del-cmakelists_.txt: Delete: storage/maria/cmakelists_.txt
* | Merge bk-internal.mysql.com:/home/bk/mysql-mariaunknown2006-11-122-5/+8
|\ \ | | | | | | | | | | | | | | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-maria
| * | minor unittest fixesunknown2006-11-122-5/+8
| | | | | | | | | | | | | | | | | | | | | storage/maria/lockman.c: restore removed lines storage/maria/unittest/lockman2-t.c: fix the plan
* | | Maria: importing change made to MyISAM's mi_test_all, into Maria's ma_test_allunknown2006-11-101-1/+2
|/ / | | | | | | | | | | | | | | | | | | | | This makes an expected warning message about the index file's size, go away, as intended. storage/maria/ma_test_all.sh: importing change made to MyISAM's mi_test_all, into Maria's ma_test_all This makes an expected warning message about the index file's size, go away, as intended.
* | Merge bk-internal.mysql.com:/home/bk/mysql-mariaunknown2006-11-109-32/+1344
|\ \ | | | | | | | | | | | | | | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-maria
| * | commentsunknown2006-11-104-59/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | storage/maria/tablockman.c: comments. bugfix - a special case in release_locks storage/maria/unittest/lockman1-t.c: updated storage/maria/unittest/lockman2-t.c: new tests
| * | lock manager optimized for table locksunknown2006-11-098-29/+1165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | storage/maria/unittest/lockman1-t.c: New BitKeeper file ``storage/maria/unittest/lockman1-t.c'' storage/maria/tablockman.c: New BitKeeper file ``storage/maria/tablockman.c'' storage/maria/tablockman.h: New BitKeeper file ``storage/maria/tablockman.h'' storage/maria/unittest/lockman2-t.c: New BitKeeper file ``storage/maria/unittest/lockman2-t.c''
| * | fix dynarray_idxes_in_prev_level[] valuesunknown2006-10-301-3/+5
| | |
* | | Maria: fix for a bug in the transaction's manager and a bug in unknown2006-11-082-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the unit test of the control file module. storage/maria/trnman.c: fix for a bug (i has to be in [1..SHORT_TRID_MAX]) storage/maria/unittest/ma_control_file-t.c: corrupted checksum is in buffer[0], not in buffer[1]
* | | Manually importing Ingo's fix for BUG#22119unknown2006-10-303-17/+162
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Changing MI_KEY_BLOCK_LENGTH makes a wrong myisamchk" in the Maria tree as it is really needed to get "ma_test_all" to pass (this bug showed up in Maria first, not in MyISAM). Now ma_test_all does not have corruption messages about test2 anymore, and shows the same output as mi_test_all except that ma_test_all has this at the start: lt-maria_chk: MARIA file test1 lt-maria_chk: warning: Size of indexfile is: 8192 Should be: 16384 MARIA-table 'test1' is usable but should be fixed This was already true before importing the bugfix. Wonder if normal. NOTE: this bugfix is currently in 5.1-engines, in a few days will be in the main 5.1, then we'll merge 5.1 into Maria: this will merge the bugfix into storage/myisam, but there will be no need to apply it to storage/maria again. I just couldn't wait a few days for the 5.1-engines->5.1 merge to be allowed. mysql-test/r/maria.result: result update mysql-test/t/maria.test: test for BUG#22119 storage/maria/ma_check.c: fix for BUG#22119
* | Merge bk-internal.mysql.com:/home/bk/mysql-mariaunknown2006-10-2712-221/+300
|\ \ | | | | | | | | | | | | | | | | | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-maria storage/maria/trnman.c: Auto merged
| * | comments, minor changesunknown2006-10-276-62/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- comments mysys/lf_alloc-pin.c: comments mysys/lf_dynarray.c: comments mysys/lf_hash.c: comments, charset-aware comparison storage/maria/trnman.c: comments storage/maria/unittest/lockman-t.c: test case for a bug unittest/mysys/my_atomic-t.c: removed mistakenly copied line
| * | include/my_atomic.h: commentunknown2006-10-231-0/+34
| | | | | | | | | | | | | | | include/my_atomic.h: comment
| * | trnman_destroy returns void, remove unused variablesunknown2006-10-232-6/+5
| | | | | | | | | | | | | | | storage/maria/trnman.h: trnman_destroy returns void
| * | make sure all test threads really exit before main() - workaround forunknown2006-10-223-139/+107
| | | | | | | | | | | | | | | | | | | | | NPTL bug in some linux kernels (Bug#22320)
| * | less confusing and more correct name for my_atomic_swapunknown2006-10-215-18/+18
| | |
* | | malloc() failure is unlikely().unknown2006-10-211-1/+1
|/ / | | | | | | | | storage/maria/trnman.c: malloc() failure is unlikely
* | more post-review fixes - comments, renames, error checks in unit testsunknown2006-10-207-28/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | concurrency bug in lock manager include/my_global.h: compile-time assert macro mysys/my_atomic.c: use compile_time_assert() macro storage/maria/lockman.c: bug in concurrent lockdelete (with retries) storage/maria/trnman.c: more post-review fixes - comments, renames storage/maria/trnman.h: more post-review fixes - comments storage/maria/unittest/lockman-t.c: friendlier error checks storage/maria/unittest/trnman-t.c: friendlier error checks
* | commentsunknown2006-10-191-34/+159
| |
* | post-review fixes (style)unknown2006-10-197-144/+186
| | | | | | | | | | include/lf.h: comments
* | lock manager passed unit testsunknown2006-10-189-182/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | storage/maria/trnman.c: comments include/my_dbug.h: make DBUG_ASSERT always a statement storage/maria/lockman.h: comments include/lf.h: lf_pinbox - don't use a fixed-size purgatory. mysys/lf_alloc-pin.c: lf_pinbox - don't use a fixed-size purgatory. mysys/lf_hash.c: lf_pinbox - don't use a fixed-size purgatory. storage/maria/lockman.c: removed IGNORE_ME/UPGDARED matching - it was wrong in the first place. updated for "lf_pinbox - don't use a fixed-size purgatory" storage/maria/unittest/lockman-t.c: IGNORE_ME/UPGRADED pair counting bugtest. more tests unittest/mysys/my_atomic-t.c: lf_pinbox - don't use a fixed-size purgatory.
* | Merge bk-internal.mysql.com:/home/bk/mysql-mariaunknown2006-10-1345-181/+3059
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-maria configure.in: Auto merged include/my_global.h: Auto merged include/my_sys.h: Auto merged mysys/Makefile.am: Auto merged sql/item_func.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_test.cc: Auto merged storage/maria/Makefile.am: Auto merged storage/maria/ha_maria.cc: Auto merged storage/myisam/ha_myisam.cc: Auto merged unittest/Makefile.am: Auto merged unittest/mysys/my_atomic-t.c: merged
| * push for trnman reviewunknown2006-10-1322-546/+1653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (lockmanager still fails unit tests) BitKeeper/deleted/.del-Makefile.am~4375ae3d4de2bdf0: Delete: unittest/maria/Makefile.am configure.in: silence up configure warnings, don't generate unittest/maria/Makefile include/atomic/nolock.h: s/LOCK/LOCK_prefix/ include/atomic/x86-gcc.h: s/LOCK/LOCK_prefix/ include/atomic/x86-msvc.h: s/LOCK/LOCK_prefix/ include/lf.h: pin asserts, renames include/my_atomic.h: move cleanup include/my_bit.h: s/uint/uint32/ mysys/lf_dynarray.c: style fixes, split for() in two, remove if()s mysys/lf_hash.c: renames, minor fixes mysys/my_atomic.c: run-time assert -> compile-time assert storage/maria/Makefile.am: lockman here storage/maria/unittest/Makefile.am: new unit tests storage/maria/unittest/trnman-t.c: lots of changes storage/maria/lockman.c: many changes: second meaning of "blocker" portability: s/gettimeofday/my_getsystime/ move mutex/cond out of LOCK_OWNER - it creates a race condition that will be fixed in a separate changeset increment lm->count for every element, not only for distinct ones - because we cannot decrease it for distinct elements only :( storage/maria/lockman.h: move mutex/cond out of LOCK_OWNER storage/maria/trnman.c: move mutex/cond out of LOCK_OWNER atomic-ops to access short_trid_to_trn[] storage/maria/trnman.h: move mutex/cond out of LOCK_OWNER storage/maria/unittest/lockman-t.c: unit stress test
| * Merge bk-internal.mysql.com:/home/bk/mysql-mariaunknown2006-09-2041-160/+1936
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-maria configure.in: Auto merged include/Makefile.am: Auto merged mysys/Makefile.am: Auto merged mysys/my_bitmap.c: Auto merged sql/item_func.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged storage/maria/ha_maria.cc: Auto merged storage/myisam/ha_myisam.cc: Auto merged storage/maria/Makefile.am: merged unittest/Makefile.am: merged
| | * renamed global variablesunknown2006-08-233-16/+12
| | |
| | * lf_hash: only data nodes use lf_alloc now, dummy nodes areunknown2006-08-171-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | malloc'ed directly mysys/lf_hash.c: only data nodes use lf_alloc now, dummy nodes are malloc'ed directly
| | * maria transaction manager with unit testsunknown2006-08-1712-77/+495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/lf.h: few lf API changes mysys/lf_alloc-pin.c: few lf API changes mysys/lf_dynarray.c: few lf API changes mysys/lf_hash.c: few lf API changes storage/maria/Makefile.am: transaction manager unittest/Makefile.am: maria transaction manager unittest/mysys/my_atomic-t.c: ensure that values are positive storage/maria/trxman.h: New BitKeeper file ``storage/maria/trxman.h'' unittest/maria/Makefile.am: New BitKeeper file ``unittest/maria/Makefile.am'' unittest/maria/trxman-t.c: New BitKeeper file ``unittest/maria/trxman-t.c'' storage/maria/trxman.c: comment clarified
| | * fixes for inline bit functionsunknown2006-08-114-0/+4
| | |
| | * Merge janus.mylan:/usr/home/serg/Abk/mysql-5.1unknown2006-08-1030-154/+1508
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-maria include/my_global.h: Auto merged include/my_sys.h: Auto merged sql/ha_myisam.cc: Auto merged sql/item_func.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged storage/myisam/mi_create.c: Auto merged storage/myisam/mi_test2.c: Auto merged storage/myisam/myisamchk.c: Auto merged include/Makefile.am: merged unittest/mysys/my_atomic-t.c: merged
| | | * amd64 atomic opsunknown2006-08-1030-154/+1508
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lock-free alloc (WL#3229), lock-free hash (WL#3230) bit functions made inline include/Makefile.am: lf.h added mysys/Makefile.am: lf_hash.c lf_dynarray.c lf_alloc-pin.c include/atomic/nolock.h: amd64 atomic ops include/atomic/rwlock.h: s/rw_lock/mutex/g include/atomic/x86-gcc.h: amd64 atomic ops try PAUSE include/my_global.h: STATIC_INLINE mysys/mf_keycache.c: make bit functions inline mysys/my_atomic.c: STATIC_INLINE mysys/my_bitmap.c: make bit functions inline sql/ha_myisam.cc: make bit functions inline sql/item_func.cc: make bit functions inline include/my_atomic.h: STATIC_INLINE mysys/my_bit.c: make bit functions inline sql/sql_select.cc: make bit functions inline storage/myisam/mi_create.c: make bit functions inline storage/myisam/mi_test2.c: make bit functions inline storage/myisam/myisamchk.c: make bit functions inline mysys/my_init.c: thread_size moved to mysys sql/mysql_priv.h: thread_size moved to mysys sql/set_var.cc: thread_size moved to mysys include/my_sys.h: thread_size moved to mysys sql/mysqld.cc: thread_size moved to mysys sql/sql_parse.cc: thread_size moved to mysys sql/sql_test.cc: thread_size moved to mysys include/lf.h: dylf_dynarray refactored to remove 65536 elements limit mysys/lf_alloc-pin.c: dylf_dynarray refactored to remove 65536 elements limit mysys/lf_dynarray.c: dylf_dynarray refactored to remove 65536 elements limit mysys/lf_hash.c: dylf_dynarray refactored to remove 65536 elements limit unittest/mysys/my_atomic-t.c: fix to commit (remove debug code)
| | * | Merge janus.mylan:/usr/home/serg/Abk/mysql-5.1unknown2006-08-103-32/+8
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-maria configure.in: Auto merged
* | | | Merge of recent MyISAM changes into Maria. Testsuite passes as muchunknown2006-10-1119-222/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as in the main 5.1 (partition and ndb_alter_table fail). mysql-test/r/maria.result: merge from MyISAM mysql-test/r/ps_maria.result: merge from MyISAM mysql-test/t/maria.test: merge from MyISAM sql/mysql_priv.h: fix after wrong merge sql/mysqld.cc: fix after wrong merge sql/set_var.cc: adding _db like other engines have storage/maria/Makefile.am: merge from MyISAM storage/maria/ha_maria.cc: merge from MyISAM storage/maria/ha_maria.h: merge from MyISAM storage/maria/ma_check.c: merge from MyISAM storage/maria/ma_delete.c: merge from MyISAM storage/maria/ma_init.c: maria_inited should rather be my_bool storage/maria/ma_locking.c: merge from MyISAM storage/maria/ma_packrec.c: merge from MyISAM storage/maria/ma_panic.c: maria_panic() should not take mutex if engine has not been inited. storage/maria/ma_rkey.c: merge from MyISAM storage/maria/ma_write.c: merge from MyISAM storage/maria/maria_def.h: merge from MyISAM. maria_inited is needed for maria_panic(). storage/maria/maria_ftdump.c: merge from MyISAM
* | | | Merge gbichot3.local:/home/mysql_src/mysql-5.1-cleanunknown2006-10-10159-926/+51763
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into gbichot3.local:/home/mysql_src/mysql-maria BitKeeper/etc/ignore: auto-union BUILD/SETUP.sh: Auto merged Makefile.am: Auto merged configure.in: Auto merged config/ac-macros/plugins.m4: Auto merged storage/myisammrg/ha_myisammrg.h: Auto merged unittest/Makefile.am: Auto merged BitKeeper/triggers/post-commit: merge include/my_base.h: merge libmysqld/Makefile.am: merge mysql-test/mysql-test-run.pl: merge mysys/Makefile.am: merge sql/Makefile.am: merge sql/handler.h: merge sql/item_func.h: merge sql/mysql_priv.h: merge sql/mysqld.cc: merge sql/set_var.cc: merge sql/set_var.h: merge sql/sql_class.h: merge storage/csv/ha_tina.cc: merge storage/myisam/Makefile.am: merge storage/myisam/ha_myisam.cc: merge storage/myisam/ha_myisam.h: merge storage/myisam/mi_check.c: merge storage/myisam/mi_delete.c: merge storage/myisam/mi_dynrec.c: merge storage/myisam/mi_packrec.c: merge storage/myisam/mi_unique.c: merge storage/myisam/mi_write.c: merge storage/myisam/myisamdef.h: merge
| * | | | Maria: fixes for build failures in pushbuild. Comments, fixing of function ↵unknown2006-09-213-11/+23
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | names. mysys/mf_pagecache.c: comments fixing. More comments. pagecache_ulock_block->page_unlock_block sql/mysqld.cc: MyISAM is always enabled so Maria needs have_maria which MyISAM does not need. This should fix a link failure in pushbuild storage/Makefile.am: force myisam to be built before maria (will not be needed when Maria does not depend on MyISAM anymore)
| * | | Maria, very minor changes.unknown2006-09-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysys/Makefile.am: test_pagecache* programs need to link with dbug (I used BUILD/compile-pentium64-valgrind-max) mysys/mf_pagecache.c: unused constant
| * | | WL#3234 Maria Control file managerunknown2006-09-155-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | last round of fixes to the storage engines' and plugins' unit tests structure. Will extract a total patch and push it in 5.1 as has been approved. Makefile.am: unittest must be before storage and plugin, because engine and plugin may have unit tests which link with libtap which is found in unitttest. config/ac-macros/plugins.m4: When enabling an engine/plugin, add its directory to the list of directories where unit tests should be searched. That is, its directory will be recursively searched by our unit test framework which will execute any executable *-t file. storage/maria/ma_control_file.c: those my_message pollute the output of unit tests. storage/maria/plug.in: When Maria is enabled, add its unittest Makefile. unittest/Makefile.am: plugins too
| * | | WL#3071 Maria checkpoint:unknown2006-09-1410-22/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changing pseudocode to use the structures of the Maria pagecache ("pagecache->changed_blocks" etc) and other Maria structures inherited from MyISAM (THR_LOCK_maria etc). mysys/mf_pagecache.c: comment storage/maria/ma_checkpoint.c: changing pseudocode to use the structures of the Maria pagecache ("pagecache->changed_blocks" etc) and other Maria structures inherited from MyISAM (THR_LOCK_maria etc). storage/maria/ma_checkpoint.h: copyright storage/maria/ma_control_file.c: copyright storage/maria/ma_control_file.h: copyright storage/maria/ma_least_recently_dirtied.c: copyright storage/maria/ma_least_recently_dirtied.h: copyright storage/maria/ma_recovery.c: copyright storage/maria/ma_recovery.h: copyright storage/maria/unittest/Makefile.am: copyright
| * | | WL#3234 Maria control fileunknown2006-09-127-34/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes after Brian's and Serg's comments: storage engine's unit tests are now in storage/<engine>/unittest instead of unittest/storage/<engine> BitKeeper/deleted/.del-Makefile.am~78ea2e42d44d121f: Delete: unittest/storage/maria/Makefile.am BitKeeper/deleted/.del-Makefile.am~80497dbf1a80bdf3: Delete: unittest/storage/Makefile.am storage/maria/unittest/ma_control_file-t.c: Rename: unittest/storage/maria/ma_control_file-t.c -> storage/maria/unittest/ma_control_file-t.c config/ac-macros/plugins.m4: we change from unittest/storage/<engine>/ to storage/<engine>/unittest: if the engine is enabled has such a directory, build this directory, and add it to the list of unit tests to run. configure.in: this dir does not exist anymore storage/maria/Makefile.am: to build Maria unittests, libmaria must be built. unittest/Makefile.am: unittest/storage is removed. target "unitests" is defined at "configure" time based on enabled engines. storage/maria/unittest/Makefile.am: simple Makefile.am to build ma_control_file-t
| * | | WL#3234 Maria control file manager.unknown2006-09-1110-351/+592
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fitting ma_control_file_test into the mytap unittest framework: new directories: - unittest/storage/ for unit tests of any storage engine - unittest/storage/maria for ... Maria, containing ma_control_file-t. Later, older tests like ma_test*, ma_test_all (but which is Unix dependent in its current form) could move here too. The plugins macro enable building of unittest/storage/X for any enabled engine X which has such a directory. If Falcon wants to have unit tests there too, I may have to merge this patch into 5.x one day. config/ac-macros/plugins.m4: If a storage engine has a directory in unittest/storage, build this directory. configure.in: build storage engines' unit tests. storage/maria/Makefile.am: ma_control_file_test moves to unittest/storage/maria storage/maria/ma_control_file.c: more error codes when opening the control file fails. ma_control_file_end() may now return an error if my_close() failed. storage/maria/ma_control_file.h: more error codes when opening the control file fails. unittest/Makefile.am: adding unit tests for storage engines. Note that unit.pl simply recurses into "storage", so if a unit test for storage engine X has been built previously, and now you re-configure (without making clean) to disable this engine, then the unit test of X will not be rebuilt but will still be present in storage/X, so will be run. unittest/storage/maria/ma_control_file-t.c: Making the test fit the mytap framework (return all the way up the stack instead of assert(); use the mytap functions plan(), ok() etc). Adding test of file too short/long. unittest/storage/maria/Makefile.am: a_control_file-t is added to the Maria unit tests. Later, older tests (ma_test1 etc) could also move here. unittest/storage/Makefile.am: New BitKeeper file ``unittest/storage/Makefile.am''
| * | | There is a Maria category now in the bugs db (but only devsunknown2006-09-081-49/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can see this category), so no need for this file. BitKeeper/deleted/.del-BUGS_IN_MARIA.txt: Delete: BUGS_IN_MARIA.txt
| * | | a file to record known Maria bugs until we use a bugs db.unknown2006-09-071-0/+49
| | | | | | | | | | | | | | | | | | | | BUGS_IN_MARIA.txt: a file to record our bugs until we use a bugs db
| * | | Manually merging changes made to MyISAM into Maria. End of merge.unknown2006-09-0714-65/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | storage/maria/ft_maria.c: Rename: BitKeeper/deleted/.del-ft_maria.c -> storage/maria/ft_maria.c configure.in: maria moves to its plug.in storage/maria/Makefile.am: merging changes made to MyISAM into Maria. ft_maria.c is still needed. storage/maria/ha_maria.cc: merging changes made to MyISAM into Maria storage/maria/ma_dynrec.c: merging changes made to MyISAM into Maria storage/maria/ma_extra.c: merging changes made to MyISAM into Maria storage/maria/ma_ft_parser.c: merging changes made to MyISAM into Maria storage/maria/ma_open.c: merging changes made to MyISAM into Maria storage/maria/ma_sort.c: merging changes made to MyISAM into Maria storage/maria/ma_update.c: merging changes made to MyISAM into Maria storage/maria/ma_write.c: merging changes made to MyISAM into Maria storage/maria/maria_def.h: merging changes made to MyISAM into Maria storage/myisam/Makefile.am: merging changes made to MyISAM into Maria storage/maria/plug.in: merging changes made to MyISAM into Maria
| * | | Merge gbichot3.local:/home/mysql_src/mysql-5.1-for-mariaunknown2006-09-07155-916/+51095
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into gbichot3.local:/home/mysql_src/mysql-maria BitKeeper/etc/ignore: auto-union libmysqld/Makefile.am: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysys/my_pread.c: Auto merged sql/Makefile.am: Auto merged sql/handler.h: Auto merged sql/item_func.h: Auto merged sql/mysql_priv.h: Auto merged sql/set_var.cc: Auto merged sql/sql_class.h: Auto merged storage/csv/ha_tina.cc: Auto merged storage/myisam/ft_parser.c: Auto merged storage/myisam/ha_myisam.cc: Auto merged storage/myisam/ha_myisam.h: Auto merged storage/myisam/mi_delete_all.c: Auto merged storage/myisam/mi_dynrec.c: Auto merged storage/myisam/mi_open.c: Auto merged storage/myisam/mi_packrec.c: Auto merged storage/myisam/mi_unique.c: Auto merged storage/myisam/mi_update.c: Auto merged storage/myisam/mi_write.c: Auto merged storage/myisam/sort.c: Auto merged storage/myisammrg/ha_myisammrg.h: Auto merged configure.in: merge sql/mysqld.cc: merge storage/myisam/Makefile.am: merge storage/myisam/myisamdef.h: merge
| | * | | Merge of Myisam changes into Maria.unknown2006-09-078-58/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First step: ha_maria moves to storage/maria. BitKeeper/deleted/.del-ft_maria.c: Delete: storage/maria/ft_maria.c storage/maria/ha_maria.h: Rename: sql/ha_maria.h -> storage/maria/ha_maria.h storage/maria/ha_maria.cc: Rename: sql/ha_maria.cc -> storage/maria/ha_maria.cc libmysqld/Makefile.am: ha_maria moves to other dir (like myisam has) sql/Makefile.am: ha_maria moves to other dir (like myisam has) sql/mysqld.cc: ha_maria moves to other dir (like myisam has) storage/maria/Makefile.am: I delete ft_maria.c like ft_myisam.c has storage/maria/ma_test_all.sh: -l option is removed (no MyISAM log in Maria), maria_log is removed too.
| | * | | WL#3234 "Maria - control file manager":unknown2006-09-046-86/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added checksum of the file. Now we have size + magic string + checksum to detect that all is ok. Plus misc fixes for "make dist" to work and the resulting tarball to build include/Makefile.am: adding pagecache.h to help the tarball build. The model of pagecache.h, keycache.h, is in pkginclude_HEADERS, wonder why. Adding pagecache.h to noinst_HEADERS for now. storage/maria/Makefile.am: adding ma_control_file.h to help the tarball build storage/maria/ma_control_file.c: adding a simple checksum to the control file. We protect against corruption of this file like this: - test size - test magic string at start - test checksum I also add some simple my_message() errors (to be changed to a better reporting later). storage/maria/ma_control_file.h: comments storage/maria/ma_control_file_test.c: test of wrong checksum in control file storage/maria/CMakeLists.txt: just to make "make dist" happy for now.