Commit graph

5623 commits

Author SHA1 Message Date
unknown
68b583d88b Merge mashka.mysql.fi:/home/my/mysql-3.23
into mashka.mysql.fi:/home/my/mysql-4.0


mysys/my_rename.c:
  Auto merged
2002-12-14 13:02:30 +02:00
unknown
0c8582b3c3 On windows, delete any conflicting 'to' files on rename(from,to)
This fixes a bug with REPAIR TABLE t1 USE_FRM on windows.


mysys/my_rename.c:
  On windows, delete any conflicting 'to' files on rename(from,to)
2002-12-14 12:57:12 +02:00
unknown
f66adf2b89 Merge with 3.23 to get patch for lower_case_table_names for MacOSX
configure.in:
  merge with 3.23
sql/log.cc:
  Use local file
sql/mysqld.cc:
  Get patch for lower_case_table_names for MacOSX
2002-12-14 12:49:55 +02:00
unknown
b512c8b83a Transactions in AUTOCOMMIT=0 mode didn't rotate binary log
Don't enable any bulk insert or record caching code if inserting less than MIN_ROWS_TO_USE_BULK_INSERT rows (100)


myisam/mi_check.c:
  Fixed bug in copying statistics for disabled index
mysql-test/r/distinct.result:
  Fix result after not doing key statistics for first insert.
mysql-test/r/fulltext.result:
  Fix result after not doing key statistics for first insert.
mysql-test/r/insert.result:
  Fix result after not doing key statistics for first insert.
mysql-test/r/key_diff.result:
  Fix result after not doing key statistics for first insert.
mysql-test/r/order_by.result:
  Fix result after not doing key statistics for first insert.
mysql-test/r/select.result:
  Fix result after not doing key statistics for first insert.
mysql-test/r/show_check.result:
  Fix result after not doing key statistics for first insert.
sql/ha_myisam.cc:
  Don't disable index when inserting only a few rows
sql/log.cc:
  Transactions in AUTOCOMMIT=0 mode didn't rotate binary log.
sql/sql_insert.cc:
  Don't enable any bulk insert or record caching code if inserting less than MIN_ROWS_TO_USE_BULK_INSERT
2002-12-14 12:45:31 +02:00
unknown
697f939e2c Make --lower-case-table-names default on MacOSX 2002-12-14 12:25:33 +02:00
unknown
05e6b27a13 Transactions in AUTOCOMMIT=0 mode didn't rotate binary log. 2002-12-14 12:05:45 +02:00
unknown
fd977631f5 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-12-13 17:54:14 +02:00
unknown
50d569a3ec Fixed syntax error in sql_yacc.yy (with bison 1.75).
sql/sql_yacc.yy:
  Fixed syntax error (with bison 1.75).
2002-12-13 16:38:52 +01:00
unknown
606d695345 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-12-13 16:42:32 +02:00
unknown
094c801d9b - HP/UX 11 compile fix: fixed "records_in_range" class definition
in sql/ha_myisammrg.h (removed "ha_myisammrg::")
2002-12-13 15:42:31 +01:00
unknown
8277893cff Merge patch for LOCK TABLES and SLAVE STOP
configure.in:
  merge with 4.0
scripts/mysqld_safe.sh:
  Don't apply patch from 3.23
2002-12-13 16:36:08 +02:00
unknown
d2bae46534 Fixed possible replication problem in LOAD DATA INFILE with innodb tables. 2002-12-13 16:28:15 +02:00
unknown
446f23568a Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23 2002-12-13 16:03:59 +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
726f29f7e5 - fixed another typo in NOHUP_NICENESS testing 2002-12-13 13:47:25 +01:00
unknown
6a2ce08600 RESET SLAVE and CHANGE MASTER will now give an error if slave is running.
This fixes a problem in replication where RESET SLAVE could crash a running slave.


mysql-test/r/rpl_failsafe.result:
  Added missing drop
mysql-test/r/rpl_log_pos.result:
  Added slave stop before change master
mysql-test/t/rpl_log_pos.test:
  Added slave stop before change master
sql/sql_parse.cc:
  reset_slave() sends it's own errors
sql/sql_repl.cc:
  reset_slave() sends it own error.
  RESET SLAVE and CHANGE MASTER will now give an error if slave is running.
  This fixes a problem in replication where RESET SLAVE could crash a running slave.
2002-12-13 12:05:24 +02:00
unknown
d8a0617508 - added missing "test" to $NOHUP_NICENESS test (thanks to Nick Gaugler for
spotting and reporting this)
2002-12-13 09:56:02 +01:00
unknown
e6783a8785 Removed compiler warnings
Fixed wrong variable name for Windows


VC++Files/innobase/innobase.dsp:
  Don't use precompiled headers (doesn't work with samba)
VC++Files/myisammrg/myisammrg.dsp:
  Add missing files
VC++Files/mysqlbinlog/mysqlbinlog.dsp:
  Fixed included paths
VC++Files/mysqldemb/mysqldemb.dsp:
  Don't use precompiled headers (doesn't work with samba)
VC++Files/mysqlserver/mysqlserver.dsp:
  Don't use precompiled headers (doesn't work with samba)
VC++Files/sql/mysqld.dsp:
  Fixed paths
innobase/include/univ.i:
  Removed compiler warning
myisammrg/myrg_open.c:
  Removed compiler warning
sql/ha_myisam.cc:
  Removed compiler warning
  Fixed wrong (but not dangerous) if statement
sql/ha_myisammrg.cc:
  Removed compiler warning
sql/mysqld.cc:
  Fixed wrong variable name for Windows
sql/sql_update.cc:
  Removed not used label
2002-12-12 21:01:32 +02:00
unknown
25c8f58ac7 - Fix handling of suffix option
- Replace function 'check_reserved_words' with correct one


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-12-12 11:06:55 +02:00
unknown
b870cfa595 log.cc:
We must not commit inside InnoDB when LOAD DATA INFILE just writes a block to the binlog; only commit if the log event type is QUERY_EVENT or EXECUTE_LOAD_EVENT


sql/log.cc:
  We must not commit inside InnoDB when LOAD DATA INFILE just writes a block to the binlog; only commit if the log event type is QUERY_EVENT or EXECUTE_LOAD_EVENT
2002-12-11 21:24:28 +02:00
unknown
7c625dc5bc Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-12-11 21:24:27 +02:00
unknown
182de7c203 Add CHARSET keyword (missing from last push)
sql/field.cc:
  Small safety fix
2002-12-11 21:22:57 +02:00
unknown
aaf9a98e13 - moved manual pages from "man" to "man/man1" for the binary distribution 2002-12-11 19:37:09 +01:00
unknown
ff50fc4fe5 - tagged ChangeSet 1.1276.3.1 as MySQL 3.23.54
- bumped up version number in configure.in to 3.23.55
2002-12-11 18:27:46 +01:00
unknown
1891aea755 Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
2002-12-11 16:34:09 +01:00
unknown
934f5cc466 Ensure that BEGIN / COMMIT is handled properly if slave dies
Added syntax support for
CREATE TABLE foo (a char CHARACTER SET latin1) CHARSET=latin1;


Docs/internals.texi:
  Update binary protocol description
innobase/include/db0err.h:
  Merge from 3.23
mysql-test/r/insert.result:
  Updated test result from 3.23
sql/log.cc:
  Fixed bug in replication and log rotation
sql/log_event.cc:
  Ensure that BEGIN / COMMIT is handled properly if slave dies
sql/slave.cc:
  Fixed bug in replication and log rotation
sql/slave.h:
  Ensure that BEGIN / COMMIT is handled properly if slave dies
sql/sql_analyse.cc:
  Moved usage of res before res is destroyed (by bzero(&s...))
sql/sql_yacc.yy:
  Added syntax support for
  
  CREATE TABLE foo (a char CHARACTER SET latin1) CHARSET=latin1;
  
  To be able to read MySQL 4.1 dump files.
2002-12-11 15:46:39 +02:00
unknown
3c9b877b19 Merge with 3.23
innobase/dict/dict0dict.c:
  Auto merged
libmysql/libmysql.c:
  Auto merged
scripts/make_binary_distribution.sh:
  Auto merged
sql/mysqld.cc:
  Auto merged
sql/sql_udf.cc:
  Auto merged
sql/ha_innodb.cc:
  Auto merged
innobase/include/db0err.h:
  Skiped merge (Heikki wants to do this)
innobase/row/row0mysql.c:
  Skiped merge (Heikki wants to do this)
sql/sql_show.cc:
  Use local code
2002-12-11 13:32:31 +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
3bbf4e9701 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-12-10 21:38:30 +01:00
unknown
5fcd6ce31e order_by.result, key_diff.result:
updated


mysql-test/r/key_diff.result:
  updated
mysql-test/r/order_by.result:
  updated
2002-12-10 21:38:00 +01:00
unknown
ae70283125 Merge akishkin@work.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/walrus/bk/40.ibase


BitKeeper/etc/logging_ok:
  auto-union
sql-bench/server-cfg.sh:
  Auto merged
2002-12-10 19:13:31 +05:00
unknown
448644dc6b SCRUM task - cleanup interbase section in the server-cfg
sql-bench/server-cfg.sh:
  clean-up interbase section
  corrected misprint in DSN,
  creating indexes,version(), and fields conversations.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-12-10 19:09:56 +05:00
unknown
89991c65f3 merge Ranger's patches to crash-me, add new tests ( DEFAULT VALUES )
to crash-me 


sql-bench/crash-me.sh:
  new tests:
      - INSERT with DEFAULT:
      - INSERT with empty value list:
      - Insert DEFAULT VALUES;
  -------
  -checking of reserved keywords (by courtesy of Ranger)
  --------
  - added "--suffix" option 
  - added description of "--config-file" to help section
  - fixed test for DIFFERENCE()
  - fixed small bug in safe_query_result (was s/,/,/ should s/,/./)
     (by courtesy of Ranger)
sql-bench/server-cfg.sh:
  remove "KERNEL" and add "SAPDB" to sapdb version
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-12-10 18:40:38 +05:00
unknown
10bde0b61c - make sure to replace HOSTNAME in mysql.server when packing up the binary
distribution (this will still be broken for 3.23.54)
 - make sure that mysql.server in the binary distribution is executable, too
2002-12-10 14:25:23 +01: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
181537e924 incorrect bugfix removed. EQ+BETWEEN still cannot be optimized :( 2002-12-10 00:07:25 +01:00
unknown
127d01dd01 ANALYZE for MERGE 2002-12-10 00:06:05 +01:00
unknown
6271ea35b8 bulk insert code optimized
mysql-test/r/distinct.result:
  updated
mysql-test/r/fulltext.result:
  updated
mysql-test/r/select.result:
  updated
mysql-test/r/show_check.result:
  updated
mysql-test/t/insert.test:
  updated
2002-12-07 22:40:20 +01:00
unknown
5a55e25c87 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-12-06 22:50:50 +02:00
unknown
7cc9c3c6bf Don't initialize fulltext functions twice in multi-table-update
mysql-test/mysql-test-run.sh:
  Added option --extern (from 4.1)
mysql-test/r/multi_update.result:
  Portability fix
mysql-test/t/multi_update.test:
  Portability fix
2002-12-06 22:49:16 +02:00
unknown
820589496f Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build


support-files/mysql.server.sh:
  Auto merged
2002-12-05 22:05:31 +01:00
unknown
23865c0eea Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-12-05 21:38:55 +01:00
unknown
a29ee10048 current_user() to return priv_user 2002-12-05 21:38:27 +01:00
unknown
c92d611d54 row0mysql.c:
Heikki will merge to 4.0: cleanup


innobase/row/row0mysql.c:
  Heikki will merge to 4.0: cleanup
2002-12-05 22:09:51 +02: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
9b5167eeac Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-12-05 16:39:16 +02:00
unknown
fdb093fc47 Copy arguments given to mysql_server_init()
Made keybuff_size longlong (To make show variables work similar on 32
and 64 bit systems)
Fixed some 'not initalized variable errors' in multi-table-update.
Fixed memory leak in multi-table-update.
Now all tests works under valgrind without any errors.


libmysqld/lib_sql.cc:
  Copy arguments given to mysql_server_init()
mysql-test/r/temp_table.result:
  Update test results (after merge form 3.23)
sql/handler.cc:
  Made keybuff_size longlong
sql/mysql_priv.h:
  Made keybuff_size longlong
sql/mysqld.cc:
  Made keybuff_size longlong
sql/set_var.cc:
  Made keybuff_size longlong
sql/set_var.h:
  Made keybuff_size longlong
sql/sql_select.cc:
  Simple cleanup
sql/sql_select.h:
  Make TMP_TABLE_PARAM to be allocated through Sql_alloc
sql/sql_update.cc:
  Fixed some 'not initalized variable errors' in multi-table-update.
  Fixed memory leak in multi-table-update
2002-12-05 16:38:49 +02:00
unknown
5e354455be Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build


support-files/mysql.server.sh:
  Auto merged
2002-12-05 11:12:30 +01:00