Commit graph

2407 commits

Author SHA1 Message Date
unknown
d09a5e173f - Tagged 3.23.52 release
- Added 3.23.53 News section to the manual
 - Updated version number in configure.in to 3.23.53


Docs/manual.texi:
  Added News section for 3.23.53
configure.in:
  Bumped up version number to 3.23.53 now that 3.23.52 is released
2002-08-16 11:04:50 +02:00
unknown
4b499a870c Added the last VC++ workspace and project files 2002-08-15 18:42:17 -03:00
unknown
c1b7c246c1 Many files:
Add multithreaded stress tests for InnoDB
  new file


sql-bench/innotest1.sh:
  Add multithreaded stress tests for InnoDB
sql-bench/innotest1a.sh:
  Add multithreaded stress tests for InnoDB
sql-bench/innotest1b.sh:
  Add multithreaded stress tests for InnoDB
sql-bench/innotest2.sh:
  Add multithreaded stress tests for InnoDB
sql-bench/innotest2a.sh:
  Add multithreaded stress tests for InnoDB
sql-bench/innotest2b.sh:
  Add multithreaded stress tests for InnoDB
sql-bench/Makefile.am:
  Add multithreaded stress tests for InnoDB
2002-08-15 22:22:56 +03:00
unknown
6fbcad539d my_pthread.c:
In HP-UX-10.20 my_pthread_mutex_trylock erroneously returned 0 also in the case where the mutex was not acquired


mysys/my_pthread.c:
  In HP-UX-10.20 my_pthread_mutex_trylock erroneously returned 0 also in the case where the mutex was not acquired
2002-08-14 00:41:33 +03:00
unknown
405b8f1ada Removed not needed comment (to keep aligned with the rest of the code) 2002-08-13 23:41:32 +02:00
unknown
83417dd93f my_pthread.c:
Fix an infinite recursion in my_pthread_mutex_trylock in HP-UX-10.20; the same bug is in the 4.0 tree


mysys/my_pthread.c:
  Fix an infinite recursion in my_pthread_mutex_trylock in HP-UX-10.20; the same bug is in the 4.0 tree
2002-08-13 23:33:51 +03:00
unknown
9d0e328f7a "make clean" problem fix
strings/Makefile.am:
  "make clean" should not remove this file, it is generayed by "configure".
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-08-13 19:13:23 +05:00
unknown
70498de929 Merge work:/home/bk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql
2002-08-13 15:37:11 +02:00
unknown
9c448bcc7e disable "dvi" target in TeX is not installed
BitKeeper/deleted/.del-stamp-h.in~d3fb1119ddf3630f:
  Delete: stamp-h.in
BitKeeper/etc/ignore:
  Added stamp-h.in to the ignore list
2002-08-13 15:18:11 +02:00
unknown
53f0e6446c Remove 3.23.53 news section until 3.23.52 is tagged. 2002-08-13 10:07:36 +10:00
unknown
465e56b046 os0thread.h, os0thread.c:
Fix a critical portability bug introduced in the Windows version


innobase/os/os0thread.c:
  Fix a critical portability bug introduced in the Windows version
innobase/include/os0thread.h:
  Fix a critical portability bug introduced in the Windows version
2002-08-13 01:22:27 +03:00
unknown
9a78f2fe0f ha_innobase.h, ha_innobase.cc:
Put a note that the InnoDB HANDLER code is not used until 4.1, and appears for documentational purposes only


sql/ha_innobase.cc:
  Put a note that the InnoDB HANDLER code is not used until 4.1, and appears for documentational purposes only
sql/ha_innobase.h:
  Put a note that the InnoDB HANDLER code is not used until 4.1, and appears for documentational purposes only
2002-08-12 17:31:57 +03:00
unknown
d49f3c08cd put InnoDB HANDLER patch back again :)) 2002-08-12 16:18:37 +02:00
unknown
8b57211736 undo InnoDB HANDLER patch as it should not go into 3.23 tree 2002-08-12 15:11:58 +02:00
unknown
d27cd477bc Update docs because of stable tree revert. 2002-08-12 18:24:28 +10:00
unknown
7f8d57ef6a ha_innobase.cc:
Cleanup of latest rewrite of innobase_mysql_print_thd; from now on changing this code is forbidden unless a written permission is received from Heikki 3 days in advance


sql/ha_innobase.cc:
  Cleanup of latest rewrite of innobase_mysql_print_thd; from now on changing this code is forbidden unless a written permission is received from Heikki 3 days in advance
2002-08-12 08:29:15 +03:00
unknown
0a4e068c11 Various little docs fixups.
BitKeeper/etc/config:
  Make my life easier on bk clone/pull.
BitKeeper/triggers/post-commit:
  Little fixes in commit script (from 4.0 script).
  Added docs-commit@ notification for 3.23 (so we can more easily keep an eye on it).
Docs/manual.texi:
  Change/addition for Sinisa.
  Clarification of BDB changelog entry.
2002-08-12 14:55:07 +10:00
unknown
1918cce9ea Fix after merge
sql/mysqld.cc:
  Removed not necessary DBUG line
2002-08-12 06:49:28 +03:00
unknown
071994ba36 merge
sql/ha_innobase.cc:
  merge (kept my changes to ha_innobase.cc to not use sprintf())
2002-08-12 03:40:36 +03:00
unknown
b2e946136d Fixed problem with BIGINT and shutdown on AIX
Moved IF(test,column,NULL) code to 4.0
Changed mysys_priv.h to include my_pthread.h or my_no_pthread.h.
Removed some CR's in os2 files.


Docs/manual.texi:
  Changelog
include/global.h:
  Fix for BIGINT problem on AIX
include/my_no_pthread.h:
  Fixed typo
libmysql/Makefile.shared:
  Fix for BIGINT problem on AIX
mysql-test/mysql-test-run.sh:
  Fix to find xterm on AIX 4.3
mysql-test/r/bigint.result:
  Fix for BIGINT problem on AIX
mysql-test/r/func_if.result:
  Change results for IF() after reverting change.
mysql-test/t/bigint.test:
  Fix for BIGINT problem on AIX
mysys/Makefile.am:
  Fix for BIGINT problem on AIX
mysys/my_gethostbyname.c:
  Cleanup
mysys/my_init.c:
  Cleanup
mysys/my_net.c:
  Cleanup
mysys/my_os2cond.c:
  Space & CRLF cleanup
mysys/my_os2dirsrch.c:
  Space & CRLF cleanup
mysys/my_os2dirsrch.h:
  Space & CRLF cleanup
mysys/my_os2dlfcn.c:
  Space & CRLF cleanup
mysys/my_os2file64.c:
  Space & CRLF cleanup
mysys/my_os2mutex.c:
  Space & CRLF cleanup
mysys/my_os2thread.c:
  Space & CRLF cleanup
mysys/my_os2tls.c:
  Space & CRLF cleanup
mysys/mysys_priv.h:
  cleanup
mysys/thr_rwlock.c:
  cleanup
sql/ha_innobase.cc:
  Removed usage of sprintf()
  Fixed missing end \0 which caused control characters to appear in SHOW INNODB STATUS
sql/item_cmpfunc.cc:
  Reverted change for IF()
sql/mysqld.cc:
  Fix for shutdown on AIX
2002-08-12 03:28:02 +03:00
unknown
714f2b0f8b trx0trx.h, trx0trx.c, ha_innobase.cc, ha_innobase.h:
Add tentative code which can be used in HANDLER implementation for InnoDB


sql/ha_innobase.h:
  Add tentative code which can be used in HANDLER implementation for InnoDB
sql/ha_innobase.cc:
  Add tentative code which can be used in HANDLER implementation for InnoDB
innobase/trx/trx0trx.c:
  Add tentative code which can be used in HANDLER implementation for InnoDB
innobase/include/trx0trx.h:
  Add tentative code which can be used in HANDLER implementation for InnoDB
2002-08-12 00:17:39 +03:00
unknown
86dc608c34 ha_innobase.cc, ut0ut.c, univ.i, ut0ut.h:
Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
lock0lock.c:
  Add safety against buffer overruns in latest deadlock info
srv0srv.c:
  Add safety against buffer overruns in SHOW INNODB STATUS
os0thread.h, os0thread.c:
  Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t


innobase/os/os0thread.c:
  Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t
innobase/include/os0thread.h:
  Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t
innobase/srv/srv0srv.c:
  Add safety against buffer overruns in SHOW INNODB STATUS
innobase/lock/lock0lock.c:
  Add safety against buffer overruns in latest deadlock info
innobase/include/ut0ut.h:
  Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
innobase/include/univ.i:
  Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
innobase/ut/ut0ut.c:
  Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
sql/ha_innobase.cc:
  Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
2002-08-11 18:49:47 +03:00
unknown
49e4fea6c9 A small fix for last_insert_id with multi-row inserts 2002-08-10 22:08:00 +03:00
unknown
72edf480ec Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql


Docs/manual.texi:
  Auto merged
2002-08-10 16:40:20 +03:00
unknown
cdd3be6ab1 removal of lines that make problems with texi
Docs/manual.texi:
  removing lines that do not follow texi rules correctly.
  Hope Arjen can put this together properly ...
2002-08-10 16:38:30 +03:00
unknown
18c48aa951 Moved a News entry from the 3.23.53 section into the 3.23.52 section
and removed the 3.23.53 News section for now until 3.23.52 is officially
tagged.


Docs/manual.texi:
  Moved this changelog entry into the 3.23.52 section and removed the
  3.23.53 News section for now until 3.23.52 is officially tagged.
2002-08-10 02:08:41 +02:00
unknown
c2b4a3049f After discussing it with Monty by phone once more:
- Only define alloca as a compiler builtin, if we use GCC and there
   is no alloca.h installed


include/my_sys.h:
   - Only define alloca as a compiler builtin, if we use GCC and there
     is no alloca.h installed
2002-08-10 01:47:51 +02:00
unknown
46f5b2674f A change in IF behaviour that several users asked for ... 2002-08-09 23:14:02 +03:00
unknown
b9b404b1ce ha_innobase.cc, trx0trx.h, lock0lock.c, trx0trx.c:
Add some more safety margin to buffer sizes in prints


innobase/trx/trx0trx.c:
  Add some more safety margin to buffer sizes in prints
innobase/lock/lock0lock.c:
  Add some more safety margin to buffer sizes in prints
innobase/include/trx0trx.h:
  Add some more safety margin to buffer sizes in prints
sql/ha_innobase.cc:
  Add some more safety margin to buffer sizes in prints
2002-08-09 15:34:23 +03:00
unknown
6a246376dc ha_innobase.cc:
Found the bug in modified innobase_mysqld_print_thd; the person who modifies code should test that his change works


sql/ha_innobase.cc:
  Found the bug in modified innobase_mysqld_print_thd; the person who modifies code should test that his change works
2002-08-09 15:06:59 +03:00
unknown
6fd5f345c9 ha_innobase.cc:
Revert changes to sprintf until we know why control characters scrambled the output


sql/ha_innobase.cc:
  Revert changes to sprintf until we know why control characters scrambled the output
2002-08-09 10:17:54 +03:00
unknown
e295dd2974 Portability fix for AIX
include/my_sys.h:
  Removed redefine of alloca with GCC
2002-08-08 22:09:25 +03:00
unknown
c530371bdc Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-08-08 21:45:49 +03:00
unknown
d483ea2be6 Reverted Heikkis patch as his was not portable.
Remove not needed locks in SHOW OPEN TABLES


sql/ha_innobase.cc:
  Reverted Heikkis patch as his was not portable.
sql/sql_show.cc:
  Remove not needed locks in SHOW OPEN TABLES
2002-08-08 21:43:46 +03:00
unknown
2603dd1336 - portability fix for AIX in include/my_sys.h: define alloca as a
compiler builtin when using gcc


include/my_sys.h:
   - Portability fix: define alloca as a compiler builtin on systems
     that have gcc but no alloca.h (e.g. some IBM AIX flavors), use
     "#pragma alloca" when using IBMs compiler (xlr_C)
2002-08-08 20:09:57 +02:00
unknown
40d3c3901b Better fix for problem with empty database names in the mysql.db table 2002-08-08 00:53:00 +03:00
unknown
d96d2e5665 Fix for a security flaw in database hash 2002-08-07 21:57:32 +03:00
unknown
a3edc742b9 Many files:
Merge InnoDB-3.23.52d


innobase/btr/btr0sea.c:
  Merge InnoDB-3.23.52d
innobase/buf/buf0buf.c:
  Merge InnoDB-3.23.52d
innobase/buf/buf0lru.c:
  Merge InnoDB-3.23.52d
innobase/include/buf0buf.h:
  Merge InnoDB-3.23.52d
innobase/include/ha0ha.h:
  Merge InnoDB-3.23.52d
innobase/include/log0log.h:
  Merge InnoDB-3.23.52d
innobase/include/os0file.h:
  Merge InnoDB-3.23.52d
innobase/include/os0thread.h:
  Merge InnoDB-3.23.52d
innobase/include/ha0ha.ic:
  Merge InnoDB-3.23.52d
innobase/include/os0sync.ic:
  Merge InnoDB-3.23.52d
innobase/include/srv0start.h:
  Merge InnoDB-3.23.52d
innobase/include/sync0rw.ic:
  Merge InnoDB-3.23.52d
innobase/include/sync0sync.ic:
  Merge InnoDB-3.23.52d
innobase/include/ut0dbg.h:
  Merge InnoDB-3.23.52d
innobase/include/univ.i:
  Merge InnoDB-3.23.52d
innobase/lock/lock0lock.c:
  Merge InnoDB-3.23.52d
innobase/log/log0log.c:
  Merge InnoDB-3.23.52d
innobase/mem/mem0pool.c:
  Merge InnoDB-3.23.52d
innobase/os/os0file.c:
  Merge InnoDB-3.23.52d
innobase/os/os0thread.c:
  Merge InnoDB-3.23.52d
innobase/srv/srv0srv.c:
  Merge InnoDB-3.23.52d
innobase/srv/srv0start.c:
  Merge InnoDB-3.23.52d
innobase/sync/sync0arr.c:
  Merge InnoDB-3.23.52d
innobase/sync/sync0rw.c:
  Merge InnoDB-3.23.52d
innobase/sync/sync0sync.c:
  Merge InnoDB-3.23.52d
innobase/thr/thr0loc.c:
  Merge InnoDB-3.23.52d
innobase/trx/trx0trx.c:
  Merge InnoDB-3.23.52d
innobase/configure.in:
  Merge InnoDB-3.23.52d
sql/ha_innobase.cc:
  Merge InnoDB-3.23.52d
2002-08-06 22:59:13 +03:00
unknown
cbb0dc14cc Fixed problem with make distcheck
Fixed bug in automatic repair of MyISAM tables where table cache was not locked properly


Docs/manual.texi:
  Changelog
libmysql/Makefile.am:
  Fixed problem with make distcheck
libmysql/Makefile.shared:
  Fixed problem with make distcheck
sql/sql_base.cc:
  Fixed bug in automatic repair where table cache was not locked properly.
strings/Makefile.am:
  Fixed problem with make distcheck
2002-08-06 22:20:11 +03:00
unknown
95417c335e Backported pthread_mutex_trylock code from MySQL 4.0 to fix problem on HPUX.
Removed Heikki's patch for handling this.
2002-08-06 17:15:51 +03:00
unknown
7917a18b50 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-08-06 16:18:37 +03:00
unknown
72345f2b47 Better error messages for mysql-test-run
Added option --host to mysqlhotcopy


mysql-test/mysql-test-run.sh:
  Added error message if the server doesn't start.
  Increase connect timeout a bit (for running under purify).
mysql-test/t/rpl000001.test:
  Longer sleep time (for running under purify)
scripts/mysqlhotcopy.sh:
  Added option --host for usage with TCP/IP connections
sql/gen_lex_hash.cc:
  Fixed typo
2002-08-06 16:12:52 +03:00
unknown
72e8833bea my_pthread.h, configure.in:
In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted


configure.in:
  In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted
include/my_pthread.h:
  In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted
2002-08-06 12:32:56 +03:00
unknown
4c1712e401 Changed initialization of RND() to be less predictable.
Use MYSQL_CONFIG_NAME instead of "my" as the configuration file name.


Docs/manual.texi:
  Changelog
include/mysql_version.h.in:
  Use MYSQL_CONFIG_NAME instead of "my" as the configuration file name.
2002-08-06 03:21:12 +03:00
unknown
3cf7c3e68b merge
BitKeeper/etc/logging_ok:
  auto-union
sql/sql_base.cc:
  Auto merged
2002-08-05 22:18:39 +03:00
unknown
ccf7287763 Changelog 2002-08-05 18:53:49 +03:00
unknown
7952914415 Added some missing mutex_locks() when manipulating the table cache.
This should fix some possible table cache corruptions when doing
OPTIMIZE or REPAIR table when other threads are opening new tables.


sql/sql_base.cc:
  Added missing mutex unlock on error condition
sql/sql_insert.cc:
  Added TODO item
sql/sql_show.cc:
  Added missing pthread_mutex_lock(&LOCK_open) when calling
  query_table_status().
sql/sql_table.cc:
  Added missing pthread_mutex_lock(&LOCK_open) when calling
  hash_delete(), unlock_table_name() and remove_table_from_cache().
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-08-05 18:50:38 +03:00
unknown
529e1af295 Fixed bug with GROUP BY on NULL fields.
(Merge of code from 4.0)


Docs/manual.texi:
  Changelog
include/my_base.h:
  Fixed bug with GROUP BY on NULL fields.
include/mysql_com.h:
  Fixed bug with GROUP BY on NULL fields.
myisam/mi_search.c:
  Fixed bug with GROUP BY on NULL fields.
myisam/mi_write.c:
  Fixed bug with GROUP BY on NULL fields.
mysql-test/r/group_by.result:
  Fixed bug with GROUP BY on NULL fields.
mysql-test/t/group_by.test:
  Fixed bug with GROUP BY on NULL fields.
sql/sql_base.cc:
  Removed some not-needed comments in the trace file
sql/sql_select.cc:
  Fixed bug with GROUP BY on NULL fields.
2002-08-05 18:10:53 +03:00
unknown
19c6bdba3b merge 2002-08-05 13:15:39 +03:00
unknown
f2dba61eef Added some mutex locks to make SLAVE START and SLAVE STOP thread safe.
Docs/manual.texi:
  Changelog
sql/gen_lex_hash.cc:
  Merged --verbose option from 4.0
  Smaller hash table
sql/slave.cc:
  Added some mutex locks to make SLAVE START and SLAVE STOP thread safe.
2002-08-05 13:09:12 +03:00