dbTalk Databases Forums  

bk commit into 4.1 tree (heikki:1.2198)

mailing.database.mysql-internals mailing.database.mysql-internals


Discuss bk commit into 4.1 tree (heikki:1.2198) in the mailing.database.mysql-internals forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Heikki Tuuri
 
Posts: n/a

Default bk commit into 4.1 tree (heikki:1.2198) - 02-25-2005 , 02:58 PM






Below is the list of changes that have just been committed into a local
4.1 repository of heikki. When heikki does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/in...urce-tree.html

ChangeSet
1.2198 05/02/25 22:16:14 heikki (AT) hundin (DOT) mysql.fi +1 -0
fil0fil.c:
Check if node == NULL, which means we are outside tablespace bounds, and print a big fatal error message

innobase/fil/fil0fil.c
1.49 05/02/25 22:15:59 heikki (AT) hundin (DOT) mysql.fi +7 -7
Check if node == NULL, which means we are outside tablespace bounds, and print a big fatal error message

# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: heikki
# Host: hundin.mysql.fi
# Root: /home/heikki/mysql-4.1

--- 1.48/innobase/fil/fil0fil.c Thu Jan 27 22:00:24 2005
+++ 1.49/innobase/fil/fil0fil.c Fri Feb 25 22:15:59 2005
@@ -3800,13 +3800,6 @@
node = UT_LIST_GET_FIRST(space->chain);

for (; {
- if (space->id != 0 && node->size == 0) {
- /* We do not know the size of a single-table tablespace
- before we open the file */
-
- break;
- }
-
if (node == NULL) {
fprintf(stderr,
"InnoDB: Error: trying to access page number %lu in space %lu,\n"
@@ -3818,6 +3811,13 @@
(ulong) type);

ut_error;
+ }
+
+ if (space->id != 0 && node->size == 0) {
+ /* We do not know the size of a single-table tablespace
+ before we open the file */
+
+ break;
}

if (node->size > block_offset) {

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.