Commit graph

1035 commits

Author SHA1 Message Date
unknown
05e6b27a13 Transactions in AUTOCOMMIT=0 mode didn't rotate binary log. 2002-12-14 12:05:45 +02:00
unknown
f84ce68116 Forbid SLAVE STOP if the thread executing the query has locked
tables.  This removes a possible deadlock situation.
2002-12-13 16:01:51 +02:00
unknown
49162e0e54 Added back -max to server name if we are using InnoDB.
libmysql/libmysql.c:
  Compatibility fix
sql/mysqld.cc:
  Added back -max if we are using InnoDB.
  (This should not be done in the 3.23 version)
2002-12-11 12:59:55 +02:00
unknown
2076f2b44c Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23 2002-12-11 12:44:50 +02:00
unknown
f3b563df03 Fixed rare bug in show processlist which could cause core dump if a new thread was connecting.
sql/sql_show.cc:
  Fixed rare bug in show processlist which could cause core dump if a new thread was connecting.
  (We where calling mutex_unlock() without having ever called mutex_lock)
sql/sql_udf.cc:
  Fixed warning from valgrind
2002-12-11 12:44:17 +02:00
unknown
37a02e4ce4 Update Windows binaries prefix according MySQL Pro release package
sql/mysqld.cc:
  With the introduction of Pro release version the InnoDB table engine
  was added for all binaries and not more define only the max package
2002-12-10 04:17:31 -04:00
unknown
446f877906 row0mysql.c, dict0dict.c, db0err.h, ha_innobase.cc:
Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd


sql/ha_innobase.cc:
  Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
innobase/include/db0err.h:
  Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
innobase/dict/dict0dict.c:
  Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
innobase/row/row0mysql.c:
  Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
2002-12-05 22:03:24 +02:00
unknown
ada3e32545 some code cleanup
sql/sql_table.cc:
  code cleanup
2002-12-04 21:39:15 +02:00
unknown
c151ea1f12 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-12-04 20:52:42 +02:00
unknown
76c982ea92 A fix for double free'd pointer bug ...
BitKeeper/etc/ignore:
  Added innobase/stamp-h1 stamp-h1 to the ignore list
2002-12-04 20:51:18 +02:00
unknown
e955255cf6 - Portability fixes for HP compiler on HPUX11 (backport from 4.0 tree)
- sql_analyse.cc: Fixed bug in decimal handling


configure.in:
   - Portability fix for HP compiler on HPUX11
libmysql/password.c:
   - Portability fix for HP compiler on HPUX11
mysys/hash.c:
   - Portability fix for HP compiler on HPUX11
mysys/my_static.c:
   - Portability fix for HP compiler on HPUX11
mysys/my_static.h:
   - Portability fix for HP compiler on HPUX11
mysys/my_tempnam.c:
   - Portability fix for HP compiler on HPUX11
sql/sql_analyse.cc:
   - Fixed bug in decimal handling
2002-12-04 16:16:06 +01:00
unknown
91e1b1b11d Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-12-04 16:13:32 +02:00
unknown
faefac308f proper casting in COM_TABLE_DUMP (backported from 4.0) 2002-12-04 09:54:58 +01:00
unknown
e753fa4d8d Security bug: password length check should be in check_user, not check_connections(),
otherwise COM_CHANGE_USER is unprotected and can be used for both privilege escalation and buffer overrun
2002-12-04 00:27:09 +01:00
unknown
a0efe927ec Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-12-02 21:22:56 +02:00
unknown
007b739f3f Proper fix for SHOW VARS on 64-bit systems 2002-12-02 15:33:16 +02:00
unknown
0df9ecc32b moving fix elsewhere ...
sql/sql_show.cc:
  moving a fix to 4.1.
2002-12-02 15:12:56 +02:00
unknown
b79b6c357d Merge work:/my/mysql-3.23 into hundin.mysql.fi:/my/mysql-3.23
mysql-test/r/group_by.result:
  Auto merged
mysql-test/t/group_by.test:
  Auto merged
sql/item_cmpfunc.cc:
  Auto merged
sql/item_cmpfunc.h:
  Auto merged
2002-12-02 14:17:04 +02:00
unknown
e462abe648 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-12-02 14:17:03 +02:00
unknown
3e5d156223 Fix for sum_func IN (..) 2002-12-02 14:16:02 +02:00
unknown
e3cecfd10c Fixed bug in MAX() optimization when used with JOIN and ON expressions
(Patch from 4.0.5)


mysql-test/r/group_by.result:
  Updated results
mysql-test/t/group_by.test:
  Test for bug
sql/item_cmpfunc.cc:
  Fixed bug in MAX() optimization when used with JOIN and ON expressions
sql/item_cmpfunc.h:
  Fixed bug in MAX() optimization when used with JOIN and ON expressions
sql/opt_sum.cc:
  Fixed bug in MAX() optimization when used with JOIN and ON expressions
2002-12-02 13:41:08 +02:00
unknown
a3f9f721bc Fixed bug in <=> NULL handling 2002-12-02 10:47:15 +02:00
unknown
255ace8bfd Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-11-30 22:55:43 +02:00
unknown
50e61c5175 a fix for a bug with HAVING sum_func IN (...) 2002-11-30 18:38:44 +02:00
unknown
931437252f Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
sql/mysqld.cc:
  Auto merged
2002-11-28 19:38:22 +01:00
unknown
522d022e1d chroot() need chdir("/") afterwards to work 2002-11-28 19:38:01 +01:00
unknown
7dc2b70f49 Better fix for 64 bit CPU .. 2002-11-28 16:37:58 +02:00
unknown
fa56d0bf29 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-11-28 16:27:42 +02:00
unknown
bbb0f77884 fix for SHOW VARS for IA64 and other 64 bit systems 2002-11-27 18:05:41 +02:00
unknown
09a6218976 Fix for shutdown on several instances servers started as standalone 2002-11-27 10:05:49 -04:00
unknown
4698a8f3b1 Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23
sql/mysqld.cc:
  Auto merged
2002-11-22 13:38:37 +02:00
unknown
cb5a2b2fd5 Fixed bug with indexed NULL column <=> NULL
Fix for Mac OS X shutdown


mysql-test/mysql-test-run.sh:
  Log client error messages
mysql-test/r/null_key.result:
  Test for bug in <=> NULL
mysql-test/t/null_key.test:
  Test for bug in <=> NULL
sql/mysqld.cc:
  Fix for Mac OS X shutdown
sql/opt_range.cc:
  Fixed bug with indexed NULL column <=> NULL
2002-11-22 13:35:43 +02:00
unknown
d0236e30a4 A fix for --bind-address=hostname 2002-11-21 17:55:49 +02:00
unknown
9b891cee55 ha_innobase.cc:
Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table


sql/ha_innobase.cc:
  Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
2002-11-19 17:08:07 +02:00
unknown
2ef5ec316c - Applied required modifications for automake 1.5
- "make distcheck" needs to be fixed


BitKeeper/etc/ignore:
  Added autom4te.cache/output.0 autom4te.cache/requests autom4te.cache/traces.0 bdb/dist/autom4te.cache/output.0 bdb/dist/autom4te.cache/requests bdb/dist/autom4te.cache/traces.0 innobase/autom4te.cache/output.0 innobase/autom4te.cache/requests innobase/autom4te.cache/traces.0 to the ignore list
acinclude.m4:
   - removed libtool.m4 (is part of libtool 1.4)
config.guess:
   - applied diffs from config.guess of automake 1.5
config.sub:
   - applied diffs from config.sub of automake 1.5
configure.in:
   - renamed "AM_PROG_LIBTOOL" -> "AC_PROG_LIBTOOL"
   - added "AM_PROG_AS" for automake 1.5
dbug/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
extra/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
heap/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
install-sh:
   - applied diffs from install.sh of automake 1.5
isam/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
libmysql_r/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
ltconfig:
   - small correction for new libtool
ltmain.sh:
   - applied diffs from ltmain.sh of libtool 1.4.2
merge/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
missing:
   - applied diffs from missing of automake 1.5
myisam/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
myisammrg/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
mysys/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
   - added $(EXEEXT) to test_charset
regex/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
sql/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
strings/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
   - removed @CHARSET_SRCS@
vio/Makefile.am:
   - removed OMIT_DEPENDENCIES to make automake 1.5 happy
2002-11-17 16:45:21 +01:00
unknown
4ebb96c6b1 better fix for OPTIMIZE bug 2002-11-14 22:39:46 +01:00
unknown
ffb4dee5a5 optimize table corruption fixed, though more clean fix is desired.
Fix for another optimize bug is undone, as the new one handles both cases.
test added


mysql-test/r/myisam.result:
  updated
mysql-test/t/myisam.test:
  optimize table corruption test
sql/ha_myisam.cc:
  optimize table corruption fixed, though more clean fix is desired.
  Fix for another optimize bug is undone, as the new one handles both cases.
2002-11-13 22:55:32 +01:00
unknown
8c14ed4230 IGNORE/USE INDEX now work with HA_EXTRA_KEYREAD
BitKeeper/etc/ignore:
  Added depcomp to the ignore list
2002-11-09 19:15:46 +01:00
unknown
41f55113f4 Fixed rare core dump bug when using complicated GROUP BY query that didn't return any results.
This only showed up under heavy load.
2002-11-08 09:58:28 +02:00
unknown
ec2df91657 Merge work:/home/bk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql
2002-11-05 11:55:17 +01:00
unknown
3fbb702946 TEMPORARY MERGE tables are allowed 2002-11-05 00:00:51 +01:00
unknown
94cbd46aa5 Removed wrong bug fix for problem with timestamp and BETWEEN.
Will be properly fixed in 4.1 and 5.0


sql/field.h:
  Removed wrong (not used code)
sql/item_cmpfunc.cc:
  Removed wrong bug fix for problem with timestamp and BETWEEN.
2002-11-05 00:24:59 +02:00
unknown
610b66932f Merge work:/my/mysql-3.23 into hundin.mysql.fi:/my/mysql-3.23 2002-11-05 00:08:45 +02:00
unknown
0a5ed3de92 Fix to get core file on Linux
Docs/manual.texi:
  ChangeLog
sql/mysqld.cc:
  Write info about writing core file to stderr
2002-11-05 00:04:36 +02:00
unknown
195aa6c98f fixed a bug where "MATCH ... AGAINST () >=0" was treated as if it was > 2002-11-02 20:35:32 +01:00
unknown
8ade6771d7 ha_innobase.cc:
Backport from 4.0: Fix bug in MySQL-3.23 ORDER BY from a table with no PRIMARY KEY and where the user had added UNIQUE indexes with CREATE INDEX
pars0grm.y:
  Move inclusion of math.h after univ.i also in the .y file; this fix is already done in 4.0


innobase/pars/pars0grm.y:
  Move inclusion of math.h after univ.i also in the .y file; this fix is already done in 4.0
sql/ha_innobase.cc:
  Backport from 4.0: Fix bug in MySQL-3.23 ORDER BY from a table with no PRIMARY KEY and where the user had added UNIQUE indexes with CREATE INDEX
2002-10-31 00:30:19 +02:00
unknown
360b64379d - Applied fix made in 4.0 tree to fix a bug when comparing a datetime
column with timestamp values with BETWEEN clause
2002-10-30 21:55:56 +01:00
unknown
b9073addbb Merge mysql.com:/home/nick/mysql/repository/mysql-3.23
into mysql.com:/home/nick/mysql/mysql-3.23


sql/mysqld.cc:
  Auto merged
2002-10-29 12:28:45 -07:00
unknown
4c9b595c6b moved RAND initialization from mysqld.cc to sql_class.cc:THD::THD() 2002-10-29 12:28:14 -07:00
unknown
7a8e330f3b Fixed problem with BDB tables and ALTER TABLE
Docs/manual.texi:
  ChangeLog
mysql-test/t/bdb-crash.test:
  Don't run test if BDB is not configured
sql/sql_base.cc:
  Added free on error
2002-10-24 01:29:29 +03:00