Commit graph

2734 commits

Author SHA1 Message Date
unknown
a300406b4f A better, but larger fix for server_id bug .. 2003-03-05 15:34:58 +02:00
unknown
5247c5bf51 Fix for SHOW VARIABLES on 64-bit platforms 2003-03-04 18:23:15 +02:00
unknown
8aff7ae9a6 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2003-03-03 17:16:09 +02:00
unknown
391bc11a21 Always include errno.h
include/global.h:
  Portability fix
  (Using errno before including errno.h can give big problems on Linux)
2003-02-28 19:52:14 +02:00
unknown
40fbd0fc79 LOAD DATA INFILE is not replicated by slave if replicate_*_table is set 2003-02-28 19:50:05 +02:00
unknown
41e10e728e Added copying of *.slave-mi mysql-test files 2003-02-28 12:32:37 +02:00
unknown
23a850e5a6 Fix for SHOW TABLE STATUS with empty .frm file 2003-02-26 10:16:50 +02:00
unknown
85d6d3d8ec Comment column in SHOW TABLE STATUS now reports that it can
contain NULL values (which is the case for a crashed .frm file).
2003-02-26 09:52:19 +02:00
unknown
21f2382b28 change 'slave-master-info.opt' to .slave-mi to avoid problems with long filenames on some OS
mysql-test/t/rpl_rotate_logs.slave-mi:
  Rename: mysql-test/t/rpl_rotate_logs-slave-master-info.opt -> mysql-test/t/rpl_rotate_logs.slave-mi
mysql-test/t/rpl000015.slave-mi:
  Rename: mysql-test/t/rpl000015-slave-master-info.opt -> mysql-test/t/rpl000015.slave-mi
2003-02-26 00:04:13 +02:00
unknown
469c998b75 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql


sql/share/polish/errmsg.txt:
  Auto merged
2003-02-25 16:09:47 +02:00
unknown
0d3b0c3950 Fixed "syntax" errors in text message files.
Ensured that all errors messages ends with: ",


sql/share/czech/errmsg.txt:
  Fixed new line terminations
sql/share/danish/errmsg.txt:
  Fixed "syntax" errors.
sql/share/dutch/errmsg.txt:
  Fixed "syntax" errors.
sql/share/english/errmsg.txt:
  Fixed "syntax" errors.
sql/share/estonian/errmsg.txt:
  Fixed "syntax" errors.
sql/share/french/errmsg.txt:
  Fixed "syntax" errors.
sql/share/german/errmsg.txt:
  Fixed "syntax" errors.
sql/share/greek/errmsg.txt:
  Fixed "syntax" errors.
sql/share/hungarian/errmsg.txt:
  Fixed "syntax" errors.
sql/share/italian/errmsg.txt:
  Fixed "syntax" errors.
sql/share/japanese/errmsg.txt:
  Fixed "syntax" errors.
sql/share/korean/errmsg.txt:
  Fixed "syntax" errors.
sql/share/norwegian-ny/errmsg.txt:
  Fixed "syntax" errors.
sql/share/norwegian/errmsg.txt:
  Fixed "syntax" errors.
sql/share/polish/errmsg.txt:
  Fixed "syntax" errors.
sql/share/portuguese/errmsg.txt:
  Fixed "syntax" errors.
sql/share/romanian/errmsg.txt:
  Fixed "syntax" errors.
sql/share/russian/errmsg.txt:
  Fixed "syntax" errors.
sql/share/slovak/errmsg.txt:
  Fixed "syntax" errors.
sql/share/spanish/errmsg.txt:
  Fixed "syntax" errors.
sql/share/swedish/errmsg.txt:
  Fixed "syntax" errors.
sql/share/ukrainian/errmsg.txt:
  Fixed "syntax" errors.
2003-02-25 13:41:08 +02:00
unknown
cf417ede65 Indentation cleanup 2003-02-25 11:05:07 +02:00
unknown
283a8a16f6 ibuf0ibuf.c:
Add diagnostic prints if insert buffer merge is tried to a page whose type is not an index page, try to recover from the situation by discarding the insert buffer records


innobase/ibuf/ibuf0ibuf.c:
  Add diagnostic prints if insert buffer merge is tried to a page whose type is not an index page, try to recover from the situation by discarding the insert buffer records
2003-02-21 23:11:31 +02:00
unknown
ed47a1da5c Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2003-02-21 16:23:44 +02:00
unknown
5b15b39c8f Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2003-02-19 10:27:15 +01:00
unknown
e674c6476b prevented crash on deleting non-constructed analyse object 2003-02-18 10:18:51 +02:00
unknown
31d43a5e12 Merge sanja.is.com.ua:/home/bell/mysql/mysql-3.23
into sanja.is.com.ua:/home/bell/mysql/work-3.23
2003-02-18 09:58:25 +02:00
unknown
1f66df4d47 Fixed problem with ISNULL on fields that could not be null 2003-02-17 01:05:04 +02:00
unknown
cfa3301827 fixed memory leak in ANALIZE initialization error reporting 2003-02-14 17:09:09 +02:00
unknown
5d67dd04ef another fix for RAND() initialization 2003-02-12 21:32:35 +01:00
unknown
614bc5a186 Fixed YES/NO in Polish messages 2003-02-12 20:42:46 +02:00
unknown
de150e7b73 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2003-02-12 15:13:23 +02:00
unknown
cad553de49 backported MERGE+MAX bugfix from 4.0 2003-02-12 11:03:41 +01:00
unknown
02132f55c2 backporting Peter's fix for better RAND() initialization from 4.0
sql/sql_class.cc:
  backporting Peter's fix for better RAND() initialization from 4.0
  to see what it does try
  perl -e 'while($N=shift) { printf "N=%-10d",$N; @b=@c=(); for (1..$N) { @a=split(" ",`mysql -BNe "select rand(), rand(), rand(), rand()"`); for(0..3) { $b[$_]+=$a[$_]; $c[$_]+=$a[$_]*$a[$_]; }} for (0..3) { printf "%15.14f ",($c[$_]-$b[$_]*$b[$_]/$N)/$N } print "\n" }' 10 10 10 100 100 10 100 1000
  before and after the fix
2003-02-11 23:19:47 +01:00
unknown
f67fe80ead connect timeout bug fix
libmysql/libmysql.c:
  This is a fix for a bug in connect_timeout.
  
  This bug manifested itself on operating systems that do support poll() 
  system call, which resulted in a timeout twice the value specified.
  
  That is because timeout executed on both select() and poll().
2003-02-10 17:50:06 +02:00
unknown
556bb7bb3d error message fixed (new error code will be introduced in 4.1) 2003-02-10 14:47:39 +01:00
unknown
032e09cc9e Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2003-02-08 20:00:11 +02:00
unknown
82281dff1a A fix for new conditions being defined and upper condition not updated
mysql-test/r/type_datetime.result:
  result for datetime fix
mysql-test/t/type_datetime.test:
  test for datetime fix
sql/sql_select.cc:
  Fix for a bug caused implicitely by MySQL having to comply with 
  ODBC standard on datetime comparisons.
  
  This failed to update used_tables() for OR condition, which is why
  query returned all rows on query as in .test above, while
  none of types contains NULL nor 0 datetime (last one from ODBC)
2003-02-06 18:50:12 +02:00
unknown
98b953fddf Small enhancements for Do-compile:
- add version number to build log files (e.g. Logs/build-4.1-standard.log)
 - add host name and uname to Subject line of build failure mails
   (e.g. "Subject: build(Linux): mysql-4.1-standard compilation failed")

 -> Please merge with all other trees!


Build-tools/Do-compile:
  Small enhancements:
   - add version number to build log files (e.g. Logs/build-4.1-standard.log)
   - add host name and uname to Subject line of build failure mails
     (e.g. "Subject: build(Linux): mysql-4.1-standard compilation failed")
2003-02-05 18:02:12 +01:00
unknown
b7318885f4 - added word of warning about providing the password as cleartext using
the --password parameter (better add it to my.cnf instead) (Thanks to
   Christian Hammers for the suggestion)


scripts/mysqlhotcopy.sh:
   - added word of warning about providing the password as cleartext using
     the --password parameter (better add it to my.cnf instead)
2003-02-05 12:22:28 +01:00
unknown
9160f2cbb2 - Yves mail address does not seem to be valid anymore - changed mail
address to report bugs to bugs@mysql.com (thanks to Christian Hammers
   for pointing this out) - please merge this into all other trees!


scripts/mysqlaccess.sh:
   - Yves mail address does not seem to be valid anymore - changed mail
     address to report bugs to bugs@mysql.com (thanks to Christian Hammers
     for pointing this out)
2003-02-05 11:49:51 +01:00
unknown
c942025070 ha_innobase.cc:
Backport from 4.0: fix potential bug if store_lock is called with TL_IGNORE in the middle of a query


sql/ha_innobase.cc:
  Backport from 4.0: fix potential bug if store_lock is called with TL_IGNORE in the middle of a query
2003-02-05 01:42:07 +02:00
unknown
9e2c2fe8d0 - removed LIBOBJS hack (no longer required with newer versions of autoconf
and actually results in an error with very recent autoconf versions!
   (see http://www.gnu.org/manual/autoconf/html_node/autoconf_165.html or
    "AC_LIBOBJ vs. LIBOBJS" in the autoconf documentation)
   Please merge this into 4.0 as well!
2003-02-04 22:30:47 +01:00
unknown
3a180c331a Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23 2003-01-29 18:56:59 +02:00
unknown
bdfa549779 Fixed handling of lower_case_table_names in SHOW TABLE STATUS, mysql_list_fields() and mysql_table_dump().
This fixes some Errcode 13 errors on Windows when deleting tables.



sql/mysql_priv.h:
  Moved lower case conversion of database names to check_db_name()
sql/mysqld.cc:
  Fix to be able to use 4.0 error message files
sql/sql_db.cc:
  Moved lower case conversion of database names to check_db_name()
sql/sql_parse.cc:
  Moved lower case conversion of database names to check_db_name()
  Added checking of lower_case_table_names for mysql_table_dump() and
  mysql_list_fields()
sql/sql_show.cc:
  Moved lower case conversion of database names to check_db_name()
sql/table.cc:
  Convert database names to lower case in check_db-name() if --lower-case-table-names is used.
2003-01-29 18:56:34 +02:00
unknown
cec5bc1de7 fixed functions to be able work with group function as argument
made bisone 1.75 compatible code


mysql-test/r/group_by.result:
  test of function with agregate function inside
mysql-test/t/group_by.test:
  test of function with agregate function inside
sql/item_cmpfunc.cc:
  fixed functions to be able work with group function as argument
sql/item_cmpfunc.h:
  fixed functions to be able work with group function as argument
sql/item_func.cc:
  fixed functions to be able work with group function as argument
sql/item_func.h:
  fixed functions to be able work with group function as argument
sql/item_strfunc.cc:
  fixed functions to be able work with group function as argument
sql/item_strfunc.h:
  fixed functions to be able work with group function as argument
sql/sql_yacc.yy:
  made bisone 1.75 compatible code
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2003-01-29 10:38:56 +02:00
unknown
7245530084 Fix when using auto_increment and last_insert_id() in the same insert statement.
sql/sql_base.cc:
  S
2003-01-28 06:48:26 +02:00
unknown
c46c125827 Make PACKET_TOO_LARGE error handling safer in client
libmysql/libmysql.c:
  Make PACKET_TOO_LARGE error handling safer
2003-01-28 02:10:56 +02:00
unknown
8d25a3fd94 btr0cur.c:
Backport from 4.0: Fix a major bug in InnoDB query estimator for queries of type SELECT ... WHERE col < x and SELECT ... WHERE col > x; MySQL could pick a table scan though the result set was only a few rows in a big table


innobase/btr/btr0cur.c:
  Backport from 4.0: Fix a major bug in InnoDB query estimator for queries of type SELECT ... WHERE col < x and SELECT ... WHERE col > x; MySQL could pick a table scan though the result set was only a few rows in a big table
2003-01-28 01:14:06 +02:00
unknown
933e200810 - replaced manual.texi with a dummy placeholder file (manual.texi is
now maintained in a separate "mysqldoc" BK source tree) - it will be
   replaced with the correct manual.texi when building the official
   source distribution
 - fixed automake error about reservedwords.texi by moving it to EXTRA_DIST
   instead


Docs/Makefile.am:
   - moved reservedwords.texi from info_TEXINFOS to EXTRA_DIST since it is
     not a full-featured texi file and automake would complain about
     "missing @setfilename"
Docs/manual.texi:
   - replaced manual.texi with a dummy placeholder file (manual.texi is
     now maintained in a separate "mysqldoc" BK source tree) - it will be
     replaced with the correct manual.texi when building the official
     source distribution
2003-01-27 16:28:42 +01:00
unknown
c67dcb4bb7 - added a dummy file "reservedwords.texi" to the BK tree and the Makefiles,
so it's part of the distribution (manual.texi includes this file)
   It will be replaced with the correct one from the mysqldoc tree before
   building the distribution
 - removed generation and inclusion of MIRRORS file, since the mirror list
   is no longer part of manual.texi anyway
 - replaced YFLAGS with AM_YFLAGS in sql/Makefile.am to make automake happy
 - Redirect standard error when checking for dpkg-architecture in ltconfig
   to avoid error message showing during configuration


Docs/Makefile.am:
   - added reservedwords.texi (which gets included by manual.texi)
   - removed MIRRORS (mirror list is not part of the manual anymore)
Docs/reservedwords.texi:
   - Updated wording a bit after adding it to the tree
Makefile.am:
   - removed MIRRORS from EXTRA_DIST (it's not part of the manual anymore)
ltconfig:
   - Redirect standard error when checking for dpkg-architecture
     to avoid error message showing during configuration (thanks to
     John Wythe for the patch)
sql/Makefile.am:
   - replaced YFLAGS with AM_YFLAGS to make automake happy
2003-01-27 13:44:16 +01:00
unknown
4886e3d2d4 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2003-01-24 16:21:13 +02:00
unknown
8e5beda6e4 Fix bug in --relative (-r) 2003-01-24 14:59:36 +02:00
unknown
cdddf6c082 - bump up version number 3.23.55 -> 3.23.56 in configure.in
- tagged ChangeSet 1.1315 as "mysql-3.23.55"


configure.in:
   - bump up version number 3.23.55 -> 3.23.56
2003-01-23 20:24:29 +01:00
unknown
787a2d4eda - merge relevant Do-compile changes from 4.0 tree
- use "gnutar" on Mac OS X to build the binary distribution


Build-tools/Do-compile:
   - merged relevevant changes from 4.0 (Options no-mysqltest, no-benchmark,
     log_timestamp function)
scripts/make_binary_distribution.sh:
   - make sure to use "gnutar" (on Mac OS X) to pack up the binary distribution
     (Mac OS X "tar" seems to be buggy - the resulting tarballs appear to be
     corrupted, e.g. when opening them with Midnight Commander. GNU tar seems
     to extract them correctly, though)
2003-01-23 20:07:19 +01:00
unknown
bb0d32deb9 - reverted previous patch ("make distclean" tried to clean libmysql_r
twice, if --enabable-thread-safe-client is enabled, which broke RPM
   building)


Makefile.am:
   - reverted previous patch and removed libmysql_r from SUBDIRS again
     (it will automatically be added when --enable-thread-safe-client is
     used)
2003-01-23 16:41:26 +01:00
unknown
7109e0e5a0 small fix for SHOW STATUS 2003-01-23 15:49:56 +02:00
unknown
4eb2930713 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2003-01-21 16:30:43 +01:00
unknown
18dfb63489 a symlink that was missing ... 2003-01-21 17:30:42 +02:00
unknown
59e4e9df3d Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2003-01-21 16:11:07 +01:00