Commit graph

4849 commits

Author SHA1 Message Date
unknown
83fc12f216 Added code to flush a bulk_insert index.
This fixes a bug when doing multi-row inserts on table with an auto_increment key that is not in the first key segment.


Docs/manual.texi:
  Changelog
include/my_base.h:
  Added code to flush a bulk_insert index
myisam/mi_extra.c:
  Added code to flush a bulk_insert index
mysql-test/r/insert.result:
  test of auto_increment and bulk_insert
mysql-test/t/insert.test:
  test of auto_increment and bulk_insert
sql/ha_myisam.cc:
  Added code to flush a bulk_insert index
sql/sql_insert.cc:
  Mark that bulk_insert is used
sql/sql_load.cc:
  Mark that bulk_insert is used
  Remove duplicated call to initialize bulk insert
sql/table.h:
  Mark that bulk_insert is used
vio/viosslfactories.c:
  Remove compiler warning
2002-09-18 21:04:49 +03:00
unknown
aef675029f Update mysql-test results after merge
include/my_sys.h:
  Portability fix
include/sslopt-longopts.h:
  Better help for --ssl
mysql-test/r/binary.result:
  Update results after merge
mysys/my_malloc.c:
  Portability fix
sql/udf_example.cc:
  Use longlong instead of 'long long' to make things works on windows
2002-09-18 02:21:29 +03:00
unknown
081023e8fd merge with 3.23.53 (only code cleanup and new test case)
Docs/manual.texi:
  Auto merged
mysql-test/t/binary.test:
  Auto merged
mysql-test/r/binary.result:
  merge with 3.23.53
sql/item_strfunc.h:
  Code cleanup
2002-09-18 02:04:56 +03:00
unknown
e4860747eb Fixed bug with BINARY NULL
Docs/manual.texi:
  ChangeLog
mysql-test/r/binary.result:
  Test of binary NULL
mysql-test/t/binary.test:
  Test of binary NULL
2002-09-18 02:00:56 +03:00
unknown
00b310fa54 Merge
Docs/manual.texi:
  SCCS merged
2002-09-18 00:44:58 +03:00
unknown
f0fbecca27 fixed so that --ssl and --skip-ssl works with the MySQL clients.
Fixed core dump bug when sending wrong string to AES_DECRYPT()


BitKeeper/deleted/.del-explain_log.sh~e570be5f63576fe1:
  Delete: scripts/explain_log.sh
Docs/manual.texi:
  Updated bug reporting. Added somew new changelog entries and changed some old
client/mysql.cc:
  Fixed so that --ssl and --skip-ssl works
client/mysqladmin.c:
  Fixed so that --ssl and --skip-ssl works
client/mysqlcheck.c:
  Fixed so that --ssl and --skip-ssl works
client/mysqldump.c:
  Fixed so that --ssl and --skip-ssl works
client/mysqlimport.c:
  Fixed so that --ssl and --skip-ssl works
client/mysqlshow.c:
  Fixed so that --ssl and --skip-ssl works
include/sslopt-case.h:
  Fixed so that --ssl and --skip-ssl works
mysql-test/r/func_str.result:
  Test of problem with AES_DECRYPT()
mysql-test/t/func_str.test:
  Test of problem with AES_DECRYPT()
mysys/my_aes.c:
  Fixed problem with wrong decrypt string.
scripts/mysql_explain_log.sh:
  Applied missed patch
sql/item_strfunc.cc:
  Fixed aes_encrypt() and aes_decrypt() to be safer and avoid some mallocs()
sql/net_pkg.cc:
  Return ER_UNKNOWN_ERROR instead of errocode 0 in some cases.
2002-09-17 23:46:53 +03:00
unknown
475f7300e9 Merge
Docs/manual.texi:
  SCCS merged
2002-09-17 21:09:39 +02:00
unknown
5f6bd7ddb1 ft-boolean + ORDER BY (ftb tree reusing) bug 2002-09-17 21:04:10 +02:00
unknown
590a0ed3fc comment corrected 2002-09-17 20:37:26 +02:00
unknown
ddcc49ec62 Merge with 3.23.53
Docs/manual.texi:
  Auto merged
innobase/include/srv0srv.h:
  Auto merged
innobase/os/os0file.c:
  Auto merged
innobase/row/row0mysql.c:
  Auto merged
innobase/srv/srv0srv.c:
  Auto merged
sql/sql_table.cc:
  Auto merged
sql/filesort.cc:
  merge
2002-09-17 05:17:32 +03:00
unknown
afe8d4fc24 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
Docs/manual.texi:
  Auto merged
sql/ha_innodb.cc:
  Auto merged
sql/ha_innodb.h:
  Auto merged
2002-09-16 15:56:55 +03:00
unknown
9ce6267ebe Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
Fixed bug in SELECT ... ORDER BY ... LIMIT
Fixed bug in ALTER TABLE and RENAME TABLE with --lower-case-table-names
Fixed hang when using --with-openssl


Docs/manual.texi:
  Updated SHOW VARIABLES
  Changelog
  Moved some missplaced changelog entries
include/violite.h:
  updated prototypes
libmysqld/lib_sql.cc:
  Moved init_update_queries() to sql_parse.cc
mysql-test/install_test_db.sh:
  Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
mysql-test/r/grant.result:
  Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
mysql-test/t/grant.test:
  Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
scripts/mysql_fix_privilege_tables.sh:
  Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
scripts/mysql_install_db.sh:
  Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
sql/filesort.cc:
  Fixed bug in SELECT ... ORDER BY ... LIMIT
sql/mysql_priv.h:
  New prototypes
sql/mysqld.cc:
  Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
sql/sql_acl.cc:
  Moved init_update_queries() to sql_parse.cc
  Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host
sql/sql_acl.h:
  Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host
sql/sql_parse.cc:
  Moved init_update_queries() to sql_parse.cc
sql/sql_show.cc:
  Fixed wrong output in SHOW TABLE STATUS for compressed tables.
sql/sql_table.cc:
  Fixed bug in ALTER TABLE and RENAME TABLE with --lower-case-table-names
vio/viosocket.c:
  Fixed hang when using --with-openssl
vio/viossl.c:
  Fixed hang when using --with-openssl
2002-09-16 15:55:19 +03:00
unknown
6f8b510a2b Fixed bug in ALTER TABLE and RENAME TABLE when running with lower-case-table-names.
Docs/manual.texi:
  changelog
2002-09-16 15:24:54 +03:00
unknown
3c438bea38 Merge mysql.com:/home/pz/mysql/mysql-4.0-root
into mysql.com:/home/pz/mysql/mysql-4.0
2002-09-16 00:06:24 +04:00
unknown
f2d256e87a manual.texi clarify that FULLTEXT is for MyISAM tables.
Docs/manual.texi:
  clarify that FULLTEXT is for MyISAM tables.
2002-09-15 12:10:33 -05:00
unknown
bda0d5499c Merge heikki@work.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/heikki/mysql-4.0
2002-09-15 02:24:42 +03:00
unknown
57a2cf1377 ha_innodb.h, ha_innodb.cc:
Reverted the change which allowed use of HA_READ_PREFIX_LAST in InnoDB


sql/ha_innodb.cc:
  Reverted the change which allowed use of HA_READ_PREFIX_LAST in InnoDB
sql/ha_innodb.h:
  Reverted the change which allowed use of HA_READ_PREFIX_LAST in InnoDB
2002-09-15 02:23:53 +03:00
unknown
ca851d2011 Merge work:/my/mysql-3.23 into mashka.mysql.fi:/home/my/mysql-3.23 2002-09-15 01:24:18 +03:00
unknown
20ec6183fe Fixed core dump bug in ORDER BY ... LIMIT
Docs/manual.texi:
  Changelog
2002-09-15 01:23:01 +03:00
unknown
38b34b0a7e Fix MySQL Test so it will not depend on current host in log file naming.
mysql-test/r/rpl_flush_log_loop.result:
  Fix result
mysql-test/t/rpl_flush_log_loop-master.opt:
  Fix master options
mysql-test/t/rpl_flush_log_loop-slave.opt:
  Fix slave options
2002-09-15 02:17:20 +04:00
unknown
2808e52d8d Merge mysql.com:/home/pz/mysql/mysql-4.0-root
into mysql.com:/home/pz/mysql/mysql-4.0


BitKeeper/deleted/.del-rpl_flush_log_loop-master.opt:
  Delete: mysql-test/t/rpl_flush_log_loop-master.opt
BitKeeper/deleted/.del-rpl_flush_log_loop-slave.opt:
  Delete: mysql-test/t/rpl_flush_log_loop-slave.opt
BitKeeper/deleted/.del-rpl_flush_log_loop.test:
  Delete: mysql-test/t/rpl_flush_log_loop.test
2002-09-14 22:45:09 +04:00
unknown
4240a7f13d mysqlbinlog.cc:
a few changes to test resolving


client/mysqlbinlog.cc:
  a few changes to test resolving
2002-09-14 11:26:40 -05:00
unknown
63bdec30bf mysqlbinlog.cc:
fixed typo


client/mysqlbinlog.cc:
  fixed typo
2002-09-14 11:12:02 -05:00
unknown
0b5c1838bf ha_innodb.cc:
Add some comments
ha_innodb.h:
  Remove the flag HA_NOT_READ_PREFIX_LAST from ha_innodb.h: InnoDB has supported this from the start, but not tested yet


sql/ha_innodb.h:
  Remove the flag HA_NOT_READ_PREFIX_LAST from ha_innodb.h: InnoDB has supported this from the start, but not tested yet
sql/ha_innodb.cc:
  Add some comments
2002-09-14 03:12:00 +03:00
unknown
5886a7d33d manual.texi minor tweaks/fixups to charset section.
manual.texi	minor fixups to mysql_real_connect() section.


Docs/manual.texi:
  minor tweaks/fixups to charset section.
2002-09-13 10:47:02 -05:00
unknown
0891bc24d0 row0mysql.c:
Fix typos in previous push


innobase/row/row0mysql.c:
  Fix typos in previous push
2002-09-13 14:23:09 +03:00
unknown
5ab7b94ba0 row0mysql.c:
Allow CREATE TABLE and DROP TABLE even if innodb_force_recovery is used, the user can drop a problematic table


innobase/row/row0mysql.c:
  Allow CREATE TABLE and DROP TABLE even if innodb_force_recovery is used, the user can drop a problematic table
2002-09-13 13:55:25 +03:00
unknown
bdf11b22cd Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
Docs/manual.texi:
  Auto merged
2002-09-13 01:09:50 +03:00
unknown
aaa3075c9e Added missing nodes to InnoDB section 2002-09-13 01:08:03 +03:00
unknown
f3d5cb8b6a opt_range.cc:
Fix the crash in InnoDB when WHERE primarykey < x ORDER BY primarykey is used


sql/opt_range.cc:
  Fix the crash in InnoDB when WHERE primarykey < x ORDER BY primarykey is used
2002-09-12 01:57:45 +03:00
unknown
36cb35932f manual.texi fix mangled sentence (pointed out by Egor).
Docs/manual.texi:
  fix mangled sentence (pointed out by Egor).
2002-09-11 13:15:35 -05:00
unknown
4390ecd2c2 manual.texi formatting cleanups.
Docs/manual.texi:
  formatting cleanups.
2002-09-11 09:52:57 -05:00
unknown
686a758f65 srv0srv.c, srv0srv.h:
Change srv_flush_log_at_trx_commit to ulint, note that ibool is defined as ulint, so this is purely formal change
os0file.c:
  Start using unbuffered i/o again in Windows because sequential read using normal i/o was 4 times slower in XP


innobase/os/os0file.c:
  Start using unbuffered i/o again in Windows because sequential read using normal i/o was 4 times slower in XP
innobase/include/srv0srv.h:
  Change srv_flush_log_at_trx_commit to ulint, note that ibool is defined as ulint, so this is purely formal change
innobase/srv/srv0srv.c:
  Change srv_flush_log_at_trx_commit to ulint, note that ibool is defined as ulint, so this is purely formal change
2002-09-11 16:07:52 +03:00
unknown
b280017496 fixup after merge 2002-09-11 15:07:06 +03:00
unknown
26bf87c939 Merge with 3.23.53
Build-tools/Do-compile:
  Auto merged
innobase/btr/btr0cur.c:
  Auto merged
innobase/os/os0file.c:
  Auto merged
innobase/srv/srv0srv.c:
  Auto merged
innobase/sync/sync0arr.c:
  Auto merged
innobase/trx/trx0undo.c:
  Auto merged
sql/ha_innodb.h:
  Auto merged
Docs/manual.texi:
  merge
sql/ha_innodb.cc:
  merge
sql/mysqld.cc:
  merge
2002-09-11 14:49:38 +03:00
unknown
d221f3ff17 merge
mysys/thr_alarm.c:
  Auto merged
sql/sql_table.cc:
  Auto merged
Docs/manual.texi:
  merge (Removed bug fix comments for not relesed version)
2002-09-11 06:44:45 +03:00
unknown
8f232cb75f Portability fixes.
Improve mysql-test to be more robust.
Fix that GRANT doesn't delete SSL options
Change innobase_flush_log_at_trx_commit to uint.
Don't rotate logs if we read a rotate log entry from the master.


Docs/manual.texi:
  Changelog
client/mysqlbinlog.cc:
  Handle empty binlogfiles gracefully
client/mysqltest.c:
  Do a sleep after 'sync_with_master'
  Cleaned up sleep() handling.
  Free all memory on exit
configure.in:
  Fix for Mac OS 10.2
include/my_sys.h:
  Added my_strdup_with_length()
innobase/btr/btr0cur.c:
  Fixed wrong printf()
libmysql/libmysql.c:
  Added DBUG_PRINT statements.
  Assume that mysql_...send() functions has correct query length.
mysql-test/mysql-test-run.sh:
  Properly remove log files before starting new tests.
mysql-test/r/grant.result:
  Update for new test results
mysql-test/r/innodb.result:
  Update for new test results
mysql-test/r/myisam.result:
  Update for new test results
mysql-test/r/rpl_log.result:
  Update for new test results
mysql-test/r/rpl_rotate_logs.result:
  Update for new test results
mysql-test/r/variables.result:
  Update for new test results
mysql-test/t/grant.test:
  Test that GRANT doesn't delete SSL options
mysql-test/t/myisam.test:
  Test long key usage
mysql-test/t/rpl_log.test:
  Disable 'show new master'
mysql-test/t/rpl_mystery22.test:
  Longer sleep for more safety.
mysql-test/t/rpl_rotate_logs.test:
  More comments
mysys/my_malloc.c:
  Added my_strdup_with_length()
mysys/safemalloc.c:
  Added my_strdup_with_length()
mysys/thr_alarm.c:
  Fix of alarms for windows.
sql/ha_innodb.cc:
  Change innobase_flush_log_at_trx_commit to uint
mysql-test/r/rpl_redirect.result:
  Updated test results
mysql-test/t/rpl_redirect.test:
  Added more tests to improve code coverage.
sql/ha_innodb.h:
  Change innobase_flush_log_at_trx_commit to uint
sql/item_func.cc:
  Return GLOBAL and SESSION as part of column names
sql/log.cc:
  Only write STOP events when server goes down.
sql/log_event.cc:
  Don't rotate logs if we read a rotate log entry from the master.
sql/log_event.h:
  Change ident_len to uint (more efficient)
sql/mysqld.cc:
  Change innobase_flush_log_at_trx_commit to uint
sql/net_serv.cc:
  More debug output
sql/repl_failsafe.cc:
  More DEBUG
  Search until we find next position in binary log (and not only =)
sql/slave.cc:
  More DBUG & comments
  Don't rotate the binary log on master flush logs
sql/slave.h:
  indentation change
sql/sql_acl.cc:
  Test that GRANT doesn't delete SSL options
sql/sql_parse.cc:
  Disable show_new_master.
sql/sql_repl.cc:
  Chamger show_binlog_events() to use my_error()
sql/sql_table.cc:
  Fixed check for too long keys in MyISAM
sql/sql_udf.cc:
  Fix udf handling
2002-09-11 06:40:08 +03:00
unknown
f30b0eaced changelog 2002-09-10 23:47:30 +02:00
unknown
e9456433ed Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-09-10 23:41:00 +02:00
unknown
80bc840f53 max_key_length MyISAM bugfix
myisam/mi_create.c:
  check for MI_MAX_KEY_LENGTH in mi_create()
sql/sql_table.cc:
  fix obvious typo
2002-09-10 21:40:01 +02:00
unknown
33a30d002a manual.texi British-ise some -ize words
manual.texi	formatting fixups


Docs/manual.texi:
  British-ise some -ize words
2002-09-10 14:33:22 -05:00
unknown
a106f9ea43 bugfix: DISTINCT with const_item in ORDER BY 2002-09-10 19:23:59 +00:00
unknown
6a06c4c534 Fixed changelog 2002-09-10 20:56:38 +03:00
unknown
393315dd59 ha_innobase.cc:
Cleanup after last push


sql/ha_innobase.cc:
  Cleanup after last push
2002-09-10 14:31:46 +03:00
unknown
da74720bb2 mysqld.cc:
update help innobase_flush_log_at_trx_commitcan have vals 0, 1, 2 
ha_innobase.h, ha_innobase.cc:
  make innobase_flush_log_at_trx_commit a long, like other params


sql/ha_innobase.cc:
  make innobase_flush_log_at_trx_commit a long, like other params
sql/ha_innobase.h:
  make innobase_flush_log_at_trx_commit a long, like other params
sql/mysqld.cc:
  update help innobase_flush_log_at_trx_commitcan have vals 0, 1, 2
2002-09-10 14:23:46 +03:00
unknown
040c163012 os0file.c:
Fix a typo: should be buf_page_print


innobase/os/os0file.c:
  Fix a typo: should be buf_page_print
2002-09-10 13:06:14 +03:00
unknown
c58354509a syntactic error.. 2002-09-10 12:36:19 +05:00
unknown
f83da86bd2 ha_innobase.cc, ha_innobase.h:
innodb_flush_log_at_trx_commit can have values 0, 1, 2 starting from 3.23.52


sql/ha_innobase.h:
  innodb_flush_log_at_trx_commit can have values 0, 1, 2 starting from 3.23.52
sql/ha_innobase.cc:
  innodb_flush_log_at_trx_commit can have values 0, 1, 2 starting from 3.23.52
2002-09-10 00:52:26 +03:00
unknown
d9d6d4b0e7 fix bug for slave..
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-09-09 14:40:24 +05:00
unknown
781f508273 trx0undo.c:
Remove an assertion in trx0undo.c which could erroneously fail when we ran out of tablespace


innobase/trx/trx0undo.c:
  Remove an assertion in trx0undo.c which could erroneously fail when we ran out of tablespace
2002-09-09 02:12:57 +03:00