mariadb/storage/maria
Michael Widenius d13c54351d Remove compiler warnings (Including some warnings from -Wstrict-aliasing)
Don't use static link by default (in compile-pentium) as some new systems doesn't have all static libraries available
Change type for functions in plugin.h:str_mysql_ftparser_param() to const unsigned char and string lengths to size_t.
One effect of the above change is that one needs to include mysql_global.h or define size_t before including plugin.h
This fixes a case where mysql_client_test failed with newer gcc that enables strict-aliasing by default


BUILD/compile-pentium:
  Don't use static link by default as some new systems doesn't have all static libraries available
client/mysql_upgrade.c:
  Remove not used variable
cmd-line-utils/readline/config_readline.h:
  Define some constants to get rid of compiler warnings on Linux
cmd-line-utils/readline/display.c:
  Get rid of compiler warnings
cmd-line-utils/readline/history.c:
  Got rid of compiler warnings:
  - Defining some strings as const
  - Added cast
cmd-line-utils/readline/rlmbutil.h:
  Added cast to get rid of compiler warnings
cmd-line-utils/readline/text.c:
  Remove not needed initialization to get rid of compiler warnings
cmd-line-utils/readline/xmalloc.c:
  Changed types to 'const char* to get rid of compiler warnings
configure.in:
  Ensure that we use MariaDB as suffix
include/mysql/plugin.h:
  Changed types to 'const unsigned char* to get rid of compiler warnings (in other parts of the code)
  Change length for not \0 terminated string to size_t
include/mysql/plugin.h.pp:
  Update related to plugin.h
libmysql/libmysql.c:
  Fixed bug that caused core dump with newer gcc when strict aliasing is not turned off
mysql-test/t/information_schema.test:
  Test is depending on innodb
mysql-test/t/not_partition.test:
  Fixed wrong directory name
  (Not noticed before as we don't ususally run this test)
mysys/lf_hash.c:
  Got rid of compiler warnings from -Wstrict-aliasing
mysys/my_redel.c:
  Removed not used variable
regex/engine.c:
  Changed types to 'const char* to get rid of compiler warnings
regex/engine.ih:
  Changed types to 'const char* to get rid of compiler warnings
sql/sp_head.cc:
  Got rid of compiler warning from -Wstrict-aliasing
sql/sql_base.cc:
  Got rid of compiler warnings from -Wstrict-aliasing
  (The original code was probably wrong as nj_col->table_field was
sql/sql_builtin.cc.in:
  plugin.h needs to have size_t defined
sql/sql_parse.cc:
  Remove used variable
sql/sql_select.cc:
  Got rid of compiler warnings from -Wstrict-aliasing
sql/sql_show.cc:
  Added #ifdef to get rid of compiler warning when not using partition engine
sql/table.cc:
  Got rid of compiler warning from -Wstrict-aliasing
storage/maria/ha_maria.cc:
  Got rid of compiler warnings from -Wstrict-aliasing:
  - Use the thd_killed() API function
storage/maria/lockman.c:
  Got rid of compiler warnings from -Wstrict-aliasing
storage/maria/ma_check.c:
  Got rid of compiler warnings from -Wstrict-aliasing
  Change to use new version of _ma_killed_ptr; Don't call it as often as before
storage/maria/ma_check_standalone.h:
  Update to compatible _ma_killed_ptr() from ha_maria.cc
storage/maria/ma_ft_boolean_search.c:
  Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
storage/maria/ma_ft_nlq_search.c:
  Got rid of compiler warnings from -Wstrict-aliasing
  Ensure that 'subkeys' is 32 bit
storage/maria/ma_ft_parser.c:
  Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
storage/maria/ma_ftdefs.h:
  Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
storage/maria/ma_sort.c:
  Change to use new version of _ma_killed_ptr; Don't call it as often as before
storage/maria/ma_state.c:
  Got rid of compiler warnings from -Wstrict-aliasing
storage/maria/maria_def.h:
  Redefine ma_killed_ptr()
storage/maria/maria_ftdump.c:
  Got rid of compiler warnings from -Wstrict-aliasing
storage/maria/trnman.c:
  Got rid of compiler warnings from -Wstrict-aliasing
storage/myisam/ft_boolean_search.c:
  Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
storage/myisam/ft_nlq_search.c:
  Got rid of compiler warnings from -Wstrict-aliasing
storage/myisam/ft_parser.c:
  Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
storage/myisam/ft_stopwords.c:
  Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
storage/myisam/ftdefs.h:
  Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
storage/myisam/ha_myisam.cc:
  Got rid of compiler warnings from -Wstrict-aliasing:
  - Use the thd_killed() API function
storage/myisam/mi_check.c:
  Use new killed_ptr() function
storage/myisam/myisam_ftdump.c:
  Got rid of compiler warnings from -Wstrict-aliasing
storage/myisam/myisamchk.c:
  Update to compatible killed_ptr() from ha_myisam.cc
storage/myisam/myisamdef.h:
  Redefine killed_ptr()
storage/myisam/myisamlog.c:
  Got rid of compiler warnings from -Wstrict-aliasing
storage/myisam/sort.c:
  Change to use new version of killed_ptr; Don't call it as often as before
storage/xtradb/fil/fil0fil.c:
  Fixedc ompiler warning
storage/xtradb/trx/trx0i_s.c:
  Include mysql_plugin.h later to ensure that size_t is defined
2009-11-30 01:08:56 +02:00
..
unittest Fixed compiler warning message 2009-10-26 13:35:42 +02:00
CMakeLists.txt Merge lp:maria -> lp:~maria-captains/maria/maria-5.1-merge 2009-09-15 14:46:35 +04:00
file_formats.txt Fixed compiler warnings 2008-02-22 17:22:56 +02:00
ft_maria.c Merged with mysql-5.1 main tree. 2007-07-02 20:45:15 +03:00
ha_maria.cc Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ha_maria.h WL#3262 add mutex lock order checking to safemutex (also called safe_mutex_deadlock_detector) 2008-12-03 00:02:52 +02:00
lockman.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
lockman.h solaris fixes 2007-12-18 23:22:55 +01:00
ma_bitmap.c Merge with base MySQL-5.1-maria 2009-01-12 13:12:00 +02:00
ma_blockrec.c Fix some compiler warnings cause by GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478 2009-10-03 22:13:58 +02:00
ma_blockrec.h Callers of translog_deassign_id_from_share() need intern_lock. 2009-02-09 22:52:42 +01:00
ma_cache.c Fixed compiler warnings 2008-01-13 00:30:38 +02:00
ma_changed.c GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
ma_check.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_check_standalone.h Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_checkpoint.c Comments. Take bitmap mutex lock when changing bitmap.changed. 2009-02-09 22:02:04 +01:00
ma_checkpoint.h WL#3071 Maria checkpoint, WL#3072 Maria recovery 2007-11-16 17:09:51 +01:00
ma_checksum.c Injecting more "const" declarations into code which does not change 2008-04-03 15:40:25 +02:00
ma_close.c merge 2009-02-06 00:38:30 +02:00
ma_commit.c post-review fixes 2009-01-15 22:27:36 +01:00
ma_commit.h - WL#3239 "log CREATE TABLE in Maria" 2007-06-22 14:49:37 +02:00
ma_control_file.c Fixed that packed transid can be compared byte per byte and we get them in increasing order 2008-11-04 12:54:04 +02:00
ma_control_file.h WL#4374 "Maria - force start if Recovery fails multiple times" 2008-06-02 22:53:25 +02:00
ma_create.c Merge with mysql-maria tree 2009-02-19 11:01:25 +02:00
ma_dbug.c Fix for Bug#40311 Assert in MARIA_RECORD_POS during pushbuild 2 test: 2008-12-22 02:17:37 +02:00
ma_delete.c Merge with base MySQL-5.1-maria 2009-01-12 13:12:00 +02:00
ma_delete_all.c merge 2009-02-06 00:38:30 +02:00
ma_delete_table.c Fix for Bug#40311 Assert in MARIA_RECORD_POS during pushbuild 2 test: 2008-12-22 02:17:37 +02:00
ma_dynrec.c Code cleanup: 2009-01-09 06:23:25 +02:00
ma_extra.c Don't call _ma_decrement_open_count() for ma_extra(HA_EXTRA_PREPARE_FOR_DROP). 2009-10-06 09:13:56 +03:00
ma_ft_boolean_search.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_ft_eval.c Fixes after review of guilhem of block record patch 2007-04-19 13:18:56 +03:00
ma_ft_eval.h GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
ma_ft_nlq_search.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_ft_parser.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_ft_stem.c GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
ma_ft_test1.c Fixes after review of guilhem of block record patch 2007-04-19 13:18:56 +03:00
ma_ft_test1.h GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
ma_ft_update.c Merge with mysql-maria 2009-01-30 23:55:42 +02:00
ma_ftdefs.h Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_fulltext.h Merge with mysql-maria 2009-01-30 23:55:42 +02:00
ma_info.c Changed all file names in maria to LEX_STRING and removed some calls to strlen() 2008-08-25 14:49:47 +03:00
ma_init.c Fix for BUG#39697 "Maria: hang when failing to insert due to UNIQUE (seen in pushbuild2 too)" 2008-10-09 22:03:54 +02:00
ma_key.c WL#3262 add mutex lock order checking to safemutex (also called safe_mutex_deadlock_detector) 2008-12-03 00:02:52 +02:00
ma_key_recover.c Merge with mysql-maria tree 2009-02-19 11:01:25 +02:00
ma_key_recover.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_keycache.c Changed all file names in maria to LEX_STRING and removed some calls to strlen() 2008-08-25 14:49:47 +03:00
ma_locking.c Don't call _ma_decrement_open_count() for ma_extra(HA_EXTRA_PREPARE_FOR_DROP). 2009-10-06 09:13:56 +03:00
ma_loghandler.c Fixed problems in merge 2009-05-19 12:28:05 +03:00
ma_loghandler.h Log queries to maria_log if compiled with EXTRA_DEBUG 2009-01-16 00:25:53 +02:00
ma_loghandler_lsn.h Fix for BUG#37876 "Importing Maria table from other server via binary copy does not work": 2008-07-09 11:02:27 +02:00
ma_open.c Changed default thread stack to 288K to get better memory missalignment between stacks of different threads (should speed up things) and to get a bit extra safety. 2009-06-30 15:01:29 +03:00
ma_packrec.c We are now using Valgrind rather than purify, and have for quite some time. 2009-05-06 14:03:24 +02:00
ma_page.c We are now using Valgrind rather than purify, and have for quite some time. 2009-05-06 14:03:24 +02:00
ma_pagecache.c Merge with mysql-maria tree 2009-02-19 11:01:25 +02:00
ma_pagecache.h _ma_bitmap_unpin_all() needs to unpin not-locked pages which were pinned by other threads 2008-10-14 17:18:14 +02:00
ma_pagecaches.c copyright and license info 2008-03-04 12:58:21 +01:00
ma_pagecrc.c We are now using Valgrind rather than purify, and have for quite some time. 2009-05-06 14:03:24 +02:00
ma_panic.c merge 2007-12-31 12:52:45 +01:00
ma_preload.c Merge with base MySQL-5.1-maria 2009-01-12 13:12:00 +02:00
ma_range.c Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_recovery.c Fixed compiler warning message 2009-10-26 13:35:42 +02:00
ma_recovery.h WL#4374 "Maria - force start if Recovery fails multiple times" 2008-06-02 22:53:25 +02:00
ma_recovery_util.c Fix for BUG#34114 "maria_chk reports false error when several tables on 2008-01-29 22:20:59 +01:00
ma_recovery_util.h WL#3072 - Maria Recovery 2008-01-17 23:59:32 +01:00
ma_rename.c Fix for Bug#40311 Assert in MARIA_RECORD_POS during pushbuild 2 test: 2008-12-22 02:17:37 +02:00
ma_rfirst.c Merged with mysql-5.1 main tree. 2007-07-02 20:45:15 +03:00
ma_rkey.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rlast.c Merged with mysql-5.1 main tree. 2007-07-02 20:45:15 +03:00
ma_rnext.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rnext_same.c Code cleanup: 2009-01-09 06:23:25 +02:00
ma_rprev.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rrnd.c Fixes for bugs found by maria.test and event*tests: 2007-08-21 20:54:11 +03:00
ma_rsame.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rsamepos.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rt_index.c Post-merge fixes 2009-09-15 15:22:39 +04:00
ma_rt_index.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_key.c Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_key.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_mbr.c Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_mbr.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_split.c Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_test.c Merge; No notable changes 2008-06-26 12:32:22 +03:00
ma_scan.c Fixed problems with ma_test2 and mi_test2 on high-byte-first system 2008-02-21 02:45:02 +02:00
ma_search.c We are now using Valgrind rather than purify, and have for quite some time. 2009-05-06 14:03:24 +02:00
ma_sort.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_sp_defs.h Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_sp_key.c Fixes for build errors under Windows and compiler warning under Linux 2008-06-26 17:10:11 +02:00
ma_sp_test.c After merge fixes. Applied changes made in myisam manually to maria. 2007-10-04 20:33:42 +03:00
ma_state.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_state.h Fix for Bug#40311 Assert in MARIA_RECORD_POS during pushbuild 2 test: 2008-12-22 02:17:37 +02:00
ma_static.c Fix for Windows build failure: __attribute__ does not exist under Windows 2008-10-16 10:54:53 +02:00
ma_statrec.c Code cleanup: 2009-01-09 06:23:25 +02:00
ma_test1.c WL#3262 add mutex lock order checking to safemutex (also called safe_mutex_deadlock_detector) 2008-12-03 00:02:52 +02:00
ma_test2.c Merge with base MySQL-5.1-maria 2009-01-12 13:12:00 +02:00
ma_test3.c Windows fixes 2008-01-10 13:21:53 +01:00
ma_test_all.res Fixes for redo/undo logging of key pages 2007-11-20 17:42:16 +02:00
ma_test_all.sh New version of ma_test_all 2008-01-08 22:21:28 +02:00
ma_test_big.sh UNDO of rows now puts back all part of the row on their original pages and positions 2007-12-30 22:40:03 +02:00
ma_test_force_start.pl Fix for BUG#42180 "Maria: maria-recovery-bitmap.test fails repeatedly" 2009-03-05 14:46:45 +01:00
ma_test_recovery Added versioning of row data 2008-04-10 05:26:36 +03:00
ma_unique.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_update.c Added ha_maria::is_changed() (needed for Query cache) 2008-11-01 01:14:58 +02:00
ma_write.c Merge with mysql-maria tree 2009-02-19 11:01:25 +02:00
Makefile.am Fixes for binary distribution in tar file 2009-10-23 19:48:54 +03:00
maria_chk.c bzr merge from guilhem's maria tree to our local 5.1 2009-04-25 12:04:38 +03:00
maria_def.h Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
maria_ftdump.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
maria_pack.c Merge with mysql-maria tree 2009-02-19 11:01:25 +02:00
maria_read_log.c Fixed bugs found by pushbuild 2008-12-27 04:05:16 +02:00
maria_rename.sh Added storage/maria (based on MyISAM). WL#3245 2006-04-11 16:45:10 +03:00
plug.in Merge fixes. 2009-05-12 09:44:01 +03:00
tablockman.c Windows fixes 2008-01-10 13:21:53 +01:00
tablockman.h solaris fixes 2007-12-18 23:22:55 +01:00
test_pack Added storage/maria (based on MyISAM). WL#3245 2006-04-11 16:45:10 +03:00
trnman.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
trnman.h merged 2009-01-16 17:18:17 +01:00
trnman_public.h merged 2009-01-16 17:18:17 +01:00