diff options
author | unknown <marko@hundin.mysql.fi> | 2004-03-13 22:48:00 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-03-13 22:48:00 +0200 |
commit | 1f7f2662b99b55082be807e224309395bedf6032 (patch) | |
tree | 61f1cdfa1fd7e1a5d6d8c6925730b71cec1f2e9d /innobase/include | |
parent | fe60928fe78b1bc10ca50271eda04021f1f0e488 (diff) | |
download | mariadb-git-1f7f2662b99b55082be807e224309395bedf6032.tar.gz |
InnoDB: Replace ut_a(0) with ut_error
innobase/btr/btr0btr.c:
Replace ut_a(0) with ut_error
innobase/buf/buf0flu.c:
Replace ut_a(0) with ut_error
innobase/buf/buf0lru.c:
Replace ut_a(0) with ut_error
innobase/data/data0data.c:
Replace ut_a(0) with ut_error
innobase/dict/dict0crea.c:
Replace ut_a(0) with ut_error
innobase/dict/dict0dict.c:
Replace ut_a(0) with ut_error
innobase/dict/dict0load.c:
Replace ut_a(0) with ut_error
innobase/fil/fil0fil.c:
Replace ut_a(0) with ut_error
innobase/fsp/fsp0fsp.c:
Replace ut_a(0) with ut_error
innobase/ibuf/ibuf0ibuf.c:
Replace ut_a(0) with ut_error
innobase/include/buf0buf.ic:
Replace ut_a(0) with ut_error
innobase/include/data0type.ic:
Replace ut_a(0) with ut_error
innobase/include/mtr0log.ic:
Replace ut_a(0) with ut_error
innobase/include/trx0rseg.ic:
Replace ut_a(0) with ut_error
innobase/lock/lock0lock.c:
Replace ut_a(0) with ut_error
innobase/log/log0log.c:
Replace ut_a(0) with ut_error
innobase/log/log0recv.c:
Replace ut_a(0) with ut_error
innobase/mem/mem0pool.c:
Replace ut_a(0) with ut_error
innobase/mtr/mtr0log.c:
Replace ut_a(0) with ut_error
innobase/os/os0file.c:
Replace ut_a(0) with ut_error
innobase/page/page0cur.c:
Replace ut_a(0) with ut_error
innobase/page/page0page.c:
Replace ut_a(0) with ut_error
innobase/pars/lexyy.c:
Replace ut_a(0) with ut_error
innobase/que/que0que.c:
Replace ut_a(0) with ut_error
innobase/rem/rem0cmp.c:
Replace ut_a(0) with ut_error
innobase/rem/rem0rec.c:
Replace ut_a(0) with ut_error
innobase/row/row0ins.c:
Replace ut_a(0) with ut_error
innobase/row/row0mysql.c:
Replace ut_a(0) with ut_error
innobase/row/row0purge.c:
Replace ut_a(0) with ut_error
innobase/row/row0row.c:
Replace ut_a(0) with ut_error
innobase/row/row0sel.c:
Replace ut_a(0) with ut_error
innobase/row/row0undo.c:
Replace ut_a(0) with ut_error
innobase/srv/srv0srv.c:
Replace ut_a(0) with ut_error
innobase/sync/sync0arr.c:
Replace ut_a(0) with ut_error
innobase/trx/trx0purge.c:
Replace ut_a(0) with ut_error
innobase/trx/trx0trx.c:
Replace ut_a(0) with ut_error
innobase/trx/trx0undo.c:
Replace ut_a(0) with ut_error
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/buf0buf.ic | 6 | ||||
-rw-r--r-- | innobase/include/data0type.ic | 2 | ||||
-rw-r--r-- | innobase/include/mtr0log.ic | 2 | ||||
-rw-r--r-- | innobase/include/trx0rseg.ic | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/innobase/include/buf0buf.ic b/innobase/include/buf0buf.ic index 0957dcf4402..5a4c56b0c30 100644 --- a/innobase/include/buf0buf.ic +++ b/innobase/include/buf0buf.ic @@ -220,7 +220,7 @@ buf_block_align( "InnoDB: Error: trying to access a stray pointer %lx\n" "InnoDB: buf pool start is at %lx, number of pages %lu\n", (ulint)ptr, (ulint)frame_zero, buf_pool->max_size); - ut_a(0); + ut_error; } return(block); @@ -254,7 +254,7 @@ buf_block_align_low( "InnoDB: Error: trying to access a stray pointer %lx\n" "InnoDB: buf pool start is at %lx, number of pages %lu\n", (ulint)ptr, (ulint)frame_zero, buf_pool->max_size); - ut_a(0); + ut_error; } return(block); @@ -283,7 +283,7 @@ buf_frame_align( "InnoDB: Error: trying to access a stray pointer %lx\n" "InnoDB: buf pool start is at %lx, number of pages %lu\n", (ulint)ptr, (ulint)(buf_pool->frame_zero), buf_pool->max_size); - ut_a(0); + ut_error; } return(frame); diff --git a/innobase/include/data0type.ic b/innobase/include/data0type.ic index ddd0b0ae8cc..dbc5b6615f6 100644 --- a/innobase/include/data0type.ic +++ b/innobase/include/data0type.ic @@ -216,7 +216,7 @@ dtype_get_fixed_size( case DATA_VARMYSQL: case DATA_BLOB: return(0); - default: ut_a(0); + default: ut_error; } return(0); diff --git a/innobase/include/mtr0log.ic b/innobase/include/mtr0log.ic index 0598f1a9536..54f15779078 100644 --- a/innobase/include/mtr0log.ic +++ b/innobase/include/mtr0log.ic @@ -167,7 +167,7 @@ mlog_write_initial_log_record_fast( fprintf(stderr, "InnoDB: error: buffer page pointer %lx has nonsensical space id %lu\n" "InnoDB: or page no %lu\n", (ulint)ptr, space, offset); - ut_a(0); + ut_error; } mach_write_to_1(log_ptr, type); diff --git a/innobase/include/trx0rseg.ic b/innobase/include/trx0rseg.ic index 840d61a6840..9a6137eb2e5 100644 --- a/innobase/include/trx0rseg.ic +++ b/innobase/include/trx0rseg.ic @@ -68,7 +68,7 @@ trx_rsegf_get_nth_undo( if (n >= TRX_RSEG_N_SLOTS) { fprintf(stderr, "InnoDB: Error: trying to get slot %lu of rseg\n", n); - ut_a(0); + ut_error; } return(mtr_read_ulint(rsegf + TRX_RSEG_UNDO_SLOTS + @@ -89,7 +89,7 @@ trx_rsegf_set_nth_undo( if (n >= TRX_RSEG_N_SLOTS) { fprintf(stderr, "InnoDB: Error: trying to set slot %lu of rseg\n", n); - ut_a(0); + ut_error; } mlog_write_ulint(rsegf + TRX_RSEG_UNDO_SLOTS + n * TRX_RSEG_SLOT_SIZE, |