Commit graph

7017 commits

Author SHA1 Message Date
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
f76a875e61 do not ignore first char, when truncating spaces in str->num conversion.
strings/ctype-simple.c:
  do not ignore first char, when truncating spaces.
2003-01-28 00:33:04 +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
1220b05c3d correct parameter of hash_search 2003-01-28 03:28:06 +05: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
c98c4bfc3e Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-01-27 21:29:40 +02:00
unknown
e95e906683 Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2003-01-27 20:24:17 +01:00
unknown
5a38c59d19 Merge myvenu.com:/home/venu/bk/src-4.1
into myvenu.com:/home/venu/work/sql/dev-4.1
2003-01-27 10:56:20 -08:00
unknown
a07c602b60 Fix stmt_close not to close the resources on error(libmysql)
Enable test_stmt_close() and test output to stdout(client_test)


tests/client_test.c:
  Enable test_stmt_close() and test output to stdout
libmysql/libmysql.c:
  Fix stmt_close not to close the resources on error
2003-01-27 10:54:45 -08:00
unknown
fea4d2b62c Merge work.mysql.com:/home/bk/mysql-4.1
into myvenu.com:/home/venu/bk/src-4.1
2003-01-27 10:50:25 -08:00
unknown
98627eab14 Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1


sql/sql_parse.cc:
  Auto merged
2003-01-27 20:30:56 +02:00
unknown
3dc6ab4c74 My second SCRUM task:
Automatically add SQL_BUFFER_RESULT if INSERT is done from 
SELECT comprising a table to be inserted in.
2003-01-27 20:29:33 +02: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
ec44c88165 Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2003-01-27 17:41:30 +01:00
unknown
2aa304d37c protection agains badly charsed indexfile 2003-01-27 17:27:21 +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
b5f740addf field.cc:
Use cs->scan() instead of my_isspace()


sql/field.cc:
  Use cs->scan() instead of my_isspace()
2003-01-27 18:46:51 +04:00
unknown
9040fd7d75 Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2003-01-27 15:38:33 +01:00
unknown
2275a161d0 select count(*) from t1 procedure analyse(); bug fixed 2003-01-27 15:37:05 +01:00
unknown
e9ff6fbd0c field.cc:
tis620 normalization will be implemented ad a SQL function, without automatic normalization on INSERT


sql/field.cc:
  tis620 normalization will be implemented ad a SQL function, without automatic normalization on INSERT
2003-01-27 17:31:46 +04:00
unknown
e7660c64d7 wb_wc and wc_mb now checks length inside 2003-01-27 16:46:03 +04: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
ecb55f4307 sql_yacc.yy:
Semicolon has been added


sql/sql_yacc.yy:
  Semicolon has been added
2003-01-27 13:46:33 +04:00
unknown
c4ab5e0f09 ft_init_stopwords() in embedded 2003-01-27 00:14:12 +01:00
unknown
42ba47184c Merge sanja.is.com.ua:/home/bell/mysql/work-leak-4.1
into sanja.is.com.ua:/home/bell/mysql/work-select-4.1


sql/item.cc:
  Auto merged
sql/item.h:
  Auto merged
sql/item_cmpfunc.cc:
  Auto merged
sql/sql_select.cc:
  Auto merged
2003-01-26 21:34:14 +02:00
unknown
a72ebebf5d after merge fix of 577 task (SCRUM, pre commit to be able to merge with static tables optimization fix)
fixed derived tables with subselect inside


mysql-test/r/derived.result:
  test of subselects inside derived tables
mysql-test/t/derived.test:
  test of subselects inside derived tables
mysql-test/t/subselect.test:
  subselect test (not finished)
sql/item.cc:
  after merge fix
sql/item.h:
  after merge fix
sql/item_cmpfunc.h:
  after merge fix
sql/item_subselect.cc:
  after merge fix
sql/item_sum.h:
  after merge fix
sql/mysql_priv.h:
  fixed derived tables with subselect inside
sql/sql_class.h:
  after merge fix
sql/sql_derived.cc:
  fixed derived tables with subselect inside
sql/sql_lex.cc:
  fixed derived tables with subselect inside
sql/sql_lex.h:
  fixed derived tables with subselect inside
sql/sql_parse.cc:
  fixed derived tables with subselect inside
  after merge fix
sql/sql_prepare.cc:
  after merge fix
sql/sql_select.cc:
  after merge fix
  fixed derived tables with subselect inside
2003-01-26 21:30:35 +02:00
unknown
fb2226c376 removed switching off static table optimization for subselects (SCRUM , pre-commit to be able merge with temporary table fix)
sql/item.cc:
  report other table for outer reference
sql/item.h:
  report other table for outer reference
sql/item_cmpfunc.cc:
  report other table for outer reference
sql/sql_select.cc:
  removed switching off static table optimization for subselects
2003-01-26 21:13:37 +02:00
unknown
dc87247df4 making the keyword ROW for row items optional 2003-01-26 20:01:45 +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
e6eba17c64 Remove un-used variables
Pure coverage tests (debug only)


include/mysql.h:
  Remove un-used variables
tests/client_test.c:
  Pure coverage tests (debug only)
2003-01-25 22:52:45 -08:00
unknown
8d29692013 correct parameter of hash_result
(SCRUM)


sql/sql_udf.cc:
  correct parameter of hash_search
  (deleted old bugs, added new bugs)
2003-01-26 07:00:01 +05: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
fbd882fca6 merging
sql/item.cc:
  Auto merged
sql/item_cmpfunc.cc:
  Auto merged
sql/item_cmpfunc.h:
  Auto merged
sql/item_sum.cc:
  Auto merged
sql/mysql_priv.h:
  Auto merged
sql/sql_class.h:
  Auto merged
sql/sql_delete.cc:
  Auto merged
sql/sql_insert.cc:
  Auto merged
sql/sql_lex.h:
  Auto merged
sql/sql_list.h:
  Auto merged
sql/sql_load.cc:
  Auto merged
sql/sql_olap.cc:
  Auto merged
sql/sql_parse.cc:
  Auto merged
sql/sql_select.h:
  Auto merged
sql/sql_table.cc:
  Auto merged
sql/sql_union.cc:
  Auto merged
sql/sql_update.cc:
  Auto merged
sql/sql_yacc.yy:
  Auto merged
2003-01-25 13:19:46 +02:00
unknown
b23541339c fixed subselects with temporary tables (SCRUM)
fixed memory leacks


mysql-test/r/subselect.result:
  some changes in subselect tests
mysql-test/t/subselect.test:
  some changes in subselect tests
sql/item.cc:
  some item made copyable
  methods for creating copy of item list
  tmp_table_field() splited
sql/item.h:
  some item made copyable
  methods for creating copy of item list
  tmp_table_field() splited
sql/item_cmpfunc.cc:
  changed references creation
sql/item_cmpfunc.h:
  changed references creation
sql/item_func.cc:
  some item made copyable
  methods for creating copy of item list
  changed references creation
sql/item_func.h:
  some item made copyable
  methods for creating copy of item list
  changed references creation
  tmp_table_field() splited
sql/item_subselect.cc:
  changed references creation
sql/item_sum.cc:
  some item made copyable
  methods for creating copy of item list
sql/item_sum.h:
  some item made copyable
  methods for creating copy of item list
sql/item_timefunc.h:
  tmp_table_field() splited
sql/item_uniq.h:
  some item made copyable
  methods for creating copy of item list
sql/mysql_priv.h:
  fixed subselects with temporary tables
sql/sql_base.cc:
  fixed subselects with temporary tables
sql/sql_class.h:
  fixed subselects with temporary tables
sql/sql_delete.cc:
  fixed subselects with temporary tables
sql/sql_derived.cc:
  fixed subselects with temporary tables
sql/sql_do.cc:
  fixed subselects with temporary tables
sql/sql_insert.cc:
  fixed subselects with temporary tables
sql/sql_lex.cc:
  fixed subselects with temporary tables
sql/sql_lex.h:
  fixed subselects with temporary tables
sql/sql_list.h:
  fixed subselects with temporary tables
sql/sql_load.cc:
  fixed subselects with temporary tables
sql/sql_olap.cc:
  fixed subselects with temporary tables
sql/sql_parse.cc:
  fixed subselects with temporary tables
sql/sql_prepare.cc:
  fixed subselects with temporary tables
sql/sql_select.cc:
  fixed subselects with temporary tables
sql/sql_select.h:
  fixed subselects with temporary tables
sql/sql_table.cc:
  fixed subselects with temporary tables
sql/sql_union.cc:
  fixed subselects with temporary tables
sql/sql_update.cc:
  fixed subselects with temporary tables
sql/sql_yacc.yy:
  fixed subselects with temporary tables
2003-01-25 02:25:52 +02: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
433307fafb Misc cleanups + pure coverage test + Monty's comments 2003-01-24 03:17:26 -08:00
unknown
7f6e7b1d04 Add DATE,TIME and TS tests - MYSQL_TIME handling 2003-01-23 22:39:07 -08:00
unknown
99773f6a0a MYSQL_TIME handling - client
Remove get_binary_length 
Enable the clients to work wih date,time and ts directly with binary protocol
2003-01-23 22:36:27 -08:00