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.
  • MariaDB\ 71.8%
  • C++ 16.4%
  • C 10.4%
  • Shell 0.5%
  • Perl 0.4%
  • Other 0.3%
Find a file
unknown ffc0d185da Added options --auto-increment-increment and --auto-increment-offset.
This allows one to setup a master <-> master replication with non conflicting auto-increment series.
Cleaned up binary log code to make it easyer to add new state variables.
Added simpler 'upper level' logic for artificial events (events that should not cause cleanups on slave).
Simplified binary log handling.
Changed how auto_increment works together with to SET INSERT_ID=# to make it more predictable: Now the inserted rows in a multi-row statement are set independent of the existing rows in the table. (Before only InnoDB did this correctly)




mysql-test/r/mix_innodb_myisam_binlog.result:
  Disable End_log_pos column from 'show binlog events' as this is now different from before
mysql-test/t/mix_innodb_myisam_binlog.test:
  Disable End_log_pos column from 'show binlog events' as this is now different from before
sql/ha_berkeley.cc:
  Changed prototype for get_auto_increment()
sql/ha_berkeley.h:
  Changed prototype for get_auto_increment()
sql/ha_heap.cc:
  Changed prototype for get_auto_increment()
sql/ha_heap.h:
  Changed prototype for get_auto_increment()
sql/ha_innodb.cc:
  Change how auto-increment is calculated.
  Now the auto-increment logic is done in 'update_auto_increment()' to ensure that all handlers has the same auto-increment usage
sql/ha_innodb.h:
  Changed prototype for get_auto_increment()
sql/ha_myisam.cc:
  Changed prototype for get_auto_increment()
sql/ha_myisam.h:
  Changed prototype for get_auto_increment()
sql/ha_ndbcluster.cc:
  Changed prototype for get_auto_increment()
sql/ha_ndbcluster.h:
  Changed prototype for get_auto_increment()
sql/handler.cc:
  Remove some usage of current_thd
  Changed how auto_increment works with SET INSERT_ID to make it more predictable
  (Now we should generate same auto-increment serie on a slave, even if the table has rows that was not on the master.
  Use auto_increment_increment and auto_increment_offset
sql/handler.h:
  Changed prototype for get_auto_increment()
sql/log.cc:
  Remove usage of 'set_log_pos()' to make code simpler. (Now log_pos is set in write_header())
  Use 'data_written' instead of 'get_event_len()' to calculate how much data was written in the log
sql/log_event.cc:
  Simple optimizations.
  Remove cached_event_len (not used variable)
  Made comments fit into 79 chars
  Removed Log_event::set_log_pos(). Now we calculate log_pos in write_header().
  Renamed write_data() to write() as the original write() function was not needed anymore.
  Call writing of event header from event::write() functions. This made it easier to calculate the length of an event.
  Simplified 'write_header' and remove 'switches' from it.
  Changed all write() functions to return 'bool'. (The previous return values where not consistent)
  Store auto_increment_increment and auto_increment_offset in binary log
  Simplified how Query_log_event's where written and read. Now it's much easier to add now status variables for a query event to the binary log.
  Removed some old MySQL 4.x code to make it easier to grep for functions used in 5.0
sql/log_event.h:
  Changed return type of write() functions to bool. (Before we returned -1 or 1 for errors)
  write_data() -> write()
  Added 'data_written' member to make it easier to get length of written event.
  Removed 'cached_event_len' and 'get_event_len()'
  Added usage of auto_increment_increment and auto_increment_offset
  Added 'artifical_event' to Start_log_event_v3, to hide logic that we in the binary log use log_pos=0 as a flag for an artifical event.
sql/mysqld.cc:
  Added options --auto-increment-increment and --auto-increment-offset
sql/set_var.cc:
  Added variables auto_increment_increment and auto_increment_offset
sql/slave.cc:
  Changed errors -> warnings & information (in error log)
sql/sql_class.cc:
  Added THD::cleanup_after_query(). This makes some code simpler and allows us to clean up 'next_insert_id' after query
sql/sql_class.h:
  Added new auto_increment_xxx variables
  Moved some functions/variables in THD class
sql/sql_help.cc:
  Removed compiler warning
sql/sql_insert.cc:
  Call 'restore_auto_increment()' if row was not inserted.
  This makes it easier for handler to reuse the last generated auto-incrment value that was not used (for example in case of duplicate key)
sql/sql_parse.cc:
  Use cleanup_after_query()
sql/sql_prepare.cc:
  Use cleanup_after_query()
sql/sql_table.cc:
  R
2004-09-15 22:10:31 +03:00
bdb bdb bugfix: LTLIBOBJS didn't take --disable-shared into account 2004-08-23 13:55:40 +02:00
BitKeeper Merge on pull 2004-09-09 07:26:28 +03:00
BUILD Merge 2004-08-05 22:32:25 +02:00
Build-tools Merge with 4.0 2004-09-01 04:12:09 +03:00
client After merge fixes of merge with 4.1 that included the new arena code. 2004-09-09 06:59:26 +03:00
cmd-line-utils 1. discarded term.h from the distribution 2004-09-03 17:47:36 +05:00
dbug Made my_snprintf() behavior snprintf() compatible when printing %x arguments (it should 2004-05-27 17:54:40 +04:00
Docs Merge with 4.1 2004-09-06 15:14:10 +03:00
extra Merge with 4.0 2004-09-01 04:12:09 +03:00
heap Portability fixes 2004-08-26 18:26:38 +03:00
include Merge on pull 2004-09-09 07:26:28 +03:00
innobase Merge with 4.1 2004-09-06 15:14:10 +03:00
isam Merge with 4.0 2004-09-01 04:12:09 +03:00
libmysql Merge with 4.1 2004-09-06 15:14:10 +03:00
libmysql_r manually merged 2004-08-18 19:57:55 +02:00
libmysqld Merge with 4.1 2004-09-06 15:14:10 +03:00
man - added mysqlman.1.in to the source distribution (generic fallback 2004-07-20 18:24:36 +02:00
merge Fix skipp -> skip once and for all. 2004-06-03 11:52:54 -05:00
myisam Merge with 4.1 2004-09-06 15:14:10 +03:00
myisammrg Review of new pushed code (Indentation fixes and simple optimizations) 2004-08-31 14:35:04 +03:00
mysql-test Added options --auto-increment-increment and --auto-increment-offset. 2004-09-15 22:10:31 +03:00
mysys Merge on pull 2004-09-09 07:26:28 +03:00
ndb Fix for overwriting of the stack when table name length was larger 2004-09-02 15:13:50 +02:00
netware Merge with 4.1 2004-09-06 15:14:10 +03:00
NEW-RPMS Import changeset 2000-07-31 21:29:14 +02:00
os2 - Updated OS/2 port with files provided by Yuri Dario <mc6530@mclink.it> 2002-07-15 18:26:11 +02:00
pstack fixed bug #1661 Compiling --pstack fails with binutils 2.13.90 2004-02-16 18:09:23 +04:00
regex - compile fix for regex/regcomp.c spotted on Mac OS X 2004-06-15 12:58:58 +02:00
scripts Merge with 4.1 2004-09-06 15:14:10 +03:00
sql Added options --auto-increment-increment and --auto-increment-offset. 2004-09-15 22:10:31 +03:00
sql-bench Merge with 4.1 2004-09-06 15:14:10 +03:00
sql-common Merge with 4.1 2004-09-06 15:14:10 +03:00
SSL Added missing SSL library (Should be in source distribution) 2003-11-28 12:18:13 +02:00
strings If the system has 64 bit "long", then "long long" does not add new 2004-08-30 17:41:41 +02:00
support-files - fixed typo so make dist does not fail 2004-08-28 09:31:15 +02:00
tests Merge with 4.1 2004-09-06 15:14:10 +03:00
tools Merge with 4.0 2004-09-01 04:12:09 +03:00
VC++Files Merge with 4.1 2004-09-06 15:14:10 +03:00
vio Don't close already closed files in vio (not critical) 2004-07-12 07:38:46 +03:00
zlib WL#1518 "make bundled zlib usable for unix builds", post review fixes: 2004-07-27 10:05:55 -07:00
.bzrignore Merge with 4.1 2004-09-06 15:14:10 +03:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
acinclude.m4 fixed two compiling bugs for libedit 2004-08-31 18:29:01 +05: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 with 4.1 2004-09-06 15:14:10 +03: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 make the code to build with libtool 1.4.2 2004-04-15 00:42:30 -04:00
Makefile.am After merge fixes of merge with 4.1 that included the new arena code. 2004-09-09 06:59:26 +03: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'.