Commit graph

13606 commits

Author SHA1 Message Date
unknown
1479ed3f5a bug#4909 + testSystemRestart -n SR_FULLDB
1) Fix so that scan takeover is possible after SR
2) Reserve two pages for SR "zero pages"


ndb/include/ndbapi/NdbOperation.hpp:
  remove unused method
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  Fix bug#4909
  don't reset tableFragptr during SR
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Also send reason for disallowing rollback
ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
  Add bitmask of free pages to use for page 0 during SR
ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
  More prinout in unit test of PageMan
ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
  Reserve 2 pages to use for SR
ndb/src/kernel/blocks/dbtup/DbtupSystemRestart.cpp:
  Don't alloc using "normal" allocConsPages when allocating for
  0-pages during SR, instead use 2 reserved pages
2004-08-05 15:38:08 +02:00
unknown
39496af4a5 Remove timeout test, as default timeout now is a year 2004-08-05 08:15:58 +02:00
unknown
8b45aa646e wl1292 - workaround for mgmsrv node id problems
ndb/src/cw/cpcd/Makefile.am:
  Put cpcd in libexec
ndb/src/cw/cpcd/Process.cpp:
  Fixed reverse check with ulimit
ndb/test/run-test/main.cpp:
  Restart mgm server aswell on test failure.
  Removes problems with nodeid
2004-08-04 20:48:48 +02:00
unknown
42009c2f52 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into eel.hemma.oreland.se:/ndb/clone-mysql-4.1-ndb-daily-2004-08-04
2004-08-04 19:54:13 +02:00
unknown
8dc577ef17 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into eel.hemma.oreland.se:/ndb/clone-mysql-4.1-ndb-daily-2004-08-04


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-08-04 14:07:36 +02:00
unknown
0bccf7a9ec Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-04 12:00:54 +02:00
unknown
438f11ef41 Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/magnus/mysql-4.1
2004-08-04 11:34:22 +02:00
unknown
94a1e48232 BUG#4892 TRUNCATE TABLE returns error 156
Added NDBCLUSTER to table types which does not support generate. 
Added test case for truncate.


sql/handler.h:
  Add NDBCLUSTER to table types that does not support generate.
2004-08-04 11:28:36 +02:00
unknown
92498f81db BUG#4818 DELETE FROM tab LIMIT
Check if there are any operations pending that needs to be taken over to the updating/deleting transaction before closing the scan 


sql/ha_ndbcluster.cc:
  Check ops_pending if there are operations to take over before closing the scan
2004-08-04 10:54:42 +02:00
unknown
96a57976b3 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-03 22:09:17 +02:00
unknown
f4e8fb5577 Ndb mgmsrv Memleak(s)
ndb/src/mgmapi/Makefile.am:
  remove ndb_test_mgmapi from Makefile
  as it's has "incorrect" dependencies
ndb/src/mgmsrv/MgmtSrvr.cpp:
  Stop/wait for m_signalRecvThread aswell
2004-08-03 22:08:17 +02:00
unknown
0670b15cbb Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-03 19:32:03 +02:00
unknown
11212f80b2 testOIBasic.cpp:
make it fail in more useful ways


ndb/test/ndbapi/testOIBasic.cpp:
  try to get correct result even on deadlock
2004-08-03 18:09:28 +02:00
unknown
84e2df6de2 - removed several C++-style comments (//) - these confuse the IBM
compiler
2004-08-03 11:28:37 +02:00
unknown
0eb016bb9b - added option "--bundled-zlib" to compile using the included
compression library
2004-08-03 02:36:21 +02:00
unknown
061e815520 testOIBasic
ndb/test/ndbapi/testOIBasic.cpp:
  Start transaction does not take argument
2004-08-02 13:56:14 +02:00
unknown
04153418da Fix ndb detection of gcc 2004-08-02 13:44:22 +02:00
unknown
ea8ac8ab98 hang in dummy natural join (no common columns) Bug #4807 2004-08-02 11:12:11 +02:00
unknown
2524f9cf73 Fix testOIBasic
1) Close transaction whenever Con goes out of scope so that it don't leave open
   transactions in TC
2) Close transaction when starting a transaction wo/ closing first
3) Allow 499 as deadlock
4) Don't use buddy as: 1) no need 2) harder to read signal log
2004-08-02 10:57:09 +02:00
unknown
01f1d5e283 Bug fix for testBasic -n MassiveRollback, a bug in LCP in LQH
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
  max 4 replicas -> 3 next nodes
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  1) If abort while in fragwaitqueue - just abort
  2) Fix for ACC_LCPSTARTED arrives after one ACC_LCPCONF has arrived
ndb/src/ndbapi/Ndbif.cpp:
  Be more "forgiving" in debug mode
ndb/test/ndbapi/testBasic.cpp:
  Accept timeouts in MassiveTimeout
ndb/test/src/HugoTransactions.cpp:
  Print batch size
2004-08-02 09:00:24 +02:00
unknown
3c1327021a followup to SET PASSWORD fix 2004-08-01 17:21:55 +02:00
unknown
cbc7e8c7d7 Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb


ndb/src/mgmsrv/MgmtSrvr.hpp:
  Auto merged
2004-08-01 17:03:58 +02:00
unknown
12bdc04b29 Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-08-01 16:35:35 +02:00
unknown
05a3558bb2 DbtuxScan.cpp:
dont crash before wl_1942 done


ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
  dont crash before wl_1942 done
2004-08-01 16:03:04 +02:00
unknown
2919d44260 Fix mysql-test-run w.r.t NDB
"export A=var" is bash feature
instead do "A=var; export A"
2004-08-01 14:12:45 +02:00
unknown
679e388f22 Fix uninit var.
Fix error printout


ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
  Fix init scan frag record
ndb/src/mgmsrv/main.cpp:
  Fix error printout
2004-08-01 13:41:13 +02:00
unknown
76c6b740b9 New file missing in source distr. 2004-08-01 09:07:08 +02:00
unknown
8e006bd83b Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/space/pekka/ndb/version/my41-tux
2004-07-31 16:16:11 +02:00
unknown
a3630acb41 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/orca/space/pekka/ndb/version/my41-34x
2004-07-31 15:54:37 +02:00
unknown
7bee058b24 Bitmask.hpp:
compile fix for gcc-3.4.x


ndb/include/util/Bitmask.hpp:
  compile fix for gcc-3.4.x
2004-07-31 15:53:27 +02:00
unknown
0ba0f4a9aa Bug fix for alter table and auto_increment 2004-07-31 12:00:12 +02:00
unknown
93f773aa47 bug#4817 catalog name is "def" 2004-07-30 22:15:52 +02:00
unknown
95da1ff0fc apply in SET PASSWORD same checks as in GRANT, to let only valid hashes through 2004-07-30 22:05:08 +02:00
unknown
2ba4836cf5 Merge marko@build.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/marko/l/mysql-4.1
2004-07-30 17:32:53 +03:00
unknown
a45562b50b Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/mikron/mysql-4.1
2004-07-30 16:10:08 +02:00
unknown
c4149d25ef fil0fil.c:
Restore accidentally deleted comment of fil_create_directory_for_tablename()


innobase/fil/fil0fil.c:
  Restore accidentally deleted comment of fil_create_directory_for_tablename()
2004-07-30 17:04:56 +03:00
unknown
979126224b ha_innodb.cc:
ha_innobase::create(): pass the query string as UTF-8
  to row_table_add_foreign_constraints()  (Bug #4649)


sql/ha_innodb.cc:
  ha_innobase::create(): pass the query string as UTF-8
  to row_table_add_foreign_constraints()  (Bug #4649)
2004-07-30 16:08:19 +03:00
unknown
f719a1d65d Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/mikron/mysql-4.1
2004-07-30 15:05:56 +02:00
unknown
5e3a68892a Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-07-30 14:25:18 +02:00
unknown
864405db7d no_auto_value_on_zero + alter table bug 2004-07-30 14:17:12 +02:00
unknown
80de371ea3 Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/my/mysql-4.1
2004-07-30 14:03:16 +02:00
unknown
d249218105 - added the MYSQL_EXTRA_LDFLAGS to the mysql_tzinfo_to_sql link
flags to enable static linking (to avoid having a shared lib
   dependency in the Linux RPMs)
 - Disabled OpenSSL in the Max RPM


sql/Makefile.am:
   - added the MYSQL_EXTRA_LDFLAGS to the mysql_tzinfo_to_sql link
     flags to enable static linking (to avoid having a shared lib
     dependency in the Linux Server RPMs)
support-files/mysql.spec.sh:
   - Disable OpenSSL in the Max RPM
2004-07-30 13:52:44 +02:00
unknown
d130406c6d Merge jlindstrom@build.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/jan/mysql-4.1
2004-07-30 14:11:56 +03:00
unknown
65460480a6 Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/mikron/mysql-4.1


ndb/src/ndbapi/Ndblist.cpp:
  Auto merged
ndb/test/include/HugoTransactions.hpp:
  Auto merged
ndb/test/src/HugoTransactions.cpp:
  Auto merged
2004-07-30 12:48:34 +02:00
unknown
d392ff2130 Removed an error check from debug mode that gets executed
n**2 times in closeTransaction where n is number of signals
sent in transaction. n can easily become 250.000 in a large
transaction.
2004-07-30 12:46:27 +02:00
unknown
f0f24adb38 Updated ps_6bdb.results.
mysql-test/r/ps_6bdb.result:
  Updated results.
2004-07-30 12:13:40 +02:00
unknown
274e1bee6b Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-07-30 11:48:56 +02:00
unknown
cfe4c252ac Merge gbichot@213.136.52.20:/home/bk/mysql-4.1
into mysql.com:/home/mysql_src/mysql-4.1-1717
2004-07-30 10:12:02 +02:00
unknown
be536c3a9e syntax fix: superfluous ';' which caused a problem with gcc 2.95
sql-common/my_time.c:
  superfluous ; which caused a problem with gcc 2.95
2004-07-30 10:08:37 +02:00
unknown
7790856f1a Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-07-30 09:50:37 +02:00