summaryrefslogtreecommitdiff
path: root/mysql-test
Commit message (Collapse)AuthorAgeFilesLines
* New SET syntax & system variables.unknown2002-07-2318-35/+540
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0unknown2002-07-012-1/+4
|\ | | | | | | | | myisam/mi_check.c: Auto merged
| * Removed purify warningunknown2002-07-012-1/+4
| | | | | | | | | | | | | | | | | | | | myisam/mi_check.c: Clear memory after keys to avoid warnings when using purify. (The keys will be written to file, so they are kind of used). mysql-test/r/myisam.result: Check repaired table mysql-test/t/myisam.test: Check repaired table
* | Merge work:/home/bk/mysql-4.0unknown2002-06-304-11/+21
|\ \ | |/ | | | | | | | | | | into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
| * Update for running gcc 3.x (mainly on HPUX)unknown2002-06-304-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge work:/home/bk/mysql-4.0unknown2002-06-294-1/+12
|\ \ | |/ | | | | | | | | | | into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
| * Merge sinisa@work.mysql.com:/home/bk/mysql-4.0unknown2002-06-294-1/+12
| |\ | | | | | | | | | | | | | | | | | | | | | into sinisa.nasamreza.org:/mnt/work/mysql-4.0 Docs/manual.texi: Auto merged
| | * Added functions :unknown2002-06-294-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * binary XOR * logical XOR * CHECK_LOCK("lock_name")
* | | Merge work:/home/bk/mysql-4.0unknown2002-06-282-0/+3
|\ \ \ | |/ / |/| | | | | | | | | | | | | | into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
| * | parser bug of "phrase search" fixedunknown2002-06-282-0/+3
| |/
* | Fixed bug in REPAIR table.unknown2002-06-282-0/+49
|/ | | | | | | | | | | | | | | | Portability fix in safemalloc.c libmysqld/lib_sql.cc: Removed not needed define myisam/sort.c: Fixed core dump crash in repair table. mysql-test/r/myisam.result: Test for repair table mysql-test/t/myisam.test: Test for repair table mysys/safemalloc.c: Portability fix
* Adding handling of numbers with exponent to decimal type. unknown2002-06-242-0/+48
| | | | | | | | | mysql-test/r/type_decimal.result: Results for More tests mysql-test/t/type_decimal.test: More tests to handle exponent cases sql/field.cc: Handle string with exponent for decimal type
* Fixed some bugs after last mergeunknown2002-06-201-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0unknown2002-06-192-0/+4
|\ | | | | | | | | Docs/manual.texi: Auto merged
| * Fixed some comments , plus introduced some tests so that I do notunknown2002-06-182-0/+4
| | | | | | | | | | | | | | make some new mistakes.
* | Merge with 3.23.52unknown2002-06-172-0/+25
|\ \ | |/ |/| | | | | | | | | | | | | | | | | BitKeeper/etc/logging_ok: auto-union Build-tools/Do-linux-build: Auto merged sql/opt_range.cc: Auto merged sql/sql_base.cc: Auto merged
| * spurious binlog error code logging on temp table auto-drop fixedunknown2002-06-052-0/+25
| | | | | | | | | | | | | | | | added a new replication test sql/sql_base.cc: f
* | Fixed a bug in optimiser with MERGE tables with non-unique valuesunknown2002-06-152-0/+16
| | | | | | | | | | | | | | | | | | with aggregating functions. This consistently crashed Mysql
* | A fix for a bug which hits the optimiser when trying to group keysunknown2002-06-152-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for a seemingly impoosbile conds in WHERE.... This crashed MySQL in 4.0.2 Docs/manual.texi: A fix for a bug which hits the optimiser when trying to group keys for a seemingly impoosbile conds in WHERE.... mysql-test/r/select.result: A fix for a bug which hits the optimiser when trying to group keys for a seemingly impoosbile conds in WHERE.... mysql-test/t/select.test: A fix for a bug which hits the optimiser when trying to group keys for a seemingly impoosbile conds in WHERE.... sql/opt_range.cc: A fix for a bug which hits the optimiser when trying to group keys for a seemingly impoosbile conds in WHERE....
* | Mergeunknown2002-06-142-0/+13
|\ \ | | | | | | | | | | | | Docs/manual.texi: SCCS merged
| * | Fixed a rare bug when fulltext index is present and no tables are used. unknown2002-06-142-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | A better fix would be to have a map of tables that are not used at all, and to annul just fledls in that TABLE.
* | | Mergeunknown2002-06-142-0/+40
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/logging_ok: auto-union sql/item_create.cc: Auto merged sql/item_strfunc.cc: Auto merged sql/lex.h: Auto merged client/mysqldump.c: SCCS merged
| * | Merge linux.local:/data/mysql-4.0-root into linux.local:/data/mysql-4.0unknown2002-06-112-0/+40
| |\ \
| | * | This changeset is mostly new version of previous commit modified according unknown2002-06-112-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to Monty's code style and optimization comments client/client_priv.h: New value for --single-transaction option client/mysqldump.c: Add --single-transaction option for consistent dumps mysql-test/r/func_str.result: New functions test results mysql-test/t/func_str.test: Tests for SHA/AES functions mysys/Makefile.am: Extra files require compilation now sql/item_create.cc: New functions sql/item_create.h: New functions sql/item_strfunc.cc: Implementation of SHA/AES_ENCRYPT/AES_DECRYPT sql/item_strfunc.h: Required class definition sql/lex.h: Add symbols for implemented functions BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* | | | Merge work:/home/bk/mysql-4.0 into mashka.mysql.fi:/my/mysql-4.0unknown2002-06-124-19/+28
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docs/manual.texi: Auto merged sql/sql_parse.cc: Auto merged
| * | | | Added the following new privleges:unknown2002-06-124-19/+28
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SHOW DATABASES CREATE TEMPORARY TABLE LOCK TABLES REPLICATION SLAVE & REPLICATION CLIENT SUPER EXECUTE All scripts & documentation is updated for this change. Added better error messages for global privileges BitKeeper/deleted/.del-mysql_new_fix_privilege_tables.sh~b1664b401375eece: Delete: scripts/mysql_new_fix_privilege_tables.sh Docs/manual.texi: Updated manual for privilege changes. include/mysqld_error.h: new error messages mysql-test/install_test_db.sh: Updated to use new privileges mysql-test/r/grant_cache.result: Updated to use new privileges mysql-test/r/rpl000017.result: Updated to use new privileges mysql-test/t/rpl000017.test: Updated to use new privileges mysys/safemalloc.c: Cleanup scripts/mysql_fix_privilege_tables.sh: Updated to use new privileges scripts/mysql_install_db.sh: Updated to use new privileges sql/field.h: Cleanup sql/item_strfunc.cc: Updated to use new privileges sql/lex.h: Updated to use new privileges sql/log.cc: Updated to use new privileges sql/mysql_priv.h: Updated to use new privileges sql/mysqld.cc: Updated to use new privileges sql/repl_failsafe.cc: Updated to use new privileges sql/share/czech/errmsg.txt: new error messages sql/share/danish/errmsg.txt: new error messages sql/share/dutch/errmsg.txt: new error messages sql/share/english/errmsg.txt: new error messages sql/share/estonian/errmsg.txt: new error messages sql/share/french/errmsg.txt: new error messages sql/share/german/errmsg.txt: new error messages sql/share/greek/errmsg.txt: new error messages sql/share/hungarian/errmsg.txt: new error messages sql/share/italian/errmsg.txt: new error messages sql/share/japanese/errmsg.txt: new error messages sql/share/korean/errmsg.txt: new error messages sql/share/norwegian-ny/errmsg.txt: new error messages sql/share/norwegian/errmsg.txt: new error messages sql/share/polish/errmsg.txt: new error messages sql/share/portuguese/errmsg.txt: new error messages sql/share/romanian/errmsg.txt: new error messages sql/share/russian/errmsg.txt: new error messages sql/share/slovak/errmsg.txt: new error messages sql/share/spanish/errmsg.txt: new error messages sql/share/swedish/errmsg.txt: new error messages sql/share/ukrainian/errmsg.txt: new error messages sql/slave.cc: Portability cleanup sql/sql_acl.cc: Updated to use new privileges sql/sql_acl.h: Updated to use new privileges sql/sql_base.cc: Remove not used include file sql/sql_class.cc: Comment cleanup sql/sql_class.h: Updated to use new privileges Comment cleanups sql/sql_insert.cc: Updated to use new privileges sql/sql_lex.h: Indentation cleanup sql/sql_parse.cc: Updated to use new privileges sql/sql_repl.cc: Updated to use new privileges Comment cleanup sql/sql_show.cc: Updated to use new privileges sql/sql_yacc.yy: Updated to use new privileges Sorted some tockens for easer merge to 4.1 in the future. sql/table.h: Updated to use new privileges tests/grant.pl: Updated to use new privileges tests/grant.res: Updated to use new privileges
* | | | A fix for multi-table delete with tables optimised away.unknown2002-06-112-7/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Still not able to make a proper test case as this crashes on files where key and data pointers are 4 bytes each. Possibly a proper test case would require myisampack. sql/sql_lex.cc: Just in case ...
* | | Fixed bug in SQL_CALC_FOUND_ROWS + LIMITunknown2002-06-102-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | Docs/manual.texi: Changelog mysql-test/r/select_found.result: Test of FOUND_ROWS() bug fix mysql-test/t/select_found.test: Test of FOUND_ROWS() bug fix
* | | Bug fix for complicated GROUP BY ... ORDER BY query.unknown2002-06-092-52/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed problem in access rights testing (from last patch) mysql-test/r/group_by.result: Condenced GROUP test case mysql-test/t/group_by.test: Condenced GROUP test case sql/sql_parse.cc: Fixed problem in access rights testing (from last patch) sql/sql_select.cc: Rollback Sinisa's GROUP BY patch and make a better one.
* | | A bug fix and test case for a bug that appears in quereis where there unknown2002-06-082-0/+40
|/ / | | | | | | | | | | | | | | | | | | is a GROUP BY a column that is not NOT NULL and ORDER BY is done by another column. Even better fix would be to make a separate function for this.
* | removed init_count from IO_CACHE.unknown2002-06-051-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added missing mutex_unlock to slave replication code. include/my_sys.h: removed init_count from IO_CACHE. General cleanup. innobase/srv/srv0srv.c: Initailize slots to avoid purify warnings. Removed some compiler warnings. mysql-test/mysql-test-run.sh: Automatic start of slave under gdb mysys/mf_iocache.c: removed init_count sql/field.cc: Cleanup sql/log.cc: Cleanup added open_count variable. sql/log_event.cc: cleanup use is_prefix instead of memcmp() sql/repl_failsafe.cc: cleanup sql/slave.cc: cleanup use MYSQL_LOG->open_count instead of IO_CACHE->init_count Added missing mutex_unlock() sql/slave.h: cleanup sql/sql_class.h: cleanup Added open_count to MYSQL_LOGL sql/sql_parse.cc: removed compiler warning sql/sql_repl.cc: added DBUG_xxx sql/unireg.h: Added BIN_LOG_HEADER_SIZE
* | Bug fix for multi-table delete with test case and manual entryunknown2002-06-042-0/+22
| |
* | Enable LOAD DATA LOCAL INFILE in mysql_testunknown2002-06-043-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added syntax for column comments (for compability with 4.1) Fix of ALTER TABLE RENAME Docs/manual.texi: Changelog client/mysqltest.c: Enable LOAD DATA LOCAL INFILE mysql-test/r/alter_table.result: Test of syntax for column comments mysql-test/r/func_math.result: Fixed test of new truncate mysql-test/t/alter_table.test: Test of syntax for column comments mysys/my_gethostbyname.c: Portability fix sql/hostname.cc: Fixed pointer bug sql/item_cmpfunc.cc: Optimizing LIKE code sql/item_cmpfunc.h: Cleanup sql/mysqld.cc: Avoid warning of duplicate calls to mysql_thread_init() sql/sql_analyse.cc: Removed warning from DBUG sql/sql_parse.cc: Avoid warning of duplicate calls to mysql_thread_init() sql/sql_table.cc: Fix of ALTER TABLE RENAME sql/sql_yacc.yy: Added syntax for field comments vio/test-sslserver.c: Cleanup
* | merge with 3.23unknown2002-06-022-5/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/deleted/.del-rpl_empty_master_crash.result: Delete: mysql-test/r/rpl_empty_master_crash.result BitKeeper/deleted/.del-rpl_empty_master_crash.test: Delete: mysql-test/t/rpl_empty_master_crash.test configure.in: Auto merged include/my_net.h: Auto merged include/my_pthread.h: Auto merged libmysql/libmysql.c: Auto merged mysql-test/t/func_math.test: Auto merged mysys/my_gethostbyname.c: Auto merged sql/ha_innodb.cc: Auto merged sql/item_func.cc: Auto merged
| * Merge nleippe@work.mysql.com:/home/bk/mysqlunknown2002-05-312-0/+10
| |\ | | | | | | | | | | | | | | | | | | into nick.leippe.com:/home/nick/mysql/mysql
| | * fixed 'load table from master' hang when host is emptyunknown2002-05-312-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | added respective test case sql/slave.cc: fixed load table from master hang when host is empty
| * | Portability fixes for SCO and HPUXunknown2002-05-312-3/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change TRUNCATE(number) to truncate towards zero for negative numbers Fix NULL handling for DESCRIBE table_name Docs/manual.texi: Update of TRUNCATE() information configure.in: Fix for HPUX extra/resolveip.c: Fix for SCO include/my_net.h: Fix for HPUX libmysql/libmysql.c: Removed warning on HPUX 10.20 mysql-test/r/func_math.result: Test of new TRUNCATE handling mysql-test/t/func_math.test: Test of new TRUNCATE handling mysys/my_gethostbyname.c: Portability fix sql/item_func.cc: Change TRUNCATE(number) to truncate towards zero for negative numbers sql/sql_show.cc: Fix NULL handling for DESCRIBE table_name
* | Fixed bug: load table from master w/empty master would hang.unknown2002-05-302-0/+19
| | | | | | | | | | | | | | | | | | | | Now it properly returns error. Added respective test case. sql/repl_failsafe.cc: fixed bug: load table from master w/ empty master would hang. Now it properly returns error.
* | fixed tests after mergeunknown2002-05-282-0/+20
| | | | | | | | | | | | | | | | | | mysql-test/r/type_enum.result: fixed test after merge mysql-test/r/type_set.result: fixed test after merge mysys/Makefile.am: R
* | merge with 3.23.51unknown2002-05-274-1/+30
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/logging_ok: auto-union BUILD/SETUP.sh: Auto merged Docs/manual.texi: Auto merged extra/resolveip.c: Auto merged include/my_sys.h: Auto merged mysql-test/t/type_enum.test: Auto merged mysys/mf_strip.c: Auto merged mysys/raid.cc: Auto merged include/my_net.h: merge mysql-test/r/type_enum.result: merge mysql-test/t/type_decimal.test: merge mysys/Makefile.am: merge sql/sql_db.cc: merge sql/sql_parse.cc: merge
| * Renamed stripp_sp -> strip_spunknown2002-05-274-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove end space from ENUM and SET strings mysql-test/t/type_enum.test: Test of end space in enum's Docs/manual.texi: Changelog include/my_sys.h: Renamed stripp_sp -> strip_sp mysql-test/r/type_enum.result: Test of end space in enums mysys/Makefile.am: change stripp_sp -> strip_sp mysys/mf_strip.c: change stripp_sp -> strip_sp sql/sql_db.cc: change stripp_sp -> strip_sp sql/sql_parse.cc: change stripp_sp -> strip_sp Remove end space from ENUM and SET strings
| * Split raid C function to separate file to make things more portable.unknown2002-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed some portability things in my_gethostbyname_r Portability fix for type_decimal.test BUILD/SETUP.sh: Fixes for gcc 3.1 extra/resolveip.c: Cleanup include/my_net.h: Portability fix for SCO mysql-test/t/type_decimal.test: Portability fix for FreeBSD mysys/Makefile.am: Portability fix for OSF1 mysys/raid.cc: Portability fix for OSF1
| * Changing testsunknown2002-05-244-20/+20
| | | | | | | | | | | | | | BitKeeper/deleted/.del-sel000004.test~445526a8a20de101: Delete: mysql-test/t/sel000004.test BitKeeper/deleted/.del-sel000004.result~360af2095c88cb8c: Delete: mysql-test/r/sel000004.result
| * just to check for GROUP by bugunknown2002-05-221-0/+16
| |
| * A check that group by bug from 4.0.2 is not here ...unknown2002-05-221-0/+4
| |
* | Test re-groupingunknown2002-05-244-36/+36
| | | | | | | | | | | | | | BitKeeper/deleted/.del-sel000004.test~21904fbd1c95cb1: Delete: mysql-test/t/sel000004.test BitKeeper/deleted/.del-sel000004.result~4b5fbc60d0d9754f: Delete: mysql-test/r/sel000004.result
* | Portability fixesunknown2002-05-222-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fixed problem with --password in mysql client/mysql.cc: Fixed problem with --password in mysql mysql-test/r/type_decimal.result: Portability fix mysql-test/t/type_decimal.test: Portability fix
* | test cases for the GROUP BY bug ...unknown2002-05-222-0/+36
| |
* | mergeunknown2002-05-211-0/+15
|\ \
| * | Fixes for gcc 3.1unknown2002-05-211-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed bug in new code for regexp LIKE NULL BUILD/SETUP.sh: Fixes for gcc 3.1 BUILD/compile-solaris-sparc-debug: Fixes for gcc 3.1 BUILD/compile-solaris-sparc-purify: Fixes for gcc 3.1 BUILD/compile-solaris-sparc: Fixes for gcc 3.1 Docs/manual.texi: Fixed typo include/violite.h: Fixes for gcc 3.1 mysql-test/r/func_concat.result: Updated test results sql/item_cmpfunc.cc: Fixed bug in new code for regexp LIKE NULL