Commit graph

1,895 commits

Author SHA1 Message Date
unknown
a8caad316a New SET syntax & system variables.
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups


BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
  Delete: libmysql/net.c
BitKeeper/etc/ignore:
  added libmysql/net.c
Docs/manual.texi:
  New SET syntax & system variables.
client/client_priv.h:
  moved order of include files
client/mysql.cc:
  Removed compiler warning
client/mysqladmin.c:
  Use new SHOW GLOBAL syntax (if server supports it)
configure.in:
  version change
include/Makefile.am:
  indentation cleanup
include/my_getopt.h:
  Made some helper functions global
include/my_sys.h:
  Removed not used code
include/myisam.h:
  Added extra argument to ..._extra()
include/myisammrg.h:
  Added extra argument to ..._extra()
include/mysql_com.h:
  changed NET to be able to support changeable system variables
include/mysql_embed.h:
  Added MYSQL_SERVER_SUFFIX
include/mysql_version.h.in:
  Added check of multiple including (needed for embedded library)
include/mysqld_error.h:
  New error messages
innobase/dict/dict0dict.c:
  Remove compiler warnings
innobase/include/ut0mem.h:
  Remove compiler warnings
innobase/include/ut0mem.ic:
  Remove compiler warnings
isam/isamchk.c:
  new init_key_cache() arguments
isam/isamlog.c:
  new init_key_cache() arguments
isam/test2.c:
  new init_key_cache() arguments
isam/test3.c:
  new init_key_cache() arguments
libmysql/Makefile.am:
  Removed net.c (Automaticly make it from net_serv.cc)
libmysql/Makefile.shared:
  Removed net.c (Automaticly make it from net_serv.cc)
libmysql/libmysql.c:
  Changeable system variables
libmysqld/Makefile.am:
  Added set_var.cc file
libmysqld/embedded_priv.h:
  Changed order of include fiels
libmysqld/lib_sql.cc:
  merge with mysqld.cc (for changeable variables)
libmysqld/libmysqld.c:
  New changeable system variables
myisam/mi_check.c:
  Added extra argument to ..._extra()
myisam/mi_extra.c:
  Added extra argument to ..._extra()
myisam/mi_open.c:
  Removed not used variable
myisam/mi_test1.c:
  Changed call to init_key_cache
myisam/mi_test2.c:
  Added extra argument to ..._extra()
myisam/mi_test3.c:
  Added extra argument to ..._extra()
myisam/mi_write.c:
  Add cache size argument to bulk-insert-init
myisam/myisamchk.c:
  Use new key cache
myisam/myisamdef.h:
  new mi_init_bulk_insert() arguments
myisam/myisamlog.c:
  Added extra argument to ..._extra()
myisam/myisampack.c:
  Added extra argument to ..._extra()
myisammrg/myrg_extra.c:
  Added extra argument to ..._extra()
myisammrg/myrg_rrnd.c:
  Added extra argument to ..._extra()
mysql-test/r/insert_select.result:
  New changeable system variables
mysql-test/r/key.result:
  Test of bug in auto_increment
mysql-test/r/query_cache.result:
  New changeable system variables
mysql-test/r/rpl000001.result:
  New changeable system variables
mysql-test/r/rpl000016.result:
  New changeable system variables
mysql-test/r/union.result:
  New changeable system variables
mysql-test/r/user_var.result:
  New changeable system variables
mysql-test/r/variables.result:
  New changeable system variables
mysql-test/t/key.test:
  Test of bug in auto_increment
mysql-test/t/query_cache.test:
  New changeable system variables
mysql-test/t/rpl000001.test:
  New changeable system variables
mysql-test/t/rpl000009.test:
  New changeable system variables
mysql-test/t/rpl000016.test:
  New changeable system variables
mysql-test/t/rpl_compat.test:
  New changeable system variables
mysql-test/t/union.test:
  New changeable system variables
mysql-test/t/user_var.test:
  New changeable system variables
mysql-test/t/variables.test:
  New changeable system variables
mysys/default.c:
  Bigger default memory allocation
mysys/mf_iocache.c:
  Removed compiler warning
mysys/mf_keycache.c:
  Made key cache resizable on the fly
  Removed not needed extra argument to init_key_cache()
mysys/my_getopt.c:
  Made some helper functions global
sql/Makefile.am:
  Aded set_var.cc
sql/convert.cc:
  Comment cleanup
sql/field.cc:
  new changeable system variables
sql/filesort.cc:
  new changeable system variables
sql/ha_berkeley.cc:
  AUTO_COMMIT -> AUTOCOMMIT
sql/ha_innodb.cc:
  new changeable system variables
sql/ha_myisam.cc:
  Added extra argument to ..._extra()
sql/ha_myisam.h:
  Added extra argument to ..._extra()
sql/ha_myisammrg.cc:
  Added extra argument to ..._extra()
sql/ha_myisammrg.h:
  Added extra argument to ..._extra()
sql/handler.cc:
  Added extra argument to ..._extra()
  Added resize of key cache
  Change ha_table_typelib for use with new system variables
sql/handler.h:
  Added extra argument to ..._extra()
sql/item.cc:
  new changeable system variables
sql/item.h:
  Added better support of Item_uint
sql/item_func.cc:
  Added support for SET @@[global | session] system_variable
sql/item_strfunc.cc:
  new changeable system variables
sql/key.cc:
  Fixed bug in auto_increment on second part keys
sql/lex.h:
  Removed not needed keywords
sql/log.cc:
  new changeable system variables
sql/log_event.cc:
  new changeable system variables
sql/log_event.h:
  Removed not needed var reference
sql/mini_client.cc:
  new changeable system variables
  code cleanup
sql/mini_client.h:
  Indentation cleanup
sql/mysql_priv.h:
  Changed order of include files & variables to make file more readable
sql/mysqld.cc:
  Changed order of variables to make file more readable.
  Support for changeable variables
  Rename of system variables
  Moved init_vars to set_var.cc
  Changed output of --help
sql/net_pkg.cc:
  Added my_net_local_init() to make it possible to set different defaults for network connection depending if you are a client, embedded library or server.
sql/net_serv.cc:
  new changeable system variables
  To support this, some global variables had to be move to the NET structure.
sql/records.cc:
  new changeable system variables
  use extra_opt()
sql/repl_failsafe.cc:
  new changeable system variables
  minior code cleanups
sql/repl_failsafe.h:
  removed not needed external var reference
sql/share/czech/errmsg.txt:
  new changeable system variables
sql/share/danish/errmsg.txt:
  new changeable system variables
sql/share/dutch/errmsg.txt:
  new changeable system variables
sql/share/english/errmsg.txt:
  new changeable system variables
sql/share/estonian/errmsg.txt:
  new changeable system variables
sql/share/french/errmsg.txt:
  new changeable system variables
sql/share/german/errmsg.txt:
  new changeable system variables
sql/share/greek/errmsg.txt:
  new changeable system variables
sql/share/hungarian/errmsg.txt:
  new changeable system variables
sql/share/italian/errmsg.txt:
  new changeable system variables
sql/share/japanese/errmsg.txt:
  new changeable system variables
sql/share/korean/errmsg.txt:
  new changeable system variables
sql/share/norwegian-ny/errmsg.txt:
  new changeable system variables
sql/share/norwegian/errmsg.txt:
  new changeable system variables
sql/share/polish/errmsg.txt:
  new changeable system variables
sql/share/portuguese/errmsg.txt:
  new changeable system variables
sql/share/romanian/errmsg.txt:
  new changeable system variables
sql/share/russian/errmsg.txt:
  new changeable system variables
sql/share/slovak/errmsg.txt:
  new changeable system variables
sql/share/spanish/errmsg.txt:
  new changeable system variables
sql/share/swedish/errmsg.txt:
  new changeable system variables
sql/share/ukrainian/errmsg.txt:
  new changeable system variables
sql/slave.cc:
  new changeable system variables
  Added some suppression of error messages
  Initialize current_thd for all slave threads.
sql/sql_acl.cc:
  Added checking of arguments for SET PASSWORD (for new SET defintion)
sql/sql_acl.h:
  new prototypes
sql/sql_base.cc:
  new changeable system variables
sql/sql_cache.cc:
  new changeable system variables
sql/sql_cache.h:
  Renamed some arguments to make code more readable
sql/sql_class.cc:
  new changeable system variables
sql/sql_class.h:
  New changeable system variables
  Code cleanup
sql/sql_db.cc:
  Fixed bug in DROP DATABASE
sql/sql_delete.cc:
  Usage of wrong define in test (possible speed problem)
sql/sql_insert.cc:
  use extra_opt()
  Code cleanup
sql/sql_lex.cc:
  Added support for SET @@[global | session] system_variable
sql/sql_lex.h:
  Added support for SET @@[global | session] system_variable
sql/sql_load.cc:
  Cleanup for embedded library
  Use extra_opt()
sql/sql_parse.cc:
  Cleanup for embedded library
  New changeable system variables
sql/sql_repl.cc:
  new changeable system variables
sql/sql_repl.h:
  Fixed variable definitions
sql/sql_select.cc:
  new changeable system variables
sql/sql_show.cc:
  New changeable system variables
sql/sql_table.cc:
  Fixed bug in DROP DATABASE
sql/sql_union.cc:
  New changeable system variables
sql/sql_update.cc:
  Usage of wrong define in test (possible speed problem)
sql/sql_yacc.yy:
  New changeable system variables
sql/structs.h:
  Added typedef for SHOW_VAR
sql/table.cc:
  Fixed bug in auto_increment on second part keys
sql/uniques.cc:
  Comment fix
sql/unireg.h:
  A
2002-07-23 18:31:22 +03:00
unknown
1e519a7c26 manual.texi Correct error in DBI NULLABLE description.
Docs/manual.texi:
  Correct error in DBI NULLABLE description.
2002-07-14 19:00:24 -05:00
unknown
db9667b022 manual.texi:
Simplify my.cnf example for InnoDB


Docs/manual.texi:
  Simplify my.cnf example for InnoDB
2002-07-12 20:05:51 +03:00
unknown
f4a8929528 manual.texi:
Update manual, add the new simplified my.cnf example


Docs/manual.texi:
  Update manual, add the new simplified my.cnf example
2002-07-12 19:36:42 +03:00
unknown
7d32131515 Clarified LAST_INSERT_ID() behaviour for multi-row inserts.
Shuffled lines for easier reading.
Added missing SQL line.
2002-07-12 13:35:52 +10:00
unknown
e81b43ebe3 Changed contact/link for MySQLTcl. 2002-07-12 11:12:15 +10:00
unknown
4e22cf17a4 Merge zgreant@work.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/zak/Work/bk/mysql-4.0


Docs/manual.texi:
  Auto merged
2002-07-10 22:03:28 -06:00
unknown
d98e55e823 Minor enhancements on the thread query cache and UNION docs.
Docs/manual.texi:
  Added note on how to determine thread cache efficiency.
  
  Added information on the behavior of the UNION clause
2002-07-10 22:01:57 -06:00
unknown
a261d66aac Fixup of foreign key example (noted by Jose Freitas). 2002-07-11 11:26:27 +10:00
unknown
b5d63780ff Merge zgreant@work.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/zak/Work/bk/mysql-4.0


Docs/manual.texi:
  Auto merged
2002-07-09 22:15:58 -06:00
unknown
ea9769c80c Minor typo corrections and documenation improvements.
Docs/manual.texi:
  Expanded and corrected information on case-insensitive string comparison. 
  
  Fixed spelling mistake and lanuage usage in query cache information.
  
  Expanded query cache information by noting that the query cache is flushed 
  when table data changes.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-07-09 22:14:07 -06:00
unknown
98b4e1f5f9 Update (noted by Jocelyn Fournier). 2002-07-10 14:06:05 +10:00
unknown
bfdddfa81f Added 4.0.2 date tag. 2002-07-09 13:58:36 +10:00
unknown
47e4820350 Merge work.mysql.com:/home/bk/mysql-4.0/
into george.bitbike.com:/home/arjen/mysql-4.0


Docs/manual.texi:
  Auto merged
2002-07-09 12:14:19 +10:00
unknown
75d1c91f39 Missing comma in SQL command example (from Jason Livesay).
Examples reformatted in same section.
2002-07-09 11:27:55 +10:00
unknown
5f1d5c2dd5 Two URL fixups (from Jim). 2002-07-09 11:08:19 +10:00
unknown
b705dee0a5 manual.texi:
Remove outdated sentence about online backup


Docs/manual.texi:
  Remove outdated sentence about online backup
2002-07-08 18:33:47 +03:00
unknown
6c367d37af Merge paul@work.mysql.com:/home/bk/mysql-4.0
into teton.kitebird.com:/home/paul/mysql-4.0


Docs/manual.texi:
  Auto merged
2002-07-08 09:08:15 -05:00
unknown
bc58482a08 MIT-pthreads clarifications/fixups. 2002-07-08 14:05:10 +10:00
unknown
5d48220854 manual.texi Add missing privilege to 4.0.2 change notes.
Docs/manual.texi:
  Add missing privilege to 4.0.2 change notes.
2002-07-07 14:04:12 -05:00
unknown
dbded8e0c8 manual.texi:
4.0 creates an auto-extending 10 MB data file by default


Docs/manual.texi:
  4.0 creates an auto-extending 10 MB data file by default
2002-07-03 13:00:13 +03:00
unknown
d3a3ae3201 manual.texi:
Clarify the meaning of innodb_data_home_dir and innodb_data_file_path in the manual


Docs/manual.texi:
  Clarify the meaning of innodb_data_home_dir and innodb_data_file_path in the manual
2002-07-03 12:47:01 +03:00
unknown
f9e3437fa2 Added note about SQL_CALC_FOUND_ROWS available only in 4.0.0+. 2002-07-01 18:58:46 -05:00
unknown
655d97862d manual.texi fix agreement
Docs/manual.texi:
  fix agreement
2002-06-30 14:47:13 -05:00
unknown
e3d39c0564 More fixup. 2002-07-01 04:27:36 +10:00
unknown
7e77d5b63c Manual fixups for 4.0.2. 2002-07-01 04:05:39 +10:00
unknown
a86390f01a Update for running gcc 3.x (mainly on HPUX)
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names


Build-tools/Do-compile:
  Added option --make-options
Docs/manual.texi:
  Changelog
  Added XOR, ^ and IS_FREE_LOCK() descriptions
acinclude.m4:
  Update for running gcc 3.x on HPUX
client/mysql.cc:
  Portability fix
client/mysqlbinlog.cc:
  Fix for using gcc 3.1
configure.in:
  Fix for using gcc 3.1
include/my_global.h:
  Fix for using gcc 3.1
include/my_pthread.h:
  Removed warning on HPUX
innobase/configure.in:
  Portability fix (for gcc 3.1 on HPUX)
innobase/ut/ut0ut.c:
  Portability fix (for gcc 3.1 on HPUX)
mysql-test/r/func_test.result:
  Test of new functions
mysql-test/r/rpl_get_lock.result:
  Test of new functions
mysql-test/t/func_test.test:
  Test of new functions
mysql-test/t/rpl_get_lock.test:
  Test of new functions
mysys/my_tempnam.c:
  Portability fix
sql/item_cmpfunc.cc:
  Added comments to Item_cond_xor.
  Fixed NULL handling for XOR
sql/item_create.cc:
  rename of CHECK_LOCK to IS_FREE_LOCK
sql/item_create.h:
  rename of CHECK_LOCK to IS_FREE_LOCK
sql/item_func.cc:
  Cleanup XOR handling
sql/item_func.h:
  rename of CHECK_LOCK to IS_FREE_LOCK
sql/lex.h:
  rename of CHECK_LOCK to IS_FREE_LOCK
sql/mysqld.cc:
  Moved chroot() to be exectued earlier.
sql/sql_db.cc:
  Apply lower_case_table_names also to databases
sql/sql_parse.cc:
  Apply lower_case_table_names also to databases
sql/sql_select.cc:
  Cleanup describe code (after Sinisa's patch for EXPLAIN + UNION)
sql/table.cc:
  Don't allow \ in database names
2002-06-30 18:57:21 +03:00
unknown
44074bcd0a manual.texi preliminary fixups to XOR, CHECK_LOCK() change notes.
Docs/manual.texi:
  preliminary fixups to XOR, CHECK_LOCK() change notes.
2002-06-29 14:19:20 -05:00
unknown
76ca485559 Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0


Docs/manual.texi:
  Auto merged
2002-06-29 16:32:45 +03:00
unknown
b936b25d79 Added functions :
* binary XOR
* logical XOR
* CHECK_LOCK("lock_name")
2002-06-29 16:25:09 +03:00
unknown
224aaa2480 MySQL 4.0.2 does support the EXECUTE privilege. 2002-06-28 22:21:28 +10:00
unknown
194a6f6962 Typo fix (noted by Jeff Kilbride). 2002-06-28 21:19:41 +10:00
unknown
8d07955f3d merge
BitKeeper/etc/ignore:
  added scripts/mysql_tableinfo
sql/sql_parse.cc:
  Auto merged
2002-06-27 11:35:50 +03:00
unknown
835a75c97b Removed mysql_ssl_clear()
Added statistics information for alarms (for bug tracking)
Don't store "incomplete" in the xxx.cfg file if we are not using --restart. (Crash-me)
Enlarged STACK_BUF_ALLOC becasue of failed crash-me test
Aded new script mysql_tableinfo to make a system directory.


Docs/manual.texi:
  Changelog and TODO
include/mysql.h:
  Removed mysql_ssl_clear() (One should use mysql_close() instead)
include/thr_alarm.h:
  Added info for alarms
libmysql/libmysql.c:
  Made mysql_ssl_clear() static
libmysql/libmysql.def:
  cleanup
libmysqld/libmysqld.def:
  cleanup
myisam/myisamchk.c:
  describe -> description
myisam/myisampack.c:
  Fixed copyright.
mysys/thr_alarm.c:
  Added statistics information for alarms (for bug tracking)
scripts/Makefile.am:
  Added mysql_table_info
sql-bench/crash-me.sh:
  Don't store "incomplete" in the xxx.cfg file if we are not using --restart.
  This was done becasue "incomplete" made it harder to quickly repeat a test that
  failed.
sql-bench/limits/mysql.cfg:
  Update to 1.58
sql/hostname.cc:
  Remved compiler warning
sql/item_func.cc:
  cleanup
sql/item_func.h:
  Cleanup
sql/mysql_priv.h:
  Enlarged STACK_BUF_ALLOC becasue of failed crash-me test
sql/opt_range.cc:
  Removed purify warning
sql/sql_parse.cc:
  cleanup
sql/sql_test.cc:
  Added ala
2002-06-27 11:27:04 +03:00
unknown
90c5ac4600 Clarification of legal database/table/column names.
Clarification of NOW() behaviour.
2002-06-27 09:03:23 +10:00
unknown
d1c1de716f Fix apparent bad merge from 3.23 (noted by Michael McLagan). 2002-06-27 08:06:09 +10:00
unknown
de4ee7ff43 Fix of a small type as reported by one user 2002-06-26 22:42:55 +03:00
unknown
d58356a8da Fix table type name, should be BerkeleyDB (or BDB), no underscore. 2002-06-26 10:45:11 +10:00
unknown
e8ee5eb867 fix some caption capitalization/non-@code problems 2002-06-25 12:14:41 -05:00
unknown
cb3ac65b26 fix up non-@code table types 2002-06-25 12:06:43 -05:00
unknown
56663b9e52 British English spelling 'behaviour'. 2002-06-25 09:07:13 +10:00
unknown
efb2897e02 fix typo 2002-06-24 15:33:30 -05:00
unknown
be55957f72 Removed dup word (tnx Ramil!) 2002-06-25 06:22:20 +10:00
unknown
dd2b3f6d43 Clean up AES_DECRYPT() explanation. 2002-06-24 19:55:28 +10:00
unknown
7086fbb8ae Added --single-transaction for mysqldump, updated --lock-tables info.
Added SHA1() function, cleaned up MD5() info.
Added AES_ENCRYPT()/AES_DECRYPT() functions, cleaned up DES info.
Updated 4.0.2 changelog for above additions.
Clarified LAST_INSERT_ID(expr) info about sequences.
Fixed URL for Perl DBI.
2002-06-21 13:54:55 +10:00
unknown
356c310776 Change loose -> lose where appropriate. 2002-06-21 10:57:54 +10:00
unknown
d76ccc59e7 Consistency cleanup (no space before a % percentage).
Little language/grammar fixup.
2002-06-21 10:41:37 +10:00
unknown
8d1568b882 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
Docs/manual.texi:
  Auto merged
2002-06-20 15:59:57 +03:00
unknown
950df73713 Fixed some bugs after last merge
Added semaphore support to MIT-pthreads.


Docs/manual.texi:
  Updated benchmark data
configure.in:
  Portability fix for compiling MIT-pthreads with gcc 3.0.x
  (Still not perfect)
include/my_semaphore.h:
  Cleanup
mit-pthreads/Changes-mysql:
  Added semaphore support
mit-pthreads/include/Makefile.inc:
  Added semaphore support
mit-pthreads/include/pthread/ac-types.h:
  Added semaphore support
mit-pthreads/pthreads/GNUmakefile.inc:
  Added semaphore support
mit-pthreads/pthreads/Makefile.inc:
  Added semaphore support
mit-pthreads/stdio/xprintf.c:
  Added semaphore support
mysql-test/r/rpl_alter.result:
  Fixed test results after merge with 3.23
sql/ha_isam.cc:
  Fixed core dump after merge
sql/ha_isam.h:
  Fixed core dump after merge
sql/mini_client.cc:
  P
2002-06-20 15:25:02 +03:00
unknown
a682d70761 Clarified REPLACE command a bit. 2002-06-20 09:28:50 +10:00