mariadb/mysys
unknown 5d3af2b0a7 WL 1682: Use bitvector instead of query_id to tell handler which fields
to read and write
Changed Server code, added new interface to handler and changed the
NDB handler, InnoDB handler and Federated handler that previously used
query_id
Bug#10202 fix (one-liner fix for memory leak)


mysys/my_bitmap.c:
  Debug code
sql/field.cc:
  Initialise fieldnr to 0 if not set anywhere else
sql/field.h:
  Introduce a fieldnr (first field = 1 and last = table->s->fields
  in field object to be able to quickly set appropriate bit in
  read/write set
sql/ha_federated.cc:
  Changed federated handler to use write set instead of query_id
sql/ha_innodb.cc:
  Changed InnoDB handler to use write set instead of query_id
sql/ha_ndbcluster.cc:
  Changed NDB handler to use write set instead of query_id
sql/ha_ndbcluster.h:
  Changed NDB handler to use write set instead of query_id
sql/handler.cc:
  Allocate read_set and write_set either in get_new_handler or in
  special routine
  Routines used at destruction of handler object
  plus routine to set all primary key fields in read_set
sql/handler.h:
  bool to keep track if read/write set allocated or not in handler
  Deallocate read/write set at delete of handler object
  New bitmap's for read/write set
sql/item.cc:
  Set bits in read or write set (set_query_id = 2 => write_set
  set_query_id = 1 => read_set
sql/lock.cc:
  Clear bit set when starting a new statement in external lock
sql/mysql_priv.h:
  changed set_query_id from bool to ulong
sql/opt_range.cc:
  Set primary key read set in all places where HA_EXTRA_RETRIEVE_PRIMARY_KEY
  is used
sql/sql_acl.cc:
  set all bits in read set all places where HA_EXTRA_RETRIEVE_ALL_COLS
  are used
sql/sql_base.cc:
  Clear all bits before start new statement when table locked already
  Set bit in read/write set dependent on set_query_id and fieldnr
  bool -> ulong for set_query_id
  set all bits in read set for SELECT * queries where table is not view
sql/sql_class.h:
  Added comments + changed type of set_query_id
sql/sql_insert.cc:
  Use 2 when setup_fields called for fields to updated in UPDATE
  and INSERT statements
  set primary key fields when EXTRA param used
sql/sql_load.cc:
  Set all bits in write set if no fields specified in LOAD DATA FROM
  INFILE
  Otherwise use 2 to set specific fields to be updated by LOAD DATA...
sql/sql_select.cc:
  Set primary key read set when EXTRA param specified
  Set fieldnr for temporary tables
  Set number of fields before calling get_new_handler
  and only set all bits if there at least one field in table
sql/sql_table.cc:
  Set all bits in read set for old table and all bits in write set for
  new table for ALTER TABLE copy method
  Set all bits in read set when EXTRA param used
sql/sql_udf.cc:
  Set all bits in read set when EXTRA param used
sql/sql_update.cc:
  Set fields to UPDATE to use 2 for set_query_id
  Set all bits in read set when EXTRA param used
sql/table.cc:
  Set fieldnr in openfrm
  Reallocate read/write set in openfrm since table->s->fields==0
  at call to get_new_handler
sql/unireg.cc:
  Fix Bug #10202
2005-04-28 14:45:27 +02:00
..
.cvsignore
array.c
ChangeLog
charset-def.c Proper handling of "utf8-general-cs" clollation: Missing parts in configuration. 2005-04-11 11:12:08 +02:00
charset.c Field::quote_data(): 2005-03-17 12:27:45 +01:00
checksum.c
default.c Merge mysql.com:/home/cps/mysql/trees/mysql-4.1 2005-04-14 01:57:52 +04:00
errors.c fix compilation failure on sunfire280 2005-03-01 01:38:04 +03:00
hash.c Merge changes. 2005-03-08 17:24:07 +01:00
list.c Add 0x before pointers (to help with debugging) 2004-12-18 05:19:21 +02:00
make-ccc
make-conf.c
Makefile.am Manual merge 2005-03-26 01:44:54 +03:00
md5.c
mf_brkhant.c
mf_cache.c
mf_dirname.c
mf_fn_ext.c
mf_format.c A set of mysql_home_path-related fixes 2004-09-07 11:55:34 +05:00
mf_getdate.c
mf_iocache.c Fixed Bug#8922. 2005-03-08 18:12:12 +02:00
mf_iocache2.c Merge with 4.1.3-beta 2004-07-07 11:29:39 +03:00
mf_keycache.c merged 2005-01-24 19:41:42 +01:00
mf_keycaches.c remove the entry from the list, before freeing 2005-01-24 18:38:46 +01:00
mf_loadpath.c
mf_pack.c
mf_path.c
mf_qsort.c
mf_qsort2.c
mf_radix.c
mf_same.c
mf_sort.c
mf_soundex.c
mf_strip.c
mf_tempdir.c
mf_tempfile.c merge 2005-03-03 23:07:20 +01:00
mf_unixpath.c
mf_util.c
mf_wcomp.c
mf_wfile.c
mulalloc.c
my_aes.c
my_alarm.c
my_alloc.c Fixed bug detected by sp-tests 2005-02-05 16:05:46 +02:00
my_append.c
my_bit.c
my_bitmap.c WL 1682: Use bitvector instead of query_id to tell handler which fields 2005-04-28 14:45:27 +02:00
my_chsize.c mmap portability layer, mmap for Windows 2004-11-04 22:55:47 +01:00
my_clock.c
my_compress.c
my_copy.c
my_crc32.c First step of implementation of WL#1518 "make bundled zlib 2004-07-21 17:36:26 -07:00
my_create.c
my_delete.c
my_div.c
my_dup.c
my_error.c WL#1895 - Print message to error log in case of detected MyISAM corruption 2004-12-23 20:11:38 +01:00
my_file.c
my_fopen.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00
my_fstream.c Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
my_gethostbyname.c assert.h needed for my_dbug.h now is included in my_dbug.h, where it for 2004-06-10 23:58:39 +04:00
my_gethwaddr.c Review of all code pushed since last review 2004-10-20 01:28:42 +03:00
my_getopt.c Fixed Bug#6593, "Inconsistency in handling option prefixes (--skip, --disable, etc.)" 2005-04-19 00:22:57 +03:00
my_getsystime.c
my_getwd.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00
my_handler.c 4.1 -> 5.0 merge 2005-02-03 13:18:30 +02:00
my_init.c Fixed wrong memory references found by purify 2005-02-28 11:59:46 +02:00
my_largepage.c Forward port of HugeTLB, InnoDB doublewrite and checksums patches to 5.0 2004-12-14 22:26:31 +03:00
my_lib.c Fix warning VC++ and fix applied fisrt to source 4.1 2004-08-24 10:40:20 -03:00
my_lock.c Prevent potential problems on 32-Bit machines. 2004-06-25 11:35:37 +02:00
my_lockmem.c
my_lread.c
my_lwrite.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00
my_malloc.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00
my_messnc.c
my_mkdir.c
my_mmap.c Eliminate warnings noticed by VC7. This includes fixing my_mmap() on 2005-03-18 16:12:25 -08:00
my_net.c
my_netware.c
my_new.cc
my_once.c
my_open.c my_close(), my_sync(): retry if EINTR 2005-01-11 00:14:46 +01:00
my_os2cond.c
my_os2dirsrch.c
my_os2dirsrch.h
my_os2dlfcn.c
my_os2dlfcn.h0
my_os2file64.c
my_os2mutex.c
my_os2thread.c
my_os2tls.c
my_port.c
my_pread.c Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
my_pthread.c assert.h needed for my_dbug.h now is included in my_dbug.h, where it for 2004-06-10 23:58:39 +04:00
my_quick.c
my_read.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00
my_realloc.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00
my_redel.c
my_rename.c Applied a patch for Netware. 2005-02-08 19:49:40 +02:00
my_seek.c assert.h needed for my_dbug.h now is included in my_dbug.h, where it for 2004-06-10 23:58:39 +04:00
my_semaphore.c
my_sleep.c my_sleep.c: 2005-01-05 16:35:43 +01:00
my_static.c timed_mutexes moved to include/my_sys.h and mysys/my_static.c 2005-01-26 18:37:49 +04:00
my_static.h
my_symlink.c Fixed new bug that caused symlink test to fail 2005-01-18 03:49:39 +02:00
my_symlink2.c myisam/ft_parser.c 2005-03-06 12:31:40 +01:00
my_sync.c Fixed errors found during review 2005-04-06 19:43:35 +03:00
my_tempnam.c
my_thr_init.c Fix compiler warnings (detected by Intel's C++ compiler) 2004-10-22 18:44:51 +03:00
my_wincond.c
my_windac.c A fix for Bug#8226 "Cannot connect via shared memory": 2005-03-26 01:21:52 +03:00
my_winsem.c
my_winthread.c
my_write.c Merge mysql.com:/home/mysql_src/mysql-4.0 2005-01-06 21:31:47 +01:00
mysys_priv.h Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
ptr_cmp.c s/ha_store_ptr/my_store_ptr/ 2004-11-07 22:39:27 +01:00
queues.c
raid.cc Add 0x before pointers (to help with debugging) 2004-12-18 05:19:21 +02:00
raid2.c
rijndael.c assert.h needed for my_dbug.h now is included in my_dbug.h, where it for 2004-06-10 23:58:39 +04:00
safemalloc.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00
sha1.c
string.c
test_charset.c
test_dir.c
test_fn.c
test_xml.c
testhash.c
thr_alarm.c fixes/cleanups according to Coverity report 2005-01-24 15:48:25 +01:00
thr_lock.c Changed interface for my_strntod() to make it more general and more portable 2005-01-15 12:28:38 +02:00
thr_mutex.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00
thr_rwlock.c
tree.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00
typelib.c Changed %lx -> 0x%lx (for easier comparison of debug files) 2004-08-23 13:46:51 +03:00