Commit graph

2289 commits

Author SHA1 Message Date
unknown
0ae83cae79 os0file.c:
Crash the server if file flush does not succeed: the database can get corrupt, better to crash it than let it run


innobase/os/os0file.c:
  Crash the server if file flush does not succeed: the database can get corrupt, better to crash it than let it run
2002-06-26 10:09:11 +03:00
unknown
458c785e1f A fix for small error in displaying db names in SHOW GRANTS 2002-06-25 20:24:15 +03:00
unknown
38ffd49a8b slave.cc:
Slave thread is always in an auto-commit state: remove unnecessary tests when we flush master info


sql/slave.cc:
  Slave thread is always in an auto-commit state: remove unnecessary tests when we flush master info
2002-06-23 00:35:36 +03:00
unknown
ee102a7886 os0sync.c:
Initing a mutex with MY_MUTEX_INIT_FAST may relieve thread thrashing on Linux


innobase/os/os0sync.c:
  Initing a mutex with MY_MUTEX_INIT_FAST may relieve thread thrashing on Linux
2002-06-22 23:31:51 +03:00
unknown
1081513a12 Many files:
Merge 3.23.52


innobase/btr/btr0btr.c:
  Merge 3.23.52
innobase/btr/btr0cur.c:
  Merge 3.23.52
innobase/btr/btr0sea.c:
  Merge 3.23.52
innobase/include/btr0btr.h:
  Merge 3.23.52
innobase/include/btr0cur.h:
  Merge 3.23.52
innobase/include/btr0sea.h:
  Merge 3.23.52
innobase/include/buf0buf.h:
  Merge 3.23.52
innobase/include/buf0rea.h:
  Merge 3.23.52
innobase/include/data0data.h:
  Merge 3.23.52
innobase/include/data0data.ic:
  Merge 3.23.52
innobase/include/log0log.h:
  Merge 3.23.52
innobase/include/log0log.ic:
  Merge 3.23.52
innobase/include/os0file.h:
  Merge 3.23.52
innobase/include/page0page.h:
  Merge 3.23.52
innobase/include/page0page.ic:
  Merge 3.23.52
innobase/include/row0mysql.h:
  Merge 3.23.52
innobase/include/trx0roll.h:
  Merge 3.23.52
innobase/include/trx0sys.h:
  Merge 3.23.52
innobase/include/trx0trx.h:
  Merge 3.23.52
innobase/include/ut0ut.h:
  Merge 3.23.52
innobase/include/univ.i:
  Merge 3.23.52
innobase/include/ut0ut.ic:
  Merge 3.23.52
innobase/buf/buf0buf.c:
  Merge 3.23.52
innobase/buf/buf0rea.c:
  Merge 3.23.52
innobase/data/data0data.c:
  Merge 3.23.52
innobase/dict/dict0crea.c:
  Merge 3.23.52
innobase/dict/dict0dict.c:
  Merge 3.23.52
innobase/dict/dict0load.c:
  Merge 3.23.52
innobase/dict/dict0mem.c:
  Merge 3.23.52
innobase/fsp/fsp0fsp.c:
  Merge 3.23.52
innobase/ibuf/ibuf0ibuf.c:
  Merge 3.23.52
innobase/lock/lock0lock.c:
  Merge 3.23.52
innobase/log/log0log.c:
  Merge 3.23.52
innobase/log/log0recv.c:
  Merge 3.23.52
innobase/mtr/mtr0log.c:
  Merge 3.23.52
innobase/mtr/mtr0mtr.c:
  Merge 3.23.52
innobase/os/os0file.c:
  Merge 3.23.52
innobase/page/page0cur.c:
  Merge 3.23.52
innobase/page/page0page.c:
  Merge 3.23.52
innobase/rem/rem0cmp.c:
  Merge 3.23.52
innobase/row/row0ins.c:
  Merge 3.23.52
innobase/row/row0mysql.c:
  Merge 3.23.52
innobase/row/row0purge.c:
  Merge 3.23.52
innobase/row/row0upd.c:
  Merge 3.23.52
innobase/srv/srv0srv.c:
  Merge 3.23.52
innobase/srv/srv0start.c:
  Merge 3.23.52
innobase/trx/trx0roll.c:
  Merge 3.23.52
innobase/trx/trx0sys.c:
  Merge 3.23.52
innobase/trx/trx0trx.c:
  Merge 3.23.52
innobase/trx/trx0undo.c:
  Merge 3.23.52
innobase/ut/ut0mem.c:
  Merge 3.23.52
innobase/ut/ut0ut.c:
  Merge 3.23.52
2002-06-22 20:41:14 +03:00
unknown
b7b988b3c3 ha_innobase.cc:
Use current_thd to check if a transaction is done by a slave thread


sql/ha_innobase.cc:
  Use current_thd to check if a transaction is done by a slave thread
2002-06-22 20:33:48 +03:00
unknown
562faa29e2 sql_yacc.yy, mysql_priv.h, lex.h:
Add syntax SET NO_FOREIGN_KEY_CHECKS=1 and SET RELAXED_UNIQUE_CHECKS=1


sql/lex.h:
  Add syntax SET NO_FOREIGN_KEY_CHECKS=1 and SET RELAXED_UNIQUE_CHECKS=1
sql/mysql_priv.h:
  Add syntax SET NO_FOREIGN_KEY_CHECKS=1 and SET RELAXED_UNIQUE_CHECKS=1
sql/sql_yacc.yy:
  Add syntax SET NO_FOREIGN_KEY_CHECKS=1 and SET RELAXED_UNIQUE_CHECKS=1
2002-06-22 20:23:53 +03:00
unknown
c9faa802b2 mysqld.cc:
Add option innodb_flush_log_at_trx_commit=2 which means we always write the log to file at commit, but only do fsync about once per second


sql/mysqld.cc:
  Add option innodb_flush_log_at_trx_commit=2 which means we always write the log to file at commit, but only do fsync about once per second
2002-06-22 20:17:58 +03:00
unknown
7510893e70 ha_innobase.cc:
Merge 3.23.52


sql/ha_innobase.cc:
  Merge 3.23.52
2002-06-22 20:11:01 +03:00
unknown
4237b04189 log.cc, handler.cc:
Add BEGIN andd COMMIT around transactions in the binlog


sql/handler.cc:
  Add BEGIN andd COMMIT around transactions in the binlog
sql/log.cc:
  Add BEGIN andd COMMIT around transactions in the binlog
2002-06-22 20:05:30 +03:00
unknown
23dbcb0fa4 slave.h, slave.cc:
Do not flush the position to master.info file if we have a transaction open


sql/slave.cc:
  Do not flush the position to master.info file if we have a transaction open
sql/slave.h:
  Do not flush the position to master.info file if we have a transaction open
2002-06-22 20:00:32 +03:00
unknown
9ee25c7109 Added -DHAVE_BROKEN_REALPATH to the Mac OS X (darwin) compile options in
configure.in


configure.in:
  Added -DHAVE_BROKEN_REALPATH to the Mac OS X (darwin) compile options
  this reportedly increases the stability under high load
2002-06-21 23:54:01 +02:00
unknown
4c8f4b224a Merge lgrimmer@work.mysql.com:/home/bk/mysql
into mysql.com:/my/mysql-3.23
2002-06-18 07:46:22 +02:00
unknown
f97e1b6ae1 Backported fix from 4.0 which caused core dumps for some complex queries.
Docs/manual.texi:
  Fixed example
sql/mysqld.cc:
  Cleanup
2002-06-17 15:00:06 +03:00
unknown
77f31df500 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-06-17 12:49:18 +03:00
unknown
ae455e41e0 Bump up version number to 3.23.52 in configure.in since version 3.23.51
has finally been released 


configure.in:
  Bump up version number to 3.23.52 now that 3.23.51 is finally out
2002-06-17 11:41:08 +02:00
unknown
92240b8ca3 Portability fix for HPUX
mysys/my_pthread.c:
  Portability fix
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-06-17 09:56:27 +03:00
unknown
f4b230a6c7 Fixed Build-tools/mysql-copyright-2 to properly replace the copyright
header in x86 assemler files instead of eating the whole file


Build-tools/mysql-copyright-2:
  Handle copyright headers in *-x86.s files correctly (they do not
  use C style comments)
2002-06-17 08:54:57 +02:00
unknown
f3d9307262 Added creation of debug symbols to Build-tools/Do-linux-build
Build-tools/Do-linux-build:
  Create debug symbols so make_binary_distribution adds them to the tarball
  as well
2002-06-11 12:26:36 +02:00
unknown
a17ad22af4 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-06-10 15:51:14 +03:00
unknown
9b4ac8b1c2 Small fix for the instructional message 2002-06-08 17:39:11 +03:00
unknown
40a7f1d30a spurious binlog error code logging on temp table auto-drop fixed
added a new replication test


sql/sql_base.cc:
  f
2002-06-05 20:16:44 -06:00
unknown
47c4352b58 Fixed mysql_info() result when using INSERT DELAYED
Docs/manual.texi:
  changelog
2002-06-05 16:42:07 +03:00
unknown
32113efe2a Merge nleippe@work.mysql.com:/home/bk/mysql
into nick.leippe.com:/home/nick/mysql/mysql
2002-05-31 16:56:48 -07:00
unknown
169a4d9282 fixed 'load table from master' hang when host is empty
added respective test case


sql/slave.cc:
  fixed load table from master hang when host is empty
2002-05-31 16:56:02 -07:00
unknown
0ceaf6d2c2 Portability fixes for SCO and HPUX
Change TRUNCATE(number) to truncate towards zero for negative numbers
Fix NULL handling for DESCRIBE table_name


Docs/manual.texi:
  Update of TRUNCATE() information
configure.in:
  Fix for HPUX
extra/resolveip.c:
  Fix for SCO
include/my_net.h:
  Fix for HPUX
libmysql/libmysql.c:
  Removed warning on HPUX 10.20
mysql-test/r/func_math.result:
  Test of new TRUNCATE handling
mysql-test/t/func_math.test:
  Test of new TRUNCATE handling
mysys/my_gethostbyname.c:
  Portability fix
sql/item_func.cc:
  Change TRUNCATE(number) to truncate towards zero for negative numbers
sql/sql_show.cc:
  Fix NULL handling for DESCRIBE table_name
2002-05-31 15:22:38 +03:00
unknown
2c058d8478 Fixed a problem with --skip-networking.
This fix should be merged into 4.0 and 4.1
2002-05-31 13:35:20 +03:00
unknown
940ab3e031 A small fix for HP-UX when used --with-debug 2002-05-30 15:49:32 +03:00
unknown
336d94bcec ha_innobase.cc:
Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny


sql/ha_innobase.cc:
  Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny
2002-05-29 14:04:19 +03:00
unknown
940a8a4020 Renamed stripp_sp -> strip_sp
Remove end space from ENUM and SET strings


mysql-test/t/type_enum.test:
  Test of end space in enum's
Docs/manual.texi:
  Changelog
include/my_sys.h:
  Renamed stripp_sp -> strip_sp
mysql-test/r/type_enum.result:
  Test of end space in enums
mysys/Makefile.am:
  change stripp_sp -> strip_sp
mysys/mf_strip.c:
  change stripp_sp -> strip_sp
sql/sql_db.cc:
  change stripp_sp -> strip_sp
sql/sql_parse.cc:
  change stripp_sp -> strip_sp
  Remove end space from ENUM and SET strings
2002-05-27 23:21:49 +03:00
unknown
38fad33321 Split raid C function to separate file to make things more portable.
Fixed some portability things in my_gethostbyname_r
Portability fix for type_decimal.test


BUILD/SETUP.sh:
  Fixes for gcc 3.1
extra/resolveip.c:
  Cleanup
include/my_net.h:
  Portability fix for SCO
mysql-test/t/type_decimal.test:
  Portability fix for FreeBSD
mysys/Makefile.am:
  Portability fix for OSF1
mysys/raid.cc:
  Portability fix for OSF1
2002-05-27 10:02:00 +03:00
unknown
e3b5fd8696 Portability fix for OSF1
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-05-27 09:29:26 +03:00
unknown
af68d3de87 Merge work:/home/bk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql


BitKeeper/etc/logging_ok:
  auto-union
sql/sql_select.cc:
  Auto merged
2002-05-26 12:59:02 +02:00
unknown
85bfbcd7ad quick fix for some optimizer glitch (it appears as ft+const bug, but it, probably, isn't)
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-05-25 20:59:50 +02:00
unknown
5abc01a898 Changing tests
BitKeeper/deleted/.del-sel000004.test~445526a8a20de101:
  Delete: mysql-test/t/sel000004.test
BitKeeper/deleted/.del-sel000004.result~360af2095c88cb8c:
  Delete: mysql-test/r/sel000004.result
2002-05-24 18:25:17 +03:00
unknown
29e70bfbbf just to check for GROUP by bug 2002-05-22 16:36:24 +03:00
unknown
715f23faab A check that group by bug from 4.0.2 is not here ... 2002-05-22 15:12:42 +03:00
unknown
1bb855a790 Re-diffed patch against glibc 2.2.5 (the last one was malformed and
did not apply)
2002-05-21 11:14:47 +02:00
unknown
62b683c09b Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-05-20 12:11:47 +03:00
unknown
3f8a7a5873 Updated assembler code from MySQL 4.0 (to make them work with gcc 3.0)
Fixed memory overrun bug in glibc patch
Updated french error messages


Docs/glibc-2.2.5.patch:
  Fixed memory overrun bug in glibc patch
sql/share/french/errmsg.txt:
  Updated french error messages (patch from Loic Le Loarer)
strings/longlong2str-x86.s:
  Updated from MySQL 4.0 (to make them work with gcc 3.0)
strings/strings-x86.s:
  Updated from MySQL 4.0 (to make them work with gcc 3.0)
2002-05-20 12:11:15 +03:00
unknown
ce6ea95cfe Added os2 source directory to source distribution
(thanks to Yuri Dario <mc6530@mclink.it> for pointing this out)


Makefile.am:
  Added OS/2 subdirectory to source distribution
configure.in:
  Added OS/2 subdirectory to source distribution
2002-05-17 12:01:04 +02:00
unknown
8a32ef1cf9 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-05-17 10:51:32 +03:00
unknown
c2504d86b3 Fix bug in CONCAT_WS()
Update of glibc patch from MySQL 4.0


Docs/glibc-2.2.5.patch:
  Update of patch from MySQL 4.0
Docs/manual.texi:
  ChangeLog
sql/item_strfunc.cc:
  Fix bug in CONCAT_WS()
sql/share/italian/errmsg.txt:
  Update of new error messages
2002-05-17 10:50:57 +03:00
unknown
4df6586eb7 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/mail/work/mysql


mysys/my_pthread.c:
  Auto merged
2002-05-16 19:00:55 +03:00
unknown
72ed6bc397 A final and proper fix for HP-UX problems with pthread_cond_timedwait.
This time I did it "by the book" as this function can return any 
of the down cited values after timeout !! This is now done 100 %
according to HP-UX DCE documentation.

This made Hewlett-Packard very happy.
2002-05-16 18:58:50 +03:00
unknown
74d29a0771 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-05-16 16:40:34 +03:00
unknown
d2b95cd7ab New my_gethostbyname_r() handling
Changed some status variable names
Fix bug in GRANT ... PASSWORD string


Docs/manual.texi:
  Update of variable names
include/my_net.h:
  New my_gethostbyname_r() handling
include/my_pthread.h:
  New my_gethostbyname_r() handling
libmysql/Makefile.shared:
  New my_gethostbyname_r() handling
libmysql/libmysql.c:
  New my_gethostbyname_r() handling
mysys/Makefile.am:
  New my_gethostbyname_r() handling
mysys/my_pthread.c:
  New my_gethostbyname_r() handling
mysys/my_thr_init.c:
  New my_gethostbyname_r() handling
sql/hostname.cc:
  New my_gethostbyname_r() handling
sql/mini_client.cc:
  New my_gethostbyname_r() handling
sql/mysqld.cc:
  change some status variable names
sql/sql_acl.cc:
  Fix bug in GRANT ... PASSWORD string
2002-05-16 16:32:51 +03:00
unknown
c23bc103f0 mysql_fix_extensions.sh tool copied from 4.0 tree (referenced in manual). 2002-05-16 10:13:42 +10:00
unknown
06a388075d Reformatted license statement in mysqlcheck usage output text to enable
mysql_copyright to replace it


client/mysqlcheck.c:
  Reformatted license statement in usage output to enable mysql_copyright
  to replace it
2002-05-15 15:35:27 +02:00
unknown
00d62e8dc5 Fixed sql_yacc.yy to be compatible with bison 1.31 and above.
Made detection of GNU tar a bit more flexible.
Only use /usr/local/mysql-glibc if it actually exists


Build-tools/Do-linux-build:
  Only use the "--with-other-libc" parameter, if another libc actually
  exists at this location
Makefile.am:
  Removed hard-coded tar binary name
configure.in:
  Added check for GNU tar with various names
sql/sql_yacc.yy:
  Added semicolons to several expressions to make bison 1.31 and above
  happy when used in Yacc compatibility mode. From the bison NEWS:
  
    "Bison has always permitted actions such as { $$ = $1 }: it adds the
    ending semicolon.  Now if in Yacc compatibility mode, the semicolon
    is no longer output: one has to write { $$ = $1; }."
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-05-15 11:06:44 +02:00