MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
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
bdb Fix calls to memset() with arguments out of order. (Bug #9323) 2005-03-22 16:00:02 -08:00
BitKeeper Merging 5.0->5.1 2005-04-19 11:09:54 +02:00
BUILD Merge mysql.com:/M50/mysql-5.0 into mysql.com:/M50/push-5.0 2005-04-19 13:53:34 +02:00
client Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 2005-04-15 10:13:42 +02:00
cmd-line-utils - added missing file config_readline.h to the source distribution 2005-04-21 21:15:35 +02:00
config/ac-macros Manual transfer of the change in "configure.in" (4.1) to "config/ac-macros/character_sets.m4". 2005-04-11 11:24:30 +02:00
dbug Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup). 2005-03-16 16:22:56 -08:00
Docs - manual merge 2005-04-21 08:30:59 +02:00
extra Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup). 2005-03-16 16:22:56 -08:00
heap Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-03-17 08:17:36 -08:00
include BUG#9391 mysqlshow prints incorrect "rows" information 2005-04-13 12:22:20 +02:00
innobase Fixed a bug: deadlock without any locking, simple select and update (Bug #7975). 2005-04-18 12:17:32 +03:00
libmysql Merge 2005-04-21 10:26:14 +02:00
libmysql_r Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup). 2005-03-16 16:22:56 -08:00
libmysqld Merge 2005-04-25 22:21:25 +02:00
man Manual merge 2005-03-17 21:47:46 -08:00
myisam Merge mysql.com:/home/mydev/mysql-4.1-bug9188 2005-04-16 21:01:46 +02:00
myisammrg Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup). 2005-03-16 16:22:56 -08:00
mysql-test Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-04-25 04:25:32 +04:00
mysys WL 1682: Use bitvector instead of query_id to tell handler which fields 2005-04-28 14:45:27 +02:00
ndb Merge mysql.com:/home/jonas/src/mysql-4.1 2005-04-25 11:59:50 +02:00
netware Merge with 4.1 2005-02-10 02:27:37 +02:00
NEW-RPMS Import changeset 2000-07-31 21:29:14 +02:00
os2 Many files: 2005-01-01 20:54:45 +01:00
pstack few harmless warnings from automated code-checking tools fixed 2005-01-08 21:25:31 +01:00
regex Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup). 2005-03-16 16:22:56 -08:00
scripts Merge 2005-04-25 22:21:25 +02:00
server-tools Merge mysqldev@production.mysql.com:my/mysql-5.0-build 2005-04-11 17:20:29 +04:00
sql WL 1682: Use bitvector instead of query_id to tell handler which fields 2005-04-28 14:45:27 +02:00
sql-bench merged 2005-01-06 19:32:16 +02:00
sql-common BUG#9391 mysqlshow prints incorrect "rows" information 2005-04-13 12:22:20 +02:00
SSL Added missing SSL library (Should be in source distribution) 2003-11-28 12:18:13 +02:00
strings Proper handling of "utf8-general-cs" clollation: Missing parts in configuration. 2005-04-11 11:12:08 +02:00
support-files - manual merge 2005-04-21 08:30:59 +02:00
tests Fix for verification tests: loss of decimal places should not 2005-04-12 08:51:26 +02:00
tools - added missing copyright headers to several Makefile.am's (noticed 2005-04-19 17:00:05 +02:00
VC++Files BUG#9391 mysqlshow prints incorrect "rows" information 2005-04-13 12:22:20 +02:00
vio Merge 2005-03-30 17:07:40 +05:00
zlib upgrade zlib to 1.2.2 2005-03-23 21:08:13 +01:00
.bzrignore Moved some old test and added a new test to only be run with mysql-test-run --big 2005-04-07 19:24:14 +03:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
config.guess - updated config.guess, config.sub and ltmain.sh with versions from libtool 2004-02-06 00:58:15 +01:00
config.sub - updated config.guess, config.sub and ltmain.sh with versions from libtool 2004-02-06 00:58:15 +01:00
configure.in Merge 2005-04-25 22:21:25 +02:00
COPYING - manual.texi will be replaced with a manual written in DocBook/XML. This ChangeSet removes all 2005-04-13 11:51:38 +02:00
depcomp - Applied required modifications for automake 1.5 2002-10-01 21:57:10 +02:00
install-sh install-sh: copy not move like any reasonably modern install does 2004-07-30 18:53:54 +02:00
ltconfig libtool tweaks 2004-02-17 21:46:40 +01:00
ltmain.sh Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
Makefile.am Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup). 2005-03-16 16:22:56 -08:00
missing - Applied required modifications for automake 1.5 2002-10-01 21:57:10 +02:00
mkinstalldirs Import changeset 2000-07-31 21:29:14 +02:00
README Removed URL (website is not actively maintained anymore) 2002-04-24 08:28:50 +02:00

This is a release of MySQL, a GPL (free) SQL database server (more
licence information in the PUBLIC file and in the reference manual).

Please read the "Upgrading from..." section in the manual first, if you are
migrating from older versions of MySQL!

The latest information about MySQL can be found at:
http://www.mysql.com

To see what it can do take a look at the features section in the
manual.

For installation instructions see the Installation chapter in the
manual.

For future plans see the TODO appendix in the manual.

New features/bug fixes history is in the news appendix in the manual.

For the currently known bugs/misfeatures (known errors) see the bugs
appendix in the manual.

For examples of SQL and benchmarking information see the bench
directory.

The manual mentioned above can be found in the Docs directory. The
manual is available in the following formats: as plain ASCII text in
Docs/manual.txt, in HTML format in Docs/manual_toc.html, as GNU Info in
Docs/mysql.info and as PostScript in Docs/manual.ps.

MySQL is brought to you by the MySQL team at MySQL AB

For a list of developers and other contributors, see the Credits appendix
in the manual.

************************************************************

IMPORTANT:

Send bug (error) reports, questions and comments to the mailing list
at mysql@lists.mysql.com

Please use the 'mysqlbug' script when posting bug reports or questions
about MySQL. mysqlbug will gather some information about your system
and start your editor with a form in which you can describe your
problem. Bug reports might be silently ignored by the MySQL
maintainers if there is not a good reason included in the report as to
why mysqlbug has not been used. A report that says 'MySQL does not
work for me. Why?' is not considered a valid bug report.

The mysqlbug script can be found in the 'scripts' directory of the
distribution, that is '<where-you-installed-mysql>/scripts'.