diff options
author | unknown <monty@mysql.com/nosik.monty.fi> | 2007-09-09 19:15:10 +0300 |
---|---|---|
committer | unknown <monty@mysql.com/nosik.monty.fi> | 2007-09-09 19:15:10 +0300 |
commit | 155193a6e27b22e5557e536dd9189e26bbb8fb3a (patch) | |
tree | 2fc6f1290733619db80ad29eb78ed30f4cec06b6 /BUILD | |
parent | 58ac5254fabb2e571af18f15aba874121a92a05f (diff) | |
download | mariadb-git-155193a6e27b22e5557e536dd9189e26bbb8fb3a.tar.gz |
Added applying of undo for updates
Fixed bug in duplicate key handling for block records during repair
All read-row methods now return error number in case of error
Don't calculate checksum for null fields
Fixed bug when running maria_read_log with -o
BUILD/SETUP.sh:
Added STACK_DIRECTION
BUILD/compile-pentium-debug-max:
Moved STACK_DIRECTION to SETUP
include/myisam.h:
Added extra parameter to write_key
storage/maria/ma_blockrec.c:
Added applying of undo for updates
Fixed indentation
Removed some not needed casts
Fixed wrong logging of CLR record
Split ma_update_block_record to two functions to be able to reuse it from undo-applying
Simplify filling of packed fields
ma_record_block_record) now returns error number on failure
Sligtly changed log record information for undo-update
storage/maria/ma_check.c:
Fixed bug in duplicate key handling for block records during repair
storage/maria/ma_checksum.c:
Don't calculate checksum for null fields
storage/maria/ma_dynrec.c:
_ma_read_dynamic_reocrd() now returns error number on error
Rest of the changes are code simplification and indentation fixes
storage/maria/ma_locking.c:
Added comment
storage/maria/ma_loghandler.c:
More debugging
Removed printing of total_record_length as this was always same as record_length
storage/maria/ma_open.c:
Allocate bitmap for changed fields
storage/maria/ma_packrec.c:
read_record now returns error number on error
storage/maria/ma_recovery.c:
Fixed wrong arguments to undo_row_update
storage/maria/ma_statrec.c:
read_record now returns error number on error (not 1)
Code simplification
storage/maria/ma_test1.c:
Added exit possibility after update phase (to test undo of updates)
storage/maria/maria_def.h:
Include bitmap header file
storage/maria/maria_read_log.c:
Fixed bug when running with -o
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/SETUP.sh | 6 | ||||
-rwxr-xr-x | BUILD/compile-pentium-debug-max | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index 6b3708f475f..429c0cd85b4 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -170,10 +170,10 @@ max_configs="$SSL_LIBRARY --with-plugins=max --with-embedded-server" # CPU and platform specific compilation flags. # alpha_cflags="$check_cpu_cflags -Wa,-m$cpu_flag" -amd64_cflags="$check_cpu_cflags" +amd64_cflags="$check_cpu_cflags -DSTACK_DIRECTION=-1" amd64_cxxflags="" # If dropping '--with-big-tables', add here "-DBIG_TABLES" -pentium_cflags="$check_cpu_cflags" -pentium64_cflags="$check_cpu_cflags -m64" +pentium_cflags="$check_cpu_cflags -DSTACK_DIRECTION=-1" +pentium64_cflags="$check_cpu_cflags -m64 -DSTACK_DIRECTION=-1" ppc_cflags="$check_cpu_cflags" sparc_cflags="" diff --git a/BUILD/compile-pentium-debug-max b/BUILD/compile-pentium-debug-max index 39d12a8320a..941a63a209f 100755 --- a/BUILD/compile-pentium-debug-max +++ b/BUILD/compile-pentium-debug-max @@ -4,7 +4,7 @@ path=`dirname $0` set -- "$@" --with-debug=full . "$path/SETUP.sh" -extra_flags="$pentium_cflags $debug_cflags -DSTACK_DIRECTION=-1" +extra_flags="$pentium_cflags $debug_cflags" extra_configs="$pentium_configs $debug_configs $max_configs $error_inject --with-experimental-collations" . "$path/FINISH.sh" |