Commit graph

5066 commits

Author SHA1 Message Date
unknown
ea3ffb9b3e Added back old LARGEFILE handling
Fixed reference to freed memory in acl_init()/grant_init()
Fixed possible memory leak. (Could only happen in very strange circumstances)
Fixed bug in ALTER TABLE with BDB tables
Updated mysql-test for valgrind


Docs/manual.texi:
  ChangeLog
acinclude.m4:
  Added back old LARGEFILE handling.
  (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
configure.in:
  Added back old LARGEFILE handling.
  (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
libmysqld/lib_sql.cc:
  Fixed reference to freed memory
mysql-test/mysql-test-run.sh:
  Added option --valgrind
mysys/Makefile.am:
  Removed warning when doing make
sql/mysqld.cc:
  Free regexp memory on shutdown.
  read 'des' key files from data directory
  Fixed reference to freed memory in grant_init()
sql/slave.cc:
  Fixed wrong printf() argument
sql/sql_acl.cc:
  Fixed reference to freed memory
sql/sql_acl.h:
  Fixed reference to freed memory
sql/sql_base.cc:
  Fixed possible memory leak. (Could only happen in very strange circumstances)
sql/sql_parse.cc:
  Updated arguments to grant_reload()
sql/sql_table.cc:
  Fixed bug in ALTER TABLE with BDB tables
sql/sql_yacc.yy:
  memset -> bzero
2002-10-29 21:59:03 +02:00
unknown
14cbecdc8b Merge abotchkov@work.mysql.com:/home/bk/mysql-4.0
into genie.(none):/home/hf/work/04


BitKeeper/etc/logging_ok:
  auto-union
2002-10-21 09:57:53 +05:00
unknown
911a8e1ba0 Embedded server bugfix
libmysqld/lib_sql.cc:
  Necessary thd->scramble initialization added
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-10-21 09:56:30 +05:00
unknown
3f86502e34 After bk -r check -ff (to be able to upgrade to bk 3.0) 2002-10-20 21:19:37 +02:00
unknown
768043db81 BK automatic LOD removal.
BitKeeper/etc/skipkeys:
  auto add
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-10-20 21:16:05 +02:00
unknown
1937fd448a Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
Docs/manual.texi:
  Auto merged
2002-10-20 09:06:22 +03:00
unknown
6258b38e5c Fixed Changelog 2002-10-20 08:58:48 +03:00
unknown
20b7379e79 ftb wasn't able to re-initialize index search (oops! in joins) 2002-10-19 20:39:35 +00:00
unknown
5513a8a5e3 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-10-18 14:54:51 +00:00
unknown
5ab1dbf567 some DBUG_ENTER/RETURN macro added
safer GWS_PROB, avoid log(0)


myisam/ft_nlq_search.c:
  some DBUG_ENTER/RETURN macro added
myisam/ft_parser.c:
  some DBUG_ENTER/RETURN macro added
myisam/ftdefs.h:
  safer GWS_PROB, avoid log(0).
sql/item_func.cc:
  some DBUG_ENTER/RETURN macro added
2002-10-18 14:53:46 +00:00
unknown
ff71cf2d13 Small code improvement in multi-table updates 2002-10-17 21:25:24 +03:00
unknown
516256c8cf Added notes about --set-variable being deprecated since MySQL 4.0 2002-10-17 20:03:31 +03:00
unknown
619232cc8b Fixed three bugs in mysqlcheck and changed documentation for mysqld_multi
client/mysqlcheck.c:
  Fixed three bugs in mysqlcheck:
  1. mysqlcheck died with error Got error: 1103: Incorrect table name when
     executing 'REPAIR TABLE'
  2. --auto-repair used together with --all-in-1 (-1) tried to fix next table
     in a row, independent whether the next table was OK or corrupted, in case an
     error was found from a previous table and the previous table remained unfixed.
  3. --auto-repair didn't work at all when -1 option wasn't used; broken tables
     were not noticed at all.
scripts/mysqld_multi.sh:
  Changed documentation
2002-10-17 19:34:02 +03:00
unknown
b863b75a60 Added Change note about the fixed join parsing, allowing (removing) braces. 2002-10-17 10:58:30 +02:00
unknown
e157150cf9 Fix the 100% CPU usage with TZ variable 2002-10-16 21:22:56 -02:00
unknown
320d4912f4 Fixes after last merge.
Ignore changed keyblocks when on does DELETE FROM table_name;


acinclude.m4:
  Don't give warnings when using openssl installed in /usr/include with gcc 3.x
myisam/mi_delete_all.c:
  Ignore changed keyblocks when on does DELETE FROM table_name;
mysql-test/r/null_key.result:
  Fix null test
sql/ha_innodb.cc:
  Fix bug in last merge
sql/sql_parse.cc:
  Fix bug introduced with merge
2002-10-16 19:05:10 +03:00
unknown
6f38e3083f Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
BitKeeper/etc/logging_ok:
  auto-union
sql/mysqld.cc:
  Auto merged
2002-10-16 16:34:29 +03:00
unknown
7013d8ef0a Merge with 3.23.54
BitKeeper/etc/logging_ok:
  auto-union
BitKeeper/deleted/.del-LICENSE~4cfaff8de837acb8:
  Auto merged
BitKeeper/deleted/.del-MySQLEULA.txt:
  Delete: Docs/MySQLEULA.txt
BitKeeper/deleted/.del-global.h~e80d28157acfdcb5:
  Auto merged
Build-tools/mysql-copyright-2:
  Auto merged
Build-tools/mysql-copyright:
  Auto merged
heap/heapdef.h:
  Auto merged
heap/hp_open.c:
  Auto merged
innobase/btr/btr0cur.c:
  Auto merged
innobase/lock/lock0lock.c:
  Auto merged
innobase/os/os0file.c:
  Auto merged
innobase/os/os0thread.c:
  Auto merged
myisam/mi_open.c:
  Auto merged
mysql-test/Makefile.am:
  Auto merged
mysql-test/t/null_key.test:
  Auto merged
mysys/safemalloc.c:
  Auto merged
scripts/make_binary_distribution.sh:
  Auto merged
scripts/mysqld_safe.sh:
  Auto merged
scripts/mysqlhotcopy.sh:
  Auto merged
sql/field.h:
  Auto merged
sql/field_conv.cc:
  Auto merged
sql/ha_innodb.h:
  Auto merged
sql/item.cc:
  Auto merged
sql/sql_db.cc:
  Auto merged
sql/sql_parse.cc:
  Auto merged
sql/sql_select.cc:
  Auto merged
sql/table.cc:
  Auto merged
tests/grant.res:
  Auto merged
Build-tools/Do-compile:
  merge
Docs/manual.texi:
  merge
configure.in:
  merge
mysql-test/r/distinct.result:
  merge
mysql-test/r/null_key.result:
  merge
sql/ha_innodb.cc:
  merge
sql/item.h:
  merge
sql/log.cc:
  merge
sql/mysqld.cc:
  merge
support-files/mysql.spec.sh:
  merge
2002-10-16 13:11:25 +03:00
unknown
74b73109c1 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-10-16 10:39:02 +03:00
unknown
b3e3a09e72 Fixed bug in LEFT JOIN ... WHERE not_null_key_column=NULL;
Docs/manual.texi:
  ChangeLog
sql/field.h:
  New virtual function to set a field to null or signal an error
sql/field_conv.cc:
  New function to set a field to null or signal an error
sql/item.cc:
  When setting a field to null internally (for WHERE testing) don't autoconvert NULL -> now() or last_insert_id()
sql/item.h:
  New virtual function to set a field to null or signal an error
2002-10-16 10:32:45 +03:00
unknown
266e42b24c Name fix. 2002-10-16 08:09:55 +10:00
unknown
b95b51e53a btr0cur.c:
Fix typo in earlier commit


innobase/btr/btr0cur.c:
  Fix typo in earlier commit
2002-10-16 00:05:15 +03:00
unknown
09ab0dded2 btr0cur.c:
Fix bug: range estimator exaggerated small range size greatly if the paths in the B-tree happened to branch on a high level


innobase/btr/btr0cur.c:
  Fix bug: range estimator exaggerated small range size greatly if the paths in the B-tree happened to branch on a high level
2002-10-16 00:05:14 +03:00
unknown
e24c5ce701 Merge lgrimmer@work.mysql.com:/home/bk/mysql
into mysql.com:/space/my/mysql-3.23
2002-10-15 23:05:13 +02:00
unknown
53a5108ea2 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2002-10-15 21:05:12 +00:00
unknown
caad1f04f3 -lpthread should be appended to LIBS 2002-10-15 21:03:41 +00:00
unknown
d3c61fd93e Fixed some bugs in mysql, mysqladmin and mysqld.
client/mysql.cc:
  Fixed a bug in --pager when used with --disable- or --skip- prefixes.
client/mysqladmin.c:
  Fixed a bug in --wait, which didn't take an optional argument while it should.
sql/mysqld.cc:
  Fixed a type and a bug in --transaction-isolation option in mysqld.cc
2002-10-15 23:34:55 +03:00
unknown
61062239c9 - fixed Do-compile to actually add InnoDB support when requested to do so
Build-tools/Do-compile:
   - fixed brainfart that ruined the 3.23.53-Max binaries: of course
     "--with-innodb" has to be added, when requested (will be part of
     3.23.53a packages now)
2002-10-15 21:28:38 +02:00
unknown
2c5aae462a Fixed a bug in my_getopt
mysys/my_getopt.c:
  Fixed a bug in my_getopt; using NULL or 0 as u_max_value caused segmentation
  fault even in those programs that didn't have any use for this feature
  (prefix --maximum)
2002-10-15 22:10:15 +03:00
unknown
53a0e2992a SCRUM Task 430: Allowing braces in joins by simply removing them.
Fixed the remaining join variations, (left, right, natural, etc).
(Previous fix only solved "," and "[cross] join".)


mysql-test/r/select.result:
  Added more test case results for more braced join fixes.
mysql-test/t/select.test:
  Added more tests for braced join fixes.
sql/sql_yacc.yy:
  Changed the remaining join_table_list cases to handle braces.
  Also added some precedence declaration to silence shift/reduce conflicts
  warnings that turned up after these fixes.
2002-10-15 16:33:06 +02:00
unknown
b9ce760069 Merge pmartin@work.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/pem/work/mysql-4.0


BitKeeper/etc/logging_ok:
  auto-union
2002-10-15 16:12:53 +02:00
unknown
e1d7b8414f Fixed bug in ORDER BY ... LIMIT
Docs/manual.texi:
  ChangeLog
2002-10-15 16:47:55 +03:00
unknown
cba8acc1af Added optional services
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-10-15 02:04:43 -02:00
unknown
b36dbc4a43 Added verification of the Administrator user when installing the service
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-10-14 23:16:21 -03:00
unknown
fab06ac587 Fix error handling in last patch (BLOB's in temporary tables) if
create_tmp_table fails.
2002-10-15 01:52:41 +03:00
unknown
e11dfa3763 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
Docs/manual.texi:
  Auto merged
2002-10-14 17:13:45 +03:00
unknown
a86c172f58 Fixed a bug in key optimizing handling where the expression
WHERE column_name = key_column_name was calculated as true
for NULL values.


Docs/manual.texi:
  Changelog
mysql-test/r/distinct.result:
  Updated results caused by bug fix.
mysql-test/r/null_key.result:
  New tests
mysql-test/t/null_key.test:
  New tests
sql/sql_select.cc:
  Additional change for previous changeset for using BLOB in GROUP BY
2002-10-14 17:04:12 +03:00
unknown
61632073ac Allocate HEAP blocks in smaller blocks to get better memory utilization and more speed when used with safemalloc.
Don't initalize memory areas when run with --skip-safemalloc.


Docs/manual.texi:
  ChangeLog
heap/heapdef.h:
  Allocate HEAP blocks in smaller blocks to get better memory utilization and more speed when used with safemalloc.
heap/hp_open.c:
  Allocate HEAP blocks in smaller blocks to get better memory utilization and more speed when used with safemalloc.
mysys/safemalloc.c:
  Don't initalize memory areas when run with --skip-safemalloc.
  This can in some cases increase speed with 20 times when debugging
2002-10-13 23:42:37 +03:00
unknown
0d7fd11d10 Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-automake
2002-10-13 16:58:20 +02:00
unknown
4a498d6891 - replaced Docs/LICENSE with Docs/MySQLEULA.txt
- Updated scripts/make_binary_distribution and scripts/mysql-copyright*
   accordingly


BitKeeper/deleted/.del-LICENSE~4cfaff8de837acb8:
  Delete: Docs/LICENSE
BitKeeper/deleted/.del-MySQLEULA.doc~e7fa298916345cf3:
  Delete: Docs/MySQLEULA.doc
Build-tools/mysql-copyright-2:
   - replaced LICENSE with MySQLEULA.txt
Build-tools/mysql-copyright:
   - replaced LICENSE with MySQLEULA.txt
scripts/make_binary_distribution.sh:
   - replaced LICENSE with MySQLEULA.txt
2002-10-13 16:57:33 +02:00
unknown
4442b7faeb - fixed formatting in MySQLEULA.txt
Docs/MySQLEULA.txt:
   - replaced tabs with spaces
2002-10-13 16:53:19 +02:00
unknown
e484a91efe - Tagged ChangeSet 1.1224 as "mysql-3.23.53"
- bumped up version number to 3.23.54 in configure.in
 - replaced Docs/LICENSE with Docs/MySQLEULA.txt and modified
   scripts/make_binary_distribution.sh and Build-tools/mysql-copyright*
   accordingly.


BitKeeper/deleted/.del-LICENSE~4cfaff8de837acb8:
  Delete: Docs/LICENSE
Build-tools/mysql-copyright-2:
   - replaced LICENSE with MySQLEULA.txt
Build-tools/mysql-copyright:
   - use "tar" instead of "gtar"
   - replaced LICENSE with MySQLEULA.txt
configure.in:
   - Bumped up version number to 3.23.54 now that 3.23.53 has been
     tagged
scripts/make_binary_distribution.sh:
   - replaced LICENSE with MySQLEULA.txt
2002-10-13 16:26:28 +02:00
unknown
78aa5f7730 Builder C++ Embedded Server Sample 2002-10-13 03:08:44 -02:00
unknown
228bfb05e3 Two bug fixes
Docs/manual.texi:
  added text for fixes
mysql-test/r/multi_update.result:
  new test case for multi-table deletes
mysql-test/t/multi_update.test:
  new test case for multi-table deletes
sql/sql_delete.cc:
  fix for multi-table deletes
sql/sql_update.cc:
  fix for multi-table updates
2002-10-12 21:36:39 +03:00
unknown
8926c0bc38 Fixed bug where we could reference a freed tmp_table->table_name variable for some
GROUP BY ... ORDER BY queries.


Docs/manual.texi:
  ChangeLog
2002-10-12 12:38:48 +03:00
unknown
9bca9fb751 Task 430: Allowing braces in joins by simply removing them.
This is a simple fix, allowing a join_table_list in the right reduction of a
normal_join sequence, instead of just a join_table. This makes things like
"t1, (t2 left join t3)" work, but it also allows "join" and "cross join" instead
of ",".

This should fix the bug reported as:
  Subject: ODBC SQL syntax issue 
  From: Ivan Vazharov 
  Date: Mon, 30 Sep 2002 12:02:42 +0200 


mysql-test/r/select.result:
  Results from new test cases for removing braces in joins.
mysql-test/t/select.test:
  New test cases for removing braces in joins.
sql/sql_yacc.yy:
  Allow (and remove) braces in all parts of a normal_join list, not just the
  first one.
  Also added three missing ';'.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-10-12 11:07:54 +02:00
unknown
23cce6c266 os0thread.c:
Fix compilation error on HP-UX-11: pthread_t is a scalar there, not a struct like in HP-UX-10.20


innobase/os/os0thread.c:
  Fix compilation error on HP-UX-11: pthread_t is a scalar there, not a struct like in HP-UX-10.20
2002-10-11 15:44:45 +03:00
unknown
ac471d1daf libraries should be always prepended to $LIBS, never appended 2002-10-10 15:14:47 +00:00
unknown
3d21a8cf0b - added missing changelog entry to manual.texi
Docs/manual.texi:
   - added missing changelog entry
   - fixed typo
2002-10-09 22:16:40 +02:00
unknown
782dccfbfe - removed some redundant version numbers for certain GNU tools required
from manual texi


Docs/manual.texi:
   - removed version numbers of GNU tools from the feature list
     (they are going to change from time to time again and the current
     required version number should probably be kept in one chapter only)
2002-10-09 21:18:19 +02:00