summaryrefslogtreecommitdiff
path: root/storage/ndb/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixed compiler warningsmonty@mysql.com/narttu.mysql.fi2007-02-2330-78/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed compile-pentium64 scripts Fixed wrong estimate of update_with_key_prefix in sql-bench Merge bk-internal.mysql.com:/home/bk/mysql-5.1 into mysql.com:/home/my/mysql-5.1 Fixed unsafe define of uint4korr() Fixed that --extern works with mysql-test-run.pl Small trivial cleanups This also fixes a bug in counting number of rows that are updated when we have many simultanous queries Move all connection handling and command exectuion main loop from sql_parse.cc to sql_connection.cc Split handle_one_connection() into reusable sub functions. Split create_new_thread() into reusable sub functions. Added thread_scheduler; Preliminary interface code for future thread_handling code. Use 'my_thread_id' for internal thread id's Make thr_alarm_kill() to depend on thread_id instead of thread Make thr_abort_locks_for_thread() depend on thread_id instead of thread In store_globals(), set my_thread_var->id to be thd->thread_id. Use my_thread_var->id as basis for my_thread_name() The above changes makes the connection we have between THD and threads more soft. Added a lot of DBUG_PRINT() and DBUG_ASSERT() functions Fixed compiler warnings Fixed core dumps when running with --debug Removed setting of signal masks (was never used) Made event code call pthread_exit() (portability fix) Fixed that event code doesn't call DBUG_xxx functions before my_thread_init() is called. Made handling of thread_id and thd->variables.pseudo_thread_id uniform. Removed one common 'not freed memory' warning from mysqltest Fixed a couple of usage of not initialized warnings (unlikely cases) Suppress compiler warnings from bdb and (for the moment) warnings from ndb
* fix c++ syntac in c filetomas@poseidon.mysql.com2007-02-211-1/+1
|
* Bug #26490 duplicate cluster error codetomas@poseidon.mysql.com2007-02-213-1/+48
| | | | | - fixed error code - added test program run in mysql-test-run bk version
* A few minor cleanups for recent AbortOption behaviour change.knielsen@ymer.(none)2007-02-201-2/+18
|
* Merge perch.ndb.mysql.com:/home/jonas/src/51-workjonas@perch.ndb.mysql.com2007-02-194-2/+25
|\ | | | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
| * Merge perch.ndb.mysql.com:/home/jonas/src/50-workjonas@perch.ndb.mysql.com2007-02-194-2/+25
| | | | | | | | into perch.ndb.mysql.com:/home/jonas/src/51-work
* | Merge perch.ndb.mysql.com:/home/jonas/src/51-workjonas@perch.ndb.mysql.com2007-02-182-2/+29
|\ \ | |/ | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
| * Merge perch.ndb.mysql.com:/home/jonas/src/50-workjonas@perch.ndb.mysql.com2007-02-172-2/+29
| | | | | | | | into perch.ndb.mysql.com:/home/jonas/src/51-work
* | Merge perch.ndb.mysql.com:/home/jonas/src/51-workjonas@perch.ndb.mysql.com2007-02-161-1/+0
|\ \ | |/ | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
| * Merge perch.ndb.mysql.com:/home/jonas/src/50-workjonas@perch.ndb.mysql.com2007-02-161-1/+0
| | | | | | | | into perch.ndb.mysql.com:/home/jonas/src/51-work
* | Merge perch.ndb.mysql.com:/home/jonas/src/51-workjonas@perch.ndb.mysql.com2007-02-161-1/+1
|\ \ | |/ | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
| * Merge perch.ndb.mysql.com:/home/jonas/src/50-workjonas@perch.ndb.mysql.com2007-02-161-1/+1
| | | | | | | | into perch.ndb.mysql.com:/home/jonas/src/51-work
* | Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndbjonas@perch.ndb.mysql.com2007-02-154-10/+10
|\ \ | | | | | | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
| * \ Merge perch.ndb.mysql.com:/home/jonas/src/51-workjonas@perch.ndb.mysql.com2007-02-154-10/+10
| |\ \ | | |/ | | | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
| | * Merge localhost:/home/jonas/src/51-workjonas@eel.(none)2007-02-132-2/+2
| | |\ | | | | | | | | | | | | into eel.(none):/home/jonas/src/51-work
| | * | ndb -jonas@eel.(none)2007-02-064-10/+10
| | | | | | | | | | | | | | | | remove debug printouts
* | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndbtomas@poseidon.mysql.com2007-02-151-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
| * | | | corrected manual mergetomas@poseidon.mysql.com2007-02-141-1/+2
| | | | |
* | | | | Merge willster.(none):/home/stewart/Documents/MySQL/5.1/ndbstewart@willster.(none)2007-02-1428-520/+24
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | into willster.(none):/home/stewart/Documents/MySQL/5.1/ndb-merge
| * | | | Merge willster.(none):/home/stewart/Documents/MySQL/5.1/ndb-workstewart@willster.(none)2007-02-1428-520/+24
| |\ \ \ \ | | |/ / / | |/| | | | | | | | into willster.(none):/home/stewart/Documents/MySQL/5.1/ndb-merge
| | * | | BUG#20121 missing err msg for ENOSPCstewart@willster.(none)2007-02-141-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getting BACKUP_FRAGMENT_REF in LQH from BACKUP would bail on ndbrequire(false) instead of having good error message. Can re-use error code from BACKUP as it's a FsRef error code, which is NDBD_EXIT... except when it isn't.
| | * | | Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-workstewart@willster.(none)2007-02-1428-519/+12
| | | | | | | | | | | | | | | | | | | | into willster.(none):/home/stewart/Documents/MySQL/5.1/ndb-work
* | | | | Merge poseidon.mysql.com:/home/tomas/mysql-5.0-ndbtomas@poseidon.mysql.com2007-02-142-8/+9
| | | | | | | | | | | | | | | | | | | | into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
* | | | | Merge poseidon.mysql.com:/home/tomas/mysql-5.0-ndbtomas@poseidon.mysql.com2007-02-147-89/+170
| | | | | | | | | | | | | | | | | | | | into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
* | | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1tomas@poseidon.mysql.com2007-02-143-5/+7
|\ \ \ \ \ | |/ / / / | | | | | | | | | | into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
| * | | | Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndbjonas@perch.ndb.mysql.com2007-02-132-2/+2
| |\ \ \ \ | | |/ / / | |/| | | | | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
| | * | | Merge perch.ndb.mysql.com:/home/jonas/src/51-workjonas@perch.ndb.mysql.com2007-02-132-2/+2
| | |\ \ \ | | | | |/ | | | |/| | | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
| | | * | ndb - new atrtjonas@perch.ndb.mysql.com2007-02-132-2/+2
| | | |/
| * | | Merge poseidon.mysql.com:/home/tomas/mysql-5.0-ndbtomas@poseidon.mysql.com2007-02-091-3/+5
| | | | | | | | | | | | | | | | into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
* | | | Merge siva.hindu.god:/home/tsmith/m/bk/51tsmith@siva.hindu.god2007-02-0825-598/+580
|\ \ \ \ | |/ / / | | | | | | | | into siva.hindu.god:/home/tsmith/m/bk/maint/51
| * | | Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.1mskold/marty@linux.site2007-02-071-2/+8
| |\ \ \ | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
| | * | | Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0mskold/marty@linux.site2007-02-071-2/+8
| | | | | | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.1
| * | | | Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.1mskold/marty@linux.site2007-02-061-2/+3
| |\ \ \ \ | | |/ / / | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
| | * | | Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0mskold/marty@linux.site2007-02-061-2/+3
| | | | | | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.1
| * | | | Merge poseidon.mysql.com:/home/tomas/mysql-5.1-telco-cgatomas@poseidon.mysql.com2007-02-061-1/+1
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
| | * | | ndb: remove WAITFOR_RESPONSE_TIMEOUT printouttomas@poseidon.mysql.com2007-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | - to get cleaner error log in debug mode
| * | | | Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndbjonas@perch.ndb.mysql.com2007-02-054-28/+138
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
| | * | | ndb - bug#25801jonas@eel.(none)2007-02-054-28/+138
| | | | | | | | | | | | | | | | | | | | | | | | | - improve error message if starting wo/ enough REDO - decrease likelyhood of trying to start too early
| * | | | corrected merge errortomas@poseidon.mysql.com2007-02-051-0/+2
| | | | |
| * | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1tomas@poseidon.mysql.com2007-02-0522-565/+428
| |\ \ \ \ | | |/ / / | | | | | | | | | | into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
| | * | | ndb - bug#25984 - more than 7 failed node restart can cause cluster failurejonas@eel.(none)2007-02-021-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new behaviour is as follows: 1) node is refused to start, and should fail with message in error log that it must be restarted --initial 2) if cluster failure in this situation, node must also be restarted --intial if not SR will fail, with this message
| | * | | Merge dev3-63.(none):/home/zhl/mysql/tree-merge/5.1/mysql-5.1-new-ndb-bjlzhou/zhl@dev3-63.(none)2007-02-017-81/+217
| | |\ \ \ | | | | | | | | | | | | | | | | | | into dev3-63.(none):/home/zhl/mysql/tree-merge/5.1/mysql-5.1-new-ndb
| | | * | | BUG#22025 Return correct error message when transporter error occured. ↵lzhou/zhl@dev3-63.(none)2007-02-011-33/+34
| | | | | | | | | | | | | | | | | | | | | | | | Modify content of message structure of last patch.
| | | * | | Bug#23546, Cluster configured without any arbitrationJustin.He/justin.he@dev3-240.dev.cn.tlan2007-01-301-70/+78
| | | | | |
| | | * | | BUG#22261 remove global variable global_mgmt_server_check from ClusterMgrlzhou/zhl@dev3-63.dev.cn.tlan2006-12-152-7/+1
| | | | | |
| | | * | | Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.1/mysql-5.1-new-ndb-bjgni/root@dev3-221.dev.cn.tlan2006-12-141-0/+12
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | into dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.1/mysql-5.1-bug21715
| | | | * | | Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/bug21715gni/root@dev3-221.dev.cn.tlan2006-12-141-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | into dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.1/mysql-5.1-bug21715
| | | * | | | BUG #19146 If Backup parameters incorrectly set, the data nodes can't start.gni/root@dev3-221.dev.cn.tlan2006-12-142-0/+32
| | | | | | |
| | | * | | | Merge lzhou@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb-bjlzhou/zhl@dev3-63.dev.cn.tlan2006-12-121-4/+93
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into dev3-63.dev.cn.tlan:/home/zhl/mysql/mysql-5.1/bug22025
| | | | * | | | BUG#22025 Return correct error message when transporter error occoredlzhou/zhl@ts3-34.ts.cn.tlan2006-12-011-4/+93
| | | | | | | |