Commit graph

5651 commits

Author SHA1 Message Date
unknown
a29d85072d Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0


sql/mysql_priv.h:
  Auto merged
sql/sql_table.cc:
  Auto merged
2003-01-28 14:37:12 +01:00
unknown
d490b56ed1 fixed "DROP table_open_in_handler" hang 2003-01-28 14:36:22 +01:00
unknown
2d9a417d56 Updated results for 4.0 2003-01-28 09:17:10 +02:00
unknown
c97ddd06f4 merge
include/my_sys.h:
  Auto merged
sql/item_create.cc:
  Auto merged
sql/log.cc:
  Auto merged
sql/mysql_priv.h:
  Auto merged
sql/set_var.cc:
  Auto merged
sql/sql_parse.cc:
  Auto merged
innobase/btr/btr0cur.c:
  Use local file
scripts/make_binary_distribution.sh:
  Add mysql_waitpid
sql/mysqld.cc:
  Simple cleanup
2003-01-28 09:02:51 +02:00
unknown
88b405c4e2 Merge with 3.23.56 (Replace manual with 'empty' document)
Fix for bug when using auto_increment column and LAST_INSERT_ID()


Makefile.am:
  Auto merged
ltconfig:
  Auto merged
innobase/btr/btr0cur.c:
  Auto merged
sql/Makefile.am:
  Auto merged
Docs/Makefile.am:
  Merge with 3.23.56
Docs/manual.texi:
  Merge with 3.23.56 (Replace manual with 'empty' document)
libmysql/libmysql.c:
  Use local version
sql/log.cc:
  Fix for bug when using auto_increment column and LAST_INSERT_ID()
sql/sql_base.cc:
  Use local version
2003-01-28 08:51:03 +02:00
unknown
84f81dc593 Fixes for Netware
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL


BitKeeper/deleted/.del-ChangeLog~dfc92e15bee6fc75:
  Delete: sql/ChangeLog
BUILD/compile-pentium-valgrind-max:
  Don't use valgrind with safemalloc as this can hide some bugs
Makefile.am:
  Added platform dirs
bdb/os/os_handle.c:
  Portability fix
client/mysql.cc:
  Fixes for Netware.
  Fixed duplicate output when using 'tee'
  Simple optimisations
client/mysqldump.c:
  Portability fix
client/mysqltest.c:
  Portability fix
configure.in:
  Fixes for Netware
extra/resolveip.c:
  Fixes for Netware
include/Makefile.am:
  Fixes for Netware
include/config-win.h:
  Portability fix
include/my_global.h:
  Fixes for Netware
include/my_net.h:
  Fixes for Netware
include/my_pthread.h:
  Fixes for Netware
  Added detection of mutexes that was not destroyed
include/my_sys.h:
  Fixes for Netware
  Added 'extern' before external functions
include/mysql.h:
  Fixes for Netware
innobase/configure.in:
  Fixes for Netware
innobase/include/os0thread.h:
  Fixes for Netware
innobase/os/os0sync.c:
  Fixes for Netware
innobase/os/os0thread.c:
  Fixes for Netware
innobase/srv/srv0srv.c:
  Fixes for Netware
innobase/srv/srv0start.c:
  Fixes for Netware
innobase/sync/sync0sync.c:
  Fixes for Netware
isam/test3.c:
  Disable test on Netware
libmysql/Makefile.shared:
  Added my_sleep
libmysql/get_password.c:
  Fixes for Netware
libmysql/libmysql.c:
  Fixes for Netware
  Made mysql_once_init() global
libmysql/manager.c:
  Fixes for Netware
myisam/mi_test3.c:
  Disable test for netware
mysql-test/mysql-test-run.sh:
  Give warning if output file contains errors
mysql-test/r/count_distinct.result:
  More tests
mysql-test/r/group_by.result:
  Test of ORDER BY NULL
mysql-test/t/backup.test:
  Fixes for Netware
mysql-test/t/count_distinct.test:
  More tests
mysql-test/t/func_crypt.test:
  Fixes for Netware
mysql-test/t/grant_cache.test:
  Fixes for Netware
mysql-test/t/group_by.test:
  Tests of ORDER BY NULL
mysql-test/t/rpl000015.test:
  Fixes for Netware
mysql-test/t/rpl000017.test:
  Fixes for Netware
mysql-test/t/rpl_rotate_logs.test:
  Fixes for Netware
mysys/Makefile.am:
  Added my_sleep.c and my_netware.c
mysys/charset.c:
  Fixes for Netware
mysys/default.c:
  Fixes for Netware
mysys/mf_tempfile.c:
  Fixes for Netware
mysys/my_clock.c:
  Fixes for Netware
mysys/my_copy.c:
  Fixes for Netware
mysys/my_getwd.c:
  Changed function comment from // -> /* */
mysys/my_init.c:
  Fixes for Netware
mysys/my_lock.c:
  Fixes for Netware
mysys/my_messnc.c:
  Fixes for Netware
mysys/my_os2cond.c:
  Removed comment
mysys/my_os2dirsrch.c:
  Changed function comment from // -> /* */
  Fixed indentation
mysys/my_os2dirsrch.h:
  Changed function comment from // -> /* */
  Fixed indentation
mysys/my_os2file64.c:
  Changed function comment from // -> /* */
  Fixed indentation
mysys/my_os2mutex.c:
  Changed function comment from // -> /* */
  Fixed indentation
mysys/my_os2thread.c:
  Changed function comment from // -> /* */
  Fixed indentation
mysys/my_os2tls.c:
  Changed function comment from // -> /* */
  Fixed indentation
mysys/my_pthread.c:
  Fixes for Netware
mysys/my_redel.c:
  Fixes for Netware
mysys/my_tempnam.c:
  Fixes for Netware
mysys/my_thr_init.c:
  Remove created mutexes when program ends.
mysys/mysys_priv.h:
  Cleanup
mysys/safemalloc.c:
  Prefix error messages with "Error:"
mysys/thr_alarm.c:
  Destroy internal mutex on end_thr_alarm.
mysys/thr_mutex.c:
  Added detection of mutex on which one didn't call pthread_mutex_destroy()
scripts/make_binary_distribution.sh:
  Fixes for Netware
sql/des_key_file.cc:
  Free mutex at end
sql/ha_innodb.cc:
  Free mutex at end
sql/ha_myisam.cc:
  Changed warnings from REPAIR Note:
  (For mysql-test-run)
sql/hostname.cc:
  Fixes for Netware
sql/item.h:
  Fixed bug in create_tmp_field() which causes a memory overrun
sql/item_func.cc:
  Free used mutexes
sql/item_sum.cc:
  Fixed bug in create_tmp_field() which causes a memory overrun
sql/log.cc:
  Free used mutexes
sql/my_lock.c:
  Fixes for Netware
sql/mysql_priv.h:
  Fixes for Netware
sql/mysqld.cc:
  Fixes for Netware
  Added Have_crypt
  Properly free mutexes from MYSQL_LOG by calling cleanup
  Free mutex before exit
sql/repl_failsafe.cc:
  Fixes for Netware
sql/set_var.cc:
  Added have_crypt
sql/share/english/errmsg.txt:
  Added version socket and port to stderr log
sql/slave.cc:
  Remove global MASTER_INFO variable and use instead an allocated variable.
  This allows us to correctly free used mutex.
sql/slave.h:
  Move constructors and destuctors to slave.cc
  (To make it easier to clear all needed variables)
sql/sql_base.cc:
  Safety fix
sql/sql_class.h:
  Portability fixes.
  Added 'cleanup' to log handling to be able to free mutexes.
sql/sql_insert.cc:
  Fixes for Netware
mysys/my_sleep.c:
  E
sql/sql_parse.cc:
  Fixes for Netware
sql/sql_select.cc:
  Added optimisation for ORDER BY NULL
sql/sql_select.h:
  Fixed bug in create_tmp_field() which causes a memory overrun
sql/sql_table.cc:
  Fixed bug in create_tmp_field() which causes a memory overrun
sql/sql_udf.cc:
  Free mutex on end
vio/test-ssl.c:
  Simple code cleanup
vio/test-sslclient.c:
  Simple code cleanup
vio/test-sslserver.c:
  Simple code cleanup
vio/viotest-ssl.c:
  Simple code cleanup
2003-01-28 08:38:28 +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
3595556335 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-01-28 00:57:13 +01:00
unknown
0d470b8d77 do not force CONNECTION_ID(), FOUND_ROWS(), PI(), CURRENT_USER(),
and VERSION() to be uppercase in e.g. "select pi()"


mysql-test/r/func_math.result:
  result updated
mysql-test/r/select_found.result:
  result updated
mysql-test/r/union.result:
  result updated
2003-01-28 00:55:41 +01: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
55f66ee91e btr0cur.c:
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:
  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:04:48 +02:00
unknown
3967668e6b - removed unused CC and CXX variables
- CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS
2003-01-27 20:55:03 +01:00
unknown
6958e3289d Added option hostname.err
sql/sql_parse.cc:
  added option hostname.err
2003-01-27 15:37:25 -02:00
unknown
48f587a883 remove warnings 2003-01-27 17:52:55 +01: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
73e6cc4fe4 fixes for SHOW VARIABLES and --ft-stopword-list 2003-01-27 12:12:12 +01:00
unknown
dee921691d ft_stopword_file added to 'SHOW VARIABLES' output 2003-01-27 11:15:54 +01:00
unknown
c4ab5e0f09 ft_init_stopwords() in embedded 2003-01-27 00:14:12 +01:00
unknown
2621b0b97c enadling out-of-cache reads for shared IO_CACHE 2003-01-26 14:20:43 +01:00
unknown
7fe48f6949 do not "trust number of broadcasts" in shared IO_CACHE 2003-01-26 12:57:20 +01:00
unknown
2fde3f6442 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-01-26 12:33:42 +01:00
unknown
0412d6522d fixed bug in parallel repair 2003-01-26 12:27:29 +01:00
unknown
49e0eea578 Merge with 3.23.55
BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
  Auto merged
innobase/os/os0file.c:
  Auto merged
libmysql/Makefile.am:
  Auto merged
scripts/make_binary_distribution.sh:
  Auto merged
sql/log.cc:
  Auto merged
sql/mysqld.cc:
  Auto merged
sql/sql_select.cc:
  Auto merged
Build-tools/Do-compile:
  Use local version
Makefile.am:
  remove double libmysql_r
configure.in:
  Use local
libmysql/libmysql.c:
  Dont abort connection if too big packet error
sql/ha_innodb.cc:
  use local
sql/net_serv.cc:
  use local
sql/sql_parse.cc:
  Merge with 3.23.55 (fix double free of user)
2003-01-25 15:31:07 +02:00
unknown
db47e4ca24 Added timeout for wait_for_master_pos
Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.


mysql-test/r/rpl000009.result:
  Fixed replication test after fixing replication of DROP/CREATE DATABASE
mysql-test/t/rpl000009.test:
  Fixed replication test after fixing replication of DROP/CREATE DATABASE
sql/item_create.cc:
  Added timeout for wait_for_master_pos
sql/item_create.h:
  Added timeout for wait_for_master_pos
sql/item_func.cc:
  Added timeout for wait_for_master_pos
sql/item_func.h:
  Added timeout for wait_for_master_pos
sql/lex.h:
  Added timeout for wait_for_master_pos
sql/slave.h:
  Added timeout for wait_for_master_pos
  Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
sql/sql_parse.cc:
  Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
sql/sql_repl.cc:
  Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
2003-01-25 15:07:51 +02:00
unknown
e1eb5d7c3c Change bench files for mimer compability, change crash-me for correct testing time datafields
sql-bench/crash-me.sh:
  rectify mimer section
sql-bench/server-cfg.sh:
  - Add parameter time_format_inresult  
  - add parameters time_format_ISO, time_format_EUR, time_format_USA,          
   time_format_HHMMSS, time_format_HHHHMMSS
  - changed sub version() for mysql in the server-cfg, that version shows if 
   client connects with SSL
  - made --verbose by default
  - paramters func_extra_time_to_sec, ..sec_to_time, ..addtime, ..subtime, 
  ..timediff, ..maketime, ..time, func_odbc_hour, ..hour_time, ...minute, 
  ...second now uses time formats, that understandable for DBMS
sql-bench/test-insert.sh:
  some changes for mimer compability
sql-bench/test-select.sh:
  some changes for mimer compability
2003-01-25 17:03:00 +05:00
unknown
f9e1f8e2dc - added mysql_waitpid to the MySQL-client RPM and binary distributions
- renamed MySQL.rpm to MySQL-server.rpm


scripts/make_binary_distribution.sh:
   - added mysql_waitpid to binary distribution (required for mysql-test-run)
support-files/mysql.spec.sh:
   - renamed package "MySQL" to "MySQL-server"
   - fixed Copyright tag
   - added mysql_waitpid to "client" subpackage (required for mysql-test-run)
2003-01-24 16:10:21 +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
f2564f616c fixed table invalidation in simple renaming
mysql-test/r/query_cache.result:
  test of simple renaming & QC
mysql-test/t/query_cache.test:
  test of simple renaming & QC
2003-01-24 01:54:39 +02:00
unknown
399d9e2f27 Moved to mysqldoc tree.
BitKeeper/deleted/.del-ManualStyleGuidelines.wiki~4e97d272fd42b393:
  Delete: Docs/ManualStyleGuidelines.wiki
2003-01-24 07:41:48 +10:00
unknown
3229ddaaac Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-01-23 20:36:48 +01: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
e2d2c25407 - removed a redundant "-u root" (it's included in $mysqladmin_args) 2003-01-23 19:54:20 +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
fc09f13c5d --ft_stopword_file command-line option 2003-01-23 13:20:37 +01:00
unknown
093735ad07 - removed duplicate code (merge error) 2003-01-22 12:13:51 +01:00
unknown
f6862ce914 - tagged ChangeSet 1.1509 as "mysql-4.0.9"
- bumped up version number in configure.in to 4.0.10-gamma


configure.in:
   - bump up version number 4.0.9-gamma -> 4.0.10-gamma
2003-01-21 22:36:56 +01: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
unknown
581cbb3b84 fixed double-free bug in COM_CHANGE_USER 2003-01-21 16:07:31 +01:00
unknown
c16c93ed26 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql


sql/log.cc:
  Auto merged
2003-01-21 16:11:01 +02:00
unknown
30a35bcfe4 Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0


scripts/mysqld_safe.sh:
  Auto merged
sql/net_pkg.cc:
  Auto merged
sql/sql_acl.cc:
  Auto merged
2003-01-21 15:54:36 +02:00
unknown
33117252a4 os0file.c:
The problem yesterday in ERROR_LOCK_VIOLATION was not InnoDB Hot Backup, but some file system backup tool: add to file writes 100 retries with 1 second waits


innobase/os/os0file.c:
  The problem yesterday in ERROR_LOCK_VIOLATION was not InnoDB Hot Backup, but some file system backup tool: add to file writes 100 retries with 1 second waits
2003-01-21 13:37:41 +02:00
unknown
c0dd9d0aa2 ha_innobase.cc:
Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table


sql/ha_innobase.cc:
  Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
2003-01-21 00:44:49 +02:00
unknown
d5833961ce ha_innodb.cc:
Convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table


sql/ha_innodb.cc:
  Convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
2003-01-21 00:38:55 +02:00