Commit graph

12489 commits

Author SHA1 Message Date
unknown
7b4cbde8ed Merge build:/home/bk/mysql-4.1
into build.mysql.com:/users/tsmith/m/41/mysql-4.1
2004-05-11 14:44:25 +02:00
unknown
f23d1ad6c2 lots of HAVE_ and some ndb_global fixes for ndb subtree
ndb/include/portlib/NdbTCP.h:
  introduced ndb_net.h
ndb/include/portlib/NdbThread.h:
  ndb_global
ndb/src/common/portlib/unix/NdbCondition.c:
  Used HAVE_CLOCK_GETTIME
ndb/src/common/portlib/unix/NdbMem.c:
  used HAVE_MLOCKALL
ndb/src/common/portlib/unix/NdbSleep.c:
  ndb_global
ndb/src/common/portlib/unix/NdbThread.c:
  .
ndb/src/common/portlib/unix/NdbTick.c:
  HAVE_CLOCK_GETTIME
ndb/src/kernel/vm/Emulator.cpp:
  ndb_global
2004-05-11 14:39:17 +02:00
unknown
ce2d84ce40 updated with HAV_ symbols in ndb_global 2004-05-11 14:31:43 +02:00
unknown
f84be2fd89 WL# 1729 Handler: error text for NDB errors
- Close an open scan if index_read is called without closing the previous one.
- Removed some errors that occured during previous merge


include/mysqld_error.h:
  Added two new error messages for NDB
sql/ha_ndbcluster.cc:
  Added more error code mappings, from NDB code to MySQL 
  Added function to print out the error message when an NDB error occurs.
  Added two new error codes, which will represent either a permanent or temporary NDB error.
  Modev get_ndb_lock_type from class to local function
  Removed some merge errors
  New function close_scan, to close an open scan.
sql/ha_ndbcluster.h:
  Added print_error function, overrides handler::print_error
  Added close_scan
  Moved get_ndb_lock_type from class to local function
sql/share/czech/errmsg.txt:
  Added two new error messages for NDB
sql/share/danish/errmsg.txt:
  Added two new error messages for NDB
sql/share/dutch/errmsg.txt:
  Added two new error messages for NDB
sql/share/english/errmsg.txt:
  Added two new error messages for NDB
sql/share/estonian/errmsg.txt:
  Added two new error messages for NDB
sql/share/french/errmsg.txt:
  Added two new error messages for NDB
sql/share/german/errmsg.txt:
  Added two new error messages for NDB
sql/share/greek/errmsg.txt:
  Added two new error messages for NDB
sql/share/hungarian/errmsg.txt:
  Added two new error messages for NDB
sql/share/italian/errmsg.txt:
  Added two new error messages for NDB
sql/share/japanese/errmsg.txt:
  Added two new error messages for NDB
sql/share/korean/errmsg.txt:
  Added two new error messages for NDB
sql/share/norwegian-ny/errmsg.txt:
  Added two new error messages for NDB
sql/share/norwegian/errmsg.txt:
  Added two new error messages for NDB
sql/share/polish/errmsg.txt:
  Added two new error messages for NDB
sql/share/portuguese/errmsg.txt:
  Added two new error messages for NDB
sql/share/romanian/errmsg.txt:
  Added two new error messages for NDB
sql/share/russian/errmsg.txt:
  Added two new error messages for NDB
sql/share/serbian/errmsg.txt:
  Added two new error messages for NDB
sql/share/slovak/errmsg.txt:
  Added two new error messages for NDB
sql/share/spanish/errmsg.txt:
  Added two new error messages for NDB
sql/share/swedish/errmsg.txt:
  Added two new error messages for NDB
sql/share/ukrainian/errmsg.txt:
  Added two new error messages for NDB
2004-05-11 13:59:22 +02:00
unknown
1a5c4d25ad Merge mysql.com:/home/mydev/mysql-4.1
into mysql.com:/home/mydev/mysql-4.1-wl1687
2004-05-11 13:38:34 +02:00
unknown
86bfe9c1d1 Test case for BUG #3657
ndb/test/ndbapi/testScan/testScan.cpp:
  Added test case for "slow" scanning if one node is down
2004-05-11 13:29:01 +02:00
unknown
fdae0617fd Update error code on "parent" connection if a new NdbScanOperation could not be returned
ndb/src/ndbapi/NdbScanOperation.cpp:
  Set error code on "parent" NdbConnection
2004-05-11 13:27:40 +02:00
unknown
309e8337fc Merge mysql.com:/home/mydev/mysql-4.1
into mysql.com:/home/mydev/mysql-4.1-wl1687
2004-05-11 12:44:14 +02:00
unknown
5e96b1c52a Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-05-11 12:40:07 +02:00
unknown
a11e04c88b out-of-bound array access fixed 2004-05-11 12:39:00 +02:00
unknown
699cbc02cc Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2004-05-11 12:20:04 +02:00
unknown
76bc677117 bug#3612 - Item_func_div set decimals incorrectly 2004-05-11 12:19:37 +02:00
unknown
8d9ce860ba InnoDB: Replace ut_strdup() with mem_strdup()
innobase/include/ut0mem.h:
  Remove ut_strdup(), as it is a clone of mem_strdup()
innobase/os/os0file.c:
  Replace ut_strdup() with mem_strdup()
innobase/ut/ut0mem.c:
  Remove ut_strdup(), as it is a clone of mem_strdup()
2004-05-11 12:51:42 +03:00
unknown
03795dabb7 Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/my/mysql-4.1
2004-05-11 11:00:34 +02:00
unknown
cc7353f58b Updated ndb_* test cases
Added two new, ndb_replace and ndb_minmax


mysql-test/r/ndb_index.result:
  Disable query, since index used is case sensitive
mysql-test/r/ndb_index_ordered.result:
  Correct faulty CREATE TABLE statement
mysql-test/r/ndb_index_unique.result:
  Correct faulty CREATE TABLE statement
mysql-test/t/ndb_index.test:
  Disable query, since index used is case sensitive
mysql-test/t/ndb_index_ordered.test:
  Correct faulty CREATE TABLE statement
mysql-test/t/ndb_index_unique.test:
  Correct faulty CREATE TABLE statement
2004-05-11 10:40:48 +02:00
unknown
85723a7d56 Use Windows code page 1252 instead of real ISO 8859-1
strings/dump_map.c:
  Produce better formatted dump.
2004-05-11 13:32:01 +05:00
unknown
5b00724963 InnoDB: Changed bug reporting address to http://bugs.mysql.com
innobase/btr/btr0btr.c:
  Changed bug reporting address to http://bugs.mysql.com
innobase/dict/dict0load.c:
  Changed bug reporting address to http://bugs.mysql.com
innobase/ibuf/ibuf0ibuf.c:
  Changed bug reporting address to http://bugs.mysql.com
innobase/lock/lock0lock.c:
  Changed bug reporting address to http://bugs.mysql.com
innobase/row/row0ins.c:
  Changed bug reporting address to http://bugs.mysql.com
innobase/row/row0sel.c:
  Changed bug reporting address to http://bugs.mysql.com
innobase/row/row0umod.c:
  Changed bug reporting address to http://bugs.mysql.com
innobase/row/row0upd.c:
  Changed bug reporting address to http://bugs.mysql.com
innobase/trx/trx0rec.c:
  Changed bug reporting address to http://bugs.mysql.com
innobase/ut/ut0dbg.c:
  Changed bug reporting address to http://bugs.mysql.com
2004-05-11 11:05:02 +03:00
unknown
e9725bae8a Merge mysql.com:/home/mydev/mysql-4.1
into mysql.com:/home/mydev/mysql-4.1-wl1687
2004-05-11 09:05:09 +02:00
unknown
5063cbb9a6 Removing VC++ compiler warnings 2004-05-10 22:25:51 -03:00
unknown
4ea5cf8c5a Fix VC++ compiler error (function redifinition) for embedded server 2004-05-10 20:55:52 -03:00
unknown
d5c2e2b2d3 logging_ok:
Logging to logging@openlogging.org accepted
item_cmpfunc.cc, ctype_recoding.test, ctype_recoding.result:
  Call Item_func_conv_charset::fix_fields() in Item_bool_func2::fix_length_and_dec() (but #3704)


mysql-test/r/ctype_recoding.result:
  Call Item_func_conv_charset::fix_fields() in Item_bool_func2::fix_length_and_dec()
mysql-test/t/ctype_recoding.test:
  Call Item_func_conv_charset::fix_fields() in Item_bool_func2::fix_length_and_dec()
sql/item_cmpfunc.cc:
  Call Item_func_conv_charset::fix_fields() in Item_bool_func2::fix_length_and_dec()
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-05-10 23:19:50 +02:00
unknown
082361fe6a Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1
2004-05-10 23:48:03 +03:00
unknown
5bd4cb870f Update casts from very old my_lock.c source. 2004-05-10 21:52:24 +02:00
unknown
187c0264f5 Merge mysql.com:/space/my/mysql-4.1
into mysql.com:/space/my/mysql-4.1-build
2004-05-10 20:46:45 +02:00
unknown
70d6ddd08f - Renamed the Mac OS X StartupItem directory from
/Library/StartupItems/MySQL to /Library/StartupItems/MySQLCOM
   to avoid a name space collision with the MySQL Startup Item shipped
   with Mac OS X Server, updated the MySQLStartupItem PKG version
   number to reflect the change.


Build-tools/Do-pkg:
   - Renamed the StartupItem directory from /Library/StartupItems/MySQL
     to /Library/StartupItems/MySQLCOM to avoid a name space collision
     with the MySQL Startup Item in Mac OS X Server
support-files/MacOSX/StartupItem.Description.plist:
   - Bumped up the StartupItem Package version to 1.1 to indicate the
     change in directory naming
2004-05-10 20:32:44 +02:00
unknown
75a87de04c Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1


client/mysqldump.c:
  Auto merged
2004-05-10 18:22:31 +02:00
unknown
806a06fdbd merge resolve
extra/perror.c:
  Auto merged
ndb/include/debugger/SignalLoggerManager.hpp:
  Auto merged
ndb/include/ndb_version.h:
  Auto merged
ndb/src/common/portlib/unix/NdbMem.c:
  Auto merged
ndb/src/common/portlib/unix/NdbThread.c:
  Auto merged
ndb/src/common/util/Parser.cpp:
  Auto merged
ndb/src/common/util/getarg.c:
  Auto merged
ndb/src/common/util/version.c:
  Auto merged
ndb/src/kernel/blocks/backup/restore/Restore.cpp:
  Auto merged
ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
  Auto merged
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
  Auto merged
ndb/src/kernel/ndb-main/Main.cpp:
  Auto merged
ndb/src/mgmapi/test/keso.c:
  Auto merged
ndb/src/mgmclient/test_cpcd/test_cpcd.cpp:
  Auto merged
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-05-10 17:40:57 +02:00
unknown
508b8f0a41 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1
2004-05-10 17:38:05 +03:00
unknown
3fd7554f06 Add read_rnd_buffer_size in my.cnf example files
Remove wrong redefine of vio_reset() (to compile libmysqld on windows)


include/violite.h:
  Remove wrong redefine of vio_reset()
support-files/my-huge.cnf.sh:
  Add read_rnd_buffer_size
support-files/my-large.cnf.sh:
  Add read_rnd_buffer_size
support-files/my-medium.cnf.sh:
  Add read_rnd_buffer_size
support-files/my-small.cnf.sh:
  Add read_rnd_buffer_size
2004-05-10 17:37:38 +03:00
unknown
9e18773c7a Merge marko@build.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/marko/j/mysql-4.0
2004-05-10 17:16:29 +03:00
unknown
b89bb86751 InnoDB: Fix assertion failure for orphaned tables in DROP DATABASE
innobase/row/row0mysql.c:
  Compare database part of table name with memcmp(), not strcmp()
2004-05-10 17:15:29 +03:00
unknown
572899e036 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into mc05.(none):/space/tomas/mysql-4.1
2004-05-10 16:01:49 +02:00
unknown
5b92b23bbf Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/magnus/mysql-4.1


sql/sql_table.cc:
  Auto merged
2004-05-10 15:09:19 +02:00
unknown
d6676b0f57 Merged ha_ndbcluster.cc
sql/ha_ndbcluster.h:
  Auto merged
2004-05-10 15:06:07 +02:00
unknown
075eb33889 Use correct access method, found using sql-bench and comparing with other handler.
BitKeeper/deleted/.del-regression.sh~c19f771726612629:
  Delete: ndb/bin/regression.sh
sql/ha_ndbcluster.cc:
  Change index flags, remove HA_WRONG_ASCII_ORDER and HA_ONLY_WHOLE_INDEX.
  HA_WRONG_ASCII_ORDER was used in field::optimize_range and if it was set, the index was hardly ever used.
  Correct check of start_key and start_key->flag != HA_READ_KEY_EXACT, ignore end-Key in suc a case
  Updated implementation o read_range_first
  Made the calculation of number of bytes par batch easier to underatsn and easier to configure. The value bytesperbatch can be made a config variable.
  AReduce the number of bytes sent per batch, don't overload.
  Increase the value returned from scan_time in order to make it clear to optimizer that scanning is the worst alternative. Always use index if available.
2004-05-10 14:46:06 +02:00
unknown
c74fe82b75 Makefile:
slim make for ndb


ndb/Makefile:
  slim make for ndb
2004-05-10 14:39:54 +02:00
unknown
c9f9cc24db make warning fixes for ndb 2004-05-10 14:25:32 +02:00
unknown
e13340b0a2 Merge marko@build.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/marko/j/mysql-4.1
2004-05-10 15:14:39 +03:00
unknown
e6bec02e3d Updated ndb_basic
mysql-test/r/ndb_basic.result:
  Updated ndb_basic for better coverage
mysql-test/t/ndb_basic.test:
  Updated ndb_basic for better coverage
2004-05-10 14:14:14 +02:00
unknown
444fc1ce98 WL# 1728 Handler: use scanReadExclusive for scan update and delete
sql/ha_ndbcluster.cc:
  Modified next_result to process fetched records cached in NdbApi before asking NDB for more. 
  It should also NoCommit any pending operations before contacting NDB again.
  Added utility function define_read_attrs to set the fields that should be read.
sql/ha_ndbcluster.h:
  Add function define_read_attrs, used to set the fields to read
  Add get_nd_lock_type funciton ,to convert MySQL lock type to NDB lock type
  Always compile filtered scan function even if it's not used yet.
  Add variable ops_pending to keep track of "pending" update/delete operations.
2004-05-10 14:12:28 +02:00
unknown
7430ad7d64 more slim make of ndb tree 2004-05-10 14:10:04 +02:00
unknown
2abb48defb Merge mysql.com:/home/mydev/mysql-4.0
into mysql.com:/home/mydev/mysql-4.0-bug2831
2004-05-10 13:54:32 +02:00
unknown
2b4a56b9f3 Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2004-05-10 12:39:31 +02:00
unknown
0bfea087af backport from 4.1:
"phrase search" should not match partial words (it should not match 'paraphrase searches')
2004-05-10 12:39:01 +02:00
unknown
415459545d Merge mysql.com:/home/mydev/mysql-4.0
into mysql.com:/home/mydev/mysql-4.0-bug2831
2004-05-10 12:36:09 +02:00
unknown
f71f59731b treat parameter as constant in ORDER BY check of fields in SELECT list(Bug #3686)
sql/sql_select.cc:
  treat parameter as constant in ORDER BY check of fields in SELECT list
tests/client_test.c:
  test of using parameters in SELECT list with ORDER BY
2004-05-10 13:29:02 +03:00
unknown
3f46a5fd60 Fix replace_result of $MASTER_MYPORT instead of literal numbers.
mysql-test/t/rpl000015.test:
  Fix replace_result of $MASTER_MYPORT instead of literal numbers.
  The test case rpl000015 needs one exlpicit literal number.
  It changes partial master settings, which seems to reset other settings
  to their defaults. To test this is obviously the intent of this case.
2004-05-10 12:15:40 +02:00
unknown
1765291469 fix compiler warnings in ndb 2004-05-10 11:50:17 +02:00
unknown
5edb391973 Stop entire process group (if child has forked)
Impl. to handle "angle" process of ndb


ndb/src/cw/cpcd/Process.cpp:
  Stop entire process group (if child has forked)
  (Does not handle child doing setsid)
2004-05-09 00:48:54 +02:00
unknown
e54ca13b66 keep old engine & JOIN if we changed subquery Item (Bug #3646)
mysql-test/r/subselect.result:
  ALL/ANY test
mysql-test/t/subselect.test:
  ALL/ANY test
sql/item_subselect.cc:
  keep old engine & JOIN if we changed subquery Item, which allow avoid second all SELECT items fix_fields call with pervios clean up (because of second setup_tables which remove table->key_use and maybe something else)
  keep list when we change Item in SELECT list
  processing inserted max/min function (now JOIN::prepare will be called only once)
  methods of changing item for subselect engines
sql/item_subselect.h:
  change item & results procedure
sql/item_sum.cc:
  Item_sum_hybrid::clear moved to .cc file (to keep .h clean and to make inserving/removing debug info easy)
sql/item_sum.h:
  Item_sum_hybrid::clear moved to .cc file (to keep .h clean and to make inserving/removing debug info easy)
sql/sql_lex.cc:
  note about new method
sql/sql_lex.h:
  method for changing result of UNION JOINs
sql/sql_select.cc:
  method for changing result in JOIN
sql/sql_select.h:
  method for changing result in JOIN
sql/sql_union.cc:
  method for changing result in JOIN
2004-05-07 23:06:11 +03:00