mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
7323df7885
Test for BUG#34106 "auto_increment is reset to 1 when table is recovered from crash" (fixed by Monty yesterday) mysql-test/r/maria-recovery.result: result, which is correct (before pulling Monty's fix for BUG#34106, we got a warning about auto_increment in CHECK TABLE (done in maria-verify-recovery.inc), no AUTO_INCREMENT clause in SHOW CREATE TABLE, and a failure of the last INSERT. mysql-test/r/maria.result: result mysql-test/t/maria-recovery.test: Test for BUG#34106 mysql-test/t/maria.test: look at what is reported in SHOW ENGINES mysys/my_pread.c: changed my mind: if Count argument is >4GB, we'll surely see a segfault in the pread() call when it tries to read 4GB from memory, so no need to print it in ulonglong format (saves a function call). mysys/my_read.c: changed my mind: if Count argument is >4GB, we'll surely see a segfault in the pread() call when it tries to read 4GB from memory, so no need to print it in ulonglong format (saves a function call). mysys/my_write.c: changed my mind: if Count argument is >4GB, we'll surely see a segfault in the pread() call when it tries to read 4GB from memory, so no need to print it in ulonglong format (saves a function call). storage/maria/ha_maria.cc: Description representing the current reality. This can be changed later storage/maria/ma_page.c: When reading the new key_del from a page on disk, if there is a bug (like BUG#34062) this key_del could be wrong, we try to catch if it's out of the key file. storage/maria/ma_pagecache.c: - no truncation of page's number in DBUG_PRINT (useful for BUG#34062) - page_korr instead of uint5korr storage/maria/ma_recovery.c: page_korr instead of uint5korr storage/maria/plug.in: Description representing the current reality. This can be changed later.
21 lines
793 B
Text
21 lines
793 B
Text
MYSQL_STORAGE_ENGINE(maria,, [Maria Storage Engine],
|
|
[Crash-safe tables with MyISAM heritage], [max,max-no-ndb])
|
|
MYSQL_PLUGIN_DIRECTORY(maria, [storage/maria])
|
|
MYSQL_PLUGIN_STATIC(maria, [libmaria.a])
|
|
# Maria will probably go first into max builds, not all builds,
|
|
# so we don't declare it mandatory.
|
|
MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS(maria, [ha_maria.cc])
|
|
|
|
MYSQL_PLUGIN_ACTIONS(maria, [
|
|
AC_CONFIG_FILES(storage/maria/unittest/Makefile)
|
|
AC_ARG_WITH(maria-tmp-tables,
|
|
AC_HELP_STRING([--with-maria-tmp-tables],[Use Maria for internal temporary tables]),
|
|
[with_maria_tmp_tables=$withval],
|
|
[with_maria_tmp_tables=yes]
|
|
)
|
|
|
|
if test "$with_maria_tmp_tables" = "yes"
|
|
then
|
|
AC_DEFINE([USE_MARIA_FOR_TMP_TABLES], [1], [Maria is used for internal temporary tables])
|
|
fi
|
|
])
|