mariadb/include
Michael Widenius ecbcddc03d Improved speed of thr_alarm from O(N) to O(1). thr_alarm is used to handle timeouts and kill of connections.
Fixed compiler warnings.
queues.h and queues.c are now based on the UNIREG code and thus made BSD.
Fix code to use new queue() interface. This mostly affects how you access elements in the queue.
If USE_NET_CLEAR is not set, don't clear connection from unexpected characters. This should give a speed up when doing a lot of fast queries.
Fixed some code in ma_ft_boolean_search.c that had not made it from myisam/ft_boolean_search.c


include/queues.h:
  Use UNIREG code base (BSD)
  Changed init_queue() to take all initialization arguments.
  New interface to access elements in queue
include/thr_alarm.h:
  Changed to use time_t instead of ulong (portability)
  Added index_in_queue, to be able to remove random element from queue in O(1)
mysys/queues.c:
  Use UNIREG code base (BSD)
  init_queue() and reinit_queue() now takes more initialization arguments. (No need for init_queue_ex() anymore)
  Now one can tell queue_insert() to store in the element a pointer to where element is in queue. This allows one to remove elements from queue in O(1) instead of O(N)
mysys/thr_alarm.c:
  Use new option in queue() to allow fast removal of elements.
  Do less inside LOCK_alarm mutex.
  This should give a major speed up of thr_alarm usage when there is many threads
sql/create_options.cc:
  Fixed wrong printf
sql/event_queue.cc:
  Use new queue interface()
sql/filesort.cc:
  Use new queue interface()
sql/ha_partition.cc:
  Use new queue interface()
sql/ha_partition.h:
  Fixed compiler warning
sql/item_cmpfunc.cc:
  Fixed compiler warning
sql/item_subselect.cc:
  Use new queue interface()
  Removed not used variable
sql/net_serv.cc:
  If USE_NET_CLEAR is not set, don't clear connection from unexpected characters.
  This should give a speed up when doing a lot of fast queries at the disadvantage that if there is a bug in the client protocol the connection will be dropped instead of being unnoticed.
sql/opt_range.cc:
  Use new queue interface()
  Fixed compiler warnings
sql/uniques.cc:
  Use new queue interface()
storage/maria/ma_ft_boolean_search.c:
  Copy code from myisam/ft_boolean_search.c
  Use new queue interface()
storage/maria/ma_ft_nlq_search.c:
  Use new queue interface()
storage/maria/ma_sort.c:
  Use new queue interface()
storage/maria/maria_pack.c:
  Use new queue interface()
  Use queue_fix() instead of own loop to fix queue.
storage/myisam/ft_boolean_search.c:
  Use new queue interface()
storage/myisam/ft_nlq_search.c:
  Use new queue interface()
storage/myisam/mi_test_all.sh:
  Remove temporary file from last run
storage/myisam/myisampack.c:
  Use new queue interface()
  Use queue_fix() instead of own loop to fix queue.
storage/myisam/sort.c:
  Use new queue interface()
storage/myisammrg/myrg_queue.c:
  Use new queue interface()
storage/myisammrg/myrg_rnext.c:
  Use new queue interface()
storage/myisammrg/myrg_rnext_same.c:
  Use new queue interface()
storage/myisammrg/myrg_rprev.c:
  Use new queue interface()
2010-07-16 10:33:01 +03:00
..
atomic Fix XtraDB to build with atomic operations, for good performance. 2009-06-10 11:13:53 +02:00
mysql merge 5.1->5.2 2010-06-01 21:52:20 +02:00
.cvsignore
base64.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
config-netware.h Auto-merge 2009-07-31 15:28:15 -04:00
config-win.h Merge MySQL 5.1.44 into MariaDB. 2010-03-04 09:03:07 +01:00
decimal.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
errmsg.h pluggable auth with plugin examples 2010-03-29 17:13:53 +02:00
ft_global.h Fixed some compiler warnings and errors in test suite found by buildbot 2010-01-27 23:53:08 +02:00
hash.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
heap.h Added support for 'internal temporary tables' in HEAP tables. 2007-07-25 01:58:12 +03:00
help_end.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
help_start.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
keycache.h Post review fixes. 2010-04-05 19:08:10 -07:00
lf.h post-review fixes 2009-01-15 22:27:36 +01:00
m_ctype.h fixes for windows builds 2010-04-02 11:20:09 +02:00
m_string.h merged 2010-03-15 12:51:23 +01:00
Makefile.am merge 5.1->5.2 2010-06-01 21:52:20 +02:00
maria.h Fixed some compiler warnings and errors in test suite found by buildbot 2010-01-27 23:53:08 +02:00
my_aes.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_alarm.h Many files: 2006-12-23 20:17:15 +01:00
my_alloc.h Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
my_atomic.h Fixes for bugs (my_atomic and Maria log handler) observed on 2008-02-20 16:58:43 +01:00
my_attribute.h Bug#25118 ATTRIBUTE_FORMAT_FPTR undeclared in m_ctype.h 2007-04-12 00:43:25 +02:00
my_base.h few small MySQL bugs/issues that impact the engines, as discussed in the SE summit 2010-06-05 16:53:36 +02:00
my_bit.h After merge fixes. 2008-04-29 09:26:37 +03:00
my_bitmap.h Bug#31552 Replication breaks when deleting rows from out-of-sync table 2007-12-12 12:14:59 +02:00
my_dbug.h MySQL 5.1.41 after-merge fix: Fix non-debug build breakage. 2009-11-16 22:35:55 +01:00
my_dir.h Many files: 2006-12-23 20:17:15 +01:00
my_getopt.h Bug#39289 libmysqld.a calls exit() upon error 2008-10-27 13:57:59 +04:00
my_global.h merge 5.1->5.2 2010-06-01 21:52:20 +02:00
my_handler.h MWL#67: MRR backport 2009-12-22 15:33:21 +03:00
my_libwrap.h Many files: 2006-12-23 20:17:15 +01:00
my_list.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_md5.h Bug #42434: license of mysys MD5 implementation is not GPL-compatible 2009-03-09 20:57:03 +02:00
my_net.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
my_no_pthread.h pluggable auth with plugin examples 2010-03-29 17:13:53 +02:00
my_nosys.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_pthread.h Merge MySQL 5.1.44 into MariaDB. 2010-03-04 09:03:07 +01:00
my_stacktrace.h Merging from 5.0-bugteam 2010-01-27 11:42:20 +01:00
my_sys.h merge 5.1->5.2 2010-06-01 21:52:20 +02:00
my_time.h Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug26294/my50-bug26294 2008-04-03 13:14:57 -04:00
my_tree.h Safety change to ensure read/black trees (used with heap tables) works on 64 bit setups where ulong <> size_t 2009-11-16 17:34:08 +02:00
my_trie.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_uctype.h Many files: 2006-12-31 02:29:11 +01:00
my_user.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_valgrind.h Added macros to inform valgrind that memory is uninitialized 2010-05-26 22:27:01 +03:00
my_vle.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_xml.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
myisam.h Merge MySQL 5.1.44 into MariaDB. 2010-03-04 09:03:07 +01:00
myisamchk.h Merge with MySQL 5.1, with following additions: 2009-11-16 21:49:51 +01:00
myisammrg.h Bug#45800 crash when replacing into a merge table and there is a duplicate 2009-07-30 16:04:41 +05:30
myisampack.h Injecting more "const" declarations into code which does not change 2008-04-03 15:40:25 +02:00
mysql.h pluggable auth with plugin examples 2010-03-29 17:13:53 +02:00
mysql.h.pp pluggable auth with plugin examples 2010-03-29 17:13:53 +02:00
mysql_com.h Manual merge. 2010-04-29 20:18:19 -03:00
mysql_embed.h Bug #32211 Test 'windows' and 'windows_shm' failed for embedded server 2007-11-18 00:32:06 +04:00
mysql_time.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql_version.h.in Added mariadb and mariadb-version as my.conf option tags 2009-03-18 04:14:22 +02:00
mysys_err.h Added error handling for my_seek() & my_tell() failures 2009-11-07 12:34:19 +02:00
queues.h Improved speed of thr_alarm from O(N) to O(1). thr_alarm is used to handle timeouts and kill of connections. 2010-07-16 10:33:01 +03:00
rijndael.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
service_versions.h mwl:98 - libservices 2010-03-03 15:44:14 +01:00
sha1.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sql_common.h Merge with 5.1 2010-04-01 12:04:26 +03:00
sslopt-case.h Many files: 2006-12-23 20:17:15 +01:00
sslopt-longopts.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
sslopt-vars.h Many files: 2006-12-23 20:17:15 +01:00
t_ctype.h Many files: 2006-12-23 20:17:15 +01:00
thr_alarm.h Improved speed of thr_alarm from O(N) to O(1). thr_alarm is used to handle timeouts and kill of connections. 2010-07-16 10:33:01 +03:00
thr_lock.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
typelib.h Added "pool-of-threads" handling (with libevent) 2009-03-13 00:27:35 +02:00
violite.h Changed version number from RC to stable 2010-01-29 12:42:31 +02:00
waiting_threads.h compilation fixes 2009-01-19 16:27:49 +01:00
wqueue.h Locking for read and write made waiting for each other (with loose 2008-02-22 22:32:34 +02:00